From cac24129323fac7b7479635f306df50f27a15f77 Mon Sep 17 00:00:00 2001 From: tv Date: Mon, 10 Jan 2005 18:24:31 +0000 Subject: Import pgpemvelope from the pkgsrc-wip project. From DESCR: The purpose of pgpenvelope is to allow easy use of GnuPG to encrypt/sign/decrypt/verify messages using Pine's send- ing/displaying filters. Simply make the appropriate filter entries in one's Pine configuration, and run Pine as normal. When sending mail, choose the pgpenvelope_encrypt filter. Additionally, one can use it as a procmail filter. --- security/pgpenvelope/DESCR | 8 ++++++++ security/pgpenvelope/Makefile | 24 ++++++++++++++++++++++++ security/pgpenvelope/PLIST | 1 + security/pgpenvelope/distinfo | 5 +++++ security/pgpenvelope/patches/patch-aa | 17 +++++++++++++++++ 5 files changed, 55 insertions(+) create mode 100644 security/pgpenvelope/DESCR create mode 100644 security/pgpenvelope/Makefile create mode 100644 security/pgpenvelope/PLIST create mode 100644 security/pgpenvelope/distinfo create mode 100644 security/pgpenvelope/patches/patch-aa (limited to 'security') diff --git a/security/pgpenvelope/DESCR b/security/pgpenvelope/DESCR new file mode 100644 index 00000000000..adfe1590469 --- /dev/null +++ b/security/pgpenvelope/DESCR @@ -0,0 +1,8 @@ +The purpose of pgpenvelope is to allow easy use of GnuPG +to encrypt/sign/decrypt/verify messages using Pine's send- +ing/displaying filters. + +Simply make the appropriate filter entries in one's Pine +configuration, and run Pine as normal. When sending mail, +choose the pgpenvelope_encrypt filter. Additionally, one +can use it as a procmail filter. diff --git a/security/pgpenvelope/Makefile b/security/pgpenvelope/Makefile new file mode 100644 index 00000000000..a667b122b23 --- /dev/null +++ b/security/pgpenvelope/Makefile @@ -0,0 +1,24 @@ +# $NetBSD: Makefile,v 1.1.1.1 2005/01/10 18:24:31 tv Exp $ +# + +DISTNAME= pgpenvelope-2.10.2 +PKGREVISION= 1 +CATEGORIES= security mail +MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=pgpenvelope/} + +MAINTAINER= tv@duh.org +HOMEPAGE= http://pgpenvelope.sourceforge.net/ +COMMENT= GnuPG and Pine/Procmail integration tool + +DEPENDS+= p5-AppConfig>=1.52:../../devel/p5-AppConfig +DEPENDS+= p5-Class-MethodMaker>=0.96:../../devel/p5-Class-MethodMaker +DEPENDS+= p5-GnuPG-Interface>=0.34nb1:../../wip/p5-GnuPG-Interface +DEPENDS+= p5-String-Approx>=3.13:../../textproc/p5-String-Approx +DEPENDS+= p5-Term-ReadKey>=2.14:../../devel/p5-Term-ReadKey +DEPENDS+= p5-Term-ReadLine>=1.01:../../devel/p5-Term-ReadLine + +USE_BUILDLINK3= yes +PERL5_PACKLIST= ${PERL5_SITEARCH}/auto/pgpenvelope/.packlist + +.include "../../lang/perl5/module.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/security/pgpenvelope/PLIST b/security/pgpenvelope/PLIST new file mode 100644 index 00000000000..2f7d5e70c6e --- /dev/null +++ b/security/pgpenvelope/PLIST @@ -0,0 +1 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2005/01/10 18:24:31 tv Exp $ diff --git a/security/pgpenvelope/distinfo b/security/pgpenvelope/distinfo new file mode 100644 index 00000000000..d35429247d9 --- /dev/null +++ b/security/pgpenvelope/distinfo @@ -0,0 +1,5 @@ +$NetBSD: distinfo,v 1.1.1.1 2005/01/10 18:24:31 tv Exp $ + +SHA1 (pgpenvelope-2.10.2.tar.gz) = 1266a9d2184e5f4ccc0c43a6f32008e4c4218536 +Size (pgpenvelope-2.10.2.tar.gz) = 282070 bytes +SHA1 (patch-aa) = 8a1a79f6276d24d6dbf8e5dacaeca227a139ae34 diff --git a/security/pgpenvelope/patches/patch-aa b/security/pgpenvelope/patches/patch-aa new file mode 100644 index 00000000000..064394e952f --- /dev/null +++ b/security/pgpenvelope/patches/patch-aa @@ -0,0 +1,17 @@ +$NetBSD: patch-aa,v 1.1.1.1 2005/01/10 18:24:31 tv Exp $ + +--- lib/PGPEnvelope/Keyring.pm.orig Fri Aug 15 14:39:25 2003 ++++ lib/PGPEnvelope/Keyring.pm +@@ -57,9 +57,9 @@ sub import_keys + stdout => $newfh, + ); + +- $self->gnupg->recv_keys( handles => $handles, +- gnupg_command_args => [ @key_ids ], +- ); ++ $self->gnupg->search_keys( handles => $handles, ++ gnupg_command_args => [ @key_ids ], ++ ); + wait; + } + -- cgit v1.2.3