Skip to Content.
Sympa Menu

sm-commit - [SM-Commit] GIT changes to master grimoire by George Sherwood (b149bf0d503edc556a16f2168ca4f761be378cf7)

sm-commit AT lists.ibiblio.org

Subject: Source Mage code commit list

List archive

Chronological Thread  
  • From: George Sherwood <scm AT sourcemage.org>
  • To: sm-commit AT lists.ibiblio.org
  • Subject: [SM-Commit] GIT changes to master grimoire by George Sherwood (b149bf0d503edc556a16f2168ca4f761be378cf7)
  • Date: Sun, 10 Jun 2007 01:31:03 -0500

GIT changes to master grimoire by George Sherwood <gsherwood AT sourcemage.org>:

php-pear/php-dev/BUILD | 135 +++++++++++++--------
php-pear/php-dev/CONFIGURE | 67 +++++-----
php-pear/php-dev/DEPENDS | 264
+++++++++++++++++++++++++------------------
php-pear/php-dev/DETAILS | 16 +-
php-pear/php-dev/FINAL | 19 ---
php-pear/php-dev/HISTORY | 11 +
php-pear/php-dev/INSTALL | 3
php-pear/php-dev/POST_REMOVE | 33 ++---
php-pear/php-dev/PREPARE | 8 +
php-pear/php-dev/PRE_REMOVE | 5
php-pear/php-dev/TRIGGERS | 1
11 files changed, 326 insertions(+), 236 deletions(-)

New commits:
commit b149bf0d503edc556a16f2168ca4f761be378cf7
Author: George Sherwood <gsherwood AT sourcemage.org>
Commit: George Sherwood <gsherwood AT sourcemage.org>

php-dev: Complete update to use snapshots vice pulling from cvs.
Our flex version will not allow files to be generated properly
from cvs version. Requires flex 2.5.4
Thanks to Jaka for writing the function code.

diff --git a/php-pear/php-dev/BUILD b/php-pear/php-dev/BUILD
index 672fe78..17456be 100755
--- a/php-pear/php-dev/BUILD
+++ b/php-pear/php-dev/BUILD
@@ -1,56 +1,85 @@
-(
- if `httpd -v | grep -q "Apache/2\."`; then
- message "${MESSAGE_COLOR}Configuring for Apache 2.x${DEFAULT_COLOR}" &&
- OPTS="$OPTS --with-apxs2"
- else
- message "${MESSAGE_COLOR}Configuring for Apache 1.x${DEFAULT_COLOR}" &&
- OPTS="$OPTS --with-apxs"
- fi &&
+#
+# Append options from CONFIGURE to OPTS
+#
+OPTS="$OPTS \
+ $PHP4_SAFE \
+ $PHP4_CALENDAR \
+ $PHP4_PCRE \
+ $PHP4_PCNTL \
+ $PHP4_FTP \
+ $PHP4_FCGI \
+" &&

- if [ "$php_SAFEMODE" == "y" ]; then
- OPTS="$OPTS --enable-safe-mode"
- fi &&
-
- ./buildconf &&
- ./configure \
- --prefix=/usr \
- --sysconfdir=/etc \
- --with-exec-dir=/usr/bin \
- --with-config-file-path=/etc \
- --enable-cli \
- --disable-static \
- --disable-debug \
- --disable-rpath \
- --enable-inline-optimization \
- --enable-pic \
- --enable-bcmath \
- --enable-magic-quotes \
- --enable-sysvsem \
- --enable-sysvshm \
- --enable-force-cgi-redirect \
- --enable-yp \
- --enable-ftp \
- --enable-wddx \
- --enable-filepro \
- --enable-dbase \
- --enable-sockets \
- --enable-calendar \
- --with-iconv-dir=/usr \
- --with-xmlrpc \
- --with-regex=system \
- --with-versioning \
- --with-mod_charset \
- --with-pear \
- --with-layout=GNU \
- --with-zlib \
- --with-x-includes=/usr/X11/include \
- --with-x-libraries=/usr/X11/lib \
- $OPTS &&
- make &&
- prepare_install &&
- make install &&
- if ! [ -e /etc/php.ini ]; then
- cp php.ini-dist /etc/php.ini
+#
+# Setup SSL IMAP if wanted
+#
+if echo $OPTS | grep -q -- --with-imap; then
+ if spell_ok openssl; then
+ OPTS="$OPTS --with-imap-ssl"
fi
+fi &&
+
+case "$PHP4_APACHE" in
+ handler)
+ if httpd -v | grep -q "Apache/2\."; then
+ message "${MESSAGE_COLOR}Configuring for Apache 2.x${DEFAULT_COLOR}"
&&
+ OPTS="$OPTS --with-apxs2"
+ else
+ message "${MESSAGE_COLOR}Configuring for Apache 1.x${DEFAULT_COLOR}"
&&
+ OPTS="$OPTS --with-apxs"
+ fi
+ ;;
+ filter)
+ OPTS="$OPTS --with-apxs2filter"
+ ;;
+esac &&
+
+#Check for xorg or xserver and pass location of xpm
+if [ "$PHP5_X11LIBS" == "y" ]; then
+ if check_if_xorg_modular_libs; then
+ OPTS="$OPTS --with-xpm-dir=/usr"
+ else
+ OPTS="$OPTS --with-xpm-dir=/usr/X11R6/lib"
+ fi
+fi &&
+
+#check to see if internal GD requested
+if [ "$PHP5_GD" == "internal" ]; then
+ OPTS="--with-gd --enable-gd-native-ttf $OPTS"
+fi &&
+
+./configure --prefix=${INSTALL_ROOT}/usr \
+ --sysconfdir=${INSTALL_ROOT}/etc \
+ --mandir=${INSTALL_ROOT}/usr/share/man \
+ --with-exec-dir=${INSTALL_ROOT}/usr/bin \
+ --with-config-file-path=${INSTALL_ROOT}/etc \
+ --enable-cli \
+ --disable-static \
+ --disable-debug \
+ --disable-rpath \
+ --enable-inline-optimization \
+ --enable-pic \
+ --enable-bcmath \
+ --enable-magic-quotes \
+ --enable-sysvsem \
+ --enable-sysvshm \
+ --enable-force-cgi-redirect \
+ --enable-wddx \
+ --enable-filepro \
+ --enable-dbase \
+ --enable-sockets \
+ --with-iconv \
+ --with-versioning \
+ --with-mod_charset \
+ --with-pear \
+ --enable-pdo \
+ --with-layout=GNU \
+ $OPTS &&
+make &&
+
+# safety precaution against earlier PHP installations removing httpd.conf
+# we can remove this sedit after a couple of ISOs (today's 2003-11-05)
+if [ -f $INSTALL_LOGS/$SPELL-* ]
+ then sedit 's|.*/httpd\.conf.*||g' $INSTALL_LOGS/$SPELL-*
+fi

-) > $C_FIFO 2>&1
diff --git a/php-pear/php-dev/CONFIGURE b/php-pear/php-dev/CONFIGURE
index f2a7ebd..62b66a8 100755
--- a/php-pear/php-dev/CONFIGURE
+++ b/php-pear/php-dev/CONFIGURE
@@ -1,35 +1,32 @@
-function configure_set_bool() {
- if [ -z "$1" ] || [ -z "$2" ]; then
- return
- fi
-
- local OPTION=$1
- local PROMPT="$2"
- local HINT=${3:-y}
-
- if ! grep -q "$OPTION=" $SPELL_CONFIG; then
- local VALUE="$OPTION=n"
- query "$PROMPT" $HINT && VALUE="$OPTION=y"
- echo "$VALUE" >> $SPELL_CONFIG
- fi
-}
-
-if ! grep -q CONFIGURED $SPELL_CONFIG; then
-
- configure_set_bool php_SAFEMODE "Enable PHP safe mode?" n
-
- if query "Do you want imap support?" n
- then echo 'OPTS="$OPTS --with-imap"' >> $SPELL_CONFIG
- if spell_ok openssl
- then echo 'OPTS="$OPTS --with-imap-ssl"' >> $SPELL_CONFIG
- fi
- depends imap
- fi
-
- if query "Do you require mail support?" n
- then depends MAIL-TRANSPORT-AGENT
- fi
-
- echo 'CONFIGURED=y' >> $SPELL_CONFIG
-
-fi
+config_query_option PHP4_SAFE "Enable PHP safe mode?" n \
+ "--enable-safe-mode" \
+ "--disable-safe-mode" &&
+
+config_query_option PHP4_FTP "Enable FTP support?" y \
+ "--enable-ftp" \
+ "--disable-ftp" &&
+
+config_query_option PHP4_CALENDAR "Enable calendar support?" y \
+ "--enable-calendar" \
+ "--disable-calendar" &&
+
+config_query_option PHP4_PCRE "Enable perl regular expressions?" y \
+ "--with-pcre-regex" \
+ "--without-pcre-regex" &&
+
+config_query_option PHP4_PCNTL "Enable experimental pcntl support
(CLI/CGI only)" n \
+ "--enable-pcntl" \
+ "--disable-pcntl" &&
+
+# needs --enable-force-cgi-redirect in BUILD
+config_query_option PHP4_FCGI 'Enable FastCGI module?' y \
+ '--enable-fastcgi' \
+ '--disable-fastcgi' &&
+
+config_query_list PHP4_APACHE 'Which Apache module to build?' \
+ none handler filter &&
+
+config_query PHP5_X11LIBS "Would you like to use libxpm? (Requires
X11-libs)" n &&
+
+config_query_list PHP5_GD "Which GD library to use?" \
+ none internal external
diff --git a/php-pear/php-dev/DEPENDS b/php-pear/php-dev/DEPENDS
index 3a0bad5..f19710e 100755
--- a/php-pear/php-dev/DEPENDS
+++ b/php-pear/php-dev/DEPENDS
@@ -1,106 +1,158 @@
-depends autoconf &&
-depends APACHE &&
-depends CVS &&
-depends libtool &&
-depends flex &&
-depends icu &&
-
-optional_depends zlib \
- '--with-zlib --with-zlib-dir=/usr' \
- '--without-zlib' \
- 'for LZ compression support' &&
-optional_depends bzip2 \
- '--with-bz2=/usr' \
- '--without-bz2' \
- 'for compression support' &&
-optional_depends pspell \
- '--with-pspell=/usr' \
- '--without-pspell' \
- 'for spelling functions' &&
-optional_depends mhash \
- '--with-mhash=/usr' \
- '--without-mhash' \
- 'for hash functions support' &&
-optional_depends mcrypt \
- '--with-mcrypt=/usr' \
- '--without-mcrypt' \
- 'for crypto library' &&
-optional_depends curl \
- '--with-curl=/usr' \
- '--without-curl' \
- 'for transferring files using URL syntax' &&
-optional_depends gmp \
- '--with-gmp=/usr' \
- '--without-gmp' \
- 'GNU multi precision library support' &&
-optional_depends openssl \
- '--with-openssl=/usr' \
- '--without-openssl' \
- 'for OpenSSL support' &&
-optional_depends gettext \
- '--with-gettext=/usr' \
- '--without-gettext' \
- 'for GNU gettext support' &&
-optional_depends pcre \
- '--with-pcre=/usr' \
- '--without-pcre' \
- 'for Perl regex support' &&
-optional_depends postgresql \
- '--with-pgsql=/usr' \
- '--without-pgsql' \
- 'for native Postgresql support' &&
-optional_depends mysql \
- '--with-mysql=/usr' \
- '--without-mysql' \
- 'for native MySQL support' &&
-optional_depends gdbm \
- '--with-gdbm=/usr' \
- '--without-gdbm' \
- 'database routines that use extensive hashing' &&
-optional_depends mm \
- '--with-mm=/usr' \
- '--without-mm' \
- 'for sharing memory between related processes' &&
-optional_depends openldap \
- '--with-ldap=/usr' \
- '--without-ldap' \
- 'for LDAP support' &&
-optional_depends expat \
- '--enable-xml --with-expat-dir=/usr' \
- '--disable-xml' \
- 'for XML parsing' &&
-optional_depends sablot \
- '--enable-xslt --with-xslt-sablot=/usr' \
- '--disable-xslt' \
- 'for XSLT support' &&
-optional_depends libxml2 \
- '--with-dom=/usr' \
- '--without-dom' \
- 'for DOM XML support' &&
-optional_depends libxslt \
- '--with-dom-xslt=/usr --with-dom-exslt=/usr' \
- '--without-dom-xslt --without-dom-exslt' \
- 'for DOM XSLT support' &&
-optional_depends t1lib \
- '--with-t1lib=/usr/share/t1lib' \
- '--without-tlib' \
- 'for t1lib support' &&
-optional_depends jpeg \
- '--with-jpeg-dir=/usr' \
- '--without-jpeg-dir' \
- 'for JPEG support (also required for GD)' &&
-optional_depends libpng \
- '--with-png-dir=/usr' \
- '--without-png-dir' \
- 'for PNG support (also required for GD)' &&
-optional_depends gd
\
- '--with-gd --enable-gd-native-ttf
--with-freetype-dir=/usr/lib' \
- '--without-gd'
\
- 'for on the fly graphics creation (GD support)'
&&
-optional_depends X11-LIBS \
- '--with-xpm-dir=/usr/X11R6' \
- '' \
- 'for XFree86 support'
-

-#imap_ssl=$(spell_ok openssl && echo '--with-imap-ssl')
-#optional_depends imap "--with-imap $imap_ssl" '--without-imap' 'for IMAP
protocol support'
+source $GRIMOIRE/FUNCTIONS &&
+
+depends flex &&
+depends readline "--with-readline=/usr" &&
+
+# Officially ZLib is optional, but we require it because some other
+# optional extensions depend on it, and it"s omnipresent anyway.
+depends zlib "--with-zlib --with-zlib-dir=/usr" &&
+
+# This is required since PHP 5
+depends libxml2 '--enable-xml --with-dom --with-xmlrpc' &&
+
+#This is required since PHP 6
+depends icu &&
+
+case "$PHP4_APACHE" in
+ handler) depends APACHE;;
+ filter) depends APACHE2;;
+esac &&
+
+if [ "$PHP5_X11LIBS" == "y" ]; then
+ depends X11-LIBS
+ if check_if_xorg_modular_libs; then
+ depends libxpm
+ fi
+fi &&
+
+if [ "$PHP5_GD" == "external" ]; then
+ depends gd "--with-gd=/usr --enable-gd-native-ttf"
+fi &&
+
+optional_depends C-CLIENT \
+ "--with-imap" \
+ "--without-imap" \
+ "for IMAP support" \
+ z-rejected &&
+
+optional_depends MAIL-TRANSPORT-AGENT \
+ "" \
+ "" \
+ "for SMTP support" &&
+
+optional_depends bzip2 \
+ "--with-bz2=/usr" \
+ "--without-bz2" \
+ "for compression support" &&
+
+optional_depends aspell \
+ "--with-pspell=/usr" \
+ "--without-pspell" \
+ "for spelling functions" &&
+
+optional_depends mhash \
+ "--with-mhash=/usr" \
+ "--without-mhash" \
+ "for hash functions support" &&
+
+optional_depends mcrypt \
+ "--with-mcrypt=/usr" \
+ "--without-mcrypt" \
+ "for crypto library" &&
+
+optional_depends libmcal \
+ "--with-mcal=/usr" \
+ "--without-mcal" \
+ "for MCAL calendaring library" &&
+
+optional_depends curl \
+ "--with-curl=/usr" \
+ "--without-curl" \
+ "for transferring files using URL syntax" &&
+
+optional_depends gmp \
+ "--with-gmp=/usr" \
+ "--without-gmp" \
+ "GNU multi precision library support" &&
+
+optional_depends openssl \
+ "--with-openssl=/usr" \
+ "--without-openssl" \
+ "for OpenSSL support" &&
+
+optional_depends gettext \
+ "--with-gettext=/usr" \
+ "--without-gettext" \
+ "for GNU gettext support" &&
+
+optional_depends firebird \
+ '--with-pdo-firebird=/usr/firebird' \
+ '--without-pdo-firebird' \
+ 'for native Firebird support' &&
+
+optional_depends unixodbc \
+ '--with-unixODBC=/usr' \
+ '--without-unixODBC' \
+ 'for ODBC database support' &&
+
+optional_depends libiodbc \
+ '--with-iodbc=/usr' \
+ '--without-iobc' \
+ 'for ODBC database support' &&
+
+optional_depends postgresql \
+ "--with-pgsql=/usr" \
+ "--without-pgsql" \
+ "for native Postgresql support" &&
+
+optional_depends mysql \
+ "--with-mysql=/usr" \
+ "--without-mysql" \
+ "for native MySQL support" &&
+
+optional_depends gdbm \
+ "--with-gdbm=/usr" \
+ "--without-gdbm" \
+ "database routines that use extensive hashing" &&
+
+optional_depends sqlite \
+ '--with-sqlite --enable-sqlite-utf8' \
+ '--without-sqlite' \
+ 'for SQLite support' &&
+
+optional_depends mm \
+ "--with-mm=/usr" \
+ "--without-mm" \
+ "for sharing memory between related processes" &&
+
+optional_depends openldap \
+ "--with-ldap=/usr" \
+ "--without-ldap" \
+ "for LDAP support" &&
+
+optional_depends libxslt \
+ "--with-dom-xslt=/usr --with-dom-exslt=/usr" \
+ "--without-dom-xslt --without-dom-exslt" \
+ "for DOM XSLT support" &&
+
+optional_depends t1lib \
+ "--with-t1lib=/usr/share/t1lib" \
+ "--without-tlib" \
+ "for t1lib support" &&
+
+optional_depends jpeg \
+ "--with-jpeg-dir=/usr" \
+ "--without-jpeg-dir" \
+ "for JPEG support (also required for GD)" &&
+
+optional_depends libpng \
+ "--with-png-dir=/usr" \
+ "--without-png-dir" \
+ "for PNG support (also required for GD)" &&
+
+if [ "$PHP5_GD" != "none" ]; then
+ optional_depends freetype2 \
+ "--with-freetype-dir=/usr" \
+ "--without-freetype-dir" \
+ "for freetype2 support"
+fi
diff --git a/php-pear/php-dev/DETAILS b/php-pear/php-dev/DETAILS
index f05413a..76bbd00 100755
--- a/php-pear/php-dev/DETAILS
+++ b/php-pear/php-dev/DETAILS
@@ -1,16 +1,16 @@
-. $SPELL_DIRECTORY/getSnapshotTime
-#VERSION=bla-$(getSnapshotTime)-bla
SPELL=php-dev
- VERSION=5.0
- TAG=HEAD
- SOURCE=$SPELL-$VERSION.tar.bz2
+if [ "$PHP_DEV_AUTOUPDATE" == "y" ]; then
+ VERSION=$(date +%Y%m%d)
+else
+ VERSION=6.0
+fi
+ SOURCE=php6.0-${SNAP_VER}.tar.bz2
SOURCE_IGNORE=volatile
LICENSE[0]=http://www.php.net/license/3_0.txt
-SOURCE_DIRECTORY=$BUILD_DIRECTORY/$SPELL-$VERSION
-
SOURCE_URL[0]=cvs://:pserver:cvsread AT cvs.php.net:/repository:php${VERSION%%.*}:$TAG
+SOURCE_DIRECTORY=$BUILD_DIRECTORY/php6.0-${SNAP_VER}
+ SOURCE_URL[0]=http://snaps.php.net/$SOURCE
WEB_SITE=http://www.php.net/
ENTERED=20020802
- UPDATED=20020918
KEYWORDS="php"
SHORT='PHP is the Personal Home Page scripting language'
cat << EOF
diff --git a/php-pear/php-dev/FINAL b/php-pear/php-dev/FINAL
deleted file mode 100755
index 34088f5..0000000
--- a/php-pear/php-dev/FINAL
+++ /dev/null
@@ -1,19 +0,0 @@
-# PHP is using APXS to alter httpd.conf, hence installwatch
-# is picking it up as installed file. httpd.conf should not
-# be part of PHP installation.
-sedit 's|.*/httpd\.conf.*||g' $INSTALL_LOGS/$SPELL-$VERSION
-
-INC="AddType application/x-httpd-php .php .phtml
-LoadModule php4_module libexec/libphp4.so"
-
-if [ -e /etc/httpd/httpd.conf ]
-then MOD="/etc/httpd/httpd.conf"
- grep -q php4_module $MOD || echo "$INC" >> $MOD
- httpd -t
-fi
-
-if [ -e /etc/httpsd/httpd.conf ]
-then MOD="/etc/httpsd/httpd.conf"
- grep -q php4_module $MOD || echo "$INC" >> $MOD
- httpd -t
-fi
diff --git a/php-pear/php-dev/HISTORY b/php-pear/php-dev/HISTORY
index aa1663c..27ff011 100644
--- a/php-pear/php-dev/HISTORY
+++ b/php-pear/php-dev/HISTORY
@@ -1,3 +1,14 @@
+2007-06-10 George Sherwood <george AT beernabeer.com>
+ * DEPENDS: Added from php spell. Added depends icu.
+ * DETAILS: Updated to version 6. Added autoupdate.
+ Updated SOURCE_URL. Removed cvs code.
+ Updated SOURCE_DIRECTORY. Removed UPDATED.
+ * PREPARE: Added query for autoupdate.
+ Call function to get proper snapshot version
+ * CONFIGURE, INSTALL, POST_REMOVE, PRE_REMOVE: Updated from php spell
+ * FINAL: Removed.
+ * TRIGGERS: Added for mysql
+
2007-06-09 Jaka Kranjc <lynxlynxlynx AT sourcemage.org>
* getSnapshotTime: added to get funny source names
* DETAILS: a commented example of use
diff --git a/php-pear/php-dev/INSTALL b/php-pear/php-dev/INSTALL
new file mode 100755
index 0000000..71c8fec
--- /dev/null
+++ b/php-pear/php-dev/INSTALL
@@ -0,0 +1,3 @@
+default_install &&
+
+install_config_file php.ini-dist /etc/php.ini
diff --git a/php-pear/php-dev/POST_REMOVE b/php-pear/php-dev/POST_REMOVE
index 74fdeeb..a9a4b6d 100755
--- a/php-pear/php-dev/POST_REMOVE
+++ b/php-pear/php-dev/POST_REMOVE
@@ -1,20 +1,23 @@
- if [ -e /etc/httpd/httpd.conf ]
- then
- cp /etc/httpd/httpd.conf /tmp/httpd.conf
- grep -v "LoadModule php4_module libexec/libphp4.so"
/tmp/httpd.conf > /tmp/conf.tmp1
+if [ -f /etc/httpd/httpd.conf.sorcerybackup ]
+then
+ mv /etc/httpd/httpd.conf.sorcerybackup \
+ /etc/httpd/httpd.conf
+fi &&
+
+if [ -e /etc/httpd/httpd.conf ]
+then
+ cp /etc/httpd/httpd.conf /tmp/httpd.conf
+ grep -v "LoadModule php5_module libexec/libphp5.so"
/tmp/httpd.conf > /tmp/conf.tmp1
grep -v "AddType application/x-httpd-php .php .html"
/tmp/conf.tmp1 > /tmp/conf.tmp2
- grep -v "AddModule mod_php4.c" /tmp/conf.tmp2 > /etc/httpd/httpd.conf
+ grep -v "AddModule mod_php5.c" /tmp/conf.tmp2 > /etc/httpd/httpd.conf
rm -f /tmp/httpd.conf /tmp/conf.tmp*
- httpd -t && /usr/sbin/apachectl restart
- fi
+fi &&

- if [ -e /etc/httpsd/httpd.conf ]
- then
- cp /etc/httpsd/httpd.conf /tmp/httpd.conf
- grep -v "LoadModule php4_module libexec/libphp4.so"
/tmp/httpd.conf > /tmp/conf.tmp1
+if [ -e /etc/httpsd/httpd.conf ]
+then
+ cp /etc/httpsd/httpd.conf /tmp/httpd.conf
+ grep -v "LoadModule php5_module libexec/libphp5.so"
/tmp/httpd.conf > /tmp/conf.tmp1
grep -v "AddType application/x-httpd-php .php .html"
/tmp/conf.tmp1 > /tmp/conf.tmp2
- grep -v "AddModule mod_php4.c" /tmp/conf.tmp2 > /etc/httpsd/httpd.conf
+ grep -v "AddModule mod_php5.c" /tmp/conf.tmp2 > /etc/httpsd/httpd.conf
rm -f /tmp/httpd.conf /tmp/conf.tmp*
- httpd -t && /usr/sbin/apachectl restart
- fi
-
+fi
diff --git a/php-pear/php-dev/PREPARE b/php-pear/php-dev/PREPARE
new file mode 100755
index 0000000..a542174
--- /dev/null
+++ b/php-pear/php-dev/PREPARE
@@ -0,0 +1,8 @@
+config_query PHP_DEV_AUTOUPDATE "Updated on every system update?" n &&
+
+#set snapshot to be downloaded depending on time
+. "$SPELL_DIRECTORY/getSnapshotTime" &&
+SNAP_DATE=$(date -u +%Y%m%d) &&
+SNAP_TIME=$(getSnapshotTime) &&
+persistent_add SNAP_VER
+SNAP_VER=${SNAP_DATE}${SNAP_TIME}
diff --git a/php-pear/php-dev/PRE_REMOVE b/php-pear/php-dev/PRE_REMOVE
new file mode 100755
index 0000000..d4230f9
--- /dev/null
+++ b/php-pear/php-dev/PRE_REMOVE
@@ -0,0 +1,5 @@
+if [ -f /etc/httpd/httpd.conf ]
+then
+ cp /etc/httpd/httpd.conf \
+ /etc/httpd/httpd.conf.sorcerybackup
+fi
diff --git a/php-pear/php-dev/TRIGGERS b/php-pear/php-dev/TRIGGERS
new file mode 100755
index 0000000..02b1510
--- /dev/null
+++ b/php-pear/php-dev/TRIGGERS
@@ -0,0 +1 @@
+on_cast mysql check_self



  • [SM-Commit] GIT changes to master grimoire by George Sherwood (b149bf0d503edc556a16f2168ca4f761be378cf7), George Sherwood, 06/10/2007

Archive powered by MHonArc 2.6.24.

Top of Page