pkgsrc-WIP-changes archive

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

php-gnupg: Import php-gnupg-1.4.0 as security/php-gnupg



Module Name:	pkgsrc-wip
Committed By:	Travis Paul <tr%vispaul.me@localhost>
Pushed By:	tpaul
Date:		Thu Feb 13 02:22:51 2020 +0000
Changeset:	ca85fdd84d61350019eb0f67c3658a7481bc2dbb

Modified Files:
	Makefile
Added Files:
	php-gnupg/DESCR
	php-gnupg/MESSAGE
	php-gnupg/Makefile
	php-gnupg/PLIST
	php-gnupg/distinfo
	php-gnupg/patches/patch-config.m4

Log Message:
php-gnupg: Import php-gnupg-1.4.0 as security/php-gnupg

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=ca85fdd84d61350019eb0f67c3658a7481bc2dbb

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 Makefile                          |  1 +
 php-gnupg/DESCR                   |  5 +++++
 php-gnupg/MESSAGE                 |  7 +++++++
 php-gnupg/Makefile                | 16 ++++++++++++++++
 php-gnupg/PLIST                   |  4 ++++
 php-gnupg/distinfo                |  7 +++++++
 php-gnupg/patches/patch-config.m4 | 13 +++++++++++++
 7 files changed, 53 insertions(+)

diffs:
diff --git a/Makefile b/Makefile
index 28b9780eae..be7396b6fb 100644
--- a/Makefile
+++ b/Makefile
@@ -2925,6 +2925,7 @@ SUBDIR+=	phantomjs2
 SUBDIR+=	pheanstalk
 SUBDIR+=	phonon-backend-xine
 SUBDIR+=	php-composer
+SUBDIR+=	php-gnupg
 SUBDIR+=	php-imagick-imagick6
 SUBDIR+=	php-libawl-git
 SUBDIR+=	php-malware-finder
diff --git a/php-gnupg/DESCR b/php-gnupg/DESCR
new file mode 100644
index 0000000000..6c9e56b123
--- /dev/null
+++ b/php-gnupg/DESCR
@@ -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 --git a/php-gnupg/MESSAGE b/php-gnupg/MESSAGE
new file mode 100644
index 0000000000..7dc735ab11
--- /dev/null
+++ b/php-gnupg/MESSAGE
@@ -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 --git a/php-gnupg/Makefile b/php-gnupg/Makefile
new file mode 100644
index 0000000000..691c431f17
--- /dev/null
+++ b/php-gnupg/Makefile
@@ -0,0 +1,16 @@
+# $NetBSD$
+
+MODNAME=		gnupg
+PECL_VERSION=		1.4.0
+CATEGORIES=		security
+
+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"
+.include "../../lang/php/ext.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/php-gnupg/PLIST b/php-gnupg/PLIST
new file mode 100644
index 0000000000..8b759ca414
--- /dev/null
+++ b/php-gnupg/PLIST
@@ -0,0 +1,4 @@
+@comment $NetBSD$
+lib/php/20191128/gnupg.so
+share/examples/php/gnupg.ini
+@pkgdir include/php/ext/gnupg
diff --git a/php-gnupg/distinfo b/php-gnupg/distinfo
new file mode 100644
index 0000000000..da76e3d38f
--- /dev/null
+++ b/php-gnupg/distinfo
@@ -0,0 +1,7 @@
+$NetBSD$
+
+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) = c9c4f1c2552ac60b580d323ea6a7973f440ac22e
diff --git a/php-gnupg/patches/patch-config.m4 b/php-gnupg/patches/patch-config.m4
new file mode 100644
index 0000000000..a76e46406b
--- /dev/null
+++ b/php-gnupg/patches/patch-config.m4
@@ -0,0 +1,13 @@
+$NetBSD$
+
+$host_os is "netbsd" (all lowercase) according to config.log
+
+--- 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