Update of /cvsroot/fink/dists/10.4/unstable/main/finkinfo/languages In directory sc8-pr-cvs5.sourceforge.net:/tmp/cvs-serv8969
Modified Files: php4.info php5.info Log Message: auto enable and disable in the postinst and prerm scripts Index: php4.info =================================================================== RCS file: /cvsroot/fink/dists/10.4/unstable/main/finkinfo/languages/php4.info,v retrieving revision 1.1 retrieving revision 1.2 diff -u -d -r1.1 -r1.2 --- php4.info 24 Jun 2006 00:00:56 -0000 1.1 +++ php4.info 24 Jun 2006 00:10:48 -0000 1.2 @@ -1,6 +1,6 @@ Package: php4 Version: 4.4.2 -Revision: 10 +Revision: 11 ### BuildDepends: aprutil-dev, apr-dev (>= 0.9.12-10), libtool14, libgettext3-dev, libiconv-dev, gd2, mysql15-dev, postgresql80-unified-dev, libcurl3-unified, expat, libmhash, libmcve, libmcrypt, libxml2 (>= 2.6.1-1), libxslt (>= 1.1.0-1), openldap23-dev, libsablot-dev, ming, t1lib5, pcre, libpng3, apache2-dev (>= 2.0.58-10), unixodbc2 | unixodbc2-nox, gdbm3, net-snmp-ssl-dev, db44-aes, libtiff, pdflib, system-java15-dev, recode-dev, gmp, mnogosearch1-dev, uw-imap-c-client (>= 2004e-10), libjpeg, cyrus-sasl2-dev, system-openssl-dev Replaces: php4-apache2-ssl @@ -261,6 +261,30 @@ The most significant change between php3 and php4 is the new parser engine called Zend, which boosts performance quite impressively. << + PostInstScript: << +set -e + +if [ "$1" != "configure" ]; then + exit 0 +fi + +if [ "$2" = "<unknown>" -o -z "$2" ]; then + %p/sbin/a2enmod php4 + %p/sbin/apache2ctl restart +fi + +exit 0 + << + PreRmScript: << +set -e + +if [ "$1" = "remove" -o "$1" = "purge" ]; then + %p/sbin/a2dismod php4 + %p/sbin/apache2ctl restart +fi + +exit 0 + << << SplitOff2: << Package: %N-cgi Index: php5.info =================================================================== RCS file: /cvsroot/fink/dists/10.4/unstable/main/finkinfo/languages/php5.info,v retrieving revision 1.11 retrieving revision 1.12 diff -u -d -r1.11 -r1.12 --- php5.info 23 Jun 2006 22:52:01 -0000 1.11 +++ php5.info 24 Jun 2006 00:10:48 -0000 1.12 @@ -1,6 +1,6 @@ Package: php5 Version: 5.1.4 -Revision: 12 +Revision: 13 ### BuildDepends: aprutil-dev, apr-dev (>= 0.9.12-10), libtool14, libgettext3-dev, libiconv-dev, gd2, mysql15-dev, sqlite-dev, postgresql80-unified-dev (>= 8.0.6-1026), libcurl3-unified, expat, libmhash (>= 0.8.18-2), libmcrypt, libxml2, libxslt, openldap23-dev (>= 2.3.11-1002), ming, t1lib5, libpng3, apache2-dev (>= 2.0.58-10), unixodbc2 (>= 2.2.11-1010) | unixodbc2-nox (>= 2.2.11-1010), gdbm3, net-snmp-ssl (>= 5.0.7-2), net-snmp-ssl-dev (>= 5.0.7-2), db44-aes, libtiff, x11-dev, gmp (>= 4.1.4-1), libmpfr1, uw-imap-c-client (>= 2004e-10), libjpeg, cyrus-sasl2-dev, system-openssl-dev Replaces: php5-apache2-ssl @@ -230,7 +230,6 @@ mv %i/bin/peardev %i/bin/pear5dev mv %i/etc/pear.conf %i/etc/pear5.conf - install -m 755 ext/ext_skel %i/bin/ext_skel5 install -m 755 cgi-build/php5 %i/bin/php5 mkdir -p %i/lib/cgi-bin install -m 755 cgi-build/php5.cgi %i/lib/cgi-bin/php5 @@ -281,6 +280,30 @@ The most significant change between php3 and php5 is the new parser engine called Zend, which boosts performance quite impressively. << + PostInstScript: << +set -e + +if [ "$1" != "configure" ]; then + exit 0 +fi + +if [ "$2" = "<unknown>" -o -z "$2" ]; then + %p/sbin/a2enmod php5 + %p/sbin/apache2ctl restart +fi + +exit 0 + << + PreRmScript: << +set -e + +if [ "$1" = "remove" -o "$1" = "purge" ]; then + %p/sbin/a2dismod php5 + %p/sbin/apache2ctl restart +fi + +exit 0 + << << SplitOff2: << Package: %N-cgi @@ -334,7 +357,6 @@ Package: %N-dev Replaces: php5-apache2-ssl-dev Files: << - bin/ext_skel5 bin/php-config5 bin/phpize5 include Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Fink-commits mailing list Fink-commits@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/fink-commits