[csw-devel] SF.net SVN: gar:[4879] csw/mgar/pkg/php5/trunk
valholla at users.sourceforge.net
valholla at users.sourceforge.net
Fri May 15 16:11:31 CEST 2009
Revision: 4879
http://gar.svn.sourceforge.net/gar/?rev=4879&view=rev
Author: valholla
Date: 2009-05-15 14:11:26 +0000 (Fri, 15 May 2009)
Log Message:
-----------
adminfiles pkgroot independent
Modified Paths:
--------------
csw/mgar/pkg/php5/trunk/Makefile
csw/mgar/pkg/php5/trunk/Makefile.Orig
csw/mgar/pkg/php5/trunk/Makefile.default-dirs
csw/mgar/pkg/php5/trunk/checksums
csw/mgar/pkg/php5/trunk/extensions/php5_bcmath/Makefile
csw/mgar/pkg/php5/trunk/extensions/php5_bz2/Makefile
csw/mgar/pkg/php5/trunk/extensions/php5_calendar/Makefile
csw/mgar/pkg/php5/trunk/extensions/php5_ctype/Makefile
csw/mgar/pkg/php5/trunk/extensions/php5_curl/Makefile
csw/mgar/pkg/php5/trunk/extensions/php5_dba/Makefile
csw/mgar/pkg/php5/trunk/extensions/php5_dbase/Makefile
csw/mgar/pkg/php5/trunk/extensions/php5_dom/Makefile
csw/mgar/pkg/php5/trunk/extensions/php5_exif/Makefile
csw/mgar/pkg/php5/trunk/extensions/php5_ftp/Makefile
csw/mgar/pkg/php5/trunk/extensions/php5_gd/Makefile
csw/mgar/pkg/php5/trunk/extensions/php5_gettext/Makefile
csw/mgar/pkg/php5/trunk/extensions/php5_gmp/Makefile
csw/mgar/pkg/php5/trunk/extensions/php5_hash/Makefile
csw/mgar/pkg/php5/trunk/extensions/php5_iconv/Makefile
csw/mgar/pkg/php5/trunk/extensions/php5_imap/Makefile
csw/mgar/pkg/php5/trunk/extensions/php5_json/Makefile
csw/mgar/pkg/php5/trunk/extensions/php5_ldap/Makefile
csw/mgar/pkg/php5/trunk/extensions/php5_mbstring/Makefile
csw/mgar/pkg/php5/trunk/extensions/php5_mcrypt/Makefile
csw/mgar/pkg/php5/trunk/extensions/php5_mhash/Makefile
csw/mgar/pkg/php5/trunk/extensions/php5_mime_magic/Makefile
csw/mgar/pkg/php5/trunk/extensions/php5_mssql/Makefile
csw/mgar/pkg/php5/trunk/extensions/php5_mysql/Makefile
csw/mgar/pkg/php5/trunk/extensions/php5_mysqli/Makefile
csw/mgar/pkg/php5/trunk/extensions/php5_ncurses/Makefile
csw/mgar/pkg/php5/trunk/extensions/php5_odbc/Makefile
csw/mgar/pkg/php5/trunk/extensions/php5_openssl/Makefile
csw/mgar/pkg/php5/trunk/extensions/php5_pcntl/Makefile
csw/mgar/pkg/php5/trunk/extensions/php5_pdo/Makefile
csw/mgar/pkg/php5/trunk/extensions/php5_pdomysql/Makefile
csw/mgar/pkg/php5/trunk/extensions/php5_pdoodbc/Makefile
csw/mgar/pkg/php5/trunk/extensions/php5_pdopgsql/Makefile
csw/mgar/pkg/php5/trunk/extensions/php5_pdosqlite/Makefile
csw/mgar/pkg/php5/trunk/extensions/php5_pgsql/Makefile
csw/mgar/pkg/php5/trunk/extensions/php5_posix/Makefile
csw/mgar/pkg/php5/trunk/extensions/php5_pspell/Makefile
csw/mgar/pkg/php5/trunk/extensions/php5_readline/Makefile
csw/mgar/pkg/php5/trunk/extensions/php5_session/Makefile
csw/mgar/pkg/php5/trunk/extensions/php5_shmop/Makefile
csw/mgar/pkg/php5/trunk/extensions/php5_simplexml/Makefile
csw/mgar/pkg/php5/trunk/extensions/php5_snmp/Makefile
csw/mgar/pkg/php5/trunk/extensions/php5_soap/Makefile
csw/mgar/pkg/php5/trunk/extensions/php5_sockets/Makefile
csw/mgar/pkg/php5/trunk/extensions/php5_sqlite/Makefile
csw/mgar/pkg/php5/trunk/extensions/php5_sysvmsg/Makefile
csw/mgar/pkg/php5/trunk/extensions/php5_sysvsem/Makefile
csw/mgar/pkg/php5/trunk/extensions/php5_sysvshm/Makefile
csw/mgar/pkg/php5/trunk/extensions/php5_tidy/Makefile
csw/mgar/pkg/php5/trunk/extensions/php5_tokenizer/Makefile
csw/mgar/pkg/php5/trunk/extensions/php5_wddx/Makefile
csw/mgar/pkg/php5/trunk/extensions/php5_xml/Makefile
csw/mgar/pkg/php5/trunk/extensions/php5_xmlreader/Makefile
csw/mgar/pkg/php5/trunk/extensions/php5_xmlrpc/Makefile
csw/mgar/pkg/php5/trunk/extensions/php5_xmlwriter/Makefile
csw/mgar/pkg/php5/trunk/extensions/php5_xsl/Makefile
csw/mgar/pkg/php5/trunk/extensions/php5_zip/Makefile
csw/mgar/pkg/php5/trunk/extensions/php5_zlib/Makefile
csw/mgar/pkg/php5/trunk/files/CSWphp5.postinstall
csw/mgar/pkg/php5/trunk/files/CSWphp5_ext_disable.sh
csw/mgar/pkg/php5/trunk/files/CSWphp5_ext_enable.sh
csw/mgar/pkg/php5/trunk/files/phpext
Modified: csw/mgar/pkg/php5/trunk/Makefile
===================================================================
--- csw/mgar/pkg/php5/trunk/Makefile 2009-05-15 13:06:43 UTC (rev 4878)
+++ csw/mgar/pkg/php5/trunk/Makefile 2009-05-15 14:11:26 UTC (rev 4879)
@@ -20,18 +20,17 @@
MASTER_SITES = http://us.php.net/distributions/
SPKG_SOURCEURL = http://www.php.net/downloads.php
-DISTFILES += $(DISTNAME).tar.bz2
INSTALL_ENV += INSTALL_ROOT=$(DESTDIR)
-STRIP_DIRS += $(prefix)/lib/php/extensions/*/
+STRIP_DIRS += $(DESTDIR)$(prefix)/lib/php/extensions/*/
-# Auxilliary files
+DISTFILES += $(DISTNAME).tar.bz2
DISTFILES += php.ini.CSW phpext pear.conf.CSW
DISTFILES += CSWphp5_ext_enable.sh CSWphp5_ext_disable.sh
+DISTFILES += CSWphp5.postinstall
PACKAGES = CSWphp5 CSWphp5devel
CATALOGNAME_CSWphp5 = php5
SPKG_DESC_CSWphp5 = A High-Level Scripting Languages
-DISTFILES += CSWphp5.postinstall
CATALOGNAME_CSWphp5devel = php5_devel
SPKG_DESC_CSWphp5devel = Development files for php5
REQUIRED_PKGS_CSWphp5 = CSWexpat CSWggettextrt CSWiconv
@@ -52,22 +51,19 @@
EXTDIRLIST = $(shell ls -d extensions/*)
include $(foreach X,$(EXTDIRLIST),$(X)/Makefile)
-# BerkeleyDB
EXTRA_LIB += $(prefix)/bdb44/lib
EXTRA_INC += $(prefix)/bdb44/include
EXTRA_CFLAGS = -I$(prefix)/include/ncursesw
NOISALIST = 1
-
STRIP_LIBTOOL = 1
-CONFIGURE_ARGS = --prefix=$(prefix)
+CONFIGURE_ARGS += --prefix=$(prefix)
+CONFIGURE_ARGS += --disable-static
CONFIGURE_ARGS += --with-exec-dir=$(prefix)/bin
-CONFIGURE_ARGS += --disable-static
CONFIGURE_ARGS += --enable-cli
CONFIGURE_ARGS += --enable-fastcgi
CONFIGURE_ARGS += --enable-force-cgi-redirect
-CONFIGURE_ARGS += --enable-pcntl=shared
CONFIGURE_ARGS += --with-mm=$(prefix)
CONFIGURE_ARGS += --enable-magic-quotes
CONFIGURE_ARGS += --enable-spl=shared
@@ -78,15 +74,10 @@
SKIPTEST = 1
ENABLE_CHECK = 0
-# Rebuild Configure Args to build mod_php5
-NEW_CONFIGURE_ARGS = $(shell echo $(CONFIGURE_ARGS) |sed -e 's/apxs2/apxs/' \
- -e 's/apache2\/sbin\/apxs/apache\/bin\/apxs/')
-
-# Copy over template config files and utility scripts
-
PI_SCRIPTS = install-extras
PI_SCRIPTS += install-ap2modphp5
PI_SCRIPTS += install-modphp5
+PI_SCRIPTS += install-cleanup
post-install-modulated: $(PI_SCRIPTS)
@$(MAKECOOKIE)
@@ -100,40 +91,49 @@
ginstall -d $(DESTDIR)$(prefix)/apache2/etc/extra
ginstall -m 0644 $(WORKDIR)/httpd-php5.conf.CSW \
$(DESTDIR)$(prefix)/apache2/etc/extra
- #@(grm -fr $(DESTDIR)/.[a-z]*)
- @(gfind $(DESTDIR)/$(libdir) -name "*.a" -exec grm {} \;)
- @(grm -f $(DESTDIR)$(sysconfdir)/pear.conf)
@$(MAKECOOKIE)
install-ap2modphp5:
- @( echo " ==> Now Building ap2_modphp5 <==" )
- @( if [ -f $(WORKSRC)/Makefile ]; then \
- $(BUILD_ENV) gmake -C $(WORKSRC) distclean; fi )
- @( cd $(WORKSRC) && $(BUILD_ENV) \
- ./configure $(CONFIGURE_ARGS) --with-apxs2=$(prefix)/apache2/sbin/apxs)
- @( $(GARBIN)/fixlibtool $(WORKSRC) )
- @( $(BUILD_ENV) $(INSTALL_ENV) gmake -C $(WORKSRC) install-sapi )
- @( strip $(DESTDIR)$(prefix)/apache2/libexec/libphp5.so )
- @( gfind $(DESTDIR)$(prefix)/apache* \
- -mindepth 1 -type d | egrep -v "etc|libexec" | xargs grm -fr )
+ @echo " ==> Now Building ap2_modphp5 <=="
+ @if [ -f $(WORKSRC)/Makefile ]; then \
+ $(BUILD_ENV) gmake -C $(WORKSRC) distclean; fi
+ cd $(WORKSRC) && $(BUILD_ENV) \
+ ./configure $(CONFIGURE_ARGS) --with-apxs2=$(prefix)/apache2/sbin/apxs
+ @$(GARBIN)/fixlibtool $(WORKSRC)
+ @$(BUILD_ENV) $(INSTALL_ENV) gmake -C $(WORKSRC) install-sapi
+ @strip $(DESTDIR)$(prefix)/apache2/libexec/libphp5.so
@$(MAKECOOKIE)
install-modphp5:
- @( echo " ==> Now Building mod_php5 <==" )
- @( if [ -f $(WORKSRC)/Makefile ]; then \
- $(BUILD_ENV) gmake -C $(WORKSRC) distclean; fi )
- @( cd $(WORKSRC) && $(BUILD_ENV) \
- ./configure $(CONFIGURE_ARGS) --with-apxs=$(prefix)/apache/bin/apxs)
- @( $(GARBIN)/fixlibtool $(WORKSRC) )
- @( $(BUILD_ENV) $(INSTALL_ENV) gmake -C $(WORKSRC) install-sapi )
- @( strip $(DESTDIR)$(prefix)/apache/libexec/libphp5.so )
- @( gfind $(DESTDIR)$(prefix)/apache* \
- -mindepth 1 -type d | egrep -v "etc|libexec" | xargs grm -fr )
+ @echo " ==> Now Building mod_php5 <=="
+ @if [ -f $(WORKSRC)/Makefile ]; then \
+ $(BUILD_ENV) gmake -C $(WORKSRC) distclean; fi
+ cd $(WORKSRC) && $(BUILD_ENV) \
+ ./configure $(CONFIGURE_ARGS) --with-apxs=$(prefix)/apache/bin/apxs
+ @$(GARBIN)/fixlibtool $(WORKSRC)
+ @$(BUILD_ENV) $(INSTALL_ENV) gmake -C $(WORKSRC) install-sapi
+ @strip $(DESTDIR)$(prefix)/apache/libexec/libphp5.so
@$(MAKECOOKIE)
+install-cleanup:
+ @gfind $(DESTDIR) -name \.[a-z]\* -exec grm -fr {} \;
+ @gfind $(DESTDIR)/$(libdir) -name "*.a" -exec grm -f {} \;
+ @grm -f $(DESTDIR)$(sysconfdir)/pear.conf
+ @gfind $(DESTDIR)$(prefix)/apache* \
+ -mindepth 1 -type d | egrep -v "etc|libexec" | xargs grm -fr
+ @$(MAKECOOKIE)
+
EXTFILES = $(shell find extensions/*/files/* -prune -type f)
pre-fetch:
$(foreach F,$(EXTFILES),$(shell cp $(F) $(DOWNLOADDIR)))
+post-merge-modulated:
+ @echo "[====> Fixing Admin Scripts <====]"
+ PHP_INI_FILE=`$(PKGROOT)$(bindir)/php -i | grep "Configuration File .* Path" | awk '{print $$NF}'`; \
+ perl -i -pne "s|_PHPINIFILE_|$${PHP_INI_FILE}/php.ini|" `gfind $(DOWNLOADDIR) -type f -print`
+ perl -i -pne "s|_PHPLIBDIR_|$(libdir)|" `gfind $(DOWNLOADDIR) -type f -print`
+ perl -i -pne "s|_PHPBINDIR_|$(bindir)|" `gfind $(DOWNLOADDIR) -type f -print`
+ #@$(MAKECOOKIE)
+
# System Rules/Configuration
include gar/category.mk
Modified: csw/mgar/pkg/php5/trunk/Makefile.Orig
===================================================================
--- csw/mgar/pkg/php5/trunk/Makefile.Orig 2009-05-15 13:06:43 UTC (rev 4878)
+++ csw/mgar/pkg/php5/trunk/Makefile.Orig 2009-05-15 14:11:26 UTC (rev 4879)
@@ -24,7 +24,6 @@
MASTER_SITES = http://us.php.net/distributions/
SPKG_SOURCEURL = http://www.php.net/downloads.php
-DISTFILES += $(DISTNAME).tar.bz2
INSTALL_ENV += INSTALL_ROOT=$(DESTDIR)
PHP5ROOT = $(DESTDIR)$(prefix)/php5
@@ -32,15 +31,15 @@
STRIP_DIRS += $(PHP5ROOT)/lib/php/extensions/*/
STRIP_DIRS += $(PHP5ROOT)/bin
-# Auxilliary files
+DISTFILES += $(DISTNAME).tar.bz2
DISTFILES += php.ini.CSW phpext pear.conf.CSW
DISTFILES += CSWphp5_ext_enable.sh CSWphp5_ext_disable.sh
+DISTFILES += CSWphp5.postinstall
PACKAGES = CSWphp5 CSWphp5devel
CATALOGNAME_CSWphp5 = php5
SPKG_DESC_CSWphp5 = A High-Level Scripting Languages
-DISTFILES += CSWphp5.postinstall
CATALOGNAME_CSWphp5devel = php5_devel
SPKG_DESC_CSWphp5devel = Development files for php5
REQUIRED_PKGS_CSWphp5 = CSWexpat CSWggettextrt CSWiconv
@@ -61,13 +60,11 @@
EXTDIRLIST = $(shell ls -d extensions/*)
include $(foreach X,$(EXTDIRLIST),$(X)/Makefile)
-# BerkeleyDB
EXTRA_LIB += $(prefix)/bdb44/lib
EXTRA_INC += $(prefix)/bdb44/include
EXTRA_CFLAGS = -I$(prefix)/include/ncursesw
-NOISALIST = 1
-
+NOISALIST = 1
STRIP_LIBTOOL = 1
CONFIGURE_ARGS += --prefix=$(prefix)/php5
@@ -85,18 +82,13 @@
CONFIGURE_ARGS += --with-pear=shared
# Disable Tests (report submitted to PHP QA)
-SKIPTEST = 1
+SKIPTEST = 1
ENABLE_CHECK = 0
-# Rebuild Configure Args to build mod_php5
-NEW_CONFIGURE_ARGS = $(shell echo $(CONFIGURE_ARGS) |sed -e 's/apxs2/apxs/' \
- -e 's/apache2\/sbin\/apxs/apache\/bin\/apxs/')
-
-# Copy over template config files and utility scripts
-
PI_SCRIPTS = install-extras
PI_SCRIPTS += install-ap2modphp5
PI_SCRIPTS += install-modphp5
+PI_SCRIPTS += install-cleanup
post-install-modulated: $(PI_SCRIPTS)
@$(MAKECOOKIE)
@@ -110,9 +102,6 @@
ginstall -d $(DESTDIR)$(prefix)/apache2/etc/extra
ginstall -m 0644 $(WORKDIR)/httpd-php5.conf.CSW \
$(DESTDIR)$(prefix)/apache2/etc/extra
- @(grm -fr $(DESTDIR)/.[a-z]*)
- @(gfind $(PHP5ROOT)/lib -name "*.a" -exec grm {} \;)
- @(grm -f $(DESTDIR)$(prefix)/php5/etc/pear.conf)
@$(MAKECOOKIE)
install-ap2modphp5:
@@ -124,8 +113,6 @@
@( $(GARBIN)/fixlibtool $(WORKSRC) )
@( $(BUILD_ENV) $(INSTALL_ENV) gmake -C $(WORKSRC) install-sapi )
@( strip $(DESTDIR)$(prefix)/apache2/libexec/libphp5.so )
- @( gfind $(DESTDIR)$(prefix)/apache* \
- -mindepth 1 -type d | egrep -v "etc|libexec" | xargs grm -fr )
@$(MAKECOOKIE)
install-modphp5:
@@ -137,10 +124,16 @@
@( $(GARBIN)/fixlibtool $(WORKSRC) )
@( $(BUILD_ENV) $(INSTALL_ENV) gmake -C $(WORKSRC) install-sapi )
@( strip $(DESTDIR)$(prefix)/apache/libexec/libphp5.so )
- @( gfind $(DESTDIR)$(prefix)/apache* \
- -mindepth 1 -type d | egrep -v "etc|libexec" | xargs grm -fr )
@$(MAKECOOKIE)
+install-cleanup:
+ @gfind $(DESTDIR) -name \.[a-z]\* -exec grm -fr {} \;
+ @gfind $(DESTDIR)/$(libdir) -name "*.a" -exec grm -f {} \;
+ @grm -f $(DESTDIR)$(sysconfdir)/pear.conf
+ @gfind $(DESTDIR)$(prefix)/apache* \
+ -mindepth 1 -type d | egrep -v "etc|libexec" | xargs grm -fr
+ @$(MAKECOOKIE)
+
EXTFILES = $(shell find extensions/*/files/* -prune -type f)
pre-fetch:
$(foreach F,$(EXTFILES),$(shell cp $(F) $(DOWNLOADDIR)))
Modified: csw/mgar/pkg/php5/trunk/Makefile.default-dirs
===================================================================
--- csw/mgar/pkg/php5/trunk/Makefile.default-dirs 2009-05-15 13:06:43 UTC (rev 4878)
+++ csw/mgar/pkg/php5/trunk/Makefile.default-dirs 2009-05-15 14:11:26 UTC (rev 4879)
@@ -20,18 +20,17 @@
MASTER_SITES = http://us.php.net/distributions/
SPKG_SOURCEURL = http://www.php.net/downloads.php
-DISTFILES += $(SF_PROJ)-$(GARVERSION).tar.bz2
INSTALL_ENV += INSTALL_ROOT=$(DESTDIR)
-STRIP_DIRS += $(prefix)/lib/php/extensions/*/
+STRIP_DIRS += $(DESTDIR)$(prefix)/lib/php/extensions/*/
-# Auxilliary files
+DISTFILES += $(DISTNAME).tar.bz2
DISTFILES += php.ini.CSW phpext pear.conf.CSW
DISTFILES += CSWphp5_ext_enable.sh CSWphp5_ext_disable.sh
+DISTFILES += CSWphp5.postinstall
PACKAGES = CSWphp5 CSWphp5devel
CATALOGNAME_CSWphp5 = php5
SPKG_DESC_CSWphp5 = A High-Level Scripting Languages
-DISTFILES += CSWphp5.postinstall
CATALOGNAME_CSWphp5devel = php5_devel
SPKG_DESC_CSWphp5devel = Development files for php5
REQUIRED_PKGS_CSWphp5 = CSWexpat CSWggettextrt CSWiconv
@@ -50,24 +49,22 @@
# PHP Extensions
EXTDIRLIST = $(shell ls -d extensions/*)
-include $(foreach X,$(EXTDIRLIST),$(X)/Makefile)
+INCLUDE_MK = $(foreach X,$(EXTDIRLIST),$(X)/Makefile)
+include $(INCLUDE_MK)
-# BerkeleyDB
EXTRA_LIB += $(prefix)/bdb44/lib
EXTRA_INC += $(prefix)/bdb44/include
EXTRA_CFLAGS = -I$(prefix)/include/ncursesw
NOISALIST = 1
-
STRIP_LIBTOOL = 1
CONFIGURE_ARGS = --prefix=$(prefix)
+CONFIGURE_ARGS += --disable-static
CONFIGURE_ARGS += --with-exec-dir=$(prefix)/bin
-CONFIGURE_ARGS += --disable-static
CONFIGURE_ARGS += --enable-cli
CONFIGURE_ARGS += --enable-fastcgi
CONFIGURE_ARGS += --enable-force-cgi-redirect
-CONFIGURE_ARGS += --enable-pcntl=shared
CONFIGURE_ARGS += --with-mm=$(prefix)
CONFIGURE_ARGS += --enable-magic-quotes
CONFIGURE_ARGS += --enable-spl=shared
@@ -78,15 +75,10 @@
SKIPTEST = 1
ENABLE_CHECK = 0
-# Rebuild Configure Args to build mod_php5
-NEW_CONFIGURE_ARGS = $(shell echo $(CONFIGURE_ARGS) |sed -e 's/apxs2/apxs/' \
- -e 's/apache2\/sbin\/apxs/apache\/bin\/apxs/')
-
-# Copy over template config files and utility scripts
-
PI_SCRIPTS = install-extras
PI_SCRIPTS += install-ap2modphp5
PI_SCRIPTS += install-modphp5
+PI_SCRIPTS += install-cleanup
post-install-modulated: $(PI_SCRIPTS)
@$(MAKECOOKIE)
@@ -100,40 +92,48 @@
ginstall -d $(DESTDIR)$(prefix)/apache2/etc/extra
ginstall -m 0644 $(WORKDIR)/httpd-php5.conf.CSW \
$(DESTDIR)$(prefix)/apache2/etc/extra
- #@(grm -fr $(DESTDIR)/.[a-z]*)
- @(gfind $(DESTDIR)/$(libdir) -name "*.a" -exec grm {} \;)
- @(grm -f $(DESTDIR)$(sysconfdir)/pear.conf)
@$(MAKECOOKIE)
install-ap2modphp5:
- @( echo " ==> Now Building ap2_modphp5 <==" )
- @( if [ -f $(WORKSRC)/Makefile ]; then \
- $(BUILD_ENV) gmake -C $(WORKSRC) distclean; fi )
- @( cd $(WORKSRC) && $(BUILD_ENV) \
- ./configure $(CONFIGURE_ARGS) --with-apxs2=$(prefix)/apache2/sbin/apxs)
- @( $(GARBIN)/fixlibtool $(WORKSRC) )
- @( $(BUILD_ENV) $(INSTALL_ENV) gmake -C $(WORKSRC) install-sapi )
- @( strip $(DESTDIR)$(prefix)/apache2/libexec/libphp5.so )
- @( gfind $(DESTDIR)$(prefix)/apache* \
- -mindepth 1 -type d | egrep -v "etc|libexec" | xargs grm -fr )
+ @echo " ==> Now Building ap2_modphp5 <=="
+ @if [ -f $(WORKSRC)/Makefile ]; then \
+ $(BUILD_ENV) gmake -C $(WORKSRC) distclean; fi
+ cd $(WORKSRC) && $(BUILD_ENV) \
+ ./configure $(CONFIGURE_ARGS) --with-apxs2=$(prefix)/apache2/sbin/apxs
+ @$(GARBIN)/fixlibtool $(WORKSRC)
+ @$(BUILD_ENV) $(INSTALL_ENV) gmake -C $(WORKSRC) install-sapi
+ @strip $(DESTDIR)$(prefix)/apache2/libexec/libphp5.so
@$(MAKECOOKIE)
install-modphp5:
- @( echo " ==> Now Building mod_php5 <==" )
- @( if [ -f $(WORKSRC)/Makefile ]; then \
- $(BUILD_ENV) gmake -C $(WORKSRC) distclean; fi )
- @( cd $(WORKSRC) && $(BUILD_ENV) \
- ./configure $(CONFIGURE_ARGS) --with-apxs=$(prefix)/apache/bin/apxs)
- @( $(GARBIN)/fixlibtool $(WORKSRC) )
- @( $(BUILD_ENV) $(INSTALL_ENV) gmake -C $(WORKSRC) install-sapi )
- @( strip $(DESTDIR)$(prefix)/apache/libexec/libphp5.so )
- @( gfind $(DESTDIR)$(prefix)/apache* \
- -mindepth 1 -type d | egrep -v "etc|libexec" | xargs grm -fr )
+ @echo " ==> Now Building mod_php5 <=="
+ @if [ -f $(WORKSRC)/Makefile ]; then \
+ $(BUILD_ENV) gmake -C $(WORKSRC) distclean; fi
+ cd $(WORKSRC) && $(BUILD_ENV) \
+ ./configure $(CONFIGURE_ARGS) --with-apxs=$(prefix)/apache/bin/apxs
+ @$(GARBIN)/fixlibtool $(WORKSRC)
+ @$(BUILD_ENV) $(INSTALL_ENV) gmake -C $(WORKSRC) install-sapi
+ @strip $(DESTDIR)$(prefix)/apache/libexec/libphp5.so
@$(MAKECOOKIE)
+install-cleanup:
+ @gfind $(DESTDIR) -name \.[a-z]\* -exec grm -fr {} \;
+ @gfind $(DESTDIR)/$(libdir) -name "*.a" -exec grm -f {} \;
+ @grm -f $(DESTDIR)$(sysconfdir)/pear.conf
+ @gfind $(DESTDIR)$(prefix)/apache* \
+ -mindepth 1 -type d | egrep -v "etc|libexec" | xargs grm -fr
+ @$(MAKECOOKIE)
+
EXTFILES = $(shell find extensions/*/files/* -prune -type f)
pre-fetch:
$(foreach F,$(EXTFILES),$(shell cp $(F) $(DOWNLOADDIR)))
+post-merge-modulated:
+ @echo "[====> Fixing Admin Scripts <====]"
+ @perl -i -plne "s|PHP_INI=_PHPINIFILE_|PHP_INI=`$(PKGROOT)$(bindir)/php -i | \
+ grep "Loaded Configuration File" | awk '{print $$NF}'`|" \
+ gfind $(DOWNLOADDIR) -type f -print`
+ @$(MAKECOOKIE)
+
# System Rules/Configuration
include gar/category.mk
Modified: csw/mgar/pkg/php5/trunk/checksums
===================================================================
--- csw/mgar/pkg/php5/trunk/checksums 2009-05-15 13:06:43 UTC (rev 4878)
+++ csw/mgar/pkg/php5/trunk/checksums 2009-05-15 14:11:26 UTC (rev 4879)
@@ -4,9 +4,9 @@
5f0046fe1b3f8e2228fdb165bdbbe73a download/CSWmodphp5.postinstall
2e5dbed2c9dd5e24c331753984946822 download/CSWmodphp5.preremove
0dd379f20ceb32fc77bb3a9bf045097f download/CSWmodphp5.space
-09fe57944fadf7cf5769d1070cf9cc90 download/CSWphp5.postinstall
-4265ed6459d99f5cbe8eae29bf5c0b71 download/CSWphp5_ext_disable.sh
-139abbf5e4b843dba93b1c51978038ba download/CSWphp5_ext_enable.sh
+0914febc951a55cd2bc587a2f9c30652 download/CSWphp5.postinstall
+d79cb3f8be515265504865f65bfa60a3 download/CSWphp5_ext_disable.sh
+594f0f37900e44cebcad55072893f880 download/CSWphp5_ext_enable.sh
ab08e2ba62667bf13fa236099e433e84 download/configure.diff
a71677d80f5cfd1aeb03547dfdeb705a download/httpd-php5.conf.CSW
2206431e47c2075c0b9c4a12de5cf791 download/odbc.diff
@@ -16,4 +16,4 @@
280d6cda7f72a4fc6de42fda21ac2db7 download/php-5.2.9.tar.bz2
a450a46ce0ea9fd0c0abe432e750a873 download/php-bug-45557-fix.diff
160963de6006c558963e5bc37584bf15 download/php.ini.CSW
-90ae3cef3692d7e566c47d89fe39c43d download/phpext
+6251f3adcefc6ffa61d6339ac6b2d1eb download/phpext
Modified: csw/mgar/pkg/php5/trunk/extensions/php5_bcmath/Makefile
===================================================================
--- csw/mgar/pkg/php5/trunk/extensions/php5_bcmath/Makefile 2009-05-15 13:06:43 UTC (rev 4878)
+++ csw/mgar/pkg/php5/trunk/extensions/php5_bcmath/Makefile 2009-05-15 14:11:26 UTC (rev 4879)
@@ -13,7 +13,7 @@
define CSWphp5bcmath_postinstall
#!/bin/sh
-PHP_INI=/opt/csw/lib/php.ini
+PHP_INI=${PKG_INSTALL_ROOT}_PHPINIFILE_
echo "[===> Running Post Install <===]"
echo " ===> Enabling bcmath extension"
@@ -56,7 +56,7 @@
define CSWphp5bcmath_preremove
#!/bin/sh
-PHP_INI=/opt/csw/lib/php.ini
+PHP_INI=${PKG_INSTALL_ROOT}_PHPINIFILE_
echo "[===> Running Pre Remove <===]"
echo " ===> Disabling bcmath extension"
Modified: csw/mgar/pkg/php5/trunk/extensions/php5_bz2/Makefile
===================================================================
--- csw/mgar/pkg/php5/trunk/extensions/php5_bz2/Makefile 2009-05-15 13:06:43 UTC (rev 4878)
+++ csw/mgar/pkg/php5/trunk/extensions/php5_bz2/Makefile 2009-05-15 14:11:26 UTC (rev 4879)
@@ -13,7 +13,7 @@
define CSWphp5bz2_postinstall
#!/bin/sh
-PHP_INI=/opt/csw/lib/php.ini
+PHP_INI=${PKG_INSTALL_ROOT}_PHPINIFILE_
echo "[===> Running Post Install <===]"
echo " ===> Enabling bz2 extension"
@@ -56,7 +56,7 @@
define CSWphp5bz2_preremove
#!/bin/sh
-PHP_INI=/opt/csw/lib/php.ini
+PHP_INI=${PKG_INSTALL_ROOT}_PHPINIFILE_
echo "[===> Running Pre Remove <===]"
echo " ===> Disabling bz2 extension"
Modified: csw/mgar/pkg/php5/trunk/extensions/php5_calendar/Makefile
===================================================================
--- csw/mgar/pkg/php5/trunk/extensions/php5_calendar/Makefile 2009-05-15 13:06:43 UTC (rev 4878)
+++ csw/mgar/pkg/php5/trunk/extensions/php5_calendar/Makefile 2009-05-15 14:11:26 UTC (rev 4879)
@@ -13,7 +13,7 @@
define CSWphp5calendar_postinstall
#!/bin/sh
-PHP_INI=/opt/csw/lib/php.ini
+PHP_INI=${PKG_INSTALL_ROOT}_PHPINIFILE_
echo "[===> Running Post Install <===]"
echo " ===> Enabling calendar extension"
@@ -56,7 +56,7 @@
define CSWphp5calendar_preremove
#!/bin/sh
-PHP_INI=/opt/csw/lib/php.ini
+PHP_INI=${PKG_INSTALL_ROOT}_PHPINIFILE_
echo "[===> Running Pre Remove <===]"
echo " ===> Disabling calendar extension"
Modified: csw/mgar/pkg/php5/trunk/extensions/php5_ctype/Makefile
===================================================================
--- csw/mgar/pkg/php5/trunk/extensions/php5_ctype/Makefile 2009-05-15 13:06:43 UTC (rev 4878)
+++ csw/mgar/pkg/php5/trunk/extensions/php5_ctype/Makefile 2009-05-15 14:11:26 UTC (rev 4879)
@@ -13,7 +13,7 @@
define CSWphp5ctype_postinstall
#!/bin/sh
-PHP_INI=/opt/csw/lib/php.ini
+PHP_INI=${PKG_INSTALL_ROOT}_PHPINIFILE_
echo "[===> Running Post Install <===]"
echo " ===> Enabling ctype extension"
@@ -56,7 +56,7 @@
define CSWphp5ctype_preremove
#!/bin/sh
-PHP_INI=/opt/csw/lib/php.ini
+PHP_INI=${PKG_INSTALL_ROOT}_PHPINIFILE_
echo "[===> Running Pre Remove <===]"
echo " ===> Disabling ctype extension"
Modified: csw/mgar/pkg/php5/trunk/extensions/php5_curl/Makefile
===================================================================
--- csw/mgar/pkg/php5/trunk/extensions/php5_curl/Makefile 2009-05-15 13:06:43 UTC (rev 4878)
+++ csw/mgar/pkg/php5/trunk/extensions/php5_curl/Makefile 2009-05-15 14:11:26 UTC (rev 4879)
@@ -15,7 +15,7 @@
define CSWphp5curl_postinstall
#!/bin/sh
-PHP_INI=/opt/csw/lib/php.ini
+PHP_INI=${PKG_INSTALL_ROOT}_PHPINIFILE_
echo "[===> Running Post Install <===]"
echo " ===> Enabling curl extension"
@@ -58,7 +58,7 @@
define CSWphp5curl_preremove
#!/bin/sh
-PHP_INI=/opt/csw/lib/php.ini
+PHP_INI=${PKG_INSTALL_ROOT}_PHPINIFILE_
echo "[===> Running Pre Remove <===]"
echo " ===> Disabling curl extension"
Modified: csw/mgar/pkg/php5/trunk/extensions/php5_dba/Makefile
===================================================================
--- csw/mgar/pkg/php5/trunk/extensions/php5_dba/Makefile 2009-05-15 13:06:43 UTC (rev 4878)
+++ csw/mgar/pkg/php5/trunk/extensions/php5_dba/Makefile 2009-05-15 14:11:26 UTC (rev 4879)
@@ -17,7 +17,7 @@
define CSWphp5dba_postinstall
#!/bin/sh
-PHP_INI=/opt/csw/lib/php.ini
+PHP_INI=${PKG_INSTALL_ROOT}_PHPINIFILE_
echo "[===> Running Post Install <===]"
echo " ===> Enabling dba extension"
@@ -60,7 +60,7 @@
define CSWphp5dba_preremove
#!/bin/sh
-PHP_INI=/opt/csw/lib/php.ini
+PHP_INI=${PKG_INSTALL_ROOT}_PHPINIFILE_
echo "[===> Running Pre Remove <===]"
echo " ===> Disabling dba extension"
Modified: csw/mgar/pkg/php5/trunk/extensions/php5_dbase/Makefile
===================================================================
--- csw/mgar/pkg/php5/trunk/extensions/php5_dbase/Makefile 2009-05-15 13:06:43 UTC (rev 4878)
+++ csw/mgar/pkg/php5/trunk/extensions/php5_dbase/Makefile 2009-05-15 14:11:26 UTC (rev 4879)
@@ -13,7 +13,7 @@
define CSWphp5dbase_postinstall
#!/bin/sh
-PHP_INI=/opt/csw/lib/php.ini
+PHP_INI=${PKG_INSTALL_ROOT}_PHPINIFILE_
echo "[===> Running Post Install <===]"
echo " ===> Enabling dbase extension"
@@ -56,7 +56,7 @@
define CSWphp5dbase_preremove
#!/bin/sh
-PHP_INI=/opt/csw/lib/php.ini
+PHP_INI=${PKG_INSTALL_ROOT}_PHPINIFILE_
echo "[===> Running Pre Remove <===]"
echo " ===> Disabling dbase extension"
Modified: csw/mgar/pkg/php5/trunk/extensions/php5_dom/Makefile
===================================================================
--- csw/mgar/pkg/php5/trunk/extensions/php5_dom/Makefile 2009-05-15 13:06:43 UTC (rev 4878)
+++ csw/mgar/pkg/php5/trunk/extensions/php5_dom/Makefile 2009-05-15 14:11:26 UTC (rev 4879)
@@ -14,7 +14,7 @@
define CSWphp5dom_postinstall
#!/bin/sh
-PHP_INI=/opt/csw/lib/php.ini
+PHP_INI=${PKG_INSTALL_ROOT}_PHPINIFILE_
echo "[===> Running Post Install <===]"
echo " ===> Enabling dom extension"
@@ -57,7 +57,7 @@
define CSWphp5dom_preremove
#!/bin/sh
-PHP_INI=/opt/csw/lib/php.ini
+PHP_INI=${PKG_INSTALL_ROOT}_PHPINIFILE_
echo "[===> Running Pre Remove <===]"
echo " ===> Disabling dom extension"
Modified: csw/mgar/pkg/php5/trunk/extensions/php5_exif/Makefile
===================================================================
--- csw/mgar/pkg/php5/trunk/extensions/php5_exif/Makefile 2009-05-15 13:06:43 UTC (rev 4878)
+++ csw/mgar/pkg/php5/trunk/extensions/php5_exif/Makefile 2009-05-15 14:11:26 UTC (rev 4879)
@@ -16,7 +16,7 @@
define CSWphp5exif_postinstall
#!/bin/sh
-PHP_INI=/opt/csw/lib/php.ini
+PHP_INI=${PKG_INSTALL_ROOT}_PHPINIFILE_
echo "[===> Running Post Install <===]"
echo " ===> Enabling exif extension"
@@ -59,7 +59,7 @@
define CSWphp5exif_preremove
#!/bin/sh
-PHP_INI=/opt/csw/lib/php.ini
+PHP_INI=${PKG_INSTALL_ROOT}_PHPINIFILE_
echo "[===> Running Pre Remove <===]"
echo " ===> Disabling exif extension"
Modified: csw/mgar/pkg/php5/trunk/extensions/php5_ftp/Makefile
===================================================================
--- csw/mgar/pkg/php5/trunk/extensions/php5_ftp/Makefile 2009-05-15 13:06:43 UTC (rev 4878)
+++ csw/mgar/pkg/php5/trunk/extensions/php5_ftp/Makefile 2009-05-15 14:11:26 UTC (rev 4879)
@@ -13,7 +13,7 @@
define CSWphp5ftp_postinstall
#!/bin/sh
-PHP_INI=/opt/csw/lib/php.ini
+PHP_INI=${PKG_INSTALL_ROOT}_PHPINIFILE_
echo "[===> Running Post Install <===]"
echo " ===> Enabling ftp extension"
@@ -56,7 +56,7 @@
define CSWphp5ftp_preremove
#!/bin/sh
-PHP_INI=/opt/csw/lib/php.ini
+PHP_INI=${PKG_INSTALL_ROOT}_PHPINIFILE_
echo "[===> Running Pre Remove <===]"
echo " ===> Disabling ftp extension"
Modified: csw/mgar/pkg/php5/trunk/extensions/php5_gd/Makefile
===================================================================
--- csw/mgar/pkg/php5/trunk/extensions/php5_gd/Makefile 2009-05-15 13:06:43 UTC (rev 4878)
+++ csw/mgar/pkg/php5/trunk/extensions/php5_gd/Makefile 2009-05-15 14:11:26 UTC (rev 4879)
@@ -24,7 +24,7 @@
define CSWphp5gd_postinstall
#!/bin/sh
-PHP_INI=/opt/csw/lib/php.ini
+PHP_INI=${PKG_INSTALL_ROOT}_PHPINIFILE_
echo "[===> Running Post Install <===]"
echo " ===> Enabling gd extension"
@@ -67,7 +67,7 @@
define CSWphp5gd_preremove
#!/bin/sh
-PHP_INI=/opt/csw/lib/php.ini
+PHP_INI=${PKG_INSTALL_ROOT}_PHPINIFILE_
echo "[===> Running Pre Remove <===]"
echo " ===> Disabling gd extension"
Modified: csw/mgar/pkg/php5/trunk/extensions/php5_gettext/Makefile
===================================================================
--- csw/mgar/pkg/php5/trunk/extensions/php5_gettext/Makefile 2009-05-15 13:06:43 UTC (rev 4878)
+++ csw/mgar/pkg/php5/trunk/extensions/php5_gettext/Makefile 2009-05-15 14:11:26 UTC (rev 4879)
@@ -13,7 +13,7 @@
define CSWphp5gettext_postinstall
#!/bin/sh
-PHP_INI=/opt/csw/lib/php.ini
+PHP_INI=${PKG_INSTALL_ROOT}_PHPINIFILE_
echo "[===> Running Post Install <===]"
echo " ===> Enabling gettext extension"
@@ -56,7 +56,7 @@
define CSWphp5gettext_preremove
#!/bin/sh
-PHP_INI=/opt/csw/lib/php.ini
+PHP_INI=${PKG_INSTALL_ROOT}_PHPINIFILE_
echo "[===> Running Pre Remove <===]"
echo " ===> Disabling gettext extension"
Modified: csw/mgar/pkg/php5/trunk/extensions/php5_gmp/Makefile
===================================================================
--- csw/mgar/pkg/php5/trunk/extensions/php5_gmp/Makefile 2009-05-15 13:06:43 UTC (rev 4878)
+++ csw/mgar/pkg/php5/trunk/extensions/php5_gmp/Makefile 2009-05-15 14:11:26 UTC (rev 4879)
@@ -13,7 +13,7 @@
define CSWphp5gmp_postinstall
#!/bin/sh
-PHP_INI=/opt/csw/lib/php.ini
+PHP_INI=${PKG_INSTALL_ROOT}_PHPINIFILE_
echo "[===> Running Post Install <===]"
echo " ===> Enabling gmp extension"
@@ -56,7 +56,7 @@
define CSWphp5gmp_preremove
#!/bin/sh
-PHP_INI=/opt/csw/lib/php.ini
+PHP_INI=${PKG_INSTALL_ROOT}_PHPINIFILE_
echo "[===> Running Pre Remove <===]"
echo " ===> Disabling gmp extension"
Modified: csw/mgar/pkg/php5/trunk/extensions/php5_hash/Makefile
===================================================================
--- csw/mgar/pkg/php5/trunk/extensions/php5_hash/Makefile 2009-05-15 13:06:43 UTC (rev 4878)
+++ csw/mgar/pkg/php5/trunk/extensions/php5_hash/Makefile 2009-05-15 14:11:26 UTC (rev 4879)
@@ -13,7 +13,7 @@
define CSWphp5hash_postinstall
#!/bin/sh
-PHP_INI=/opt/csw/lib/php.ini
+PHP_INI=${PKG_INSTALL_ROOT}_PHPINIFILE_
echo "[===> Running Post Install <===]"
echo " ===> Enabling hash extension"
@@ -56,7 +56,7 @@
define CSWphp5hash_preremove
#!/bin/sh
-PHP_INI=/opt/csw/lib/php.ini
+PHP_INI=${PKG_INSTALL_ROOT}_PHPINIFILE_
echo "[===> Running Pre Remove <===]"
echo " ===> Disabling hash extension"
Modified: csw/mgar/pkg/php5/trunk/extensions/php5_iconv/Makefile
===================================================================
--- csw/mgar/pkg/php5/trunk/extensions/php5_iconv/Makefile 2009-05-15 13:06:43 UTC (rev 4878)
+++ csw/mgar/pkg/php5/trunk/extensions/php5_iconv/Makefile 2009-05-15 14:11:26 UTC (rev 4879)
@@ -20,7 +20,7 @@
define CSWphp5iconv_postinstall
#!/bin/sh
-PHP_INI=/opt/csw/lib/php.ini
+PHP_INI=${PKG_INSTALL_ROOT}_PHPINIFILE_
echo "[===> Running Post Install <===]"
echo " ===> Enabling iconv extension"
@@ -63,7 +63,7 @@
define CSWphp5iconv_preremove
#!/bin/sh
-PHP_INI=/opt/csw/lib/php.ini
+PHP_INI=${PKG_INSTALL_ROOT}_PHPINIFILE_
echo "[===> Running Pre Remove <===]"
echo " ===> Disabling iconv extension"
Modified: csw/mgar/pkg/php5/trunk/extensions/php5_imap/Makefile
===================================================================
--- csw/mgar/pkg/php5/trunk/extensions/php5_imap/Makefile 2009-05-15 13:06:43 UTC (rev 4878)
+++ csw/mgar/pkg/php5/trunk/extensions/php5_imap/Makefile 2009-05-15 14:11:26 UTC (rev 4879)
@@ -15,7 +15,7 @@
define CSWphp5imap_postinstall
#!/bin/sh
-PHP_INI=/opt/csw/lib/php.ini
+PHP_INI=${PKG_INSTALL_ROOT}_PHPINIFILE_
echo "[===> Running Post Install <===]"
echo " ===> Enabling imap extension"
@@ -58,7 +58,7 @@
define CSWphp5imap_preremove
#!/bin/sh
-PHP_INI=/opt/csw/lib/php.ini
+PHP_INI=${PKG_INSTALL_ROOT}_PHPINIFILE_
echo "[===> Running Pre Remove <===]"
echo " ===> Disabling imap extension"
Modified: csw/mgar/pkg/php5/trunk/extensions/php5_json/Makefile
===================================================================
--- csw/mgar/pkg/php5/trunk/extensions/php5_json/Makefile 2009-05-15 13:06:43 UTC (rev 4878)
+++ csw/mgar/pkg/php5/trunk/extensions/php5_json/Makefile 2009-05-15 14:11:26 UTC (rev 4879)
@@ -13,7 +13,7 @@
define CSWphp5json_postinstall
#!/bin/sh
-PHP_INI=/opt/csw/lib/php.ini
+PHP_INI=${PKG_INSTALL_ROOT}_PHPINIFILE_
echo "[===> Running Post Install <===]"
echo " ===> Enabling json extension"
@@ -56,7 +56,7 @@
define CSWphp5json_preremove
#!/bin/sh
-PHP_INI=/opt/csw/lib/php.ini
+PHP_INI=${PKG_INSTALL_ROOT}_PHPINIFILE_
echo "[===> Running Pre Remove <===]"
echo " ===> Disabling json extension"
Modified: csw/mgar/pkg/php5/trunk/extensions/php5_ldap/Makefile
===================================================================
--- csw/mgar/pkg/php5/trunk/extensions/php5_ldap/Makefile 2009-05-15 13:06:43 UTC (rev 4878)
+++ csw/mgar/pkg/php5/trunk/extensions/php5_ldap/Makefile 2009-05-15 14:11:26 UTC (rev 4879)
@@ -15,7 +15,7 @@
define CSWphp5ldap_postinstall
#!/bin/sh
-PHP_INI=/opt/csw/lib/php.ini
+PHP_INI=${PKG_INSTALL_ROOT}_PHPINIFILE_
echo "[===> Running Post Install <===]"
echo " ===> Enabling ldap extension"
@@ -58,7 +58,7 @@
define CSWphp5ldap_preremove
#!/bin/sh
-PHP_INI=/opt/csw/lib/php.ini
+PHP_INI=${PKG_INSTALL_ROOT}_PHPINIFILE_
echo "[===> Running Pre Remove <===]"
echo " ===> Disabling ldap extension"
Modified: csw/mgar/pkg/php5/trunk/extensions/php5_mbstring/Makefile
===================================================================
--- csw/mgar/pkg/php5/trunk/extensions/php5_mbstring/Makefile 2009-05-15 13:06:43 UTC (rev 4878)
+++ csw/mgar/pkg/php5/trunk/extensions/php5_mbstring/Makefile 2009-05-15 14:11:26 UTC (rev 4879)
@@ -15,7 +15,7 @@
define CSWphp5mbstring_postinstall
#!/bin/sh
-PHP_INI=/opt/csw/lib/php.ini
+PHP_INI=${PKG_INSTALL_ROOT}_PHPINIFILE_
echo "[===> Running Post Install <===]"
echo " ===> Enabling mbstring extension"
@@ -58,7 +58,7 @@
define CSWphp5mbstring_preremove
#!/bin/sh
-PHP_INI=/opt/csw/lib/php.ini
+PHP_INI=${PKG_INSTALL_ROOT}_PHPINIFILE_
echo "[===> Running Pre Remove <===]"
echo " ===> Disabling mbstring extension"
Modified: csw/mgar/pkg/php5/trunk/extensions/php5_mcrypt/Makefile
===================================================================
--- csw/mgar/pkg/php5/trunk/extensions/php5_mcrypt/Makefile 2009-05-15 13:06:43 UTC (rev 4878)
+++ csw/mgar/pkg/php5/trunk/extensions/php5_mcrypt/Makefile 2009-05-15 14:11:26 UTC (rev 4879)
@@ -13,7 +13,7 @@
define CSWphp5mcrypt_postinstall
#!/bin/sh
-PHP_INI=/opt/csw/lib/php.ini
+PHP_INI=${PKG_INSTALL_ROOT}_PHPINIFILE_
echo "[===> Running Post Install <===]"
echo " ===> Enabling mcrypt extension"
@@ -56,7 +56,7 @@
define CSWphp5mcrypt_preremove
#!/bin/sh
-PHP_INI=/opt/csw/lib/php.ini
+PHP_INI=${PKG_INSTALL_ROOT}_PHPINIFILE_
echo "[===> Running Pre Remove <===]"
echo " ===> Disabling mcrypt extension"
Modified: csw/mgar/pkg/php5/trunk/extensions/php5_mhash/Makefile
===================================================================
--- csw/mgar/pkg/php5/trunk/extensions/php5_mhash/Makefile 2009-05-15 13:06:43 UTC (rev 4878)
+++ csw/mgar/pkg/php5/trunk/extensions/php5_mhash/Makefile 2009-05-15 14:11:26 UTC (rev 4879)
@@ -13,7 +13,7 @@
define CSWphp5mhash_postinstall
#!/bin/sh
-PHP_INI=/opt/csw/lib/php.ini
+PHP_INI=${PKG_INSTALL_ROOT}_PHPINIFILE_
echo "[===> Running Post Install <===]"
echo " ===> Enabling mhash extension"
@@ -56,7 +56,7 @@
define CSWphp5mhash_preremove
#!/bin/sh
-PHP_INI=/opt/csw/lib/php.ini
+PHP_INI=${PKG_INSTALL_ROOT}_PHPINIFILE_
echo "[===> Running Pre Remove <===]"
echo " ===> Disabling mhash extension"
Modified: csw/mgar/pkg/php5/trunk/extensions/php5_mime_magic/Makefile
===================================================================
--- csw/mgar/pkg/php5/trunk/extensions/php5_mime_magic/Makefile 2009-05-15 13:06:43 UTC (rev 4878)
+++ csw/mgar/pkg/php5/trunk/extensions/php5_mime_magic/Makefile 2009-05-15 14:11:26 UTC (rev 4879)
@@ -13,7 +13,7 @@
define CSWphp5mimemagic_postinstall
#!/bin/sh
-PHP_INI=/opt/csw/lib/php.ini
+PHP_INI=${PKG_INSTALL_ROOT}_PHPINIFILE_
echo "[===> Running Post Install <===]"
echo " ===> Enabling mime_magic extension"
@@ -56,7 +56,7 @@
define CSWphp5mimemagic_preremove
#!/bin/sh
-PHP_INI=/opt/csw/lib/php.ini
+PHP_INI=${PKG_INSTALL_ROOT}_PHPINIFILE_
echo "[===> Running Pre Remove <===]"
echo " ===> Disabling mime_magic extension"
Modified: csw/mgar/pkg/php5/trunk/extensions/php5_mssql/Makefile
===================================================================
--- csw/mgar/pkg/php5/trunk/extensions/php5_mssql/Makefile 2009-05-15 13:06:43 UTC (rev 4878)
+++ csw/mgar/pkg/php5/trunk/extensions/php5_mssql/Makefile 2009-05-15 14:11:26 UTC (rev 4879)
@@ -13,7 +13,7 @@
define CSWphp5mssql_postinstall
#!/bin/sh
-PHP_INI=/opt/csw/lib/php.ini
+PHP_INI=${PKG_INSTALL_ROOT}_PHPINIFILE_
echo "[===> Running Post Install <===]"
echo " ===> Enabling mssql extension"
@@ -56,7 +56,7 @@
define CSWphp5mssql_preremove
#!/bin/sh
-PHP_INI=/opt/csw/lib/php.ini
+PHP_INI=${PKG_INSTALL_ROOT}_PHPINIFILE_
echo "[===> Running Pre Remove <===]"
echo " ===> Disabling mssql extension"
Modified: csw/mgar/pkg/php5/trunk/extensions/php5_mysql/Makefile
===================================================================
--- csw/mgar/pkg/php5/trunk/extensions/php5_mysql/Makefile 2009-05-15 13:06:43 UTC (rev 4878)
+++ csw/mgar/pkg/php5/trunk/extensions/php5_mysql/Makefile 2009-05-15 14:11:26 UTC (rev 4879)
@@ -13,7 +13,7 @@
define CSWphp5mysql_postinstall
#!/bin/sh
-PHP_INI=/opt/csw/lib/php.ini
+PHP_INI=${PKG_INSTALL_ROOT}_PHPINIFILE_
echo "[===> Running Post Install <===]"
echo " ===> Enabling mysql extension"
@@ -56,7 +56,7 @@
define CSWphp5mysql_preremove
#!/bin/sh
-PHP_INI=/opt/csw/lib/php.ini
+PHP_INI=${PKG_INSTALL_ROOT}_PHPINIFILE_
echo "[===> Running Pre Remove <===]"
echo " ===> Disabling mysql extension"
Modified: csw/mgar/pkg/php5/trunk/extensions/php5_mysqli/Makefile
===================================================================
--- csw/mgar/pkg/php5/trunk/extensions/php5_mysqli/Makefile 2009-05-15 13:06:43 UTC (rev 4878)
+++ csw/mgar/pkg/php5/trunk/extensions/php5_mysqli/Makefile 2009-05-15 14:11:26 UTC (rev 4879)
@@ -13,7 +13,7 @@
define CSWphp5mysqli_postinstall
#!/bin/sh
-PHP_INI=/opt/csw/lib/php.ini
+PHP_INI=${PKG_INSTALL_ROOT}_PHPINIFILE_
echo "[===> Running Post Install <===]"
echo " ===> Enabling mysqli extension"
@@ -56,7 +56,7 @@
define CSWphp5mysqli_preremove
#!/bin/sh
-PHP_INI=/opt/csw/lib/php.ini
+PHP_INI=${PKG_INSTALL_ROOT}_PHPINIFILE_
echo "[===> Running Pre Remove <===]"
echo " ===> Disabling mysqli extension"
Modified: csw/mgar/pkg/php5/trunk/extensions/php5_ncurses/Makefile
===================================================================
--- csw/mgar/pkg/php5/trunk/extensions/php5_ncurses/Makefile 2009-05-15 13:06:43 UTC (rev 4878)
+++ csw/mgar/pkg/php5/trunk/extensions/php5_ncurses/Makefile 2009-05-15 14:11:26 UTC (rev 4879)
@@ -13,7 +13,7 @@
define CSWphp5ncurses_postinstall
#!/bin/sh
-PHP_INI=/opt/csw/lib/php.ini
+PHP_INI=${PKG_INSTALL_ROOT}_PHPINIFILE_
echo "[===> Running Post Install <===]"
echo " ===> Enabling ncurses extension"
@@ -56,7 +56,7 @@
define CSWphp5ncurses_preremove
#!/bin/sh
-PHP_INI=/opt/csw/lib/php.ini
+PHP_INI=${PKG_INSTALL_ROOT}_PHPINIFILE_
echo "[===> Running Pre Remove <===]"
echo " ===> Disabling ncurses extension"
Modified: csw/mgar/pkg/php5/trunk/extensions/php5_odbc/Makefile
===================================================================
--- csw/mgar/pkg/php5/trunk/extensions/php5_odbc/Makefile 2009-05-15 13:06:43 UTC (rev 4878)
+++ csw/mgar/pkg/php5/trunk/extensions/php5_odbc/Makefile 2009-05-15 14:11:26 UTC (rev 4879)
@@ -15,7 +15,7 @@
define CSWphp5odbc_postinstall
#!/bin/sh
-PHP_INI=/opt/csw/lib/php.ini
+PHP_INI=${PKG_INSTALL_ROOT}_PHPINIFILE_
echo "[===> Running Post Install <===]"
echo " ===> Enabling odbc extension"
@@ -58,7 +58,7 @@
define CSWphp5odbc_preremove
#!/bin/sh
-PHP_INI=/opt/csw/lib/php.ini
+PHP_INI=${PKG_INSTALL_ROOT}_PHPINIFILE_
echo "[===> Running Pre Remove <===]"
echo " ===> Disabling odbc extension"
Modified: csw/mgar/pkg/php5/trunk/extensions/php5_openssl/Makefile
===================================================================
--- csw/mgar/pkg/php5/trunk/extensions/php5_openssl/Makefile 2009-05-15 13:06:43 UTC (rev 4878)
+++ csw/mgar/pkg/php5/trunk/extensions/php5_openssl/Makefile 2009-05-15 14:11:26 UTC (rev 4879)
@@ -13,7 +13,7 @@
define CSWphp5openssl_postinstall
#!/bin/sh
-PHP_INI=/opt/csw/lib/php.ini
+PHP_INI=${PKG_INSTALL_ROOT}_PHPINIFILE_
echo "[===> Running Post Install <===]"
echo " ===> Enabling openssl extension"
@@ -56,7 +56,7 @@
define CSWphp5openssl_preremove
#!/bin/sh
-PHP_INI=/opt/csw/lib/php.ini
+PHP_INI=${PKG_INSTALL_ROOT}_PHPINIFILE_
echo "[===> Running Pre Remove <===]"
echo " ===> Disabling openssl extension"
Modified: csw/mgar/pkg/php5/trunk/extensions/php5_pcntl/Makefile
===================================================================
--- csw/mgar/pkg/php5/trunk/extensions/php5_pcntl/Makefile 2009-05-15 13:06:43 UTC (rev 4878)
+++ csw/mgar/pkg/php5/trunk/extensions/php5_pcntl/Makefile 2009-05-15 14:11:26 UTC (rev 4879)
@@ -13,7 +13,7 @@
define CSWphp5pcntl_postinstall
#!/bin/sh
-PHP_INI=/opt/csw/lib/php.ini
+PHP_INI=${PKG_INSTALL_ROOT}_PHPINIFILE_
echo "[===> Running Post Install <===]"
echo " ===> Enabling pcntl extension"
@@ -56,7 +56,7 @@
define CSWphp5pcntl_preremove
#!/bin/sh
-PHP_INI=/opt/csw/lib/php.ini
+PHP_INI=${PKG_INSTALL_ROOT}_PHPINIFILE_
echo "[===> Running Pre Remove <===]"
echo " ===> Disabling pcntl extension"
Modified: csw/mgar/pkg/php5/trunk/extensions/php5_pdo/Makefile
===================================================================
--- csw/mgar/pkg/php5/trunk/extensions/php5_pdo/Makefile 2009-05-15 13:06:43 UTC (rev 4878)
+++ csw/mgar/pkg/php5/trunk/extensions/php5_pdo/Makefile 2009-05-15 14:11:26 UTC (rev 4879)
@@ -13,7 +13,7 @@
define CSWphp5pdo_postinstall
#!/bin/sh
-PHP_INI=/opt/csw/lib/php.ini
+PHP_INI=${PKG_INSTALL_ROOT}_PHPINIFILE_
echo "[===> Running Post Install <===]"
echo " ===> Enabling pdo extension"
@@ -56,7 +56,7 @@
define CSWphp5pdo_preremove
#!/bin/sh
-PHP_INI=/opt/csw/lib/php.ini
+PHP_INI=${PKG_INSTALL_ROOT}_PHPINIFILE_
echo "[===> Running Pre Remove <===]"
echo " ===> Disabling pdo extension"
Modified: csw/mgar/pkg/php5/trunk/extensions/php5_pdomysql/Makefile
===================================================================
--- csw/mgar/pkg/php5/trunk/extensions/php5_pdomysql/Makefile 2009-05-15 13:06:43 UTC (rev 4878)
+++ csw/mgar/pkg/php5/trunk/extensions/php5_pdomysql/Makefile 2009-05-15 14:11:26 UTC (rev 4879)
@@ -14,7 +14,7 @@
define CSWphp5pdomysql_postinstall
#!/bin/sh
-PHP_INI=/opt/csw/lib/php.ini
+PHP_INI=${PKG_INSTALL_ROOT}_PHPINIFILE_
echo "[===> Running Post Install <===]"
echo " ===> Enabling pdo_mysql extension"
@@ -57,7 +57,7 @@
define CSWphp5pdomysql_preremove
#!/bin/sh
-PHP_INI=/opt/csw/lib/php.ini
+PHP_INI=${PKG_INSTALL_ROOT}_PHPINIFILE_
echo "[===> Running Pre Remove <===]"
echo " ===> Disabling pdo_mysql extension"
Modified: csw/mgar/pkg/php5/trunk/extensions/php5_pdoodbc/Makefile
===================================================================
--- csw/mgar/pkg/php5/trunk/extensions/php5_pdoodbc/Makefile 2009-05-15 13:06:43 UTC (rev 4878)
+++ csw/mgar/pkg/php5/trunk/extensions/php5_pdoodbc/Makefile 2009-05-15 14:11:26 UTC (rev 4879)
@@ -13,7 +13,7 @@
define CSWphp5pdoodbc_postinstall
#!/bin/sh
-PHP_INI=/opt/csw/lib/php.ini
+PHP_INI=${PKG_INSTALL_ROOT}_PHPINIFILE_
echo "[===> Running Post Install <===]"
echo " ===> Enabling pdo_odbc extension"
@@ -56,7 +56,7 @@
define CSWphp5pdoodbc_preremove
#!/bin/sh
-PHP_INI=/opt/csw/lib/php.ini
+PHP_INI=${PKG_INSTALL_ROOT}_PHPINIFILE_
echo "[===> Running Pre Remove <===]"
echo " ===> Disabling pdo_odbc extension"
Modified: csw/mgar/pkg/php5/trunk/extensions/php5_pdopgsql/Makefile
===================================================================
--- csw/mgar/pkg/php5/trunk/extensions/php5_pdopgsql/Makefile 2009-05-15 13:06:43 UTC (rev 4878)
+++ csw/mgar/pkg/php5/trunk/extensions/php5_pdopgsql/Makefile 2009-05-15 14:11:26 UTC (rev 4879)
@@ -15,7 +15,7 @@
define CSWphp5pdopgsql_postinstall
#!/bin/sh
-PHP_INI=/opt/csw/lib/php.ini
+PHP_INI=${PKG_INSTALL_ROOT}_PHPINIFILE_
echo "[===> Running Post Install <===]"
echo " ===> Enabling pdo_pgsql extension"
@@ -58,7 +58,7 @@
define CSWphp5pdopgsql_preremove
#!/bin/sh
-PHP_INI=/opt/csw/lib/php.ini
+PHP_INI=${PKG_INSTALL_ROOT}_PHPINIFILE_
echo "[===> Running Pre Remove <===]"
echo " ===> Disabling pdo_pgsql extension"
Modified: csw/mgar/pkg/php5/trunk/extensions/php5_pdosqlite/Makefile
===================================================================
--- csw/mgar/pkg/php5/trunk/extensions/php5_pdosqlite/Makefile 2009-05-15 13:06:43 UTC (rev 4878)
+++ csw/mgar/pkg/php5/trunk/extensions/php5_pdosqlite/Makefile 2009-05-15 14:11:26 UTC (rev 4879)
@@ -13,7 +13,7 @@
define CSWphp5pdosqlite_postinstall
#!/bin/sh
-PHP_INI=/opt/csw/lib/php.ini
+PHP_INI=${PKG_INSTALL_ROOT}_PHPINIFILE_
echo "[===> Running Post Install <===]"
echo " ===> Enabling pdo_sqlite extension"
@@ -56,7 +56,7 @@
define CSWphp5pdosqlite_preremove
#!/bin/sh
-PHP_INI=/opt/csw/lib/php.ini
+PHP_INI=${PKG_INSTALL_ROOT}_PHPINIFILE_
echo "[===> Running Pre Remove <===]"
echo " ===> Disabling pdo_sqlite extension"
Modified: csw/mgar/pkg/php5/trunk/extensions/php5_pgsql/Makefile
===================================================================
--- csw/mgar/pkg/php5/trunk/extensions/php5_pgsql/Makefile 2009-05-15 13:06:43 UTC (rev 4878)
+++ csw/mgar/pkg/php5/trunk/extensions/php5_pgsql/Makefile 2009-05-15 14:11:26 UTC (rev 4879)
@@ -15,7 +15,7 @@
define CSWphp5pgsql_postinstall
#!/bin/sh
-PHP_INI=/opt/csw/lib/php.ini
+PHP_INI=${PKG_INSTALL_ROOT}_PHPINIFILE_
echo "[===> Running Post Install <===]"
echo " ===> Enabling pgsql extension"
@@ -58,7 +58,7 @@
define CSWphp5pgsql_preremove
#!/bin/sh
-PHP_INI=/opt/csw/lib/php.ini
+PHP_INI=${PKG_INSTALL_ROOT}_PHPINIFILE_
echo "[===> Running Pre Remove <===]"
echo " ===> Disabling pgsql extension"
Modified: csw/mgar/pkg/php5/trunk/extensions/php5_posix/Makefile
===================================================================
--- csw/mgar/pkg/php5/trunk/extensions/php5_posix/Makefile 2009-05-15 13:06:43 UTC (rev 4878)
+++ csw/mgar/pkg/php5/trunk/extensions/php5_posix/Makefile 2009-05-15 14:11:26 UTC (rev 4879)
@@ -13,7 +13,7 @@
define CSWphp5posix_postinstall
#!/bin/sh
-PHP_INI=/opt/csw/lib/php.ini
+PHP_INI=${PKG_INSTALL_ROOT}_PHPINIFILE_
echo "[===> Running Post Install <===]"
echo " ===> Enabling posix extension"
@@ -56,7 +56,7 @@
define CSWphp5posix_preremove
#!/bin/sh
-PHP_INI=/opt/csw/lib/php.ini
+PHP_INI=${PKG_INSTALL_ROOT}_PHPINIFILE_
echo "[===> Running Pre Remove <===]"
echo " ===> Disabling posix extension"
Modified: csw/mgar/pkg/php5/trunk/extensions/php5_pspell/Makefile
===================================================================
--- csw/mgar/pkg/php5/trunk/extensions/php5_pspell/Makefile 2009-05-15 13:06:43 UTC (rev 4878)
+++ csw/mgar/pkg/php5/trunk/extensions/php5_pspell/Makefile 2009-05-15 14:11:26 UTC (rev 4879)
@@ -13,7 +13,7 @@
define CSWphp5pspell_postinstall
#!/bin/sh
-PHP_INI=/opt/csw/lib/php.ini
+PHP_INI=${PKG_INSTALL_ROOT}_PHPINIFILE_
echo "[===> Running Post Install <===]"
echo " ===> Enabling pspell extension"
@@ -56,7 +56,7 @@
define CSWphp5pspell_preremove
#!/bin/sh
-PHP_INI=/opt/csw/lib/php.ini
+PHP_INI=${PKG_INSTALL_ROOT}_PHPINIFILE_
echo "[===> Running Pre Remove <===]"
echo " ===> Disabling pspell extension"
Modified: csw/mgar/pkg/php5/trunk/extensions/php5_readline/Makefile
===================================================================
--- csw/mgar/pkg/php5/trunk/extensions/php5_readline/Makefile 2009-05-15 13:06:43 UTC (rev 4878)
+++ csw/mgar/pkg/php5/trunk/extensions/php5_readline/Makefile 2009-05-15 14:11:26 UTC (rev 4879)
@@ -14,7 +14,7 @@
define CSWphp5readline_postinstall
#!/bin/sh
-PHP_INI=/opt/csw/lib/php.ini
+PHP_INI=${PKG_INSTALL_ROOT}_PHPINIFILE_
echo "[===> Running Post Install <===]"
echo " ===> Enabling readline extension"
@@ -57,7 +57,7 @@
define CSWphp5readline_preremove
#!/bin/sh
-PHP_INI=/opt/csw/lib/php.ini
+PHP_INI=${PKG_INSTALL_ROOT}_PHPINIFILE_
echo "[===> Running Pre Remove <===]"
echo " ===> Disabling readline extension"
Modified: csw/mgar/pkg/php5/trunk/extensions/php5_session/Makefile
===================================================================
--- csw/mgar/pkg/php5/trunk/extensions/php5_session/Makefile 2009-05-15 13:06:43 UTC (rev 4878)
+++ csw/mgar/pkg/php5/trunk/extensions/php5_session/Makefile 2009-05-15 14:11:26 UTC (rev 4879)
@@ -13,7 +13,7 @@
define CSWphp5session_postinstall
#!/bin/sh
-PHP_INI=/opt/csw/lib/php.ini
+PHP_INI=${PKG_INSTALL_ROOT}_PHPINIFILE_
echo "[===> Running Post Install <===]"
echo " ===> Enabling session extension"
@@ -56,7 +56,7 @@
define CSWphp5session_preremove
#!/bin/sh
-PHP_INI=/opt/csw/lib/php.ini
+PHP_INI=${PKG_INSTALL_ROOT}_PHPINIFILE_
echo "[===> Running Pre Remove <===]"
echo " ===> Disabling session extension"
Modified: csw/mgar/pkg/php5/trunk/extensions/php5_shmop/Makefile
===================================================================
--- csw/mgar/pkg/php5/trunk/extensions/php5_shmop/Makefile 2009-05-15 13:06:43 UTC (rev 4878)
+++ csw/mgar/pkg/php5/trunk/extensions/php5_shmop/Makefile 2009-05-15 14:11:26 UTC (rev 4879)
@@ -13,7 +13,7 @@
define CSWphp5shmop_postinstall
#!/bin/sh
-PHP_INI=/opt/csw/lib/php.ini
+PHP_INI=${PKG_INSTALL_ROOT}_PHPINIFILE_
echo "[===> Running Post Install <===]"
echo " ===> Enabling shmop extension"
@@ -56,7 +56,7 @@
define CSWphp5shmop_preremove
#!/bin/sh
-PHP_INI=/opt/csw/lib/php.ini
+PHP_INI=${PKG_INSTALL_ROOT}_PHPINIFILE_
echo "[===> Running Pre Remove <===]"
echo " ===> Disabling shmop extension"
Modified: csw/mgar/pkg/php5/trunk/extensions/php5_simplexml/Makefile
===================================================================
--- csw/mgar/pkg/php5/trunk/extensions/php5_simplexml/Makefile 2009-05-15 13:06:43 UTC (rev 4878)
+++ csw/mgar/pkg/php5/trunk/extensions/php5_simplexml/Makefile 2009-05-15 14:11:26 UTC (rev 4879)
@@ -9,7 +9,7 @@
define CSWphp5simplexml_postinstall
#!/bin/sh
-PHP_INI=/opt/csw/lib/php.ini
+PHP_INI=${PKG_INSTALL_ROOT}_PHPINIFILE_
echo "[===> Running Post Install <===]"
echo " ===> Enabling simplexml extension"
@@ -52,7 +52,7 @@
define CSWphp5simplexml_preremove
#!/bin/sh
-PHP_INI=/opt/csw/lib/php.ini
+PHP_INI=${PKG_INSTALL_ROOT}_PHPINIFILE_
echo "[===> Running Pre Remove <===]"
echo " ===> Disabling simplexml extension"
Modified: csw/mgar/pkg/php5/trunk/extensions/php5_snmp/Makefile
===================================================================
--- csw/mgar/pkg/php5/trunk/extensions/php5_snmp/Makefile 2009-05-15 13:06:43 UTC (rev 4878)
+++ csw/mgar/pkg/php5/trunk/extensions/php5_snmp/Makefile 2009-05-15 14:11:26 UTC (rev 4879)
@@ -13,7 +13,7 @@
define CSWphp5snmp_postinstall
#!/bin/sh
-PHP_INI=/opt/csw/lib/php.ini
+PHP_INI=${PKG_INSTALL_ROOT}_PHPINIFILE_
echo "[===> Running Post Install <===]"
echo " ===> Enabling snmp extension"
@@ -56,7 +56,7 @@
define CSWphp5snmp_preremove
#!/bin/sh
-PHP_INI=/opt/csw/lib/php.ini
+PHP_INI=${PKG_INSTALL_ROOT}_PHPINIFILE_
echo "[===> Running Pre Remove <===]"
echo " ===> Disabling snmp extension"
Modified: csw/mgar/pkg/php5/trunk/extensions/php5_soap/Makefile
===================================================================
--- csw/mgar/pkg/php5/trunk/extensions/php5_soap/Makefile 2009-05-15 13:06:43 UTC (rev 4878)
+++ csw/mgar/pkg/php5/trunk/extensions/php5_soap/Makefile 2009-05-15 14:11:26 UTC (rev 4879)
@@ -14,7 +14,7 @@
define CSWphp5soap_postinstall
#!/bin/sh
-PHP_INI=/opt/csw/lib/php.ini
+PHP_INI=${PKG_INSTALL_ROOT}_PHPINIFILE_
echo "[===> Running Post Install <===]"
echo " ===> Enabling soap extension"
@@ -57,7 +57,7 @@
define CSWphp5soap_preremove
#!/bin/sh
-PHP_INI=/opt/csw/lib/php.ini
+PHP_INI=${PKG_INSTALL_ROOT}_PHPINIFILE_
echo "[===> Running Pre Remove <===]"
echo " ===> Disabling soap extension"
Modified: csw/mgar/pkg/php5/trunk/extensions/php5_sockets/Makefile
===================================================================
--- csw/mgar/pkg/php5/trunk/extensions/php5_sockets/Makefile 2009-05-15 13:06:43 UTC (rev 4878)
+++ csw/mgar/pkg/php5/trunk/extensions/php5_sockets/Makefile 2009-05-15 14:11:26 UTC (rev 4879)
@@ -13,7 +13,7 @@
define CSWphp5sockets_postinstall
#!/bin/sh
-PHP_INI=/opt/csw/lib/php.ini
+PHP_INI=${PKG_INSTALL_ROOT}_PHPINIFILE_
echo "[===> Running Post Install <===]"
echo " ===> Enabling sockets extension"
@@ -56,7 +56,7 @@
define CSWphp5sockets_preremove
#!/bin/sh
-PHP_INI=/opt/csw/lib/php.ini
+PHP_INI=${PKG_INSTALL_ROOT}_PHPINIFILE_
echo "[===> Running Pre Remove <===]"
echo " ===> Disabling sockets extension"
Modified: csw/mgar/pkg/php5/trunk/extensions/php5_sqlite/Makefile
===================================================================
--- csw/mgar/pkg/php5/trunk/extensions/php5_sqlite/Makefile 2009-05-15 13:06:43 UTC (rev 4878)
+++ csw/mgar/pkg/php5/trunk/extensions/php5_sqlite/Makefile 2009-05-15 14:11:26 UTC (rev 4879)
@@ -14,7 +14,7 @@
define CSWphp5sqlite_postinstall
#!/bin/sh
-PHP_INI=/opt/csw/lib/php.ini
+PHP_INI=${PKG_INSTALL_ROOT}_PHPINIFILE_
echo "[===> Running Post Install <===]"
echo " ===> Enabling sqlite extension"
@@ -57,7 +57,7 @@
define CSWphp5sqlite_preremove
#!/bin/sh
-PHP_INI=/opt/csw/lib/php.ini
+PHP_INI=${PKG_INSTALL_ROOT}_PHPINIFILE_
echo "[===> Running Pre Remove <===]"
echo " ===> Disabling sqlite extension"
Modified: csw/mgar/pkg/php5/trunk/extensions/php5_sysvmsg/Makefile
===================================================================
--- csw/mgar/pkg/php5/trunk/extensions/php5_sysvmsg/Makefile 2009-05-15 13:06:43 UTC (rev 4878)
+++ csw/mgar/pkg/php5/trunk/extensions/php5_sysvmsg/Makefile 2009-05-15 14:11:26 UTC (rev 4879)
@@ -13,7 +13,7 @@
define CSWphp5sysvmsg_postinstall
#!/bin/sh
-PHP_INI=/opt/csw/lib/php.ini
+PHP_INI=${PKG_INSTALL_ROOT}_PHPINIFILE_
echo "[===> Running Post Install <===]"
echo " ===> Enabling sysvmsg extension"
@@ -56,7 +56,7 @@
define CSWphp5sysvmsg_preremove
#!/bin/sh
-PHP_INI=/opt/csw/lib/php.ini
+PHP_INI=${PKG_INSTALL_ROOT}_PHPINIFILE_
echo "[===> Running Pre Remove <===]"
echo " ===> Disabling sysvmsg extension"
Modified: csw/mgar/pkg/php5/trunk/extensions/php5_sysvsem/Makefile
===================================================================
--- csw/mgar/pkg/php5/trunk/extensions/php5_sysvsem/Makefile 2009-05-15 13:06:43 UTC (rev 4878)
+++ csw/mgar/pkg/php5/trunk/extensions/php5_sysvsem/Makefile 2009-05-15 14:11:26 UTC (rev 4879)
@@ -13,7 +13,7 @@
define CSWphp5sysvsem_postinstall
#!/bin/sh
-PHP_INI=/opt/csw/lib/php.ini
+PHP_INI=${PKG_INSTALL_ROOT}_PHPINIFILE_
echo "[===> Running Post Install <===]"
echo " ===> Enabling sysvsem extension"
@@ -56,7 +56,7 @@
define CSWphp5sysvsem_preremove
#!/bin/sh
-PHP_INI=/opt/csw/lib/php.ini
+PHP_INI=${PKG_INSTALL_ROOT}_PHPINIFILE_
echo "[===> Running Pre Remove <===]"
echo " ===> Disabling sysvsem extension"
Modified: csw/mgar/pkg/php5/trunk/extensions/php5_sysvshm/Makefile
===================================================================
--- csw/mgar/pkg/php5/trunk/extensions/php5_sysvshm/Makefile 2009-05-15 13:06:43 UTC (rev 4878)
+++ csw/mgar/pkg/php5/trunk/extensions/php5_sysvshm/Makefile 2009-05-15 14:11:26 UTC (rev 4879)
@@ -13,7 +13,7 @@
define CSWphp5sysvshm_postinstall
#!/bin/sh
-PHP_INI=/opt/csw/lib/php.ini
+PHP_INI=${PKG_INSTALL_ROOT}_PHPINIFILE_
echo "[===> Running Post Install <===]"
echo " ===> Enabling sysvshm extension"
@@ -56,7 +56,7 @@
define CSWphp5sysvshm_preremove
#!/bin/sh
-PHP_INI=/opt/csw/lib/php.ini
+PHP_INI=${PKG_INSTALL_ROOT}_PHPINIFILE_
echo "[===> Running Pre Remove <===]"
echo " ===> Disabling sysvshm extension"
Modified: csw/mgar/pkg/php5/trunk/extensions/php5_tidy/Makefile
===================================================================
--- csw/mgar/pkg/php5/trunk/extensions/php5_tidy/Makefile 2009-05-15 13:06:43 UTC (rev 4878)
+++ csw/mgar/pkg/php5/trunk/extensions/php5_tidy/Makefile 2009-05-15 14:11:26 UTC (rev 4879)
@@ -13,7 +13,7 @@
define CSWphp5tidy_postinstall
#!/bin/sh
-PHP_INI=/opt/csw/lib/php.ini
+PHP_INI=${PKG_INSTALL_ROOT}_PHPINIFILE_
echo "[===> Running Post Install <===]"
echo " ===> Enabling tidy extension"
@@ -56,7 +56,7 @@
define CSWphp5tidy_preremove
#!/bin/sh
-PHP_INI=/opt/csw/lib/php.ini
+PHP_INI=${PKG_INSTALL_ROOT}_PHPINIFILE_
echo "[===> Running Pre Remove <===]"
echo " ===> Disabling tidy extension"
Modified: csw/mgar/pkg/php5/trunk/extensions/php5_tokenizer/Makefile
===================================================================
--- csw/mgar/pkg/php5/trunk/extensions/php5_tokenizer/Makefile 2009-05-15 13:06:43 UTC (rev 4878)
+++ csw/mgar/pkg/php5/trunk/extensions/php5_tokenizer/Makefile 2009-05-15 14:11:26 UTC (rev 4879)
@@ -13,7 +13,7 @@
define CSWphp5tokenizer_postinstall
#!/bin/sh
-PHP_INI=/opt/csw/lib/php.ini
+PHP_INI=${PKG_INSTALL_ROOT}_PHPINIFILE_
echo "[===> Running Post Install <===]"
echo " ===> Enabling tokenizer extension"
@@ -56,7 +56,7 @@
define CSWphp5tokenizer_preremove
#!/bin/sh
-PHP_INI=/opt/csw/lib/php.ini
+PHP_INI=${PKG_INSTALL_ROOT}_PHPINIFILE_
echo "[===> Running Pre Remove <===]"
echo " ===> Disabling tokenizer extension"
Modified: csw/mgar/pkg/php5/trunk/extensions/php5_wddx/Makefile
===================================================================
--- csw/mgar/pkg/php5/trunk/extensions/php5_wddx/Makefile 2009-05-15 13:06:43 UTC (rev 4878)
+++ csw/mgar/pkg/php5/trunk/extensions/php5_wddx/Makefile 2009-05-15 14:11:26 UTC (rev 4879)
@@ -15,7 +15,7 @@
define CSWphp5wddx_postinstall
#!/bin/sh
-PHP_INI=/opt/csw/lib/php.ini
+PHP_INI=${PKG_INSTALL_ROOT}_PHPINIFILE_
echo "[===> Running Post Install <===]"
echo " ===> Enabling wddx extension"
@@ -58,7 +58,7 @@
define CSWphp5wddx_preremove
#!/bin/sh
-PHP_INI=/opt/csw/lib/php.ini
+PHP_INI=${PKG_INSTALL_ROOT}_PHPINIFILE_
echo "[===> Running Pre Remove <===]"
echo " ===> Disabling wddx extension"
Modified: csw/mgar/pkg/php5/trunk/extensions/php5_xml/Makefile
===================================================================
--- csw/mgar/pkg/php5/trunk/extensions/php5_xml/Makefile 2009-05-15 13:06:43 UTC (rev 4878)
+++ csw/mgar/pkg/php5/trunk/extensions/php5_xml/Makefile 2009-05-15 14:11:26 UTC (rev 4879)
@@ -7,7 +7,7 @@
define CSWphp5xml_postinstall
#!/bin/sh
-PHP_INI=/opt/csw/lib/php.ini
+PHP_INI=${PKG_INSTALL_ROOT}_PHPINIFILE_
echo "[===> Running Post Install <===]"
echo " ===> Enabling xml extension"
@@ -50,7 +50,7 @@
define CSWphp5xml_preremove
#!/bin/sh
-PHP_INI=/opt/csw/lib/php.ini
+PHP_INI=${PKG_INSTALL_ROOT}_PHPINIFILE_
echo "[===> Running Pre Remove <===]"
echo " ===> Disabling xml extension"
Modified: csw/mgar/pkg/php5/trunk/extensions/php5_xmlreader/Makefile
===================================================================
--- csw/mgar/pkg/php5/trunk/extensions/php5_xmlreader/Makefile 2009-05-15 13:06:43 UTC (rev 4878)
+++ csw/mgar/pkg/php5/trunk/extensions/php5_xmlreader/Makefile 2009-05-15 14:11:26 UTC (rev 4879)
@@ -14,7 +14,7 @@
define CSWphp5xmlreader_postinstall
#!/bin/sh
-PHP_INI=/opt/csw/lib/php.ini
+PHP_INI=${PKG_INSTALL_ROOT}_PHPINIFILE_
echo "[===> Running Post Install <===]"
echo " ===> Enabling xmlreader extension"
@@ -57,7 +57,7 @@
define CSWphp5xmlreader_preremove
#!/bin/sh
-PHP_INI=/opt/csw/lib/php.ini
+PHP_INI=${PKG_INSTALL_ROOT}_PHPINIFILE_
echo "[===> Running Pre Remove <===]"
echo " ===> Disabling xmlreader extension"
Modified: csw/mgar/pkg/php5/trunk/extensions/php5_xmlrpc/Makefile
===================================================================
--- csw/mgar/pkg/php5/trunk/extensions/php5_xmlrpc/Makefile 2009-05-15 13:06:43 UTC (rev 4878)
+++ csw/mgar/pkg/php5/trunk/extensions/php5_xmlrpc/Makefile 2009-05-15 14:11:26 UTC (rev 4879)
@@ -16,7 +16,7 @@
define CSWphp5xmlrpc_postinstall
#!/bin/sh
-PHP_INI=/opt/csw/lib/php.ini
+PHP_INI=${PKG_INSTALL_ROOT}_PHPINIFILE_
echo "[===> Running Post Install <===]"
echo " ===> Enabling xmlrpc extension"
@@ -59,7 +59,7 @@
define CSWphp5xmlrpc_preremove
#!/bin/sh
-PHP_INI=/opt/csw/lib/php.ini
+PHP_INI=${PKG_INSTALL_ROOT}_PHPINIFILE_
echo "[===> Running Pre Remove <===]"
echo " ===> Disabling xmlrpc extension"
Modified: csw/mgar/pkg/php5/trunk/extensions/php5_xmlwriter/Makefile
===================================================================
--- csw/mgar/pkg/php5/trunk/extensions/php5_xmlwriter/Makefile 2009-05-15 13:06:43 UTC (rev 4878)
+++ csw/mgar/pkg/php5/trunk/extensions/php5_xmlwriter/Makefile 2009-05-15 14:11:26 UTC (rev 4879)
@@ -14,7 +14,7 @@
define CSWphp5xmlwriter_postinstall
#!/bin/sh
-PHP_INI=/opt/csw/lib/php.ini
+PHP_INI=${PKG_INSTALL_ROOT}_PHPINIFILE_
echo "[===> Running Post Install <===]"
echo " ===> Enabling xmlwriter extension"
@@ -57,7 +57,7 @@
define CSWphp5xmlwriter_preremove
#!/bin/sh
-PHP_INI=/opt/csw/lib/php.ini
+PHP_INI=${PKG_INSTALL_ROOT}_PHPINIFILE_
echo "[===> Running Pre Remove <===]"
echo " ===> Disabling xmlwriter extension"
Modified: csw/mgar/pkg/php5/trunk/extensions/php5_xsl/Makefile
===================================================================
--- csw/mgar/pkg/php5/trunk/extensions/php5_xsl/Makefile 2009-05-15 13:06:43 UTC (rev 4878)
+++ csw/mgar/pkg/php5/trunk/extensions/php5_xsl/Makefile 2009-05-15 14:11:26 UTC (rev 4879)
@@ -14,7 +14,7 @@
define CSWphp5xsl_postinstall
#!/bin/sh
-PHP_INI=/opt/csw/lib/php.ini
+PHP_INI=${PKG_INSTALL_ROOT}_PHPINIFILE_
echo "[===> Running Post Install <===]"
echo " ===> Enabling xsl extension"
@@ -57,7 +57,7 @@
define CSWphp5xsl_preremove
#!/bin/sh
-PHP_INI=/opt/csw/lib/php.ini
+PHP_INI=${PKG_INSTALL_ROOT}_PHPINIFILE_
echo "[===> Running Pre Remove <===]"
echo " ===> Disabling xsl extension"
Modified: csw/mgar/pkg/php5/trunk/extensions/php5_zip/Makefile
===================================================================
--- csw/mgar/pkg/php5/trunk/extensions/php5_zip/Makefile 2009-05-15 13:06:43 UTC (rev 4878)
+++ csw/mgar/pkg/php5/trunk/extensions/php5_zip/Makefile 2009-05-15 14:11:26 UTC (rev 4879)
@@ -14,7 +14,7 @@
define CSWphp5zip_postinstall
#!/bin/sh
-PHP_INI=/opt/csw/lib/php.ini
+PHP_INI=${PKG_INSTALL_ROOT}_PHPINIFILE_
echo "[===> Running Post Install <===]"
echo " ===> Enabling zip extension"
@@ -57,7 +57,7 @@
define CSWphp5zip_preremove
#!/bin/sh
-PHP_INI=/opt/csw/lib/php.ini
+PHP_INI=${PKG_INSTALL_ROOT}_PHPINIFILE_
echo "[===> Running Pre Remove <===]"
echo " ===> Disabling zip extension"
Modified: csw/mgar/pkg/php5/trunk/extensions/php5_zlib/Makefile
===================================================================
--- csw/mgar/pkg/php5/trunk/extensions/php5_zlib/Makefile 2009-05-15 13:06:43 UTC (rev 4878)
+++ csw/mgar/pkg/php5/trunk/extensions/php5_zlib/Makefile 2009-05-15 14:11:26 UTC (rev 4879)
@@ -6,7 +6,7 @@
define CSWphp5zlib_postinstall
#!/bin/sh
-PHP_INI=/opt/csw/lib/php.ini
+PHP_INI=${PKG_INSTALL_ROOT}_PHPINIFILE_
echo "[===> Running Post Install <===]"
echo " ===> Enabling zlib extension"
@@ -49,7 +49,7 @@
define CSWphp5zlib_preremove
#!/bin/sh
-PHP_INI=/opt/csw/lib/php.ini
+PHP_INI=${PKG_INSTALL_ROOT}_PHPINIFILE_
echo "[===> Running Pre Remove <===]"
echo " ===> Disabling zlib extension"
Modified: csw/mgar/pkg/php5/trunk/files/CSWphp5.postinstall
===================================================================
--- csw/mgar/pkg/php5/trunk/files/CSWphp5.postinstall 2009-05-15 13:06:43 UTC (rev 4878)
+++ csw/mgar/pkg/php5/trunk/files/CSWphp5.postinstall 2009-05-15 14:11:26 UTC (rev 4879)
@@ -1,15 +1,14 @@
#!/bin/sh
PATH=/bin:/usr/bin:/opt/csw/bin:/sbin:/usr/sbin:/opt/csw/sbin
-PKG_INSTALL_ROOT=${PKG_INSTALL_ROOT:-'/'}
-PHP_LIB=$PKG_INSTALL_ROOT/opt/csw/lib
-PHP_BIN=$PKG_INSTALL_ROOT/opt/csw/bin
-PHP_INI=$PHP_LIB/php.ini
+PHP_LIB=${PKG_INSTALL_ROOT}_PHPLIBDIR_
+PHP_BIN=${PKG_INSTALL_ROOT}_PHPBINDIR_
+PHP_INI=${PKG_INSTALL_ROOT}_PHPINIFILE_
if [ ! -f $PHP_INI ]; then
cp -p $PHP_INI.CSW $PHP_INI
else
- echo "php.ini already exists"
+ echo "$PHP_INI already exists"
extdir_ext=`${PHP_BIN}/php -i |grep 'PHP Extension' |awk '{print $NF}'`
extdir="${PHP_LIB}/php/extensions/no-debug-non-zts-${extdir_ext}"
@@ -33,7 +32,7 @@
cat << _EOT_
******************************************************************************
-* NOTICE: The existing php.ini file is from an older version of PHP5.
+* NOTICE: The existing $PHP_INI file is from an older version of PHP5.
*
* ************* PLEASE READ *************
*
@@ -121,7 +120,7 @@
******************************************************************************
* WARNING: Short open tag support in this release of CSWphp5 is DISABLED by
* default. If you rely on short open tag (<? vs <?php) behavior, set
-* short_open_tag to On in php.ini right away.
+* short_open_tag to On in $PHP_INI right away.
******************************************************************************
_EOT_
fi
Modified: csw/mgar/pkg/php5/trunk/files/CSWphp5_ext_disable.sh
===================================================================
--- csw/mgar/pkg/php5/trunk/files/CSWphp5_ext_disable.sh 2009-05-15 13:06:43 UTC (rev 4878)
+++ csw/mgar/pkg/php5/trunk/files/CSWphp5_ext_disable.sh 2009-05-15 14:11:26 UTC (rev 4879)
@@ -1,12 +1,8 @@
#!/bin/sh
-CSW_PREFIX=/opt/csw
-if [ -n "$PKG_INSTALL_ROOT" ]; then
- CSW_PREFIX=${PKG_INSTALL_ROOT}${CSW_PREFIX}
-fi
-
-PHP_INI=$CSW_PREFIX/lib/php.ini
-PHP_BIN=$CSW_PREFIX/bin
+PHP_INI=${PKG_INSTALL_ROOT}_PHPINIFILE_
+PHP_LIB=${PKG_INSTALL_ROOT}_PHPLIBDIR_
+PHP_BIN=${PKG_INSTALL_ROOT}_PHPBINDIR_
PHP_EXTMGR=$PHP_BIN/phpext
if [ -z "$PHPEXT" ]; then
Modified: csw/mgar/pkg/php5/trunk/files/CSWphp5_ext_enable.sh
===================================================================
--- csw/mgar/pkg/php5/trunk/files/CSWphp5_ext_enable.sh 2009-05-15 13:06:43 UTC (rev 4878)
+++ csw/mgar/pkg/php5/trunk/files/CSWphp5_ext_enable.sh 2009-05-15 14:11:26 UTC (rev 4879)
@@ -1,12 +1,8 @@
#!/bin/sh
-CSW_PREFIX=/opt/csw
-if [ -n "$PKG_INSTALL_ROOT" ]; then
- CSW_PREFIX=${PKG_INSTALL_ROOT}${CSW_PREFIX}
-fi
-
-PHP_INI=$CSW_PREFIX/lib/php.ini
-PHP_BIN=$CSW_PREFIX/bin
+PHP_INI=${PKG_INSTALL_ROOT}_PHPINIFILE_
+PHP_LIB=${PKG_INSTALL_ROOT}_PHPLIBFILE_
+PHP_BIN=${PKG_INSTALL_ROOT}_PHPBINFILE_
PHP_EXTMGR=$PHP_BIN/phpext
if [ -z "$PHPEXT" ]; then
Modified: csw/mgar/pkg/php5/trunk/files/phpext
===================================================================
--- csw/mgar/pkg/php5/trunk/files/phpext 2009-05-15 13:06:43 UTC (rev 4878)
+++ csw/mgar/pkg/php5/trunk/files/phpext 2009-05-15 14:11:26 UTC (rev 4879)
@@ -6,7 +6,7 @@
program=${0##*/}
# Default path to php.ini
-php_ini=/opt/csw/php5/lib/php.ini
+php_ini=_PHPINIFILE_
# Usage printer
function do_usage {
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the devel
mailing list