[91465] trunk/dports/sysutils/rpm54/Portfile

afb at macports.org afb at macports.org
Mon Apr 2 11:37:05 PDT 2012


Revision: 91465
          https://trac.macports.org/changeset/91465
Author:   afb at macports.org
Date:     2012-04-02 11:37:04 -0700 (Mon, 02 Apr 2012)
Log Message:
-----------
rpm54: upgrade version, harden livecheck

Modified Paths:
--------------
    trunk/dports/sysutils/rpm54/Portfile

Modified: trunk/dports/sysutils/rpm54/Portfile
===================================================================
--- trunk/dports/sysutils/rpm54/Portfile	2012-04-02 18:00:59 UTC (rev 91464)
+++ trunk/dports/sysutils/rpm54/Portfile	2012-04-02 18:37:04 UTC (rev 91465)
@@ -3,10 +3,9 @@
 PortSystem 1.0
 
 name			rpm54
-version			5.4.7
-set date		20120302
+version			5.4.8
+set date		20120401
 set branch		[join [lrange [split ${version} .] 0 1] .]
-revision		1
 platforms		darwin freebsd linux
 license			LGPL-2.1
 categories		sysutils archivers
@@ -22,9 +21,9 @@
 master_sites		${homepage}/files/rpm/rpm-${branch}/
 distname		rpm-${version}-0.${date}
 extract.suffix		.src.rpm
-checksums		md5 355aa6939610a968379b8529fdbf1a42 \
-			sha1 d11bfcd6c2320ab28633b3bc08ff7223056d65b3 \
-			rmd160 b9ae3135d7ceb6568551ecd75174d77ce03f84e1
+checksums		md5 424b60bf2e0a624a218440d943861644 \
+			sha1 e0e1d2c7d01cdffa1149671e75ce7495f26e7455 \
+			rmd160 610c085a33da1de80b87b12328369f7240bfc65f
 worksrcdir		rpm-${version}
 
 depends_build		port:expat port:neon \
@@ -71,6 +70,10 @@
 	system -W ${workpath} "${portutil::autoconf::tar_command} -xzf rpm-${version}.tar.gz"
 }
 
+post-patch {
+	reinplace "s/, @ldaddr//" ${worksrcpath}/perl/Makefile.PL.in ; # remove -rpath flags
+}
+
 post-destroot {
 	xinstall -d -m 755 ${destroot}${prefix}/etc/rpm
 	system "${worksrcpath}/rpm --macros=${worksrcpath}/macros/macros --eval='%{_target_platform}' > ${destroot}${prefix}/etc/rpm/platform"
@@ -163,4 +166,4 @@
 livecheck.type	regex
 # get the last modified tarball
 livecheck.url	${master_sites}
-livecheck.regex	rpm-(\[0-9\\.\]+)${extract.suffix}
+livecheck.regex	rpm-(\[0-9\\.\]+)(-\[0-9\\.\]+)?${extract.suffix}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120402/7f2f1da5/attachment-0001.html>


More information about the macports-changes mailing list