pkgsrc-WIP-changes archive

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

php-snuffleupagus: Update to 0.7.0



Module Name:	pkgsrc-wip
Committed By:	Travis Paul <tr%vispaul.me@localhost>
Pushed By:	tpaul
Date:		Fri Feb 26 10:21:31 2021 -0500
Changeset:	0d0083f2660cfaf2ce1797db18b309e0fd61d0c2

Modified Files:
	php-snuffleupagus/Makefile
	php-snuffleupagus/distinfo
	php-snuffleupagus/patches/patch-src_sp__utils.c

Log Message:
php-snuffleupagus: Update to 0.7.0

Upstream Release Notes:

New features
 - PHP8 support
 - Stacktraces in dumps
 - The > operator now skips over functions

Improvements
 - Move the CI from travis to gitlab-ci
 - Some code simplifications and constifications
 - PCRE2 is now used when possible
 - The generate_rules.php script is now more portable

Bug fixes
 - The strict mode is now disableable

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

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

diffstat:
 php-snuffleupagus/Makefile                      |  4 ++--
 php-snuffleupagus/distinfo                      | 10 +++++-----
 php-snuffleupagus/patches/patch-src_sp__utils.c |  4 ++--
 3 files changed, 9 insertions(+), 9 deletions(-)

diffs:
diff --git a/php-snuffleupagus/Makefile b/php-snuffleupagus/Makefile
index 77eda5b45d..f9d9e6f624 100644
--- a/php-snuffleupagus/Makefile
+++ b/php-snuffleupagus/Makefile
@@ -1,7 +1,7 @@
 # $NetBSD$
 #
 MODNAME=		snuffleupagus
-PECL_VERSION=		0.6.0
+PECL_VERSION=		0.7.0
 CATEGORIES+=		security
 
 # See TODO
@@ -12,7 +12,7 @@ HOMEPAGE=		https://snuffleupagus.readthedocs.io/
 COMMENT=		Security module for PHP7
 LICENSE=		gnu-lgpl-v3
 
-WRKSRC=			${WRKDIR}/${MODNAME}
+WRKSRC=			${WRKDIR}/${MODNAME}-${PECL_VERSION}
 MODULESDIR=		${WRKSRC}/src/modules
 PHPSETUPSUBDIR=		src
 CONFIGURE_DIRS=		src
diff --git a/php-snuffleupagus/distinfo b/php-snuffleupagus/distinfo
index c1f31ca20a..e405e4afee 100644
--- a/php-snuffleupagus/distinfo
+++ b/php-snuffleupagus/distinfo
@@ -1,7 +1,7 @@
 $NetBSD: distinfo,v 1.2 2015/11/04 01:18:01 agc Exp $
 
-SHA1 (php-snuffleupagus/snuffleupagus-0.6.0.tgz) = 8c480ac4aba8fb4b3407100992e488bb4677c831
-RMD160 (php-snuffleupagus/snuffleupagus-0.6.0.tgz) = 99ca7c719d64fda61b73ed0910151106b7832129
-SHA512 (php-snuffleupagus/snuffleupagus-0.6.0.tgz) = 57f2bd3513e6171e2f4bc7baeaf001360e98b5103aceb3cf7cd83cd74ae5a44919762da2373073a6bc3a4e5f00f5289367aa5c12f86256b91736ac78ae9e0524
-Size (php-snuffleupagus/snuffleupagus-0.6.0.tgz) = 11944389 bytes
-SHA1 (patch-src_sp__utils.c) = 3c0630966997318e2b9ae2c8223e7f7762860db6
+SHA1 (php-snuffleupagus/snuffleupagus-0.7.0.tgz) = 47462761f3d96b190ce7524f147f1cd2b9c749dd
+RMD160 (php-snuffleupagus/snuffleupagus-0.7.0.tgz) = 9b3f614fca506d43c0e816b7c25eb4418f6514f1
+SHA512 (php-snuffleupagus/snuffleupagus-0.7.0.tgz) = 608ad97a9b8118c30f7c2d39b154233e5398e839d9253d7e9dd4b17ad030c5b6dfe3d794c9a469e30f32c8b21a2fdba24e0d9dba3c46f28144edcf174089fc97
+Size (php-snuffleupagus/snuffleupagus-0.7.0.tgz) = 11958283 bytes
+SHA1 (patch-src_sp__utils.c) = 20c430c3b56c11bd8106f1f9d40b8a73c64be719
diff --git a/php-snuffleupagus/patches/patch-src_sp__utils.c b/php-snuffleupagus/patches/patch-src_sp__utils.c
index a5485117a2..e053bc5ead 100644
--- a/php-snuffleupagus/patches/patch-src_sp__utils.c
+++ b/php-snuffleupagus/patches/patch-src_sp__utils.c
@@ -4,9 +4,9 @@ Work around build error with nested macro:
 
 'macro "memcpy" requires 3 arguments, but only 2 given'
 
---- src/sp_utils.c.orig	2020-08-12 14:16:28.000000000 +0000
+--- src/sp_utils.c.orig	2021-01-02 18:22:07.000000000 +0000
 +++ src/sp_utils.c
-@@ -422,7 +422,7 @@ int hook_function(const char* original_n
+@@ -436,7 +436,7 @@ int hook_function(const char* original_n
        return FAILURE;
      }
      memcpy(mb_name, "mb_", sizeof("mb_") - 1);


Home | Main Index | Thread Index | Old Index