pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/security/php-gnupg
Module Name: pkgsrc
Committed By: tpaul
Date: Sat Mar 14 04:40:47 UTC 2020
Added Files:
pkgsrc/security/php-gnupg: DESCR MESSAGE Makefile PLIST distinfo
pkgsrc/security/php-gnupg/patches: patch-config.m4
Log Message:
security/php-gnupg: Import version 1.4.0
PHP module for interacting with gnupg.
https://www.php.net/manual/en/book.gnupg
To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 pkgsrc/security/php-gnupg/DESCR \
pkgsrc/security/php-gnupg/MESSAGE pkgsrc/security/php-gnupg/Makefile \
pkgsrc/security/php-gnupg/PLIST pkgsrc/security/php-gnupg/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/security/php-gnupg/patches/patch-config.m4
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Added files:
Index: pkgsrc/security/php-gnupg/DESCR
diff -u /dev/null pkgsrc/security/php-gnupg/DESCR:1.1
--- /dev/null Sat Mar 14 04:40:47 2020
+++ pkgsrc/security/php-gnupg/DESCR Sat Mar 14 04:40:47 2020
@@ -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.
Index: pkgsrc/security/php-gnupg/MESSAGE
diff -u /dev/null pkgsrc/security/php-gnupg/MESSAGE:1.1
--- /dev/null Sat Mar 14 04:40:47 2020
+++ pkgsrc/security/php-gnupg/MESSAGE Sat Mar 14 04:40:47 2020
@@ -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.
Index: pkgsrc/security/php-gnupg/Makefile
diff -u /dev/null pkgsrc/security/php-gnupg/Makefile:1.1
--- /dev/null Sat Mar 14 04:40:47 2020
+++ pkgsrc/security/php-gnupg/Makefile Sat Mar 14 04:40:47 2020
@@ -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"
Index: pkgsrc/security/php-gnupg/PLIST
diff -u /dev/null pkgsrc/security/php-gnupg/PLIST:1.1
--- /dev/null Sat Mar 14 04:40:47 2020
+++ pkgsrc/security/php-gnupg/PLIST Sat Mar 14 04:40:47 2020
@@ -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
Index: pkgsrc/security/php-gnupg/distinfo
diff -u /dev/null pkgsrc/security/php-gnupg/distinfo:1.1
--- /dev/null Sat Mar 14 04:40:47 2020
+++ pkgsrc/security/php-gnupg/distinfo Sat Mar 14 04:40:47 2020
@@ -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
Index: pkgsrc/security/php-gnupg/patches/patch-config.m4
diff -u /dev/null pkgsrc/security/php-gnupg/patches/patch-config.m4:1.1
--- /dev/null Sat Mar 14 04:40:47 2020
+++ pkgsrc/security/php-gnupg/patches/patch-config.m4 Sat Mar 14 04:40:47 2020
@@ -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