summaryrefslogtreecommitdiff
path: root/security
diff options
context:
space:
mode:
authortv <tv@pkgsrc.org>2005-01-10 18:24:31 +0000
committertv <tv@pkgsrc.org>2005-01-10 18:24:31 +0000
commitcac24129323fac7b7479635f306df50f27a15f77 (patch)
treea9a544883208caa17f9a92b39b885235ea51ce0f /security
parent381930dae72289329c1626106abc764632e4ebdd (diff)
downloadpkgsrc-cac24129323fac7b7479635f306df50f27a15f77.tar.gz
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.
Diffstat (limited to 'security')
-rw-r--r--security/pgpenvelope/DESCR8
-rw-r--r--security/pgpenvelope/Makefile24
-rw-r--r--security/pgpenvelope/PLIST1
-rw-r--r--security/pgpenvelope/distinfo5
-rw-r--r--security/pgpenvelope/patches/patch-aa17
5 files changed, 55 insertions, 0 deletions
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;
+ }
+