[80355] trunk/dports/mail/gnupg2
ryandesign at macports.org
ryandesign at macports.org
Sun Jul 10 02:51:05 PDT 2011
Revision: 80355
http://trac.macports.org/changeset/80355
Author: ryandesign at macports.org
Date: 2011-07-10 02:51:05 -0700 (Sun, 10 Jul 2011)
Log Message:
-----------
gnupg2: update to 2.0.17, fix dirmngr patch; see #29685
Modified Paths:
--------------
trunk/dports/mail/gnupg2/Portfile
Added Paths:
-----------
trunk/dports/mail/gnupg2/files/patch-common-homedir.c.diff
Modified: trunk/dports/mail/gnupg2/Portfile
===================================================================
--- trunk/dports/mail/gnupg2/Portfile 2011-07-10 09:50:32 UTC (rev 80354)
+++ trunk/dports/mail/gnupg2/Portfile 2011-07-10 09:51:05 UTC (rev 80355)
@@ -4,7 +4,7 @@
PortSystem 1.0
name gnupg2
-version 2.0.16
+version 2.0.17
categories mail security
maintainers waqar boeyms
description GNU pretty-good-privacy package
@@ -20,14 +20,9 @@
master_sites gnupg:gnupg
use_bzip2 yes
-checksums md5 88a4d46deca63d2eca29b2b611304afb\
- sha1 e7eb4f60026884bd90803b531472bc518804b95d\
- rmd160 3a0ed7a3ebb28fdb875533ff3368f6af3a0bb742
-post-patch {
- reinplace "s|/var|${prefix}/var|" \
- ${worksrcpath}/sm/call-dirmngr.c
-}
+checksums sha1 41ef5460417ca0a1131fc730849fe3afd49ad2de\
+ rmd160 f919947a1896ac20c455534d91a3e2d3e5b60c1f
# gpg-agent is built separately from the rest of gnupg2 to enable gnupg 1.x
# users to use gpg-agent as well. gnupg2, however, requires gpg-agent to run,
@@ -53,9 +48,14 @@
port:curl \
port:libusb-compat
-patchfiles patch-configure.diff \
+patchfiles patch-common-homedir.c.diff \
+ patch-configure.diff \
patch-tests__openpgp__Makefile.in.diff
+post-patch {
+ reinplace "s|@PREFIX@|${prefix}|g" ${worksrcpath}/common/homedir.c
+}
+
post-destroot {
delete ${destroot}${prefix}/share/man/man1/gpg-zip.1
}
Added: trunk/dports/mail/gnupg2/files/patch-common-homedir.c.diff
===================================================================
--- trunk/dports/mail/gnupg2/files/patch-common-homedir.c.diff (rev 0)
+++ trunk/dports/mail/gnupg2/files/patch-common-homedir.c.diff 2011-07-10 09:51:05 UTC (rev 80355)
@@ -0,0 +1,11 @@
+--- common/homedir.c.orig 2010-05-11 13:14:26.000000000 -0500
++++ common/homedir.c 2011-07-10 04:29:42.000000000 -0500
+@@ -365,7 +365,7 @@
+ }
+ return name;
+ #else /*!HAVE_W32_SYSTEM*/
+- return "/var/run/dirmngr/socket";
++ return "@PREFIX@/var/run/dirmngr/socket";
+ #endif /*!HAVE_W32_SYSTEM*/
+ }
+
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20110710/2069965e/attachment.html>
More information about the macports-changes
mailing list