[Lunar-commits] <moonbase> php: remove it from compilers. it is already present in zdeprecated.

Florin Braescu florin at lunar-linux.org
Mon Aug 29 10:30:15 CEST 2011


commit ce2cd3f0bc0abd5b8732b70b421153c03427532d
Author: Florin Braescu <florin at lunar-linux.org>
Date:   Mon Aug 29 12:30:15 2011 +0400

    php: remove it from compilers. it is already present in zdeprecated.
---
 compilers/php/BUILD        |   44 ----------------
 compilers/php/CONFIGURE    |   18 ------
 compilers/php/CONFLICTS    |    2 -
 compilers/php/DEPENDS      |  123 --------------------------------------------
 compilers/php/DETAILS      |   35 ------------
 compilers/php/POST_INSTALL |   26 ---------
 compilers/php/POST_REMOVE  |   25 ---------
 7 files changed, 0 insertions(+), 273 deletions(-)

diff --git a/compilers/php/BUILD b/compilers/php/BUILD
deleted file mode 100644
index 1496614..0000000
--- a/compilers/php/BUILD
+++ /dev/null
@@ -1,44 +0,0 @@
-(
-
-  if [ -s /etc/httpsd/httpd.conf ] ; then
-    cp /etc/httpsd/httpd.conf /etc/httpsd/httpd.conf.`date +%Y%m%d`
-  fi
-
-  if [ -s /etc/httpd/httpd.conf ] ; then
-    cp /etc/httpd/httpd.conf /etc/httpd/httpd.conf.`date +%Y%m%d`
-  fi
-
-  if [ "$IMAP" == "y" ]; then
-    unpack $SOURCE2
-    make -C imap-${IMAP_VERSION} slx SPECIALS="SSLDIR=/etc/ssl SSLINCLUDE=/usr/include SSLLIB=/usr/lib"
-    OPTS+=" --with-imap=imap-${IMAP_VERSION}"
-  fi
-  
-  if module_installed apache || module_installed apache-mod_ssl ; then
-    OPTS+=" --with-apxs=/usr/sbin/apxs"
-  elif module_installed apache2 ; then
-    OPTS+=" --with-apxs2=/usr/sbin/apxs"
-  fi
-
-  if [ "x${FASTCGI}" != "x" ]; then
-    OPTS+=" --enable-fastcgi"
-  fi
-
-  if echo $OPTS | grep -q -- --enable-xslt ; then
-    LDFLAGS="$LDFLAGS -lstdc++"
-  fi
-
-  sedit "s:^:#include <errno.h>\n:" ext/mysql/libmysql/mysys_err.h  &&
-
-  verbose_msg "OPTS=$OPTS" &&
-  ./configure  --prefix=/usr                 \
-               --sysconfdir=/etc             \
-               --with-config-file-path=/etc  \
-               --enable-dbase                \
-               --enable-dbx                  \
-               --enable-dio                  \
-               --with-ncurses                \
-               $OPTS                        &&
-  default_make
-
-) > $C_FIFO 2>&1
diff --git a/compilers/php/CONFIGURE b/compilers/php/CONFIGURE
deleted file mode 100644
index 399eedc..0000000
--- a/compilers/php/CONFIGURE
+++ /dev/null
@@ -1,18 +0,0 @@
-mquery IMAP "Install imap support?" y
-mquery REGGLOBALS "Enable global variable support (potential security risk)?" n
-mquery FTP "Install ftp support?" y "--enable-ftp" ""
-mquery EXIF "Install EXIF support?" y "--enable-exif" ""
-mquery TRANSSID "Enable transparent session id?" y "--enable-trans-sid" ""
-mquery SOCKETS "Enable sockets support (experimental)?" y "--enable-sockets" ""
-mquery NCURSES "Enable ncurses support (experimental)?" y "--with-ncurses" ""
-mquery BCMATH "Enable BC math support?" y "--enable-bcmath" ""
-
-if module_installed lighttpd; then
-  mquery FASTCGI "Build FastCGI version (required by lighttpd)?" y
-fi
-if query "Enable multibyte string support?" n; then
-  OPTS="$OPTS --enable-mbstring"
-  if query "Disable multibyte regular expression functions?" n; then
-    OPTS="$OPTS --disable-mbregex"
-  fi
-fi
diff --git a/compilers/php/CONFLICTS b/compilers/php/CONFLICTS
deleted file mode 100644
index 4a5b73d..0000000
--- a/compilers/php/CONFLICTS
+++ /dev/null
@@ -1,2 +0,0 @@
-conflicts php5
-conflicts php5-suhosin
diff --git a/compilers/php/DEPENDS b/compilers/php/DEPENDS
deleted file mode 100644
index 3cd8c45..0000000
--- a/compilers/php/DEPENDS
+++ /dev/null
@@ -1,123 +0,0 @@
-depends readline
-
-optional_depends "aspell" \
-                 "--with-pspell" \
-                 "" \
-                 "for spelling functions"
-
-optional_depends "bzip2" \
-                 "--with-bz2" \
-                 "" \
-                 "for compression support"
-
-optional_depends "mhash" \
-                 "--with-mhash" \
-                 "" \
-                 "for hash functions support"
-
-optional_depends "mcrypt" \
-                 "--with-mcrypt" \
-                 "" \
-                 "for crypto library"
-
-optional_depends "gmp" \
-                 "--with-gmp" \
-                 "" \
-                 "GNU math lib support"
-
-optional_depends "openssl" \
-                 "--with-openssl" \
-                 "" \
-                 "for OpenSSL support"
-
-optional_depends "gettext" \
-                 "--with-gettext" \
-                 "" \
-                 "for GNU gettext support"
-
-optional_depends "db" \
-                 "--with-db4" \
-                 "" \
-                 "for Berkeley DB4 support"
-
-optional_depends "gdbm" \
-                 "--with-gdbm" \
-                 "" \
-                 "for GNU dbm support"
-
-optional_depends "postgresql" \
-                 "--with-pgsql=/usr" \
-                 "" \
-                 "for PostgreSQL support"
-
-optional_depends "mysql" \
-                 "--with-mysql=/usr" \
-                 "" \
-                 "for native MySQL support"
-
-optional_depends "freetds" \
-                 "--with-sybase=/usr" \
-                 "" \
-                 "for SyBase support"
-
-optional_depends "freetype2" \
-                 "--with-freetype-dir=/usr" \
-                 "" \
-                 "for freetype2 support"
-
-optional_depends "PDFlib-Lite" \
-                 "--with-pdflib" \
-                 "" \
-                 "for pdflib support"
-
-optional_depends "gd" \
-                 "--with-gd=/usr \
-                  --enable-gd-native-ttf \
-                  --with-jpeg-dir=/usr \
-                  --with-png-dir=/usr \
-                  --with-zlib" \
-                 "" \
-                 "for on the fly graphics"
-
-optional_depends "curl" \
-                 "--with-curl" \
-                 "" \
-                 "for cURL support"
-
-optional_depends "ming" \
-                 "--with-ming" \
-                 "--without-ming" \
-                 "for dynamic FLASH generation"
-
-optional_depends "Sablot" \
-                 "--enable-xslt \
-                  --with-xslt-sablot=/usr" \
-                 "" \
-                 "for XSLT support"
-
-optional_depends "expat" \
-                 "--with-expat-dir=/usr" \
-                 "" \
-                 "for expat XML support"
-
-optional_depends "libxml2" \
-                 "--with-dom=/usr \
-                  --with-zlib-dir=/usr" \
-                 "" \
-                 "for DOM XML support"
-
-optional_depends "libxslt" \
-                 "--with-dom-xslt=/usr \
-                  --with-dom-exslt=/usr" \
-                 "" \
-                 "for DOM XSLT support"
-
-optional_depends "openldap" \
-                 "--with-ldap" \
-                 "" \
-                 "For ldap support"
-
-optional_depends "mm" \
-                 "--with-mm" \
-                 "" \
-                 "for shared memory session support"
diff --git a/compilers/php/DETAILS b/compilers/php/DETAILS
deleted file mode 100644
index afffbbb..0000000
--- a/compilers/php/DETAILS
+++ /dev/null
@@ -1,35 +0,0 @@
-          MODULE=php
-         VERSION=4.4.9
-    IMAP_VERSION=2006f
-          SOURCE=$MODULE-$VERSION.tar.bz2
-   SOURCE_URL[0]=http://www.php.net/distributions
-   SOURCE_URL[1]=http://uk2.php.net/distributions
-   SOURCE_URL[2]=http://us2.php.net/distributions
-   SOURCE_URL[3]=http://uk.php.net/distributions
-   SOURCE_URL[4]=http://nl.php.net/distributions
-   SOURCE_URL[5]=http://de.php.net/distributions
-   SOURCE_URL[6]=http://fr.php.net/distributions
-         SOURCE2=imap-$IMAP_VERSION.tar.Z
-  SOURCE2_URL[0]=ftp://ftp.cac.washington.edu/imap
-  SOURCE2_URL[1]=ftp://ftp.cac.washington.edu/imap/old
-      SOURCE_VFY=sha1:ab3d2205d756ddf93452b57bd6ce6a2014b1c374
-     SOURCE2_VFY=sha1:e49b8455ee2baef56df707bc487155f9a1e74821
-        WEB_SITE=http://www.php.net
-         ENTERED=20011024
-         UPDATED=20080809
-           SHORT="Hypertext Processor scripting language"
-           PSAFE=no
-
-cat << EOF
-PHP is a widely-used Open Source general-purpose scripting language
-that is especially suited for Web development and can be embedded
-into HTML. Its syntax draws upon C, Java, and Perl, and is easy to
-learn. PHP runs on many different platforms and can be used as a
-standalone executable or as a module under a variety of Web servers.
-It has excellent support for databases, XML, LDAP, IMAP, Java,
-various Internet protocols, and general data manipulation, and is
-extensible via its powerful API. It is actively developed and
-supported by a talented and energetic international team. Numerous
-Open Source and commercial PHP-based application packages are
-available.
-EOF
diff --git a/compilers/php/POST_INSTALL b/compilers/php/POST_INSTALL
deleted file mode 100644
index 14ea127..0000000
--- a/compilers/php/POST_INSTALL
+++ /dev/null
@@ -1,26 +0,0 @@
-
-# prototype AddType definition for apache2
-if [ -f /etc/httpd/conf/httpd.conf ] ; then
-  if ! grep -q "x-httpd-php" /etc/httpd/conf/httpd.conf ; then
-    cat >> /etc/httpd/conf/httpd.conf << EOF
-
-# AddType required for php to work:
-AddType  application/x-httpd-php         .php .php4 .php3 .phtml
-AddType  application/x-httpd-php-source  .phps
-
-EOF
-  fi
-fi
-
-if [ ! -e /etc/php.ini ] ; then
-  cp $SOURCE_DIRECTORY/php.ini-dist /etc/php.ini
-fi
-
-case  $REGGLOBALS  in
-  y|Y)
-    sedit "s/register_globals = Off/register_globals = On/" /etc/php.ini
-    ;;
-    *) true
-    ;;
-esac
-
diff --git a/compilers/php/POST_REMOVE b/compilers/php/POST_REMOVE
deleted file mode 100644
index 8b671e9..0000000
--- a/compilers/php/POST_REMOVE
+++ /dev/null
@@ -1,25 +0,0 @@
-if    module_installed  apache;  then
-
-  cp        /etc/httpd/httpd.conf       /tmp/httpd.conf
-  grep  -v  "LoadModule php4_module"    /tmp/httpd.conf  |
-  grep  -v  "AddModule mod_php4.c"   >  /etc/httpd/httpd.conf
-  rm    -f  /tmp/httpd.conf
-  /usr/sbin/apachectl  graceful
-
-elif  module_installed  apache_mod_ssl;  then
-
-  cp        /etc/httpsd/httpd.conf      /tmp/httpd.conf
-  grep  -v  "LoadModule php4_module"    /tmp/httpd.conf  |
-  grep  -v  "AddModule mod_php4.c"   >  /etc/httpsd/httpd.conf
-  rm    -f  /tmp/httpd.conf
-  /etc/init.d/apache_modssl.sh  restart
-
-elif  module_installed  apache2;  then
-
-  cp        /etc/httpd/httpd.conf       /tmp/httpd.conf
-  grep  -v  "LoadModule php4_module"    /tmp/httpd.conf  |
-  grep  -v  "AddType  application/x-httpd-php"   >  /etc/httpd/httpd.conf
-  rm    -f  /tmp/httpd.conf
-  /usr/sbin/apachectl  graceful
-
-fi


More information about the Lunar-commits mailing list