summaryrefslogtreecommitdiff
path: root/security
diff options
context:
space:
mode:
authortaca <taca@pkgsrc.org>2016-08-21 08:26:39 +0000
committertaca <taca@pkgsrc.org>2016-08-21 08:26:39 +0000
commitdd481f6a702afdda28c20190117b6cc18aed8712 (patch)
tree5bb4a609ffa675c1d11a025dad8d0ce5f67a305c /security
parent38a325047614cf3bcf0be6a060adacc41af541f5 (diff)
downloadpkgsrc-dd481f6a702afdda28c20190117b6cc18aed8712.tar.gz
Add pear-Crypt_GPG 1.4.2.
This package provides an object oriented interface to GNU Privacy Guard (GnuPG). It requires the GnuPG executable to be on the system. Though GnuPG can support symmetric-key cryptography, this package is intended only to facilitate public-key cryptography.
Diffstat (limited to 'security')
-rw-r--r--security/pear-Crypt_GPG/DESCR5
-rw-r--r--security/pear-Crypt_GPG/Makefile18
-rw-r--r--security/pear-Crypt_GPG/distinfo7
-rw-r--r--security/pear-Crypt_GPG/patches/patch-.._package.xml13
4 files changed, 43 insertions, 0 deletions
diff --git a/security/pear-Crypt_GPG/DESCR b/security/pear-Crypt_GPG/DESCR
new file mode 100644
index 00000000000..2fd80437f36
--- /dev/null
+++ b/security/pear-Crypt_GPG/DESCR
@@ -0,0 +1,5 @@
+This package provides an object oriented interface to GNU Privacy Guard
+(GnuPG). It requires the GnuPG executable to be on the system.
+
+Though GnuPG can support symmetric-key cryptography, this package is
+intended only to facilitate public-key cryptography.
diff --git a/security/pear-Crypt_GPG/Makefile b/security/pear-Crypt_GPG/Makefile
new file mode 100644
index 00000000000..ba2b356bae6
--- /dev/null
+++ b/security/pear-Crypt_GPG/Makefile
@@ -0,0 +1,18 @@
+# $NetBSD: Makefile,v 1.1 2016/08/21 08:26:39 taca Exp $
+
+DISTNAME= Crypt_GPG-1.4.2
+CATEGORIES= security
+
+MAINTAINER= pkgsrc-users@NetBSD.org
+COMMENT= Object oriented interface to GNU Privacy Guard
+
+DEPENDS+= ${PHP_PKG_PREFIX}-pear-Console_CommandLine>=1.1.10:../../devel/pear-Console_CommandLine
+
+# maybe resides in lang/php/phpversion.mk
+REPLACE_INTERPRETER+= php
+REPLACE.php.old= .*php[^ ]*
+REPLACE.php.new= ${PREFIX}/bin/php
+REPLACE_FILES.php= scripts/crypt-gpg-pinentry
+
+.include "../../lang/php/pear.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/security/pear-Crypt_GPG/distinfo b/security/pear-Crypt_GPG/distinfo
new file mode 100644
index 00000000000..944af64de63
--- /dev/null
+++ b/security/pear-Crypt_GPG/distinfo
@@ -0,0 +1,7 @@
+$NetBSD: distinfo,v 1.1 2016/08/21 08:26:39 taca Exp $
+
+SHA1 (pear/Crypt_GPG-1.4.2.tgz) = 85e829d5e2fb5c1614182ffafaee95407df17584
+RMD160 (pear/Crypt_GPG-1.4.2.tgz) = cc9378127a4162298e67fce5ee4eb4bf3eec9fdb
+SHA512 (pear/Crypt_GPG-1.4.2.tgz) = c0384f0b4a35f8e7d7189b0b08c277c2629e7fa84e13f2c8c92aaafbeace7a60b6e18f2347571e7bcdf4bc504fd9463f080d9c2938063fdfcabc8f44dd7f4950
+Size (pear/Crypt_GPG-1.4.2.tgz) = 345962 bytes
+SHA1 (patch-.._package.xml) = edb34e042e3271f3d8a3b9be9723097dae03eef5
diff --git a/security/pear-Crypt_GPG/patches/patch-.._package.xml b/security/pear-Crypt_GPG/patches/patch-.._package.xml
new file mode 100644
index 00000000000..69ac8499713
--- /dev/null
+++ b/security/pear-Crypt_GPG/patches/patch-.._package.xml
@@ -0,0 +1,13 @@
+$NetBSD: patch-.._package.xml,v 1.1 2016/08/21 08:26:40 taca Exp $
+
+--- ../package.xml.orig 2016-06-19 07:54:44.000000000 +0000
++++ ../package.xml
+@@ -73,7 +73,7 @@ Feature #21079: Added Crypt_GPG::exportP
+ <file baseinstalldir="/" md5sum="548b27fa4f1b2aedf9bde59105e5e54c" name="data/pinentry-cli.xml" role="data">
+ <tasks:replace from="@package-version@" to="version" type="package-info" />
+ </file>
+- <file baseinstalldir="/" md5sum="4fb41cc616854bc332aec7a5e6dddab0" name="scripts/crypt-gpg-pinentry" role="script">
++ <file baseinstalldir="/" name="scripts/crypt-gpg-pinentry" role="script">
+ <tasks:replace from="@php-dir@" to="php_dir" type="pear-config" />
+ </file>
+ <file baseinstalldir="/" md5sum="48a01863f1c45e3343ee6cc0cdac6bf1" name="tests/data-files/testDecryptFile.asc" role="test" />