# HG changeset patch # User Craig Mohrman # Date 1418073660 28800 # Node ID ba9e5b4b76ad675eaceedecbd702e744861c5a69 # Parent bf1e8995b186b57574073dd8659d0d56fd0fbe8e 20161788 fix TPNO for php 5.3 suhosin diff -r bf1e8995b186 -r ba9e5b4b76ad components/php-5_3/Makefile --- a/components/php-5_3/Makefile Thu Dec 04 08:52:34 2014 -0800 +++ b/components/php-5_3/Makefile Mon Dec 08 13:21:00 2014 -0800 @@ -21,6 +21,9 @@ # Copyright (c) 2012, 2014, Oracle and/or its affiliates. All rights reserved. # include ../../make-rules/shared-macros.mk + +TPNO_PHP_SUHOSIN= 17559 + include ../../make-rules/ips.mk ## diff -r bf1e8995b186 -r ba9e5b4b76ad components/php-5_3/php-suhosin.p5m --- a/components/php-5_3/php-suhosin.p5m Thu Dec 04 08:52:34 2014 -0800 +++ b/components/php-5_3/php-suhosin.p5m Mon Dec 08 13:21:00 2014 -0800 @@ -38,7 +38,7 @@ com.oracle.info.description="the Suhosin extension module for PHP" \ com.oracle.info.name=php-suhosin \ com.oracle.info.version=0.9.33 \ - com.oracle.info.tpno=17131 + com.oracle.info.tpno=$(TPNO_PHP_SUHOSIN) file path=etc/php/5.3/conf.d/suhosin.ini mode=0644 preserve=renamenew file path=etc/php/5.3/zts-conf.d/suhosin.ini mode=0644 preserve=renamenew diff -r bf1e8995b186 -r ba9e5b4b76ad make-rules/ips.mk --- a/make-rules/ips.mk Thu Dec 04 08:52:34 2014 -0800 +++ b/make-rules/ips.mk Mon Dec 08 13:21:00 2014 -0800 @@ -91,6 +91,12 @@ PKG_MACROS += COMPONENT_HG_REV=$(COMPONENT_HG_REV) PKG_MACROS += COMPONENT_NAME=$(COMPONENT_NAME) PKG_MACROS += TPNO=$(TPNO) + +# Add any TPNO_* Makefile macros to the pkgmogrify arguments. +$(foreach macro, $(filter TPNO_%, $(.VARIABLES)), \ + $(eval PKG_MACROS += $(macro)=$$($(macro))) \ +) + PKG_MACROS += PYTHON_2.6_ONLY=\# PKG_MACROS += PYTHON_2.7_ONLY=\#