Ticket #11530: gpg-agent-1.9.10_to_2.0.2.diff

File gpg-agent-1.9.10_to_2.0.2.diff, 4.6 KB (added by boeyms@…, 18 years ago)
  • security/gpg-agent/Portfile

    diff -Naur dports/security/gpg-agent/Portfile dports-devel/security/gpg-agent/Portfile
    old new  
    1 # $Id: Portfile 20461 2006-11-03 15:14:39Z blair@macports.org $
     1# $Id: Portfile 20638 2006-11-11 19:31:27Z waqar@macports.org $
    22
    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
    18 
    19 configure.args  --mandir=${prefix}/share/man \
    20         --infodir=${prefix}/share/info \
    21         --with-pinentry-pgm=${prefix}/bin/pinentry \
    22         --enable-agent-only
    23 
    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:pinentry
    27 
    28 destroot.dir    ${worksrcpath}/agent
    29 
    30 test.run    yes
    31 test.dir    ${worksrcpath}/checks
    32 test.target     check
    33 
    34 variant darwin {
    35     configure.args-append --disable-asm --disable-dynload
     3PortSystem      1.0
     4name            gpg-agent
     5version         2.0.2
     6categories      mail security
     7maintainers     yeled@macports.org
     8description     GPG key agent
     9long_description        gpg-agent is a key management agent similar \
     10                        in function to ssh-agent.
     11homepage        http://www.gnupg.org
     12platforms       darwin freebsd sunos
     13distname        gnupg-${version}
     14master_sites    http://mirrors.rootmode.com/ftp.gnupg.org/alpha/gnupg/ \
     15                ftp://ftp.freenet.de/pub/ftp.gnupg.org/gcrypt/alpha/gnupg/ \
     16                ftp://ftp.gnupg.org/gcrypt/alpha/gnupg/
     17
     18use_bzip2       yes
     19checksums       ${distfiles} md5 9f972c78135a7dea1bae66bb9f263980 \
     20                             sha1 1a3165c5b601f3244b8885143d02bea4210495e3 \
     21                             rmd160 6cc52da761927e17842842c00598c4974208affa
     22
     23
     24configure.env   CPPFLAGS="-I${prefix}/include" LDFLAGS="-L${prefix}/lib"
     25
     26configure.args  --enable-agent-only \
     27                --with-pinentry-pgm=${prefix}/bin/pinentry
     28
     29depends_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
     41patchfiles      patch-po_Makevars
     42
     43test.run        yes
     44test.dir        ${worksrcpath}/tests
     45test.target     check
     46
     47platform darwin {
     48        configure.env-append    MACOSX_DEPLOYMENT_TARGET=10.3
     49        build.env-append                MACOSX_DEPLOYMENT_TARGET=10.3
    3650}
    3751
    38 variant sunos {
    39     configure.args-append --disable-asm --disable-dynload
     52platform darwin 7 {
     53        configure.env-delete    LDFLAGS="-L${prefix}/lib"
     54        configure.env-append    LDFLAGS="-L${prefix}/lib -framework IOKit"
    4055}
    4156
    42 post-destroot   {
    43     file delete -force ${destroot}${prefix}/share/info/dir
     57variant no_pinentry {
     58        depends_lib-delete      port:pinentry
     59        configure.args-delete   --with-pinentry-pgm=${prefix}/bin/pinentry
    4460}
  • security/gpg-agent/files/patch-configure

    diff -Naur dports/security/gpg-agent/files/patch-configure dports-devel/security/gpg-agent/files/patch-configure
    old new  
     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"
  • security/gpg-agent/files/patch-po_Makevars

    diff -Naur dports/security/gpg-agent/files/patch-po_Makevars dports-devel/security/gpg-agent/files/patch-po_Makevars
    old new  
     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