Ticket #11530: gpg-agent-2.0.2.diff
File gpg-agent-2.0.2.diff, 4.1 KB (added by pipping@…, 18 years ago) |
---|
-
files/patch-po_Makevars
1 --- po/Makevars 2006-06-20 16:32:59.000000000 +0000 2 +++ po/Makevars.gpg-agent 2007-02-20 01:36:11.000000000 +0000 3 @@ -1,7 +1,7 @@ 4 # Makefile variables for PO directory in any package using GNU gettext. 5 6 # Usually the message domain is the same as the package name. 7 -DOMAIN = gnupg2 8 +DOMAIN = gpg-agent 9 10 # These two variables depend on the location of this directory. 11 subdir = po -
files/patch-configure
1 --- configure 2007-01-31 14:09:31.000000000 +0000 2 +++ configure.gpg-agent 2007-02-20 01:24:54.000000000 +0000 3 @@ -557,10 +557,10 @@ 4 SHELL=${CONFIG_SHELL-/bin/sh} 5 6 # Identity of this package. 7 -PACKAGE_NAME='gnupg' 8 -PACKAGE_TARNAME='gnupg' 9 +PACKAGE_NAME='gpg-agent' 10 +PACKAGE_TARNAME='gpg-agent' 11 PACKAGE_VERSION='2.0.2' 12 -PACKAGE_STRING='gnupg 2.0.2' 13 +PACKAGE_STRING='gpg-agent 2.0.2' 14 PACKAGE_BUGREPORT='bug-gnupg@gnupg.org' 15 16 ac_unique_file="sm/gpgsm.c" -
Portfile
1 1 # $Id$ 2 2 3 PortSystem 1.0 4 name gpg-agent 5 version 1.9.10 6 revision 1 7 categories security 8 maintainers yeled@macports.org 9 description GPG key agent 10 long_description gpg-agent is a key management agent similar \ 11 in function to ssh-agent. 12 homepage http://www.gnupg.org/ 13 platforms darwin 14 distname gnupg-${version} 15 master_sites ftp://ftp.gnupg.org/gcrypt/alpha/gnupg/ \ 16 ftp://ftp.freenet.de/pub/ftp.gnupg.org/gcrypt/alpha/gnupg/ 17 checksums md5 d923cfe0921898fbeb66374a0e32ddc6 3 PortSystem 1.0 4 name gpg-agent 5 version 2.0.2 6 categories security mail 7 maintainers yeled@macports.org 8 description GPG key agent 9 long_description gpg-agent is a key management agent similar \ 10 in function to ssh-agent. 11 homepage http://www.gnupg.org 12 platforms darwin freebsd sunos 13 distname gnupg-${version} 14 master_sites http://mirrors.rootmode.com/ftp.gnupg.org/gnupg/ \ 15 ftp://ftp.freenet.de/pub/ftp.gnupg.org/gcrypt/gnupg/ \ 16 ftp://ftp.gnupg.org/gcrypt/gnupg/ 18 17 19 configure.args --mandir=${prefix}/share/man \ 20 --infodir=${prefix}/share/info\21 --with-pinentry-pgm=${prefix}/bin/pinentry\22 --enable-agent-only 18 use_bzip2 yes 19 checksums ${distfiles} md5 9f972c78135a7dea1bae66bb9f263980 \ 20 sha1 1a3165c5b601f3244b8885143d02bea4210495e3 \ 21 rmd160 6cc52da761927e17842842c00598c4974208affa 23 22 24 depends_lib port:gettext port:libiconv port:zlib port:bison \25 port:libgpg-error port:libassuan port:libgcrypt port:libksba \26 port:pth port:pinentry27 23 28 destroot.dir ${worksrcpath}/agent 24 configure.env CPPFLAGS="-I${prefix}/include" LDFLAGS="-L${prefix}/lib" 29 25 30 test.run yes 31 test.dir ${worksrcpath}/checks 32 test.target check 26 configure.args --enable-agent-only \ 27 --with-pinentry-pgm=${prefix}/bin/pinentry 33 28 34 variant darwin { 35 configure.args-append --disable-asm --disable-dynload 29 depends_lib port:libiconv \ 30 port:gettext \ 31 port:zlib \ 32 port:bzip2 \ 33 port:bison \ 34 port:libassuan \ 35 port:libksba \ 36 port:libgcrypt \ 37 port:libgpg-error \ 38 port:pth \ 39 port:pinentry 40 41 patchfiles patch-po_Makevars 42 43 test.run yes 44 test.dir ${worksrcpath}/tests 45 test.target check 46 47 platform darwin { 48 configure.env-append MACOSX_DEPLOYMENT_TARGET=10.3 49 build.env-append MACOSX_DEPLOYMENT_TARGET=10.3 36 50 } 37 51 38 variant sunos { 39 configure.args-append --disable-asm --disable-dynload 52 platform darwin 7 { 53 configure.env-delete LDFLAGS="-L${prefix}/lib" 54 configure.env-append LDFLAGS="-L${prefix}/lib -framework IOKit" 40 55 } 41 56 42 post-destroot { 43 file delete -force ${destroot}${prefix}/share/info/dir 57 variant no_pinentry { 58 depends_lib-delete port:pinentry 59 configure.args-delete --with-pinentry-pgm=${prefix}/bin/pinentry 44 60 }