security/php-gnupg: update to 1.5.0 pkgsrc change: remove restriction to depeding package, requirement gpgme package to using gnupg1 PKG_OPTIONS. Approved by tpaul@. 1.5.0 (2021-04-10) * Added new README.md 1.5.0RC2 (2021-03-07) * Fixed build with libgpgme 1.3 * Fixed largefile support on 32-bit platforms * Fixed tests in PECL archive 1.5.0RC1 (2021-02-14) * Added support for PHP 8 * Added support for GnuPG 2.1+ * Added argument info for all functions and methods (reflection support) * Added new function `gnupg_getengineinfo` * Added new function `gnupg_geterrorinfo` * Added init array argument for setting home dir and gpg binary file name * Added additional fields to `gnupg_keyinfo` returned array * Added parameter to `gnupg_keyinfo` to use `secret_only` * Fixed `gnupg_deletekey` to use boolean for `allow_secret` parameterdiff -r1.1 -r1.2 pkgsrc/security/php-gnupg/Makefile
(taca)
@@ -1,22 +1,17 @@ | @@ -1,22 +1,17 @@ | |||
1 | # $NetBSD: Makefile,v 1.1 2020/03/14 04:40:47 tpaul Exp $ | 1 | # $NetBSD: Makefile,v 1.2 2021/06/06 07:20:05 taca Exp $ | |
2 | 2 | |||
3 | MODNAME= gnupg | 3 | MODNAME= gnupg | |
4 | PECL_VERSION= 1.4.0 | 4 | PECL_VERSION= 1.5.0 | |
5 | CATEGORIES= security | 5 | CATEGORIES= security | |
6 | 6 | |||
7 | MAINTAINER= tpaul@NetBSD.org | 7 | MAINTAINER= tpaul@NetBSD.org | |
8 | LICENSE= modified-bsd | 8 | LICENSE= modified-bsd | |
9 | COMMENT= PHP module for interacting with gnupg | 9 | COMMENT= PHP module for interacting with gnupg | |
10 | 10 | |||
11 | CONFIGURE_ARGS+= --with-gnupg=${PREFIX}/include | 11 | CONFIGURE_ARGS+= --with-gnupg=${PREFIX}/include | |
12 | 12 | |||
13 | INSTALLATION_DIRS+= include/php/ext/gnupg | 13 | INSTALLATION_DIRS+= include/php/ext/gnupg | |
14 | 14 | |||
15 | .include "../../security/gpgme/buildlink3.mk" | 15 | .include "../../security/gpgme/buildlink3.mk" | |
16 | ||||
17 | .if !empty(PKG_BUILD_OPTIONS.gpgme:Mgnupg2) | |||
18 | PKG_FAIL_REASON+= "gpgme should be built with gnupg1 option" | |||
19 | .endif | |||
20 | ||||
21 | .include "../../lang/php/ext.mk" | 16 | .include "../../lang/php/ext.mk" | |
22 | .include "../../mk/bsd.pkg.mk" | 17 | .include "../../mk/bsd.pkg.mk" |
@@ -1,7 +1,7 @@ | @@ -1,7 +1,7 @@ | |||
1 | $NetBSD: distinfo,v 1.1 2020/03/14 04:40:47 tpaul Exp $ | 1 | $NetBSD: distinfo,v 1.2 2021/06/06 07:20:05 taca Exp $ | |
2 | 2 | |||
3 | SHA1 (php-gnupg/gnupg-1.4.0.tgz) = 9cde50cc86fe3628b7313ee8064ee56e41ef43a2 | 3 | SHA1 (php-gnupg/gnupg-1.5.0.tgz) = 393baf1f0054b6fbac66d04ff90980a3a8cd0441 | |
4 | RMD160 (php-gnupg/gnupg-1.4.0.tgz) = 3b68c9d109d9c827c630fb96889e94c3c31ec1bd | 4 | RMD160 (php-gnupg/gnupg-1.5.0.tgz) = 7a95054418cbd4e33280d6c311253c0cbfbe3581 | |
5 | SHA512 (php-gnupg/gnupg-1.4.0.tgz) = 70fa1d2956bc5caedbeadf556f9f40a7b963d3b519d6574b0c7695d9fb4c7f9d612306f475a90a1125661407c11de97040e54b158f38d71f239c1fe436d48018 | 5 | SHA512 (php-gnupg/gnupg-1.5.0.tgz) = 1b4f9a39a2c585c5f8d749f8e2e2256d9765480ef8ef93c24c538b2f1284dacf8e9f71a42f96fa3150ace1a6ff37256a7a849f29a3e57332fe3b05656e4199cc | |
6 | Size (php-gnupg/gnupg-1.4.0.tgz) = 28349 bytes | 6 | Size (php-gnupg/gnupg-1.5.0.tgz) = 37045 bytes | |
7 | SHA1 (patch-config.m4) = f633ef053cbe222e23aedc40223ed5091740e6eb | 7 | SHA1 (patch-config.m4) = 0010a801d4ac264bcf29ece8c4d7affa3549da16 |
@@ -1,15 +1,15 @@ | @@ -1,15 +1,15 @@ | |||
1 | $NetBSD: patch-config.m4,v 1.1 2020/03/14 04:40:47 tpaul Exp $ | 1 | $NetBSD: patch-config.m4,v 1.2 2021/06/06 07:20:05 taca Exp $ | |
2 | 2 | |||
3 | $host_os could be "netbsd" (all lowercase) according to config.log | 3 | Recognize pkgsrc's ${PREFIX}. | |
4 | 4 | |||
5 | Upstream PR: https://github.com/php-gnupg/php-gnupg/pull/17 | 5 | --- config.m4.orig 2021-04-10 20:05:04.000000000 +0000 | |
6 | ||||
7 | --- config.m4.orig 2016-08-29 19:02:44.000000000 +0000 | |||
8 | +++ config.m4 | 6 | +++ config.m4 | |
9 | @@ -3,5 +3,5 @@ dnl config.m4 for extension gnupg | 7 | @@ -14,7 +14,7 @@ PHP_ARG_WITH(gnupg, for gnupg support, | |
10 | AC_CANONICAL_HOST | 8 | [ --with-gnupg[=dir] Include gnupg support]) | |
11 | case $host_os in | 9 | ||
12 | - *BSD*) | 10 | if test "$PHP_GNUPG" != "no"; then | |
13 | + *BSD* | *bsd) | 11 | - SEARCH_PATH="/usr/local /usr /opt" | |
14 | GNUPG_DL="" | 12 | + SEARCH_PATH="${PREFIX} /usr/local /usr /opt" | |
15 | ;; | 13 | SEARCH_FOR="include/gpgme.h" | |
14 | SEARCH_FOR_ALT="include/gpgme/gpgme.h" | |||
15 | if test -r $PHP_GNUPG/$SEARCH_FOR; then |