pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/security/php-gnupg security/php-gnupg: Import version ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/1031a49ac067
branches:  trunk
changeset: 412973:1031a49ac067
user:      tpaul <tpaul%pkgsrc.org@localhost>
date:      Sat Mar 14 04:40:47 2020 +0000

description:
security/php-gnupg: Import version 1.4.0

PHP module for interacting with gnupg.
https://www.php.net/manual/en/book.gnupg

diffstat:

 security/php-gnupg/DESCR                   |   5 +++++
 security/php-gnupg/MESSAGE                 |   7 +++++++
 security/php-gnupg/Makefile                |  22 ++++++++++++++++++++++
 security/php-gnupg/PLIST                   |   4 ++++
 security/php-gnupg/distinfo                |   7 +++++++
 security/php-gnupg/patches/patch-config.m4 |  15 +++++++++++++++
 6 files changed, 60 insertions(+), 0 deletions(-)

diffs (84 lines):

diff -r 424d2a2092c4 -r 1031a49ac067 security/php-gnupg/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/security/php-gnupg/DESCR  Sat Mar 14 04:40:47 2020 +0000
@@ -0,0 +1,5 @@
+PHP module for interacting with gnupg.
+https://www.php.net/manual/en/book.gnupg
+
+The extension supports only gnupg version 1 and the version 2 is not
+currently supported.
diff -r 424d2a2092c4 -r 1031a49ac067 security/php-gnupg/MESSAGE
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/security/php-gnupg/MESSAGE        Sat Mar 14 04:40:47 2020 +0000
@@ -0,0 +1,7 @@
+This PHP extension supports only gnupg version 1.
+
+This can be achieved by setting:
+
+       PKG_OPTIONS.gpgme+=gnupg1
+
+inside /etc/mk.conf, and then reinstall gpgme package.
diff -r 424d2a2092c4 -r 1031a49ac067 security/php-gnupg/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/security/php-gnupg/Makefile       Sat Mar 14 04:40:47 2020 +0000
@@ -0,0 +1,22 @@
+# $NetBSD: Makefile,v 1.1 2020/03/14 04:40:47 tpaul Exp $
+
+MODNAME=               gnupg
+PECL_VERSION=          1.4.0
+CATEGORIES=            security
+
+MAINTAINER=            tpaul%NetBSD.org@localhost
+LICENSE=               modified-bsd
+COMMENT=               PHP module for interacting with gnupg
+
+CONFIGURE_ARGS+=       --with-gnupg=${PREFIX}/include
+
+INSTALLATION_DIRS+=    include/php/ext/gnupg
+
+.include "../../security/gpgme/buildlink3.mk"
+
+.if !empty(PKG_BUILD_OPTIONS.gpgme:Mgnupg2)
+PKG_FAIL_REASON+=      "gpgme should be built with gnupg1 option"
+.endif
+
+.include "../../lang/php/ext.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r 424d2a2092c4 -r 1031a49ac067 security/php-gnupg/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/security/php-gnupg/PLIST  Sat Mar 14 04:40:47 2020 +0000
@@ -0,0 +1,4 @@
+@comment $NetBSD: PLIST,v 1.1 2020/03/14 04:40:47 tpaul Exp $
+lib/php/20191128/gnupg.so
+share/examples/php/gnupg.ini
+@pkgdir include/php/ext/gnupg
diff -r 424d2a2092c4 -r 1031a49ac067 security/php-gnupg/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/security/php-gnupg/distinfo       Sat Mar 14 04:40:47 2020 +0000
@@ -0,0 +1,7 @@
+$NetBSD: distinfo,v 1.1 2020/03/14 04:40:47 tpaul Exp $
+
+SHA1 (php-gnupg/gnupg-1.4.0.tgz) = 9cde50cc86fe3628b7313ee8064ee56e41ef43a2
+RMD160 (php-gnupg/gnupg-1.4.0.tgz) = 3b68c9d109d9c827c630fb96889e94c3c31ec1bd
+SHA512 (php-gnupg/gnupg-1.4.0.tgz) = 70fa1d2956bc5caedbeadf556f9f40a7b963d3b519d6574b0c7695d9fb4c7f9d612306f475a90a1125661407c11de97040e54b158f38d71f239c1fe436d48018
+Size (php-gnupg/gnupg-1.4.0.tgz) = 28349 bytes
+SHA1 (patch-config.m4) = f633ef053cbe222e23aedc40223ed5091740e6eb
diff -r 424d2a2092c4 -r 1031a49ac067 security/php-gnupg/patches/patch-config.m4
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/security/php-gnupg/patches/patch-config.m4        Sat Mar 14 04:40:47 2020 +0000
@@ -0,0 +1,15 @@
+$NetBSD: patch-config.m4,v 1.1 2020/03/14 04:40:47 tpaul Exp $
+
+$host_os could be "netbsd" (all lowercase) according to config.log
+
+Upstream PR: https://github.com/php-gnupg/php-gnupg/pull/17
+
+--- config.m4.orig     2016-08-29 19:02:44.000000000 +0000
++++ config.m4
+@@ -3,5 +3,5 @@ dnl config.m4 for extension gnupg
+ AC_CANONICAL_HOST
+ case $host_os in
+-   *BSD*)
++   *BSD* | *bsd)
+         GNUPG_DL=""
+         ;;



Home | Main Index | Thread Index | Old Index