[22978] trunk/dports/mail/gnupg2

source_changes at macosforge.org source_changes at macosforge.org
Tue Mar 20 17:04:28 PDT 2007


Revision: 22978
          http://trac.macosforge.org/projects/macports/changeset/22978
Author:   pipping at macports.org
Date:     2007-03-20 17:04:28 -0700 (Tue, 20 Mar 2007)

Log Message:
-----------
 * apply patch submitted by boeyms at fastmail.fm
 * add mirrors
 * add checksums
 * bump version further to 2.0.3

Modified Paths:
--------------
    trunk/dports/mail/gnupg2/Portfile

Added Paths:
-----------
    trunk/dports/mail/gnupg2/files/
    trunk/dports/mail/gnupg2/files/patch-configure

Removed Paths:
-------------
    trunk/dports/mail/gnupg2/files/

Modified: trunk/dports/mail/gnupg2/Portfile
===================================================================
--- trunk/dports/mail/gnupg2/Portfile	2007-03-21 00:03:29 UTC (rev 22977)
+++ trunk/dports/mail/gnupg2/Portfile	2007-03-21 00:04:28 UTC (rev 22978)
@@ -2,7 +2,7 @@
 
 PortSystem	1.0
 name		gnupg2
-version		1.9.20
+version		2.0.3
 categories	mail security
 maintainers	waqar at macports.org
 description	GNU pretty-good-privacy package
@@ -13,23 +13,19 @@
 	compliant application.
 homepage	http://www.gnupg.org
 platforms	darwin freebsd sunos
-distname        gnupg-${version}
-master_sites    http://mirrors.rootmode.com/ftp.gnupg.org/alpha/gnupg/ \
-                ftp://ftp.freenet.de/pub/ftp.gnupg.org/gcrypt/alpha/gnupg/ \
-                ftp://ftp.gnupg.org/gcrypt/alpha/gnupg/
+use_bzip2   yes
+distname    gnupg-${version}
+master_sites    http://mirrors.rootmode.com/ftp.gnupg.org/gnupg/ \
+                ftp://ftp.freenet.de/pub/ftp.gnupg.org/gcrypt/gnupg/ \
+                ftp://ftp.gnupg.org/gcrypt/gnupg/ 
 
 use_bzip2	yes
-checksums	${distfiles} md5 93899203fc0530f03e146d49b65c1e28
+checksums   md5 4e33a5d35583da439f1bd26aa7e7042a \
+            sha1 4680bcb96873191b331252ae40b35e39589c58ca \
+            rmd160 bedd74d6c3a93cf6fbe719a2749ba658fa102cca
 
 configure.env	CPPFLAGS="-I${prefix}/include" LDFLAGS="-L${prefix}/lib"
-configure.args	--mandir=${prefix}/share/man 		\
-		--infodir=${prefix}/share/info 		\
-		--disable-asm --disable-dynload 	\
-		--enable-gpg --disable-agent		\
-		--with-libiconv-prefix=${prefix} 	\
-		--with-libintl-prefix=${prefix} 	\
-		--with-zlib=${prefix} 			\
-		--with-bzip2=${prefix}
+configure.args	--disable-agent
 
 depends_lib	port:libiconv 		\
 		port:gettext 		\
@@ -42,33 +38,18 @@
 		port:libgpg-error	\
 		port:pth
 
-patchfiles	patch-g10_Makefile.in patch-tools_Makefile.in
+patchfiles	patch-configure
 
 test.run	yes
-test.dir	${worksrcpath}/checks
+test.dir	${worksrcpath}/tests
 test.target 	check
 
-variant darwin {
+platform darwin {
 	configure.env-append	MACOSX_DEPLOYMENT_TARGET=10.3
-	build.env-append		MACOSX_DEPLOYMENT_TARGET=10.3
+	build.env-append	MACOSX_DEPLOYMENT_TARGET=10.3
 }
 
 platform darwin 7 {
 	configure.env-delete	LDFLAGS="-L${prefix}/lib"
 	configure.env-append	LDFLAGS="-L${prefix}/lib -framework IOKit"
 }
-
-platform darwin 8 {
-	patchfiles-append	patch-tools_gpgparsemail.c
-}
-
-platform sunos	{
-	configure.args-delete --disable-asm --disable-dynload
-}
-
-post-destroot	{
-	file delete -force ${destroot}${prefix}/share/info/dir \
-		${destroot}${prefix}/share/locale/locale.alias \
-		${destroot}${prefix}/lib/charset.alias
-}
-

Added: trunk/dports/mail/gnupg2/files/patch-configure
===================================================================
--- trunk/dports/mail/gnupg2/files/patch-configure	                        (rev 0)
+++ trunk/dports/mail/gnupg2/files/patch-configure	2007-03-21 00:04:28 UTC (rev 22978)
@@ -0,0 +1,11 @@
+--- configure	2007-01-31 14:09:31.000000000 +0000
++++ configure.new	2007-02-16 14:06:34.000000000 +0000
+@@ -557,7 +557,7 @@
+ SHELL=${CONFIG_SHELL-/bin/sh}
+ 
+ # Identity of this package.
+-PACKAGE_NAME='gnupg'
++PACKAGE_NAME='gnupg2'
+ PACKAGE_TARNAME='gnupg'
+ PACKAGE_VERSION='2.0.2'
+ PACKAGE_STRING='gnupg 2.0.2'

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


More information about the macports-changes mailing list