Ticket #11531: gnupg2-2.0.3.diff
File gnupg2-2.0.3.diff, 4.9 KB (added by pipping@…, 18 years ago) |
---|
-
files/patch-tools_Makefile.in
1 --- tools/Makefile.in.orig 2005-12-20 02:49:35.000000000 -07002 +++ tools/Makefile.in 2006-03-22 02:10:44.000000000 -07003 @@ -406,7 +406,8 @@4 gpg_connect_agent_SOURCES = gpg-connect-agent.c no-libgcrypt.c5 gpg_connect_agent_LDADD = ../jnlib/libjnlib.a \6 ../common/libcommon.a ../gl/libgnu.a \7 - $(LIBASSUAN_LIBS) $(GPG_ERROR_LIBS) $(LIBINTL)8 + $(LIBASSUAN_LIBS) $(GPG_ERROR_LIBS) $(LIBINTL) \9 + $(PTH_LIBS)10 11 gpgkey2ssh_SOURCES = gpgkey2ssh.c12 gpgkey2ssh_CFLAGS = $(LIBGCRYPT_CFLAGS) $(GPG_ERROR_CFLAGS) -
files/patch-g10_Makefile.in
1 --- g10/Makefile.in.orig 2005-12-20 02:49:33.000000000 -07002 +++ g10/Makefile.in 2006-03-22 02:09:45.000000000 -07003 @@ -446,7 +446,7 @@4 # ks-db.c \5 # ks-db.h \6 # $(common_source)7 -LDADD = $(needed_libs) @LIBINTL@ @CAPLIBS@ @W32LIBS@8 +LDADD = $(needed_libs) @PTH_LIBS@ @LIBINTL@ @CAPLIBS@ @W32LIBS@9 gpg2_LDADD = $(LIBGCRYPT_LIBS) $(LDADD) -lassuan -lgpg-error10 gpgv2_LDADD = $(LIBGCRYPT_LIBS) $(LDADD) -lassuan -lgpg-error11 all: all-am -
files/patch-tools_gpgparsemail.c
1 --- tools/gpgparsemail.c.orig 2005-12-14 03:45:28.000000000 -07002 +++ tools/gpgparsemail.c 2006-03-22 14:29:47.000000000 -07003 @@ -145,6 +145,7 @@4 return p;5 }6 7 +#if 08 static char *9 stpcpy (char *a,const char *b)10 {11 @@ -154,6 +155,7 @@12 13 return (char*)a;14 }15 +#endif16 17 18 static int -
files/patch-configure
1 --- configure 2007-01-31 14:09:31.000000000 +0000 2 +++ configure.new 2007-02-16 14:06:34.000000000 +0000 3 @@ -557,7 +557,7 @@ 4 SHELL=${CONFIG_SHELL-/bin/sh} 5 6 # Identity of this package. 7 -PACKAGE_NAME='gnupg' 8 +PACKAGE_NAME='gnupg2' 9 PACKAGE_TARNAME='gnupg' 10 PACKAGE_VERSION='2.0.2' 11 PACKAGE_STRING='gnupg 2.0.2' -
Portfile
2 2 3 3 PortSystem 1.0 4 4 name gnupg2 5 version 1.9.205 version 2.0.3 6 6 categories mail security 7 7 maintainers waqar@macports.org 8 8 description GNU pretty-good-privacy package … … 13 13 compliant application. 14 14 homepage http://www.gnupg.org 15 15 platforms darwin freebsd sunos 16 distname gnupg-${version} 17 master_sites http://mirrors.rootmode.com/ftp.gnupg.org/alpha/gnupg/ \ 18 ftp://ftp.freenet.de/pub/ftp.gnupg.org/gcrypt/alpha/gnupg/ \ 19 ftp://ftp.gnupg.org/gcrypt/alpha/gnupg/ 16 use_bzip2 yes 17 distname gnupg-${version} 18 master_sites http://mirrors.rootmode.com/ftp.gnupg.org/gnupg/ \ 19 ftp://ftp.freenet.de/pub/ftp.gnupg.org/gcrypt/gnupg/ \ 20 ftp://ftp.gnupg.org/gcrypt/gnupg/ 20 21 21 22 use_bzip2 yes 22 checksums ${distfiles} md5 93899203fc0530f03e146d49b65c1e28 23 checksums md5 4e33a5d35583da439f1bd26aa7e7042a \ 24 sha1 4680bcb96873191b331252ae40b35e39589c58ca \ 25 rmd160 bedd74d6c3a93cf6fbe719a2749ba658fa102cca 23 26 24 27 configure.env CPPFLAGS="-I${prefix}/include" LDFLAGS="-L${prefix}/lib" 25 configure.args --mandir=${prefix}/share/man \ 26 --infodir=${prefix}/share/info \ 27 --disable-asm --disable-dynload \ 28 --enable-gpg --disable-agent \ 29 --with-libiconv-prefix=${prefix} \ 30 --with-libintl-prefix=${prefix} \ 31 --with-zlib=${prefix} \ 32 --with-bzip2=${prefix} 28 configure.args --disable-agent 33 29 34 30 depends_lib port:libiconv \ 35 31 port:gettext \ … … 42 38 port:libgpg-error \ 43 39 port:pth 44 40 45 patchfiles patch- g10_Makefile.in patch-tools_Makefile.in41 patchfiles patch-configure 46 42 47 43 test.run yes 48 test.dir ${worksrcpath}/ checks44 test.dir ${worksrcpath}/tests 49 45 test.target check 50 46 51 variantdarwin {47 platform darwin { 52 48 configure.env-append MACOSX_DEPLOYMENT_TARGET=10.3 53 49 build.env-append MACOSX_DEPLOYMENT_TARGET=10.3 54 50 } … … 57 53 configure.env-delete LDFLAGS="-L${prefix}/lib" 58 54 configure.env-append LDFLAGS="-L${prefix}/lib -framework IOKit" 59 55 } 60 61 platform darwin 8 {62 patchfiles-append patch-tools_gpgparsemail.c63 }64 65 platform sunos {66 configure.args-delete --disable-asm --disable-dynload67 }68 69 post-destroot {70 file delete -force ${destroot}${prefix}/share/info/dir \71 ${destroot}${prefix}/share/locale/locale.alias \72 ${destroot}${prefix}/lib/charset.alias73 }74