pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/security/gnupg-devel GnuPG 1.9 is the future version o...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/6824acf54ac3
branches:  trunk
changeset: 482271:6824acf54ac3
user:      shannonjr <shannonjr%pkgsrc.org@localhost>
date:      Sat Oct 23 14:46:16 2004 +0000

description:
GnuPG 1.9 is the future version of GnuPG; it is based on the gnupg-1.3
code and the previous newpg package.  It will eventually lead to a
GnuPG 2.0 release. This pagkage provides several utilities that are used
by mail clients, such as Kmail and Balsa, to provide OpenPGP/MIME
and SMIME support.

diffstat:

 security/gnupg-devel/DESCR            |   5 ++
 security/gnupg-devel/Makefile         |  77 +++++++++++++++++++++++++++++++++++
 security/gnupg-devel/PLIST            |   7 +++
 security/gnupg-devel/PLIST.gpgsm      |   9 ++++
 security/gnupg-devel/buildlink3.mk    |  25 +++++++++++
 security/gnupg-devel/distinfo         |   5 ++
 security/gnupg-devel/patches/patch-aa |  12 +++++
 7 files changed, 140 insertions(+), 0 deletions(-)

diffs (168 lines):

diff -r 9f51fd04829d -r 6824acf54ac3 security/gnupg-devel/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/security/gnupg-devel/DESCR        Sat Oct 23 14:46:16 2004 +0000
@@ -0,0 +1,5 @@
+GnuPG 1.9 is the future version of GnuPG; it is based on the gnupg-1.3
+code and the previous newpg package.  It will eventually lead to a
+GnuPG 2.0 release. This pagkage provides several utilities that are used
+by mail clients, such as Kmail and Balsa, to provide OpenPGP/MIME 
+and SMIME support.
diff -r 9f51fd04829d -r 6824acf54ac3 security/gnupg-devel/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/security/gnupg-devel/Makefile     Sat Oct 23 14:46:16 2004 +0000
@@ -0,0 +1,77 @@
+# $NetBSD: Makefile,v 1.1 2004/10/23 14:46:16 shannonjr Exp $
+#
+
+DISTNAME=              gnupg-1.9.11
+PKGNAME=               gnupg-devel-1.9.11
+CATEGORIES=            security
+MASTER_SITES=          ftp://ftp.gnupg.org/gcrypt/alpha/gnupg/
+
+MAINTAINER=            shannonjr%NetBSD.org@localhost
+HOMEPAGE=              ftp://ftp.gnupg.org/gcrypt/alpha/gnupg/
+COMMENT=               Utility programs that come with GnuPG 1.9 (experimental branch)
+
+BUILD_USES_MSGFMT=      yes
+
+.include "../../mk/bsd.prefs.mk"
+
+USE_BUILDLINK3=         yes
+PKG_INSTALLATION_TYPES= overwrite pkgviews
+USE_PKGLOCALEDIR=       yes
+USE_LIBTOOL=            yes
+LIBTOOL_OVERRIDE=       ${WRKSRC}/libtool
+GNU_CONFIGURE=          yes
+USE_GNU_TOOLS+=         make
+CRYPTO=                 yes
+CONFIGURE_ARGS+=        --with-static-rnd=auto
+CONFIGURE_ARGS+=        --without-included-gettext
+PLIST_SRC=             ${WRKDIR}/PLIST_DYNAMIC
+
+TEST_TARGET=            check
+
+# We need gettext-lib >= 0.14.1 for NLS support
+.include "../../devel/gettext-lib/buildlink3.mk"
+GETTEXT_IS_TOO_OLD!=if ${PKG_ADMIN} pmatch 'gettext-lib < 0.14.1' gettext-lib ; then \
+               ${ECHO} "yes";  \
+       else    \
+               ${ECHO} "no";   \
+       fi
+.if GETTEXT_IS_TOO_OLD
+CONFIGURE_ARGS+=       --disable-nls
+.endif
+
+## If no options are specified, only gpg-agent is built. This
+## is sufficient for OpenPGP/MIME support in Kmail
+## SMIME support is provided by gpgsm. This support is 
+## in the alpha stage of development. 
+PKG_OPTIONS_VAR=       PKG_OPTIONS.gnupg2
+PKG_SUPPORTED_OPTIONS= gpgsm
+.include "../../mk/bsd.options.mk"
+.if empty(PKG_OPTIONS:Mgpgsm)
+CONFIGURE_ARGS+=       --enable-agent-only
+.else
+.include "../../security/dirmngr/buildlink3.mk"
+.endif
+
+# This package will only build with pth
+.include "../../mk/pthread.buildlink3.mk"
+.if ${PTHREAD_TYPE} == "native"
+CONFIGURE_ARGS+=       --disable-threads
+.endif
+
+post-install:
+       ${CP} -f ${PKGDIR}/PLIST ${PLIST_SRC}
+.if !GETTEXT_IS_TOO_OLD
+       ${ECHO} '${PKGLOCALEDIR}/locale/de/LC_MESSAGES/gnupg2.mo >>${PLIST_SRC}
+.endif
+.if !empty(PKG_OPTIONS:Mgpgsm)
+       ${CAT} -f ${PKGDIR}/PLIST.gpgsm >> ${PLIST_SRC}
+.endif
+
+BUILDLINK_DEPENDS.libgpg-erro>=        1.0.0
+.include "../../security/libgpg-error/buildlink3.mk"
+.include "../../security/libgcrypt/buildlink3.mk"
+.include "../../security/libassuan/buildlink3.mk"
+.include "../../security/libksba/buildlink3.mk"
+.include "../../security/pinentry/buildlink3.mk"
+.include "../../devel/zlib/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r 9f51fd04829d -r 6824acf54ac3 security/gnupg-devel/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/security/gnupg-devel/PLIST        Sat Oct 23 14:46:16 2004 +0000
@@ -0,0 +1,7 @@
+@comment $NetBSD: PLIST,v 1.1 2004/10/23 14:46:16 shannonjr Exp $
+bin/gpg-agent
+bin/gpgconf
+bin/watchgnupg
+info/gnupg.info
+libexec/gpg-protect-tool
+sbin/addgnupghome
diff -r 9f51fd04829d -r 6824acf54ac3 security/gnupg-devel/PLIST.gpgsm
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/security/gnupg-devel/PLIST.gpgsm  Sat Oct 23 14:46:16 2004 +0000
@@ -0,0 +1,9 @@
+bin/gpg2
+bin/gpgsm
+bin/gpgv2
+bin/kbxutil
+bin/sc-copykeys
+bin/sc-investigate
+bin/scdaemon
+lib/gnupg/pcsc-wrapper
+share/gnupg/gpg-conf.skel
diff -r 9f51fd04829d -r 6824acf54ac3 security/gnupg-devel/buildlink3.mk
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/security/gnupg-devel/buildlink3.mk        Sat Oct 23 14:46:16 2004 +0000
@@ -0,0 +1,25 @@
+# $NetBSD: buildlink3.mk,v 1.1 2004/10/23 14:46:16 shannonjr Exp $
+
+BUILDLINK_DEPTH:=              ${BUILDLINK_DEPTH}+
+GNUPG_DEVEL_BUILDLINK3_MK:=    ${GNUPG_DEVEL_BUILDLINK3_MK}+
+
+.if !empty(BUILDLINK_DEPTH:M+)
+BUILDLINK_DEPENDS+=    gnupg-devel
+.endif
+
+BUILDLINK_PACKAGES:=   ${BUILDLINK_PACKAGES:Ngnupg-devel}
+BUILDLINK_PACKAGES+=   gnupg-devel
+
+.if !empty(GNUPG_DEVEL_BUILDLINK3_MK:M+)
+BUILDLINK_DEPENDS.gnupg-devel+=        gnupg-devel>=1.9.11
+BUILDLINK_PKGSRCDIR.gnupg-devel?=      ../../security/gnupg-devel
+.endif # GNUPG_DEVEL_BUILDLINK3_MK
+BUILDLINK_PREFIX.gnupg-devel?= ${LOCALBASE}
+
+.include "../../security/libgpg-error/buildlink3.mk"
+.include "../../security/libgcrypt/buildlink3.mk"
+.include "../../security/libassuan/buildlink3.mk"
+.include "../../security/libksba/buildlink3.mk"
+.include "../../devel/zlib/buildlink3.mk"
+
+BUILDLINK_DEPTH:=     ${BUILDLINK_DEPTH:S/+$//}
diff -r 9f51fd04829d -r 6824acf54ac3 security/gnupg-devel/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/security/gnupg-devel/distinfo     Sat Oct 23 14:46:16 2004 +0000
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1 2004/10/23 14:46:16 shannonjr Exp $
+
+SHA1 (gnupg-1.9.11.tar.gz) = 8b0421f7f2774c48c4652875e5bab42644e97f27
+Size (gnupg-1.9.11.tar.gz) = 1442284 bytes
+SHA1 (patch-aa) = 0be8895faf55e862420cc9400736e0cd7b569193
diff -r 9f51fd04829d -r 6824acf54ac3 security/gnupg-devel/patches/patch-aa
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/security/gnupg-devel/patches/patch-aa     Sat Oct 23 14:46:16 2004 +0000
@@ -0,0 +1,12 @@
+$NetBSD: patch-aa,v 1.1 2004/10/23 14:46:16 shannonjr Exp $
+
+--- agent/call-scd.c.orig      2004-04-26 12:21:25.000000000 -0600
++++ agent/call-scd.c
+@@ -35,6 +35,7 @@
+ #include <sys/stat.h>
+ #include <sys/types.h>
+ #include <sys/wait.h>
++#include <sys/signal.h>
+ #ifdef USE_GNU_PTH
+ # include <pth.h>
+ #endif



Home | Main Index | Thread Index | Old Index