summaryrefslogtreecommitdiff
path: root/security/gnupg21
diff options
context:
space:
mode:
authorryoon <ryoon@pkgsrc.org>2015-07-04 05:26:21 +0000
committerryoon <ryoon@pkgsrc.org>2015-07-04 05:26:21 +0000
commit56582f381b0ab3c41d6d9f7a9ba94f8f88f6189a (patch)
treed1c171c36e5d5cd83a1c61260da1b518ea86343a /security/gnupg21
parent8d7cd2417f0f509dbdcc35668a18c9a776554a4b (diff)
downloadpkgsrc-56582f381b0ab3c41d6d9f7a9ba94f8f88f6189a.tar.gz
Import gnupg2-2.1.6 as security/gnupg21.
GnuPG-2 provides several utilities that are used by mail clients, such as Kmail and Balsa, including OpenPGP and S/MIME support. GnuPG-2 has a different architecture than GnuPG-1 (e.g. 1.4.5) in that it splits up functionality into several modules. However, both versions may be installed alongside without any conflict. In fact, the gpg version from GnuPG-1 is able to make use of the gpg-agent as included in GnuPG-2 and allows for seamless passphrase caching. The advantage of GnuPG-1 is its smaller size and the lack of dependency on other modules at run and build time. Packaged by adanbsd as pkgsrc/wip/gnupg21.
Diffstat (limited to 'security/gnupg21')
-rw-r--r--security/gnupg21/DESCR9
-rw-r--r--security/gnupg21/Makefile30
-rw-r--r--security/gnupg21/PLIST114
-rw-r--r--security/gnupg21/distinfo6
-rw-r--r--security/gnupg21/patches/patch-doc_Makefile.in15
5 files changed, 174 insertions, 0 deletions
diff --git a/security/gnupg21/DESCR b/security/gnupg21/DESCR
new file mode 100644
index 00000000000..ce3859f3787
--- /dev/null
+++ b/security/gnupg21/DESCR
@@ -0,0 +1,9 @@
+GnuPG-2 provides several utilities that are used by mail clients,
+such as Kmail and Balsa, including OpenPGP and S/MIME support.
+GnuPG-2 has a different architecture than GnuPG-1 (e.g. 1.4.5) in that
+it splits up functionality into several modules. However, both
+versions may be installed alongside without any conflict. In fact,
+the gpg version from GnuPG-1 is able to make use of the gpg-agent as
+included in GnuPG-2 and allows for seamless passphrase caching. The
+advantage of GnuPG-1 is its smaller size and the lack of dependency on
+other modules at run and build time.
diff --git a/security/gnupg21/Makefile b/security/gnupg21/Makefile
new file mode 100644
index 00000000000..6ce73c1c6a2
--- /dev/null
+++ b/security/gnupg21/Makefile
@@ -0,0 +1,30 @@
+# $NetBSD: Makefile,v 1.1 2015/07/04 05:26:21 ryoon Exp $
+
+DISTNAME= gnupg-2.1.6
+PKGNAME= ${DISTNAME:S/gnupg-/gnupg2-/}
+CATEGORIES= security
+MASTER_SITES= ftp://ftp.gnupg.org/gcrypt/gnupg/
+EXTRACT_SUFX= .tar.bz2
+
+MAINTAINER= ada@netbsdfr.org
+HOMEPAGE= https://www.gnupg.org/
+COMMENT= GNUpg with OpenPGP and S/MIME capabilities
+LICENSE= gnu-gpl-v3
+
+BUILD_DEFS+= VARBASE
+USE_PKGLOCALEDIR= yes
+USE_TOOLS+= gmake pkg-config makeinfo
+USE_LIBTOOL= yes
+INFO_FILES= yes
+GNU_CONFIGURE= yes
+
+.include "../../mk/bsd.prefs.mk"
+
+BUILDLINK_API_DEPENDS.libgpg-error+= libgpg-error>=1.4
+BUILDLINK_API_DEPENDS.npth+= npth>=0.91
+
+.include "../../security/libgpg-error/buildlink3.mk"
+.include "../../security/libassuan22/buildlink3.mk"
+.include "../../security/libksba/buildlink3.mk"
+.include "../../devel/npth/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/security/gnupg21/PLIST b/security/gnupg21/PLIST
new file mode 100644
index 00000000000..a072f328225
--- /dev/null
+++ b/security/gnupg21/PLIST
@@ -0,0 +1,114 @@
+@comment $NetBSD: PLIST,v 1.1 2015/07/04 05:26:21 ryoon Exp $
+bin/dirmngr
+bin/dirmngr-client
+bin/g13
+bin/gpg-agent
+bin/gpg-connect-agent
+bin/gpg2
+bin/gpgconf
+bin/gpgkey2ssh
+bin/gpgparsemail
+bin/gpgsm
+bin/gpgsm-gencert.sh
+bin/gpgtar
+bin/gpgv2
+bin/kbxutil
+bin/watchgnupg
+info/gnupg.info
+libexec/dirmngr_ldap
+libexec/gpg-check-pattern
+libexec/gpg-preset-passphrase
+libexec/gpg-protect-tool
+libexec/scdaemon
+man/man1/dirmngr-client.1
+man/man1/gpg-agent.1
+man/man1/gpg-connect-agent.1
+man/man1/gpg-preset-passphrase.1
+man/man1/gpg2.1
+man/man1/gpgconf.1
+man/man1/gpgparsemail.1
+man/man1/gpgsm-gencert.sh.1
+man/man1/gpgsm.1
+man/man1/gpgv2.1
+man/man1/scdaemon.1
+man/man1/symcryptrun.1
+man/man1/watchgnupg.1
+man/man7/gnupg.7
+man/man8/addgnupghome.8
+man/man8/applygnupgdefaults.8
+man/man8/dirmngr.8
+sbin/addgnupghome
+sbin/applygnupgdefaults
+share/doc/gnupg/DCO
+share/doc/gnupg/DETAILS
+share/doc/gnupg/FAQ
+share/doc/gnupg/HACKING
+share/doc/gnupg/KEYSERVER
+share/doc/gnupg/OpenPGP
+share/doc/gnupg/README
+share/doc/gnupg/TRANSLATE
+share/doc/gnupg/examples/README
+share/doc/gnupg/examples/gpgconf.conf
+share/doc/gnupg/examples/pwpattern.list
+share/doc/gnupg/examples/scd-event
+share/doc/gnupg/examples/trustlist.txt
+share/gnupg/com-certs.pem
+share/gnupg/distsigkey.gpg
+share/gnupg/gpg-conf.skel
+share/gnupg/help.be.txt
+share/gnupg/help.ca.txt
+share/gnupg/help.cs.txt
+share/gnupg/help.da.txt
+share/gnupg/help.de.txt
+share/gnupg/help.el.txt
+share/gnupg/help.eo.txt
+share/gnupg/help.es.txt
+share/gnupg/help.et.txt
+share/gnupg/help.fi.txt
+share/gnupg/help.fr.txt
+share/gnupg/help.gl.txt
+share/gnupg/help.hu.txt
+share/gnupg/help.id.txt
+share/gnupg/help.it.txt
+share/gnupg/help.ja.txt
+share/gnupg/help.nb.txt
+share/gnupg/help.pl.txt
+share/gnupg/help.pt.txt
+share/gnupg/help.pt_BR.txt
+share/gnupg/help.ro.txt
+share/gnupg/help.ru.txt
+share/gnupg/help.sk.txt
+share/gnupg/help.sv.txt
+share/gnupg/help.tr.txt
+share/gnupg/help.txt
+share/gnupg/help.zh_CN.txt
+share/gnupg/help.zh_TW.txt
+share/gnupg/qualified.txt
+share/locale/ca/LC_MESSAGES/gnupg2.mo
+share/locale/cs/LC_MESSAGES/gnupg2.mo
+share/locale/da/LC_MESSAGES/gnupg2.mo
+share/locale/de/LC_MESSAGES/gnupg2.mo
+share/locale/el/LC_MESSAGES/gnupg2.mo
+share/locale/en@boldquot/LC_MESSAGES/gnupg2.mo
+share/locale/en@quot/LC_MESSAGES/gnupg2.mo
+share/locale/eo/LC_MESSAGES/gnupg2.mo
+share/locale/es/LC_MESSAGES/gnupg2.mo
+share/locale/et/LC_MESSAGES/gnupg2.mo
+share/locale/fi/LC_MESSAGES/gnupg2.mo
+share/locale/fr/LC_MESSAGES/gnupg2.mo
+share/locale/gl/LC_MESSAGES/gnupg2.mo
+share/locale/hu/LC_MESSAGES/gnupg2.mo
+share/locale/id/LC_MESSAGES/gnupg2.mo
+share/locale/it/LC_MESSAGES/gnupg2.mo
+share/locale/ja/LC_MESSAGES/gnupg2.mo
+share/locale/nb/LC_MESSAGES/gnupg2.mo
+share/locale/pl/LC_MESSAGES/gnupg2.mo
+share/locale/pt/LC_MESSAGES/gnupg2.mo
+share/locale/ro/LC_MESSAGES/gnupg2.mo
+share/locale/ru/LC_MESSAGES/gnupg2.mo
+share/locale/sk/LC_MESSAGES/gnupg2.mo
+share/locale/sv/LC_MESSAGES/gnupg2.mo
+share/locale/tr/LC_MESSAGES/gnupg2.mo
+share/locale/uk/LC_MESSAGES/gnupg2.mo
+share/locale/zh_CN/LC_MESSAGES/gnupg2.mo
+share/locale/zh_TW/LC_MESSAGES/gnupg2.mo
diff --git a/security/gnupg21/distinfo b/security/gnupg21/distinfo
new file mode 100644
index 00000000000..56f5b1b4e21
--- /dev/null
+++ b/security/gnupg21/distinfo
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2015/07/04 05:26:21 ryoon Exp $
+
+SHA1 (gnupg-2.1.6.tar.bz2) = 9e8157b3386da04760657ce3117fc4dc570c57c5
+RMD160 (gnupg-2.1.6.tar.bz2) = 42db712fe0669caf246dbf46aca429b392614e2b
+Size (gnupg-2.1.6.tar.bz2) = 4917722 bytes
+SHA1 (patch-doc_Makefile.in) = 1f5dc55c6751322e2a5436b0a66a530d231b4a75
diff --git a/security/gnupg21/patches/patch-doc_Makefile.in b/security/gnupg21/patches/patch-doc_Makefile.in
new file mode 100644
index 00000000000..246bb58b09b
--- /dev/null
+++ b/security/gnupg21/patches/patch-doc_Makefile.in
@@ -0,0 +1,15 @@
+$NetBSD: patch-doc_Makefile.in,v 1.1 2015/07/04 05:26:21 ryoon Exp $
+
+* gpg-zip command is not installed. Rmove man page too.
+
+--- doc/Makefile.in.orig 2015-07-01 12:17:03.000000000 +0000
++++ doc/Makefile.in
+@@ -498,7 +498,7 @@ myman_sources = gnupg7.texi gpg.texi gpg
+ myman_pages = gpg2.1 gpgsm.1 gpg-agent.1 dirmngr.8 scdaemon.1 gpgv2.1 \
+ watchgnupg.1 gpgconf.1 addgnupghome.8 gpg-preset-passphrase.1 \
+ gpg-connect-agent.1 gpgparsemail.1 symcryptrun.1 \
+- gpgsm-gencert.sh.1 applygnupgdefaults.8 gpg-zip.1 \
++ gpgsm-gencert.sh.1 applygnupgdefaults.8 \
+ dirmngr-client.1
+
+ man_MANS = $(myman_pages) gnupg.7