the Fink project is an effort to port
popular Unix programs to Mac OS X
Package: gpg-agent
Version: 1.9.20
Revision: 1
Source: ftp://ftp.gnupg.org/gcrypt/alpha/gnupg/gnupg-%v.tar.bz2
Source-MD5: 93899203fc0530f03e146d49b65c1e28
Recommends: pinentry-gtk2 | pinentry
Depends: libgpg-error-shlibs, libgcrypt-shlibs, pth2-shlibs
BuildDepends: libgpg-error, libgcrypt, libassuan, pth2-dev, libgettext3-dev, fink (>= 0.24.12-1)
PatchFile: %n.patch
PatchFile-MD5: e8e1aea9d7e438fb6d643d1e712dc1ff
ConfigureParams: --libexecdir=%p/lib/%n --infodir=%p/share/info --enable-agent-only
DocFiles: AUTHORS COPYING NEWS README THANKS TODO
InfoDocs: gnupg.info
InstallScript: make DESTDIR=%d install
Description: GPG key agent
DescDetail: <<
gpg-agent manages GPG private keys much like Keychain does your login keys.
<<
DescPackaging: <<
Specifically looks for pth (%p/bin/pth-config)
<<
Homepage: http://www.gnupg.org/
License: GPL
Maintainer: Brendan Cully
Makefile.in: Add PTH_LIBS to gpg-connect-agent
gpgparsemail.c: include config.h; don't redefine stpcpy.
---
tools/Makefile.in | 2 +-
tools/gpgparsemail.c | 6 +++++-
2 files changed, 6 insertions(+), 2 deletions(-)
Index: gnupg-1.9.20/tools/Makefile.in
===================================================================
--- gnupg-1.9.20.orig/tools/Makefile.in 2005-12-20 01:49:35.000000000 -0800
+++ gnupg-1.9.20/tools/Makefile.in 2006-03-12 15:55:57.000000000 -0800
@@ -406,7 +406,7 @@ watchgnupg_LDADD = $(NETLIBS)
gpg_connect_agent_SOURCES = gpg-connect-agent.c no-libgcrypt.c
gpg_connect_agent_LDADD = ../jnlib/libjnlib.a \
../common/libcommon.a ../gl/libgnu.a \
- $(LIBASSUAN_LIBS) $(GPG_ERROR_LIBS) $(LIBINTL)
+ $(LIBASSUAN_LIBS) $(GPG_ERROR_LIBS) $(LIBINTL) $(PTH_LIBS)
gpgkey2ssh_SOURCES = gpgkey2ssh.c
gpgkey2ssh_CFLAGS = $(LIBGCRYPT_CFLAGS) $(GPG_ERROR_CFLAGS)
Index: gnupg-1.9.20/tools/gpgparsemail.c
===================================================================
--- gnupg-1.9.20.orig/tools/gpgparsemail.c 2005-12-14 02:45:28.000000000 -0800
+++ gnupg-1.9.20/tools/gpgparsemail.c 2006-03-12 16:01:55.000000000 -0800
@@ -24,6 +24,9 @@
for the content of the line. Several options are available to
scrutinize the message. S/MIME and OpenPGP support is included. */
+#ifdef HAVE_CONFIG_H
+# include "config.h"
+#endif /* HAVE_CONFIG_H */
#include
#include
@@ -145,6 +148,7 @@ xstrdup (const char *string)
return p;
}
+#ifndef HAVE_STPCPY
static char *
stpcpy (char *a,const char *b)
{
@@ -154,7 +158,7 @@ stpcpy (char *a,const char *b)
return (char*)a;
}
-
+#endif /* HAVE_STPCPY */
static int
run_gnupg (int smime, int sig_fd, int data_fd, int *close_list)