summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2014-12-03 15:30:47 +0100
committerRemi Collet <fedora@famillecollet.com>2014-12-03 15:30:47 +0100
commit64457ab9376d28e11613bc4ab02106e6ebbda880 (patch)
treeaffaa1bbac893d70deb18d92a9cb65c3f2514bcc
parent89d63d4a4dac38b429b67b259ac3f34526af9401 (diff)
php-suhosin: 0.9.37
-rw-r--r--REFLECTION2
-rw-r--r--php-suhosin.spec14
2 files changed, 11 insertions, 5 deletions
diff --git a/REFLECTION b/REFLECTION
index 71bcc22..6e6a999 100644
--- a/REFLECTION
+++ b/REFLECTION
@@ -1,4 +1,4 @@
-Extension [ <persistent> extension #16 suhosin version 0.9.37-dev ] {
+Extension [ <persistent> extension #181 suhosin version 0.9.37 ] {
- INI {
Entry [ suhosin.log.syslog <PERDIR,SYSTEM> ]
diff --git a/php-suhosin.spec b/php-suhosin.spec
index ae48d2e..9e399c7 100644
--- a/php-suhosin.spec
+++ b/php-suhosin.spec
@@ -8,8 +8,8 @@
#
# Please, preserve the changelog entries
#
-%global gh_commit 0fa87e1ab1697cb3b39e3a5663f97dc15cf8d98f
-%global gh_short %(c=%{gh_commit}; echo ${c:0:7})
+#global gh_commit f0683bf1d9d77e5532e637778107e20826b8d1af
+#global gh_short %(c=%{gh_commit}; echo ${c:0:7})
%global gh_owner stefanesser
%global gh_project suhosin
%{?scl: %scl_package php-suhosin}
@@ -27,7 +27,7 @@
Name: %{?scl_prefix}php-suhosin
Version: 0.9.37
-Release: 0.1.%{gh_short}%{?dist}%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}
+Release: 1%{?dist}%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}
Summary: Suhosin is an advanced protection system for PHP installations
Group: Development/Languages
@@ -85,6 +85,9 @@ mv %{ext_name}-%{gh_commit} NTS
mv %{ext_name}-%{version} NTS
%endif
+# Fix version
+sed -e '/SUHOSIN_EXT_VERSION/s/0.9.37-dev/%{version}/' -i NTS/php_suhosin.h
+
# Check extension version
ver=$(sed -n '/SUHOSIN_EXT_VERSION/{s/.* "//;s/".*$//;p}' NTS/php_suhosin.h)
if test "$ver" != "%{version}%{?gh_commit:-dev}"; then
@@ -151,7 +154,7 @@ rm tests/session/session_recursive_crash.phpt
%endif
%if "%{php_version}" < "5.5"
rm tests/executor/function_blacklist_printf.phpt
-rm tests/executor/function_whilelist_call_user_func.phpt
+rm tests/executor/function_whitelist_call_user_func.phpt
%endif
rm tests/filter/suhosin_upload_disallow_binary_on.phpt
@@ -184,6 +187,9 @@ rm -rf %{buildroot}
%changelog
+* Wed Dec 3 2014 Remi Collet <remi@fedoraproject.org> - 0.9.37-1
+- update to 0.9.37
+
* Mon Nov 24 2014 Remi Collet <remi@fedoraproject.org> - 0.9.37-0.1.0fa87e1
- update to 0.9.37RC1
- fix license handling