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:   taca
Date:           Sun Jun  6 07:20:05 UTC 2021

Modified Files:
        pkgsrc/security/php-gnupg: Makefile distinfo
        pkgsrc/security/php-gnupg/patches: patch-config.m4

Log Message:
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` parameter


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 pkgsrc/security/php-gnupg/Makefile \
    pkgsrc/security/php-gnupg/distinfo
cvs rdiff -u -r1.1 -r1.2 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.

Modified files:

Index: pkgsrc/security/php-gnupg/Makefile
diff -u pkgsrc/security/php-gnupg/Makefile:1.1 pkgsrc/security/php-gnupg/Makefile:1.2
--- pkgsrc/security/php-gnupg/Makefile:1.1      Sat Mar 14 04:40:47 2020
+++ pkgsrc/security/php-gnupg/Makefile  Sun Jun  6 07:20:05 2021
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.1 2020/03/14 04:40:47 tpaul Exp $
+# $NetBSD: Makefile,v 1.2 2021/06/06 07:20:05 taca Exp $
 
 MODNAME=               gnupg
-PECL_VERSION=          1.4.0
+PECL_VERSION=          1.5.0
 CATEGORIES=            security
 
 MAINTAINER=            tpaul%NetBSD.org@localhost
@@ -13,10 +13,5 @@ CONFIGURE_ARGS+=     --with-gnupg=${PREFIX}/
 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/distinfo
diff -u pkgsrc/security/php-gnupg/distinfo:1.1 pkgsrc/security/php-gnupg/distinfo:1.2
--- pkgsrc/security/php-gnupg/distinfo:1.1      Sat Mar 14 04:40:47 2020
+++ pkgsrc/security/php-gnupg/distinfo  Sun Jun  6 07:20:05 2021
@@ -1,7 +1,7 @@
-$NetBSD: distinfo,v 1.1 2020/03/14 04:40:47 tpaul Exp $
+$NetBSD: distinfo,v 1.2 2021/06/06 07:20:05 taca 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
+SHA1 (php-gnupg/gnupg-1.5.0.tgz) = 393baf1f0054b6fbac66d04ff90980a3a8cd0441
+RMD160 (php-gnupg/gnupg-1.5.0.tgz) = 7a95054418cbd4e33280d6c311253c0cbfbe3581
+SHA512 (php-gnupg/gnupg-1.5.0.tgz) = 1b4f9a39a2c585c5f8d749f8e2e2256d9765480ef8ef93c24c538b2f1284dacf8e9f71a42f96fa3150ace1a6ff37256a7a849f29a3e57332fe3b05656e4199cc
+Size (php-gnupg/gnupg-1.5.0.tgz) = 37045 bytes
+SHA1 (patch-config.m4) = 0010a801d4ac264bcf29ece8c4d7affa3549da16

Index: pkgsrc/security/php-gnupg/patches/patch-config.m4
diff -u pkgsrc/security/php-gnupg/patches/patch-config.m4:1.1 pkgsrc/security/php-gnupg/patches/patch-config.m4:1.2
--- pkgsrc/security/php-gnupg/patches/patch-config.m4:1.1       Sat Mar 14 04:40:47 2020
+++ pkgsrc/security/php-gnupg/patches/patch-config.m4   Sun Jun  6 07:20:05 2021
@@ -1,15 +1,15 @@
-$NetBSD: patch-config.m4,v 1.1 2020/03/14 04:40:47 tpaul Exp $
+$NetBSD: patch-config.m4,v 1.2 2021/06/06 07:20:05 taca Exp $
 
-$host_os could be "netbsd" (all lowercase) according to config.log
+Recognize pkgsrc's ${PREFIX}.
 
-Upstream PR: https://github.com/php-gnupg/php-gnupg/pull/17
-
---- config.m4.orig     2016-08-29 19:02:44.000000000 +0000
+--- config.m4.orig     2021-04-10 20:05:04.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=""
-         ;;
+@@ -14,7 +14,7 @@ PHP_ARG_WITH(gnupg, for gnupg support,
+ [  --with-gnupg[=dir]       Include gnupg support])
+ 
+ if test "$PHP_GNUPG" != "no"; then
+-  SEARCH_PATH="/usr/local /usr /opt"
++  SEARCH_PATH="${PREFIX} /usr/local /usr /opt"
+   SEARCH_FOR="include/gpgme.h"
+   SEARCH_FOR_ALT="include/gpgme/gpgme.h"
+   if test -r $PHP_GNUPG/$SEARCH_FOR; then



Home | Main Index | Thread Index | Old Index