You are not logged in.

#1 2010-03-21 08:39:20

ezzetabi
Member
Registered: 2006-08-27
Posts: 947

Got sources from git/svn/cvs/wtf? md5sum for all files...

Your package gets sources from git/svn/cvs/wtf?
I used this little trick to check the md5sum of all files and ensure a little more the package users
will download exactly what you downloaded when you created the package:

  echo "7ce3eabab979cd067b096e83280239ed  -" >"$srcdir"/md5sources
  find . -type f -print0 | sort -z | xargs -0 cat | md5sum --status -c "$srcdir"/md5sources || return 1

The md5 is calculated using the same command without -c before the whole building process just after downloading the sources.

I thought someone can find it useful or give a comment.

Offline

#2 2010-03-21 08:59:17

ngoonee
Forum Fellow
From: Between Thailand and Singapore
Registered: 2009-03-17
Posts: 7,362

Re: Got sources from git/svn/cvs/wtf? md5sum for all files...

Shouldn't this go to AUR-related? Users of official repo packages should never have to access any of the git/svn/cvs sources anyway.


Allan-Volunteer on the (topic being discussed) mailn lists. You never get the people who matters attention on the forums.
jasonwryan-Installing Arch is a measure of your literacy. Maintaining Arch is a measure of your diligence. Contributing to Arch is a measure of your competence.
Griemak-Bleeding edge, not bleeding flat. Edge denotes falls will occur from time to time. Bring your own parachute.

Offline

#3 2010-03-21 09:02:46

ezzetabi
Member
Registered: 2006-08-27
Posts: 947

Re: Got sources from git/svn/cvs/wtf? md5sum for all files...

Ops... Wrong section. Oh well.

Offline

Board footer

Powered by FluxBB