[32101] trunk/base/Makefile.in

jmpp at macports.org jmpp at macports.org
Sun Dec 16 15:11:49 PST 2007


Revision: 32101
          http://trac.macosforge.org/projects/macports/changeset/32101
Author:   jmpp at macports.org
Date:     2007-12-16 15:11:48 -0800 (Sun, 16 Dec 2007)

Log Message:
-----------

It makes much more sense to group the all three types of checksums for a single tarball together
in the chk file that comes with each release (from the base/Makefile's "distfromsvn" target), as in
{md5,sha1,ripemd160} for tar.gz and then for tar.bz2, rather than all types of tarballs for a single
checksum type, as in {tar.gz,tar.bz2} for md5 and then for sha1 and ripemd160.

Modified Paths:
--------------
    trunk/base/Makefile.in

Modified: trunk/base/Makefile.in
===================================================================
--- trunk/base/Makefile.in	2007-12-16 22:20:41 UTC (rev 32100)
+++ trunk/base/Makefile.in	2007-12-16 23:11:48 UTC (rev 32101)
@@ -57,7 +57,11 @@
 	cd ${DISTDIR}; svn export ${PKGNAME}-svn ${PKGNAME}
 	cd ${DISTDIR}; COPY_EXTENDED_ATTRIBUTES_DISABLE=true tar -c ${PKGNAME} | gzip > ${PKGNAME}.tar.gz
 	cd ${DISTDIR}; COPY_EXTENDED_ATTRIBUTES_DISABLE=true tar -c ${PKGNAME} | bzip2 > ${PKGNAME}.tar.bz2
-	cd ${DISTDIR}; for type in -md5 -sha1 -ripemd160; do openssl dgst $$type ${PKGNAME}.tar.gz ${PKGNAME}.tar.bz2; done >> ${DISTNAME}.chk.txt
+	cd ${DISTDIR}; for tarball in ${PKGNAME}.tar.*; do { \
+		for type in -md5 -sha1 -ripemd160; do { \
+			openssl dgst $$type $$tarball; \
+		}; done >> ${DISTNAME}.chk.txt; \
+	}; done
 
 _dopkg: _gettag _pkgdist
 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20071216/ad778d65/attachment.html


More information about the macports-changes mailing list