diff options
author | shannonjr <shannonjr@pkgsrc.org> | 2004-10-23 14:46:16 +0000 |
---|---|---|
committer | shannonjr <shannonjr@pkgsrc.org> | 2004-10-23 14:46:16 +0000 |
commit | 963ea63d16985d320497da5a72e1d7350b0236bb (patch) | |
tree | bec3242e2efa384cb12a2b8f250691ab5de35cd4 /security | |
parent | 608849d61b0b3847d00ab7c4085639a057062c49 (diff) | |
download | pkgsrc-963ea63d16985d320497da5a72e1d7350b0236bb.tar.gz |
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 (limited to 'security')
-rw-r--r-- | security/gnupg-devel/DESCR | 5 | ||||
-rw-r--r-- | security/gnupg-devel/Makefile | 77 | ||||
-rw-r--r-- | security/gnupg-devel/PLIST | 7 | ||||
-rw-r--r-- | security/gnupg-devel/PLIST.gpgsm | 9 | ||||
-rw-r--r-- | security/gnupg-devel/buildlink3.mk | 25 | ||||
-rw-r--r-- | security/gnupg-devel/distinfo | 5 | ||||
-rw-r--r-- | security/gnupg-devel/patches/patch-aa | 12 |
7 files changed, 140 insertions, 0 deletions
diff --git a/security/gnupg-devel/DESCR b/security/gnupg-devel/DESCR new file mode 100644 index 00000000000..f237079bc26 --- /dev/null +++ b/security/gnupg-devel/DESCR @@ -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 --git a/security/gnupg-devel/Makefile b/security/gnupg-devel/Makefile new file mode 100644 index 00000000000..e7117840a27 --- /dev/null +++ b/security/gnupg-devel/Makefile @@ -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 +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 --git a/security/gnupg-devel/PLIST b/security/gnupg-devel/PLIST new file mode 100644 index 00000000000..564df201707 --- /dev/null +++ b/security/gnupg-devel/PLIST @@ -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 --git a/security/gnupg-devel/PLIST.gpgsm b/security/gnupg-devel/PLIST.gpgsm new file mode 100644 index 00000000000..d56dcab95f6 --- /dev/null +++ b/security/gnupg-devel/PLIST.gpgsm @@ -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 --git a/security/gnupg-devel/buildlink3.mk b/security/gnupg-devel/buildlink3.mk new file mode 100644 index 00000000000..37d8da64675 --- /dev/null +++ b/security/gnupg-devel/buildlink3.mk @@ -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 --git a/security/gnupg-devel/distinfo b/security/gnupg-devel/distinfo new file mode 100644 index 00000000000..4af7495ff81 --- /dev/null +++ b/security/gnupg-devel/distinfo @@ -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 --git a/security/gnupg-devel/patches/patch-aa b/security/gnupg-devel/patches/patch-aa new file mode 100644 index 00000000000..bc3b0b4f1a7 --- /dev/null +++ b/security/gnupg-devel/patches/patch-aa @@ -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 |