diff options
author | Ryan Phillips <rphillips@gentoo.org> | 2002-07-16 07:27:29 +0000 |
---|---|---|
committer | Ryan Phillips <rphillips@gentoo.org> | 2002-07-16 07:27:29 +0000 |
commit | 437da23dfaef536da05f3d8bd08b7352d599c1b8 (patch) | |
tree | 1acf5773db60d5f400cd8c26a8a771a18360d2e3 /dev-lang/php | |
parent | Unmasked dev-php (diff) | |
download | gentoo-2-437da23dfaef536da05f3d8bd08b7352d599c1b8.tar.gz gentoo-2-437da23dfaef536da05f3d8bd08b7352d599c1b8.tar.bz2 gentoo-2-437da23dfaef536da05f3d8bd08b7352d599c1b8.zip |
removed dev-lang\/php for dev-php
Diffstat (limited to 'dev-lang/php')
22 files changed, 0 insertions, 2260 deletions
diff --git a/dev-lang/php/ChangeLog b/dev-lang/php/ChangeLog deleted file mode 100644 index ef4fe330d5c8..000000000000 --- a/dev-lang/php/ChangeLog +++ /dev/null @@ -1,227 +0,0 @@ -# ChangeLog for dev-lang/php -# Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL -# $Header: /var/cvsroot/gentoo-x86/dev-lang/php/ChangeLog,v 1.32 2002/07/09 19:10:58 rphillips Exp $ - -*php-4.2.1-r3 (09 Jul 2002) - - 09 Jul 2002; Roman Weber <gentoo@gonzo.ch> php-4.2.1-r3.ebuild : - - Fixed various readded Bugs. - Added use 'nls' from dev-php/mod_php (Bug #2895) - Added 'use' variables: freetype, jpeg, tiff, png and gd from dev-php/mod_php (Bug #3900) - -*php-4.2.1-r2 (08 Jul 2002) - - 08 Jul 2002; Maik Schreiber <blizzy@gentoo.org> : - - Changed dependency from >=net-www/apache-1.3.24-r1 to - >=net-www/apache-1.3.26-r2 (Apache 1.3.26 includes a fix for the - "chunked encoding" issue). Closes bug #4677. - - 27 Apr 2002; Ryan Phillips <rphillips@gentoo.org> : - - There is a compilation problem with the --with-gettext - variable being passed to configure from within portage. - - 25 Apr 2002; Donny Davies <woodchip@gentoo.org> : - - Clarify the pkg_postinst() message. - - 16 Apr 2002; Seemant Kulleen <seemant@gentoo.org> : - - I caused the gettext bug. The configure options do not like --with-gettext - set. They only like --without-gettext set. Who knew? - - Hmm, and I did not edit the ChangeLog for some reason to say that the mhash - and mcrypt flags are encapsulated by the crypt flag now. - -*php-4.2.1-r1 (17 Jun 2002) - - 17 Jun 2002; Ryan Phillips <rphillips@gentoo.org> php-4.2.1-r1.ebuild : - - added oci8 use variable to support Oracle databases - -*php-4.2.1-r1 (21 May 2002) - - 5 June 2002; Ryan Phillips <rphillips@gentoo.org> php-4.2.1-r1.ebuild : - - Added support for firebird - - 21 May 2002; Roman Weber <gentoo@gonzo.ch> php-4.2.1-r1.ebuild : - - Added XSLT sablotron to XML USE variable. Bug #2863 - Fixed symlink to extensions directory. Bug #2886 - -*php-4.2.1 (17 May 2002) - - 19 May 2002; Ryan Phillips <rphillips@gentoo.org> php-4.2.1.ebuild: - - Changed --with-png-dir=/usr/lib \ to - --with-png-dir=/usr \ - - 17 May 2002; Roman Weber <gentoo@gonzo.ch> php-4.2.1.ebuild : - - New release - Fixed flash ming issue. Bug #2707 - Fixed mysql issue. Bug #2711 - Set register_globals = On in php.ini. Lower security but more - compatibility. See http://www.php.net/release_4_1_2.php - Readded curl/snmp/bz2/ssl. Tnx Todd - Symlinked php.ini to old place. Tnx Todd. - Disabled Java in ebuild. I'm not glad about it but it's imho the only - way to fix a nasty bug. Perhaps it will work with an extra ebuild - for the java extension. Bug #2708 - -*php-4.2.0 (12 May 2002) - - 12 May 2002; Ryan Phillips <rphillips@gentoo.org> php-4.2.0.ebuild : - - Added a message to warn the user that setting the register_globals - option to off may break compatibility with some scripts. - - 8 May 2002; Ryan Phillips <rphillips@gentoo.org> php-4.2.0.ebuild : - - New release - -*php-4.1.2-r9 (5 May 2002) - - 5 May 2002; Ryan Phillips <rphillips@gentoo.org> php-4.1.2-r9.ebuild : - - Added support for SSL, snmp, curl, and bzip2 to package. Fixes #2468 - -*php-4.1.2-r8 (28 Apr 2002) - - 27 Apr 2002; Ryan Phillips <rphillips@gentoo.org> php-4.1.2-r7.ebuild : - - for some reason --with-gettext doesn't find the libraries it needs. - ./configure --with-gettext from the commandline works fine. reopening - bug report. - -*php-4.1.2-r8 (27 Apr 2002) - - 27 Apr 2002; Ryan Phillips <rphillips@gentoo.org> php-4.1.2-r7.ebuild : - - Tweaked ebuild to include --with-gettext support. This fixes #2106, but - does it break anything else? - -*php-4.1.2-r7 (15 Apr 2002) - - 15 Apr 2002; Jared H. Hudson <jhhudso@gentoo.org> php-4.1.2-r7.ebuild : - - Fixed php to check for imap with ssl support when compiling the imap - extension. Bug #1254 - Fixed bug where php couldn't find path to javac. Bug #1401 - Modified the ebuild so it DEPENDs on net-mail/uw-imap instead of - the old virtual/imapUW - -*php-4.1.2-r6 (12 Apr 2002) - - 12 Apr 2002; Spider <spider@gentoo.org> - - update -r to force rebuild with updated libpng - -*php-4.1.2-r5 php-4.1.1-r5 (12 Apr 2002) - - 12 Apr 2002; Seemant Kulleen <seemant@gentoo.org> php-4.1.2-r5.ebuild, - php-4.1.1-r5.ebuild : - - Changed the "gettext" USE flag to "nls" since that is the same thing. - -*php-4.1.2-r5 (10 Apr 2002) - - 10 Apr 2002; Donny Davies <woodchip@gentoo.org> php-4.1.2-r5.ebuild, - files/mod_php.conf : - - Added a mod_php.conf file, which installs into the apache addon-modules config - directory. This eliminates the need to "sed" the apache config file in order - to "turn on" the php mime types. Removed some stale ebuilds/digests. - - Ooops, round two for today: fix the php.ini location with a symlink. - Keeps things tidy. - -*php-4.1.2-r4 (9 Apr 2002) - - 9 Apr 2002; Donny Davies <woodchip@gentoo.org> : - - Small updates to fit in with the reworked apache package. - -*php-4.1.2-r3 (13 Mar 2002) - - 13 Mar 2002; Grant Goodyear <g2boojum@gentoo.org> : - - Minor update to fix bug # 1042. - -*php-4.1.2 (28 Feb 2002) - - 28 Feb 2002; Bruce A. Locke <blocke@shivan.org> php-4.1.2.ebuild : - - Major security fixes in this version. All php users are urged - to upgrade to this version. - -*php-4.1.1-r5 ( 25 Feb 2002 ) - - 25 Feb 2002; Karl Trygve Kalleberg <karltk@gentoo.org> php-4.1.1-r5.ebuild - - Fixed a bug that made compiling with libpng bug out on some - installations. - - Old revisions removed. - -*php-4.1.1-r4 ( 22 Feb 2002 ) - - 22 Feb 2002; Grant Goodyear <g2boojum@gentoo.org> php-4.1.1-r4.ebuild - - Now imap support should work. Building php w/ imap support requires - the uw-imap library and headers (from uw-imap or pine). Annoying - problem that uw-imap or pine needs to be compiled w/ SSL; otherwise - the php build will fail due to header problems. - -*php-4.0.6-r5 ( 18 Feb 2002 ) - - 18 Feb 2002; Karl Trygve Kalleberg <karltk@gentoo.org> php-4.0.6-r4.ebuild - - As Java support fails to work with Blackdown, and the fix seems non-trivial, - Java support is removed from PHP 4.0.6 altogether. - - Old revisions have been removed. - -*php-4.0.6-r4 ( 12 Feb 2002 ) - - 12 Feb 2002; Karl Trygve Kalleberg <karltk@gentoo.org> php-4.0.6-r4.ebuild - - Java support is back. The ebuild also tries harder to follow the style - guide. - - Old revisions have been removed. - -*php-4.1.1-r3 ( 18 Feb 2002 ) - - 18 Feb 2002; Karl Trygve Kalleberg <karltk@gentoo.org> php-4.1.1-r3.ebuild - - Java is still here, but now it actually works with Blackdown as well. - - Old revisions have been removed. - -*php-4.1.1-r2 ( 12 Feb 2002 ) - - 12 Feb 2002; Karl Trygve Kalleberg <karltk@gentoo.org> php-4.1.1-r2.ebuild - - Java support is back. The ebuild also tries harder to follow the style - guide. - - Old revisions have been removed. - -*php-4.1.1 (1 Feb 2002) - - 6 Feb 2002; Grant Goodyear <g2boojum@gentoo.org>: - - Added a new -r1 revision of the php-4.1.1 ebuild that adds - two new USE variables, mcrypt and mhash. - - 1 Feb 2002; G.Bevin <gbevin@gentoo.org> ChangeLog : - - Added initial ChangeLog which should be updated whenever the package is - updated in any way. This changelog is targetted to users. This means that the - comments should well explained and written in clean English. The details about - writing correct changelogs are explained in the skel.ChangeLog file which you - can find in the root directory of the portage repository. diff --git a/dev-lang/php/files/digest-php-4.1.2-r5 b/dev-lang/php/files/digest-php-4.1.2-r5 deleted file mode 100644 index b7e2c0275985..000000000000 --- a/dev-lang/php/files/digest-php-4.1.2-r5 +++ /dev/null @@ -1 +0,0 @@ -MD5 75a62553076c20e91d3be575ce158be2 php-4.1.2.tar.gz 3359964 diff --git a/dev-lang/php/files/digest-php-4.1.2-r6 b/dev-lang/php/files/digest-php-4.1.2-r6 deleted file mode 100644 index b7e2c0275985..000000000000 --- a/dev-lang/php/files/digest-php-4.1.2-r6 +++ /dev/null @@ -1 +0,0 @@ -MD5 75a62553076c20e91d3be575ce158be2 php-4.1.2.tar.gz 3359964 diff --git a/dev-lang/php/files/digest-php-4.1.2-r7 b/dev-lang/php/files/digest-php-4.1.2-r7 deleted file mode 100644 index b7e2c0275985..000000000000 --- a/dev-lang/php/files/digest-php-4.1.2-r7 +++ /dev/null @@ -1 +0,0 @@ -MD5 75a62553076c20e91d3be575ce158be2 php-4.1.2.tar.gz 3359964 diff --git a/dev-lang/php/files/digest-php-4.1.2-r8 b/dev-lang/php/files/digest-php-4.1.2-r8 deleted file mode 100644 index b7e2c0275985..000000000000 --- a/dev-lang/php/files/digest-php-4.1.2-r8 +++ /dev/null @@ -1 +0,0 @@ -MD5 75a62553076c20e91d3be575ce158be2 php-4.1.2.tar.gz 3359964 diff --git a/dev-lang/php/files/digest-php-4.1.2-r9 b/dev-lang/php/files/digest-php-4.1.2-r9 deleted file mode 100644 index b7e2c0275985..000000000000 --- a/dev-lang/php/files/digest-php-4.1.2-r9 +++ /dev/null @@ -1 +0,0 @@ -MD5 75a62553076c20e91d3be575ce158be2 php-4.1.2.tar.gz 3359964 diff --git a/dev-lang/php/files/digest-php-4.2.0 b/dev-lang/php/files/digest-php-4.2.0 deleted file mode 100644 index 592a4bd225b9..000000000000 --- a/dev-lang/php/files/digest-php-4.2.0 +++ /dev/null @@ -1 +0,0 @@ -MD5 88d55481de32ab0168aa580f7b611022 php-4.2.0.tar.gz 3442616 diff --git a/dev-lang/php/files/digest-php-4.2.1 b/dev-lang/php/files/digest-php-4.2.1 deleted file mode 100644 index ceaa1d27083e..000000000000 --- a/dev-lang/php/files/digest-php-4.2.1 +++ /dev/null @@ -1 +0,0 @@ -MD5 654983196a94ca91c272a00e877b2b40 php-4.2.1.tar.gz 3376494 diff --git a/dev-lang/php/files/digest-php-4.2.1-r1 b/dev-lang/php/files/digest-php-4.2.1-r1 deleted file mode 100644 index ceaa1d27083e..000000000000 --- a/dev-lang/php/files/digest-php-4.2.1-r1 +++ /dev/null @@ -1 +0,0 @@ -MD5 654983196a94ca91c272a00e877b2b40 php-4.2.1.tar.gz 3376494 diff --git a/dev-lang/php/files/digest-php-4.2.1-r2 b/dev-lang/php/files/digest-php-4.2.1-r2 deleted file mode 100644 index ceaa1d27083e..000000000000 --- a/dev-lang/php/files/digest-php-4.2.1-r2 +++ /dev/null @@ -1 +0,0 @@ -MD5 654983196a94ca91c272a00e877b2b40 php-4.2.1.tar.gz 3376494 diff --git a/dev-lang/php/files/digest-php-4.2.1-r3 b/dev-lang/php/files/digest-php-4.2.1-r3 deleted file mode 100644 index ceaa1d27083e..000000000000 --- a/dev-lang/php/files/digest-php-4.2.1-r3 +++ /dev/null @@ -1 +0,0 @@ -MD5 654983196a94ca91c272a00e877b2b40 php-4.2.1.tar.gz 3376494 diff --git a/dev-lang/php/files/mod_php.conf b/dev-lang/php/files/mod_php.conf deleted file mode 100644 index 6f1f47494bf3..000000000000 --- a/dev-lang/php/files/mod_php.conf +++ /dev/null @@ -1,6 +0,0 @@ -<IfModule mod_php4.c> - -AddType application/x-httpd-php .php .php4 .php3 .phtml -AddType application/x-httpd-php-source .phps - -</IfModule> diff --git a/dev-lang/php/php-4.1.2-r5.ebuild b/dev-lang/php/php-4.1.2-r5.ebuild deleted file mode 100644 index 025c1694cd4f..000000000000 --- a/dev-lang/php/php-4.1.2-r5.ebuild +++ /dev/null @@ -1,204 +0,0 @@ -# Copyright 1999-2002 Gentoo Technologies, Inc. -# Distributed under the terms of the GNU General Public License, v2 or later -# $Header: /var/cvsroot/gentoo-x86/dev-lang/php/php-4.1.2-r5.ebuild,v 1.5 2002/07/11 06:30:20 drobbins Exp $ - -S=${WORKDIR}/${P} -DESCRIPTION="HTML embedded scripting language" -SRC_URI="http://www.php.net/distributions/${P}.tar.gz" -HOMEPAGE="http://www.php.net/" -LICENSE="PHP" -SLOT="0" -KEYWORDS="x86" - -DEPEND="virtual/glibc - >=dev-libs/gmp-3.1.1 - ~media-libs/freetype-1.3.1 - >=media-libs/jpeg-6b - >=media-libs/tiff-3.5.5 - >=media-libs/libpng-1.0.7 - >=media-libs/libgd-1.8.3 - >=media-libs/t1lib-1.0.1 - >=net-www/apache-1.3.24-r1 - pam? ( >=sys-libs/pam-0.75 ) - readline? ( >=sys-libs/ncurses-5.1 >=sys-libs/readline-4.1 ) - nls? ( sys-devel/gettext ) - gdbm? ( >=sys-libs/gdbm-1.8.0 ) - berkdb? ( >=sys-libs/db-3 ) - mysql? ( >=dev-db/mysql-3.23.26 ) - odbc? ( >=dev-db/unixODBC-1.8.13 ) - ldap? ( >=net-nds/openldap-1.2.11 ) - postgres? ( >=dev-db/postgresql-7.1 ) - mhash? ( >=app-crypt/mhash-0.8 ) - mcrypt? ( >=dev-libs/libmcrypt-2.4 ) - X? ( virtual/x11 ) - qt? ( =x11-libs/qt-2.3* ) - xml? ( >=app-text/sablotron-0.44 ) - libwww? ( >=net-libs/libwww-5.3.2 ) - imap? ( virtual/imapUW ) - flash? ( media-libs/libswf media-libs/ming ) - xml2? ( dev-libs/libxml2 ) - java? ( virtual/jdk ) - pdflib? ( >=media-libs/pdflib-4.0.1-r2 )" - -RDEPEND="virtual/glibc - >=dev-libs/gmp-3.1.1 - ~media-libs/freetype-1.3.1 - >=media-libs/jpeg-6b - >=media-libs/libpng-1.0.7 - >=media-libs/t1lib-1.0.1 - >=net-www/apache-1.3.24-r1 - pam? ( >=sys-libs/pam-0.75 ) - gdbm? ( >=sys-libs/gdbm-1.8.0 ) - berkdb? ( >=sys-libs/db-3 ) - mysql? ( >=dev-db/mysql-3.23.26 ) - odbc? ( >=dev-db/unixODBC-1.8.13 ) - ldap? ( >=net-nds/openldap-1.2.11 ) - postgres? ( >=dev-db/postgresql-7.1 ) - X? ( virtual/x11 ) - qt? ( >=x11-libs/qt-2.3.0 ) - xml? ( >=app-text/sablotron-0.44 ) - libwww? ( >=net-libs/libwww-5.3.2 ) - xml2? ( dev-libs/libxml2 ) - java? ( virtual/jdk ) - pdflib? ( >=media-libs/pdflib-4.0.1-r2 ) - " - -src_unpack() { - unpack ${P}.tar.gz - cd ${S} - if [ "`use java`" ] ; then - - cp configure configure.orig - cat configure.orig | \ - sed -e 's/LIBS="-lttf $LIBS"/LIBS="-lttf -lhpi $LIBS"/' \ - > configure - - cp ext/gd/gd.c ext/gd/gd.c.orig - cat ext/gd/gd.c.orig | \ - sed -e "s/typedef FILE gdIOCtx;//" \ - > ext/gd/gd.c - fi -} - -src_compile() { - - local myconf - - # readline can only be used w/ CGI build, so I'll turn it off - #if [ "`use readline`" ] ; then - # myconf="--with-readline" - #fi - # also, t1lib support seems to be broken: gcc: /usr/lib/.libs/libt1.so: No such file or directory - - myconf="--without-readline --without-t1lib" - use pam && myconf="$myconf --with-pam" - use nls && myconf="$myconf --with-gettext" - use gdbm && myconf="$myconf --with-gdbm=/usr" - use berkdb && myconf="$myconf --with-db3=/usr" - use mysql && myconf="$myconf --with-mysql=/usr" - use postgres && myconf="$myconf --with-pgsql=/usr" - use odbc && myconf="$myconf --with-unixODBC=/usr" - use ldap && myconf="$myconf --with-ldap" - use pdflib && myconf="$myconf --with-pdflib" - - if [ "`use qt`" ] ; then - export QTDIR=/usr/qt/2 #hope this helps - danarmak - myconf="$myconf --with-qtdom" - fi - - if [ "`use imap`" ] ; then - # need to see if imap was built w/ ssl support - local pkg=`tail -n 1 /var/db/pkg/virtual/imapUW/VIRTUAL` - if [ "`grep ssl /var/db/pkg/${pkg}/USE`" ] ; then - echo "imap compiled with SSL" - myconf="$myconf --with-imap-ssl" - else - echo "imap compiled w/o SSL" - myconf="$myconf --with-imap" - # php build will fail if imap doesn't have SSL support - echo "unfortunately, the php build will fail due to" - echo "strange header errors in /usr/include/imap4r1.h" - echo "Please rebuild uw-imap or pine w/ 'ssl' in USE" - die - fi - fi - use libwww && myconf="$myconf --with-xml" || myconf="$myconf --disable-xml" - use flash && myconf="$myconf --with-swf=/usr --with-ming=/usr" - - if [ "`use xml`" ] ; then - export LIBS="-lxmlparse -lxmltok" - myconf="$myconf --with-sablot=/usr" - fi - - use xml2 && myconf="$myconf --with-dom" - use mhash && myconf="$myconf --with-mhash" - use mcrypt && myconf="$myconf --with-mcrypt" - use java && myconf="$myconf --with-java=${JDK_HOME}" - - LDFLAGS="$LDFLAGS -ltiff -ljpeg" - - if [ "`use X`" ] ; then - myconf="$myconf --with-xpm-dir=/usr/X11R6" - LDFLAGS="$LDFLAGS -L/usr/X11R6/lib" - fi - - ./configure \ - --prefix=/usr \ - --with-gd \ - --with-gmp \ - --with-ttf \ - --enable-ftp \ - --with-t1lib \ - --enable-dbase \ - --with-zlib=yes \ - --enable-bcmath \ - --enable-sysvsem \ - --enable-sysvshm \ - --enable-calendar \ - --enable-trans-sid \ - --enable-safe-mode \ - --enable-versioning \ - --enable-track-vars \ - --with-png-dir=/usr/lib \ - --with-jpeg-dir=/usr/lib \ - --enable-inline-optimization \ - --with-apxs="/usr/sbin/apxs -ltiff" \ - --with-exec-dir="/usr/lib/apache/bin" \ - --with-config-file-path=`/usr/sbin/apxs -q SYSCONFDIR` \ - --host=${CHOST} ${myconf} || die "bad ./configure" - - make || die "compile problem" -} - - -src_install() { - make INSTALL_ROOT=${D} install-pear || die - - dodoc CODING_STANDARDS LICENSE EXTENSIONS - dodoc RELEASE_PROCESS README.* TODO NEWS - dodoc ChangeLog* *.txt - - exeinto /usr/lib/apache-extramodules - doexe .libs/libphp4.so - - insinto /etc/apache/conf/addon-modules - doins ${FILESDIR}/mod_php.conf - newins php.ini-dist php.ini - dosym /etc/apache/conf/addon-modules/php.ini /etc/apache/conf/php.ini -} - -pkg_postinst() { - einfo - einfo "Execute ebuild /var/db/pkg/${CATEGORY}/${PF}/${PF}.ebuild config" - einfo "to have your apache.conf auto-updated for use with this module." - einfo "You should then edit your /etc/conf.d/apache file to suit." - einfo -} - -pkg_config() { - ${ROOT}/usr/sbin/apacheaddmod \ - ${ROOT}/etc/apache/conf/apache.conf \ - extramodules/libphp4.so mod_php4.c php4_module \ - before=perl define=PHP4 addconf=conf/addon-modules/mod_php.conf - :; -} diff --git a/dev-lang/php/php-4.1.2-r6.ebuild b/dev-lang/php/php-4.1.2-r6.ebuild deleted file mode 100644 index 8357fa848182..000000000000 --- a/dev-lang/php/php-4.1.2-r6.ebuild +++ /dev/null @@ -1,204 +0,0 @@ -# Copyright 1999-2002 Gentoo Technologies, Inc. -# Distributed under the terms of the GNU General Public License, v2 or later -# $Header: /var/cvsroot/gentoo-x86/dev-lang/php/php-4.1.2-r6.ebuild,v 1.3 2002/07/11 06:30:20 drobbins Exp $ - -S=${WORKDIR}/${P} -DESCRIPTION="HTML embedded scripting language" -SRC_URI="http://www.php.net/distributions/${P}.tar.gz" -HOMEPAGE="http://www.php.net/" -LICENSE="PHP" -SLOT="0" -KEYWORDS="x86" - -DEPEND="virtual/glibc - >=dev-libs/gmp-3.1.1 - ~media-libs/freetype-1.3.1 - >=media-libs/jpeg-6b - >=media-libs/tiff-3.5.5 - >=media-libs/libpng-1.2.1 - >=media-libs/libgd-1.8.3 - >=media-libs/t1lib-1.0.1 - >=net-www/apache-1.3.24-r1 - pam? ( >=sys-libs/pam-0.75 ) - readline? ( >=sys-libs/ncurses-5.1 >=sys-libs/readline-4.1 ) - nls? ( sys-devel/gettext ) - gdbm? ( >=sys-libs/gdbm-1.8.0 ) - berkdb? ( >=sys-libs/db-3 ) - mysql? ( >=dev-db/mysql-3.23.26 ) - odbc? ( >=dev-db/unixODBC-1.8.13 ) - ldap? ( >=net-nds/openldap-1.2.11 ) - postgres? ( >=dev-db/postgresql-7.1 ) - mhash? ( >=app-crypt/mhash-0.8 ) - mcrypt? ( >=dev-libs/libmcrypt-2.4 ) - X? ( virtual/x11 ) - qt? ( =x11-libs/qt-2.3* ) - xml? ( >=app-text/sablotron-0.44 ) - libwww? ( >=net-libs/libwww-5.3.2 ) - imap? ( virtual/imapUW ) - flash? ( media-libs/libswf media-libs/ming ) - xml2? ( dev-libs/libxml2 ) - java? ( virtual/jdk ) - pdflib? ( >=media-libs/pdflib-4.0.1-r2 )" - -RDEPEND="virtual/glibc - >=dev-libs/gmp-3.1.1 - ~media-libs/freetype-1.3.1 - >=media-libs/jpeg-6b - >=media-libs/libpng-1.0.7 - >=media-libs/t1lib-1.0.1 - >=net-www/apache-1.3.24-r1 - pam? ( >=sys-libs/pam-0.75 ) - gdbm? ( >=sys-libs/gdbm-1.8.0 ) - berkdb? ( >=sys-libs/db-3 ) - mysql? ( >=dev-db/mysql-3.23.26 ) - odbc? ( >=dev-db/unixODBC-1.8.13 ) - ldap? ( >=net-nds/openldap-1.2.11 ) - postgres? ( >=dev-db/postgresql-7.1 ) - X? ( virtual/x11 ) - qt? ( >=x11-libs/qt-2.3.0 ) - xml? ( >=app-text/sablotron-0.44 ) - libwww? ( >=net-libs/libwww-5.3.2 ) - xml2? ( dev-libs/libxml2 ) - java? ( virtual/jdk ) - pdflib? ( >=media-libs/pdflib-4.0.1-r2 ) - " - -src_unpack() { - unpack ${P}.tar.gz - cd ${S} - if [ "`use java`" ] ; then - - cp configure configure.orig - cat configure.orig | \ - sed -e 's/LIBS="-lttf $LIBS"/LIBS="-lttf -lhpi $LIBS"/' \ - > configure - - cp ext/gd/gd.c ext/gd/gd.c.orig - cat ext/gd/gd.c.orig | \ - sed -e "s/typedef FILE gdIOCtx;//" \ - > ext/gd/gd.c - fi -} - -src_compile() { - - local myconf - - # readline can only be used w/ CGI build, so I'll turn it off - #if [ "`use readline`" ] ; then - # myconf="--with-readline" - #fi - # also, t1lib support seems to be broken: gcc: /usr/lib/.libs/libt1.so: No such file or directory - - myconf="--without-readline --without-t1lib" - use pam && myconf="$myconf --with-pam" - use nls && myconf="$myconf --with-gettext" - use gdbm && myconf="$myconf --with-gdbm=/usr" - use berkdb && myconf="$myconf --with-db3=/usr" - use mysql && myconf="$myconf --with-mysql=/usr" - use postgres && myconf="$myconf --with-pgsql=/usr" - use odbc && myconf="$myconf --with-unixODBC=/usr" - use ldap && myconf="$myconf --with-ldap" - use pdflib && myconf="$myconf --with-pdflib" - - if [ "`use qt`" ] ; then - export QTDIR=/usr/qt/2 #hope this helps - danarmak - myconf="$myconf --with-qtdom" - fi - - if [ "`use imap`" ] ; then - # need to see if imap was built w/ ssl support - local pkg=`tail -n 1 /var/db/pkg/virtual/imapUW/VIRTUAL` - if [ "`grep ssl /var/db/pkg/${pkg}/USE`" ] ; then - echo "imap compiled with SSL" - myconf="$myconf --with-imap-ssl" - else - echo "imap compiled w/o SSL" - myconf="$myconf --with-imap" - # php build will fail if imap doesn't have SSL support - echo "unfortunately, the php build will fail due to" - echo "strange header errors in /usr/include/imap4r1.h" - echo "Please rebuild uw-imap or pine w/ 'ssl' in USE" - die - fi - fi - use libwww && myconf="$myconf --with-xml" || myconf="$myconf --disable-xml" - use flash && myconf="$myconf --with-swf=/usr --with-ming=/usr" - - if [ "`use xml`" ] ; then - export LIBS="-lxmlparse -lxmltok" - myconf="$myconf --with-sablot=/usr" - fi - - use xml2 && myconf="$myconf --with-dom" - use mhash && myconf="$myconf --with-mhash" - use mcrypt && myconf="$myconf --with-mcrypt" - use java && myconf="$myconf --with-java=${JDK_HOME}" - - LDFLAGS="$LDFLAGS -ltiff -ljpeg" - - if [ "`use X`" ] ; then - myconf="$myconf --with-xpm-dir=/usr/X11R6" - LDFLAGS="$LDFLAGS -L/usr/X11R6/lib" - fi - - ./configure \ - --prefix=/usr \ - --with-gd \ - --with-gmp \ - --with-ttf \ - --enable-ftp \ - --with-t1lib \ - --enable-dbase \ - --with-zlib=yes \ - --enable-bcmath \ - --enable-sysvsem \ - --enable-sysvshm \ - --enable-calendar \ - --enable-trans-sid \ - --enable-safe-mode \ - --enable-versioning \ - --enable-track-vars \ - --with-png-dir=/usr/lib \ - --with-jpeg-dir=/usr/lib \ - --enable-inline-optimization \ - --with-apxs="/usr/sbin/apxs -ltiff" \ - --with-exec-dir="/usr/lib/apache/bin" \ - --with-config-file-path=`/usr/sbin/apxs -q SYSCONFDIR` \ - --host=${CHOST} ${myconf} || die "bad ./configure" - - make || die "compile problem" -} - - -src_install() { - make INSTALL_ROOT=${D} install-pear || die - - dodoc CODING_STANDARDS LICENSE EXTENSIONS - dodoc RELEASE_PROCESS README.* TODO NEWS - dodoc ChangeLog* *.txt - - exeinto /usr/lib/apache-extramodules - doexe .libs/libphp4.so - - insinto /etc/apache/conf/addon-modules - doins ${FILESDIR}/mod_php.conf - newins php.ini-dist php.ini - dosym /etc/apache/conf/addon-modules/php.ini /etc/apache/conf/php.ini -} - -pkg_postinst() { - einfo - einfo "Execute ebuild /var/db/pkg/${CATEGORY}/${PF}/${PF}.ebuild config" - einfo "to have your apache.conf auto-updated for use with this module." - einfo "You should then edit your /etc/conf.d/apache file to suit." - einfo -} - -pkg_config() { - ${ROOT}/usr/sbin/apacheaddmod \ - ${ROOT}/etc/apache/conf/apache.conf \ - extramodules/libphp4.so mod_php4.c php4_module \ - before=perl define=PHP4 addconf=conf/addon-modules/mod_php.conf - :; -} diff --git a/dev-lang/php/php-4.1.2-r7.ebuild b/dev-lang/php/php-4.1.2-r7.ebuild deleted file mode 100644 index 55a6cc2fb3e7..000000000000 --- a/dev-lang/php/php-4.1.2-r7.ebuild +++ /dev/null @@ -1,185 +0,0 @@ -# Copyright 1999-2002 Gentoo Technologies, Inc. -# Distributed under the terms of the GNU General Public License, v2 or later -# $Header: /var/cvsroot/gentoo-x86/dev-lang/php/php-4.1.2-r7.ebuild,v 1.7 2002/07/11 06:30:20 drobbins Exp $ - -S=${WORKDIR}/${P} -DESCRIPTION="HTML embedded scripting language" -SRC_URI="http://www.php.net/distributions/${P}.tar.gz" -HOMEPAGE="http://www.php.net/" -LICENSE="PHP" -SLOT="0" -KEYWORDS="x86" - -DEPEND=">=dev-libs/gmp-3.1.1 - ~media-libs/freetype-1.3.1 - >=media-libs/jpeg-6b - >=media-libs/tiff-3.5.5 - >=media-libs/libpng-1.2.1 - >=media-libs/libgd-1.8.3 - >=media-libs/t1lib-1.0.1 - >=net-www/apache-1.3.24-r1 - X? ( virtual/x11 ) - qt? ( =x11-libs/qt-2.3* ) - nls? ( sys-devel/gettext ) - pam? ( >=sys-libs/pam-0.75 ) - xml? ( >=app-text/sablotron-0.44 ) - imap? ( >=net-mail/uw-imap-2001a-r1 ) - gdbm? ( >=sys-libs/gdbm-1.8.0 ) - java? ( virtual/jdk ) - ldap? ( >=net-nds/openldap-1.2.11 ) - odbc? ( >=dev-db/unixODBC-1.8.13 ) - xml2? ( dev-libs/libxml2 ) - crypt? ( >=dev-libs/libmcrypt-2.4 - >=app-crypt/mhash-0.8 ) - mysql? ( >=dev-db/mysql-3.23.26 ) - flash? ( media-libs/libswf media-libs/ming ) - berkdb? ( >=sys-libs/db-3 ) - libwww? ( >=net-libs/libwww-5.3.2 ) - pdflib? ( >=media-libs/pdflib-4.0.1-r2 ) - postgres? ( >=dev-db/postgresql-7.1 ) - readline? ( >=sys-libs/ncurses-5.1 - >=sys-libs/readline-4.1 )" - -RDEPEND="${DEPEND} - qt? ( >=x11-libs/qt-2.3.0 ) - xml? ( >=app-text/sablotron-0.44 )" - -src_unpack() { - unpack ${P}.tar.gz - cd ${S} - if [ "`use java`" ] ; then - - cp configure configure.orig - cat configure.orig | \ - sed -e 's/LIBS="-lttf $LIBS"/LIBS="-lttf -lhpi $LIBS"/' \ - > configure - - cp ext/gd/gd.c ext/gd/gd.c.orig - cat ext/gd/gd.c.orig | \ - sed -e "s/typedef FILE gdIOCtx;//" \ - > ext/gd/gd.c - if [ "$JAVAC" ]; - then - cp ext/java/Makefile.in ext/java/Makefile.in.orig - cat ext/java/Makefile.in.orig | \ - sed -e "s/^\tjavac/\t\$(JAVAC)/" \ - > ext/java/Makefile.in - fi - fi -} - -src_compile() { - - local myconf - - # readline can only be used w/ CGI build, so I'll turn it off - #if [ "`use readline`" ] ; then - # myconf="--with-readline" - #fi - # also, t1lib support seems to be broken: gcc: /usr/lib/.libs/libt1.so: No such file or directory - - myconf="--without-readline --without-t1lib" - use pam && myconf="${myconf} --with-pam" - use nls || myconf="${myconf} --without-gettext" - use gdbm && myconf="${myconf} --with-gdbm=/usr" - use berkdb && myconf="${myconf} --with-db3=/usr" - use mysql && myconf="${myconf} --with-mysql=/usr" - use postgres && myconf="${myconf} --with-pgsql=/usr" - use odbc && myconf="${myconf} --with-unixODBC=/usr" - use ldap && myconf="${myconf} --with-ldap" - use pdflib && myconf="${myconf} --with-pdflib" - - use qt && ( \ - export QTDIR=/usr/qt/2 #hope this helps - danarmak - myconf="${myconf} --with-qtdom" - ) - - if [ "`use imap`" ] ; then - if [ "`use ssl`" ] && [ "`strings ${ROOT}/usr/lib/c-client.a \ - | grep ssl_onceonlyinit`" ] ; then - echo "Compiling imap with SSL support" - myconf="${myconf} --with-imap --with-imap-ssl" - else - echo "Compiling imap without SSL support" - myconf="${myconf} --with-imap" - fi - fi - use libwww && myconf="${myconf} --with-xml" || myconf="${myconf} --disable-xml" - use flash && myconf="${myconf} --with-swf=/usr --with-ming=/usr" - - if [ "`use xml`" ] ; then - export LIBS="-lxmlparse -lxmltok" - myconf="${myconf} --with-sablot=/usr" - fi - - use xml2 && myconf="${myconf} --with-dom" - use crypt && myconf="${myconf} --with-mcrypt --with-mhash" - use java && myconf="${myconf} --with-java=${JDK_HOME}" - - LDFLAGS="$LDFLAGS -ltiff -ljpeg" - - if [ "`use X`" ] ; then - myconf="${myconf} --with-xpm-dir=/usr/X11R6" - LDFLAGS="$LDFLAGS -L/usr/X11R6/lib" - fi - - ./configure \ - --prefix=/usr \ - --with-gd \ - --with-gmp \ - --with-ttf \ - --enable-ftp \ - --with-t1lib \ - --enable-dbase \ - --with-zlib=yes \ - --enable-bcmath \ - --enable-sysvsem \ - --enable-sysvshm \ - --enable-calendar \ - --enable-trans-sid \ - --enable-safe-mode \ - --enable-versioning \ - --enable-track-vars \ - --with-png-dir=/usr/lib \ - --with-jpeg-dir=/usr/lib \ - --enable-inline-optimization \ - --with-apxs="/usr/sbin/apxs -ltiff" \ - --with-exec-dir="/usr/lib/apache/bin" \ - --with-config-file-path=`/usr/sbin/apxs -q SYSCONFDIR` \ - --host=${CHOST} ${myconf} || die "bad ./configure" - - make || die "compile problem" -} - - -src_install() { - make INSTALL_ROOT=${D} install-pear || die - - dodoc CODING_STANDARDS LICENSE EXTENSIONS - dodoc RELEASE_PROCESS README.* TODO NEWS - dodoc ChangeLog* *.txt - - exeinto /usr/lib/apache-extramodules - doexe .libs/libphp4.so - - insinto /etc/apache/conf/addon-modules - doins ${FILESDIR}/mod_php.conf - newins php.ini-dist php.ini - dosym /etc/apache/conf/addon-modules/php.ini /etc/apache/conf/php.ini -} - -pkg_postinst() { - einfo - einfo "Type: \"ebuild /var/db/pkg/${CATEGORY}/${PF}/${PF}.ebuild config\"" - einfo "to have your apache.conf auto-updated for use with the php module." - einfo "You should then edit your /etc/conf.d/apache file to suit." - einfo -} - -pkg_config() { - ${ROOT}/usr/sbin/apacheaddmod \ - ${ROOT}/etc/apache/conf/apache.conf \ - extramodules/libphp4.so mod_php4.c php4_module \ - before=perl define=PHP4 addconf=conf/addon-modules/mod_php.conf - :; -} diff --git a/dev-lang/php/php-4.1.2-r8.ebuild b/dev-lang/php/php-4.1.2-r8.ebuild deleted file mode 100644 index 610584db0336..000000000000 --- a/dev-lang/php/php-4.1.2-r8.ebuild +++ /dev/null @@ -1,185 +0,0 @@ -# Copyright 1999-2002 Gentoo Technologies, Inc. -# Distributed under the terms of the GNU General Public License, v2 or later -# $Header: /var/cvsroot/gentoo-x86/dev-lang/php/php-4.1.2-r8.ebuild,v 1.4 2002/07/11 06:30:20 drobbins Exp $ - -S=${WORKDIR}/${P} -DESCRIPTION="HTML embedded scripting language" -SRC_URI="http://www.php.net/distributions/${P}.tar.gz" -HOMEPAGE="http://www.php.net/" -LICENSE="PHP" -SLOT="0" -KEYWORDS="x86" - -DEPEND=">=dev-libs/gmp-3.1.1 - ~media-libs/freetype-1.3.1 - >=media-libs/jpeg-6b - >=media-libs/tiff-3.5.5 - >=media-libs/libpng-1.2.1 - >=media-libs/libgd-1.8.3 - >=media-libs/t1lib-1.0.1 - >=net-www/apache-1.3.24-r1 - X? ( virtual/x11 ) - qt? ( =x11-libs/qt-2.3* ) - nls? ( sys-devel/gettext ) - pam? ( >=sys-libs/pam-0.75 ) - xml? ( >=app-text/sablotron-0.44 ) - imap? ( >=net-mail/uw-imap-2001a-r1 ) - gdbm? ( >=sys-libs/gdbm-1.8.0 ) - java? ( virtual/jdk ) - ldap? ( >=net-nds/openldap-1.2.11 ) - odbc? ( >=dev-db/unixODBC-1.8.13 ) - xml2? ( dev-libs/libxml2 ) - crypt? ( >=dev-libs/libmcrypt-2.4 - >=app-crypt/mhash-0.8 ) - mysql? ( >=dev-db/mysql-3.23.26 ) - flash? ( media-libs/libswf media-libs/ming ) - berkdb? ( >=sys-libs/db-3 ) - libwww? ( >=net-libs/libwww-5.3.2 ) - pdflib? ( >=media-libs/pdflib-4.0.1-r2 ) - postgres? ( >=dev-db/postgresql-7.1 ) - readline? ( >=sys-libs/ncurses-5.1 - >=sys-libs/readline-4.1 )" - -RDEPEND="${DEPEND} - qt? ( >=x11-libs/qt-2.3.0 ) - xml? ( >=app-text/sablotron-0.44 )" - -src_unpack() { - unpack ${P}.tar.gz - cd ${S} - if [ "`use java`" ] ; then - - cp configure configure.orig - cat configure.orig | \ - sed -e 's/LIBS="-lttf $LIBS"/LIBS="-lttf -lhpi $LIBS"/' \ - > configure - - cp ext/gd/gd.c ext/gd/gd.c.orig - cat ext/gd/gd.c.orig | \ - sed -e "s/typedef FILE gdIOCtx;//" \ - > ext/gd/gd.c - if [ "$JAVAC" ]; - then - cp ext/java/Makefile.in ext/java/Makefile.in.orig - cat ext/java/Makefile.in.orig | \ - sed -e "s/^\tjavac/\t\$(JAVAC)/" \ - > ext/java/Makefile.in - fi - fi -} - -src_compile() { - - local myconf - - # readline can only be used w/ CGI build, so I'll turn it off - #if [ "`use readline`" ] ; then - # myconf="--with-readline" - #fi - # also, t1lib support seems to be broken: gcc: /usr/lib/.libs/libt1.so: No such file or directory - - myconf="--without-readline --without-t1lib" - use pam && myconf="${myconf} --with-pam" - use nls || myconf="${myconf} --without-gettext" - use gdbm && myconf="${myconf} --with-gdbm=/usr" - use berkdb && myconf="${myconf} --with-db3=/usr" - use mysql && myconf="${myconf} --with-mysql=/usr" - use postgres && myconf="${myconf} --with-pgsql=/usr" - use odbc && myconf="${myconf} --with-unixODBC=/usr" - use ldap && myconf="${myconf} --with-ldap" - use pdflib && myconf="${myconf} --with-pdflib" - - use qt && ( \ - export QTDIR=/usr/qt/2 #hope this helps - danarmak - myconf="${myconf} --with-qtdom" - ) - - if [ "`use imap`" ] ; then - if [ "`use ssl`" ] && [ "`strings ${ROOT}/usr/lib/c-client.a \ - | grep ssl_onceonlyinit`" ] ; then - echo "Compiling imap with SSL support" - myconf="${myconf} --with-imap --with-imap-ssl" - else - echo "Compiling imap without SSL support" - myconf="${myconf} --with-imap" - fi - fi - use libwww && myconf="${myconf} --with-xml" || myconf="${myconf} --disable-xml" - use flash && myconf="${myconf} --with-swf=/usr --with-ming=/usr" - - if [ "`use xml`" ] ; then - export LIBS="-lxmlparse -lxmltok" - myconf="${myconf} --with-sablot=/usr" - fi - - use xml2 && myconf="${myconf} --with-dom" - use crypt && myconf="${myconf} --with-mcrypt --with-mhash" - use java && myconf="${myconf} --with-java=${JDK_HOME}" - - LDFLAGS="$LDFLAGS -ltiff -ljpeg" - - if [ "`use X`" ] ; then - myconf="${myconf} --with-xpm-dir=/usr/X11R6" - LDFLAGS="$LDFLAGS -L/usr/X11R6/lib" - fi - - ./configure \ - --prefix=/usr \ - --with-gd \ - --with-gmp \ - --with-ttf \ - --enable-ftp \ - --with-t1lib \ - --enable-dbase \ - --with-zlib=yes \ - --enable-bcmath \ - --enable-sysvsem \ - --enable-sysvshm \ - --enable-calendar \ - --enable-trans-sid \ - --enable-safe-mode \ - --enable-versioning \ - --enable-track-vars \ - --with-png-dir=/usr/lib \ - --with-jpeg-dir=/usr/lib \ - --enable-inline-optimization \ - --with-apxs="/usr/sbin/apxs -ltiff" \ - --with-exec-dir="/usr/lib/apache/bin" \ - --with-config-file-path=`/usr/sbin/apxs -q SYSCONFDIR` \ - --host=${CHOST} ${myconf} || die "bad ./configure" - - make || die "compile problem" -} - - -src_install() { - make INSTALL_ROOT=${D} install-pear || die - - dodoc CODING_STANDARDS LICENSE EXTENSIONS - dodoc RELEASE_PROCESS README.* TODO NEWS - dodoc ChangeLog* *.txt - - exeinto /usr/lib/apache-extramodules - doexe .libs/libphp4.so - - insinto /etc/apache/conf/addon-modules - doins ${FILESDIR}/mod_php.conf - newins php.ini-dist php.ini - dosym /etc/apache/conf/addon-modules/php.ini /etc/apache/conf/php.ini -} - -pkg_postinst() { - einfo - einfo "Execute ebuild /var/db/pkg/${CATEGORY}/${PF}/${PF}.ebuild config" - einfo "to have your apache.conf auto-updated for use with this module." - einfo "You should then edit your /etc/conf.d/apache file to suit." - einfo -} - -pkg_config() { - ${ROOT}/usr/sbin/apacheaddmod \ - ${ROOT}/etc/apache/conf/apache.conf \ - extramodules/libphp4.so mod_php4.c php4_module \ - before=perl define=PHP4 addconf=conf/addon-modules/mod_php.conf - :; -} diff --git a/dev-lang/php/php-4.1.2-r9.ebuild b/dev-lang/php/php-4.1.2-r9.ebuild deleted file mode 100644 index 8fa403e40cd0..000000000000 --- a/dev-lang/php/php-4.1.2-r9.ebuild +++ /dev/null @@ -1,192 +0,0 @@ -# Copyright 1999-2002 Gentoo Technologies, Inc. -# Distributed under the terms of the GNU General Public License, v2 or later -# $Header: /var/cvsroot/gentoo-x86/dev-lang/php/php-4.1.2-r9.ebuild,v 1.3 2002/07/11 06:30:20 drobbins Exp $ - -S=${WORKDIR}/${P} -DESCRIPTION="HTML embedded scripting language" -SRC_URI="http://www.php.net/distributions/${P}.tar.gz" -HOMEPAGE="http://www.php.net/" -LICENSE="PHP" -SLOT="0" -KEYWORDS="x86" - -DEPEND=">=dev-libs/gmp-3.1.1 - ~media-libs/freetype-1.3.1 - >=media-libs/jpeg-6b - >=media-libs/tiff-3.5.5 - >=media-libs/libpng-1.2.1 - >=media-libs/libgd-1.8.3 - >=media-libs/t1lib-1.0.1 - >=net-www/apache-1.3.24-r1 - X? ( virtual/x11 ) - qt? ( =x11-libs/qt-2.3* ) - nls? ( sys-devel/gettext ) - pam? ( >=sys-libs/pam-0.75 ) - ssl? ( >=dev-libs/openssl-0.9.5 ) - curl? ( >=net-ftp/curl-7.8.1 ) - snmp? ( net-analyzer/ucd-snmp ) - xml? ( >=app-text/sablotron-0.44 ) - imap? ( >=net-mail/uw-imap-2001a-r1 ) - gdbm? ( >=sys-libs/gdbm-1.8.0 ) - java? ( virtual/jdk ) - ldap? ( >=net-nds/openldap-1.2.11 ) - odbc? ( >=dev-db/unixODBC-1.8.13 ) - xml2? ( dev-libs/libxml2 ) - crypt? ( >=dev-libs/libmcrypt-2.4 - >=app-crypt/mhash-0.8 ) - mysql? ( >=dev-db/mysql-3.23.26 ) - flash? ( media-libs/libswf media-libs/ming ) - berkdb? ( >=sys-libs/db-3 ) - libwww? ( >=net-libs/libwww-5.3.2 ) - pdflib? ( >=media-libs/pdflib-4.0.1-r2 ) - postgres? ( >=dev-db/postgresql-7.1 ) - readline? ( >=sys-libs/ncurses-5.1 - >=sys-libs/readline-4.1 )" - -RDEPEND="${DEPEND} - qt? ( >=x11-libs/qt-2.3.0 ) - xml? ( >=app-text/sablotron-0.44 )" - -src_unpack() { - unpack ${P}.tar.gz - cd ${S} - if [ "`use java`" ] ; then - - cp configure configure.orig - cat configure.orig | \ - sed -e 's/LIBS="-lttf $LIBS"/LIBS="-lttf -lhpi $LIBS"/' \ - > configure - - cp ext/gd/gd.c ext/gd/gd.c.orig - cat ext/gd/gd.c.orig | \ - sed -e "s/typedef FILE gdIOCtx;//" \ - > ext/gd/gd.c - if [ "$JAVAC" ]; - then - cp ext/java/Makefile.in ext/java/Makefile.in.orig - cat ext/java/Makefile.in.orig | \ - sed -e "s/^\tjavac/\t\$(JAVAC)/" \ - > ext/java/Makefile.in - fi - fi -} - -src_compile() { - - local myconf - - # readline can only be used w/ CGI build, so I'll turn it off - #if [ "`use readline`" ] ; then - # myconf="--with-readline" - #fi - # also, t1lib support seems to be broken: gcc: /usr/lib/.libs/libt1.so: No such file or directory - - myconf="--without-readline --without-t1lib" - use pam && myconf="${myconf} --with-pam" - use nls || myconf="${myconf} --without-gettext" - use ssl && myconf="${myconf} --with-openssl" - use curl && myconf="${myconf} --with-curl" - use snmp && myconf="${myconf} --with-snmp --enable-ucd-snmp-hack" - use gdbm && myconf="${myconf} --with-gdbm=/usr" - use berkdb && myconf="${myconf} --with-db3=/usr" - use mysql && myconf="${myconf} --with-mysql=/usr" - use postgres && myconf="${myconf} --with-pgsql=/usr" - use odbc && myconf="${myconf} --with-unixODBC=/usr" - use ldap && myconf="${myconf} --with-ldap" - use pdflib && myconf="${myconf} --with-pdflib" - - use qt && ( \ - export QTDIR=/usr/qt/2 #hope this helps - danarmak - myconf="${myconf} --with-qtdom" - ) - - if [ "`use imap`" ] ; then - if [ "`use ssl`" ] && [ "`strings ${ROOT}/usr/lib/c-client.a \ - | grep ssl_onceonlyinit`" ] ; then - echo "Compiling imap with SSL support" - myconf="${myconf} --with-imap --with-imap-ssl" - else - echo "Compiling imap without SSL support" - myconf="${myconf} --with-imap" - fi - fi - use libwww && myconf="${myconf} --with-xml" || myconf="${myconf} --disable-xml" - use flash && myconf="${myconf} --with-swf=/usr --with-ming=/usr" - - if [ "`use xml`" ] ; then - export LIBS="-lxmlparse -lxmltok" - myconf="${myconf} --with-sablot=/usr" - fi - - use xml2 && myconf="${myconf} --with-dom" - use crypt && myconf="${myconf} --with-mcrypt --with-mhash" - use java && myconf="${myconf} --with-java=${JDK_HOME}" - - LDFLAGS="$LDFLAGS -ltiff -ljpeg" - - if [ "`use X`" ] ; then - myconf="${myconf} --with-xpm-dir=/usr/X11R6" - LDFLAGS="$LDFLAGS -L/usr/X11R6/lib" - fi - - ./configure \ - --prefix=/usr \ - --with-gd \ - --with-gmp \ - --with-bz2 \ - --with-ttf \ - --enable-ftp \ - --with-t1lib \ - --enable-dbase \ - --with-zlib=yes \ - --enable-bcmath \ - --enable-sysvsem \ - --enable-sysvshm \ - --enable-calendar \ - --enable-trans-sid \ - --enable-safe-mode \ - --enable-versioning \ - --enable-track-vars \ - --with-png-dir=/usr/lib \ - --with-jpeg-dir=/usr/lib \ - --enable-inline-optimization \ - --with-apxs="/usr/sbin/apxs -ltiff" \ - --with-exec-dir="/usr/lib/apache/bin" \ - --with-config-file-path=`/usr/sbin/apxs -q SYSCONFDIR` \ - --host=${CHOST} ${myconf} || die "bad ./configure" - - make || die "compile problem" -} - - -src_install() { - make INSTALL_ROOT=${D} install-pear || die - - dodoc CODING_STANDARDS LICENSE EXTENSIONS - dodoc RELEASE_PROCESS README.* TODO NEWS - dodoc ChangeLog* *.txt - - exeinto /usr/lib/apache-extramodules - doexe .libs/libphp4.so - - insinto /etc/apache/conf/addon-modules - doins ${FILESDIR}/mod_php.conf - newins php.ini-dist php.ini - dosym /etc/apache/conf/addon-modules/php.ini /etc/apache/conf/php.ini -} - -pkg_postinst() { - einfo - einfo "Execute ebuild /var/db/pkg/${CATEGORY}/${PF}/${PF}.ebuild config" - einfo "to have your apache.conf auto-updated for use with this module." - einfo "You should then edit your /etc/conf.d/apache file to suit." - einfo -} - -pkg_config() { - ${ROOT}/usr/sbin/apacheaddmod \ - ${ROOT}/etc/apache/conf/apache.conf \ - extramodules/libphp4.so mod_php4.c php4_module \ - before=perl define=PHP4 addconf=conf/addon-modules/mod_php.conf - :; -} diff --git a/dev-lang/php/php-4.2.0.ebuild b/dev-lang/php/php-4.2.0.ebuild deleted file mode 100644 index ae9ec6130d6e..000000000000 --- a/dev-lang/php/php-4.2.0.ebuild +++ /dev/null @@ -1,194 +0,0 @@ -# Copyright 1999-2002 Gentoo Technologies, Inc. -# Distributed under the terms of the GNU General Public License, v2 or later -# Update: Roman Weber <gentoo@gonzo.ch> -# /space/gentoo/cvsroot/gentoo-x86/dev-lang/php/php-4.1.2-r8.ebuild,v 1.2 2002/04/28 23:38:19 rphillips Exp - -S=${WORKDIR}/${P} -DESCRIPTION="HTML embedded scripting language" -SRC_URI="http://www.php.net/distributions/${P}.tar.gz" -HOMEPAGE="http://www.php.net/" -LICENSE="PHP" -SLOT="0" -KEYWORDS="x86" - -DEPEND=">=dev-libs/gmp-3.1.1 - ~media-libs/freetype-1.3.1 - >=media-libs/jpeg-6b - >=media-libs/tiff-3.5.5 - >=media-libs/libpng-1.2.1 - >=media-libs/libgd-1.8.3 - >=media-libs/t1lib-1.3.1 - >=net-www/apache-1.3.24-r1 - X? ( virtual/x11 ) - qt? ( =x11-libs/qt-2.3* ) - nls? ( sys-devel/gettext ) - pam? ( >=sys-libs/pam-0.75 ) - xml? ( >=app-text/sablotron-0.44 ) - imap? ( >=net-mail/uw-imap-2001a-r1 ) - gdbm? ( >=sys-libs/gdbm-1.8.0 ) - java? ( virtual/jdk ) - ldap? ( >=net-nds/openldap-1.2.11 ) - odbc? ( >=dev-db/unixODBC-1.8.13 ) - xml2? ( dev-libs/libxml2 ) - crypt? ( >=dev-libs/libmcrypt-2.4 - >=app-crypt/mhash-0.8 ) - mysql? ( >=dev-db/mysql-3.23.26 ) - flash? ( media-libs/libswf media-libs/ming ) - berkdb? ( >=sys-libs/db-3 ) - libwww? ( >=net-libs/libwww-5.3.2 ) - pdflib? ( >=media-libs/pdflib-4.0.1-r2 ) - postgres? ( >=dev-db/postgresql-7.1 )" -# Only needed by CGI-Version -# readline? ( >=sys-libs/ncurses-5.1 -# >=sys-libs/readline-4.1 )" - -RDEPEND="${DEPEND} - qt? ( >=x11-libs/qt-2.3.0 ) - xml? ( >=app-text/sablotron-0.44 )" - -src_unpack() { - unpack ${P}.tar.gz - cd ${S} - - if [ "`use java`" ] ; then - - cp configure configure.orig - cat configure.orig | \ - sed -e 's/LIBS="-lttf $LIBS"/LIBS="-lttf $LIBS"/' \ - > configure - - cp ext/gd/gd.c ext/gd/gd.c.orig - cat ext/gd/gd.c.orig | \ - sed -e "s/typedef FILE gdIOCtx;//" \ - > ext/gd/gd.c - if [ "$JAVAC" ]; - then - cp ext/java/Makefile.in ext/java/Makefile.in.orig - cat ext/java/Makefile.in.orig | \ - sed -e "s/^\tjavac/\t\$(JAVAC)/" \ - > ext/java/Makefile.in - fi - fi -} - -src_compile() { - - local myconf - - # readline can only be used w/ CGI build, so I'll turn it off - #if [ "`use readline`" ] ; then - # myconf="--with-readline" - #fi - - myconf="--without-readline " - use pam && myconf="${myconf} --with-pam" - use nls || myconf="${myconf} --without-gettext" - use gdbm && myconf="${myconf} --with-gdbm=/usr" - use berkdb && myconf="${myconf} --with-db3=/usr" - use mysql && myconf="${myconf} --with-mysql=/usr" - use postgres && myconf="${myconf} --with-pgsql=/usr" - use odbc && myconf="${myconf} --with-unixODBC=/usr" - use ldap && myconf="${myconf} --with-ldap" - use pdflib && myconf="${myconf} --with-pdflib" - - use qt && ( \ - export QTDIR=/usr/qt/2 #hope this helps - danarmak - myconf="${myconf} --with-qtdom" - ) - - if [ "`use imap`" ] ; then - if [ "`use ssl`" ] && [ "`strings ${ROOT}/usr/lib/c-client.a \ - | grep ssl_onceonlyinit`" ] ; then - echo "Compiling imap with SSL support" - myconf="${myconf} --with-imap --with-imap-ssl" - else - echo "Compiling imap without SSL support" - myconf="${myconf} --with-imap" - fi - fi - use libwww && myconf="${myconf} --with-xml" || myconf="${myconf} --disable-xml" - use flash && myconf="${myconf} --with-swf=/usr --with-ming=/usr" - - if [ "`use xml`" ] ; then - export LIBS="-lxmlparse -lxmltok" - myconf="${myconf} --with-sablot=/usr" - fi - - use xml2 && myconf="${myconf} --with-dom" - use crypt && myconf="${myconf} --with-mcrypt --with-mhash" - use java && myconf="${myconf} --with-java=${JDK_HOME}" - - LDFLAGS="$LDFLAGS -ltiff -ljpeg" - - if [ "`use X`" ] ; then - myconf="${myconf} --with-xpm-dir=/usr/X11R6" - LDFLAGS="$LDFLAGS -L/usr/X11R6/lib" - fi - - ./configure \ - --prefix=/usr \ - --with-gd \ - --with-gmp \ - --with-ttf \ - --enable-ftp \ - --with-t1lib \ - --enable-dbase \ - --with-zlib=yes \ - --enable-bcmath \ - --enable-sysvsem \ - --enable-sysvshm \ - --enable-calendar \ - --enable-trans-sid \ - --enable-safe-mode \ - --enable-versioning \ - --enable-track-vars \ - --with-png-dir=/usr/lib \ - --with-jpeg-dir=/usr/lib \ - --enable-inline-optimization \ - --with-apxs="/usr/sbin/apxs -ltiff" \ - --with-exec-dir="/usr/lib/apache/bin" \ - --with-config-file-path=/etc/php4 \ - --host=${CHOST} ${myconf} || die "bad ./configure" - - make || die "compile problem" -} - - -src_install() { - make INSTALL_ROOT=${D} install-pear || die - - dodoc CODING_STANDARDS LICENSE EXTENSIONS - dodoc RELEASE_PROCESS README.* TODO NEWS - dodoc ChangeLog* *.txt - - exeinto /usr/lib/apache-extramodules - doexe .libs/libphp4.so - - insinto /etc/apache/conf/addon-modules - doins ${FILESDIR}/mod_php.conf - insinto /etc/php4 - newins php.ini-dist php.ini - dosym /etc/php4/php.ini /etc/apache/conf/php.ini - dosym /usr/lib/php/extensions/no-debug-non-zts-20010901 /etc/php4/lib -} - -pkg_postinst() { - einfo - einfo "Execute ebuild /var/db/pkg/${CATEGORY}/${PF}/${PF}.ebuild config" - einfo "to have your apache.conf auto-updated for use with this module." - einfo "You should then edit your /etc/conf.d/apache file to suit." - einfo - einfo "Please remeber:" - einfo "This version of PHP has set register_globals = Off (Security)" - einfo "Please read http://www.php.net/release_4_1_0.php (SECURITY: NEW INPUT MECHANISM)" - einfo "for further information. Setting this option to off sometimes causes" - einfo "incompatibilities with some scripts." -} - -pkg_config() { - ${ROOT}/usr/sbin/apacheaddmod \ - ${ROOT}/etc/apache/conf/apache.conf \ - extramodules/libphp4.so mod_php4.c php4_module \ - before=perl define=PHP4 addconf=conf/addon-modules/mod_php.conf - :; -} diff --git a/dev-lang/php/php-4.2.1-r1.ebuild b/dev-lang/php/php-4.2.1-r1.ebuild deleted file mode 100644 index 2bb73b7b0054..000000000000 --- a/dev-lang/php/php-4.2.1-r1.ebuild +++ /dev/null @@ -1,216 +0,0 @@ -# Copyright 1999-2002 Gentoo Technologies, Inc. -# Distributed under the terms of the GNU General Public License, v2 or later -# Update: Roman Weber <gentoo@gonzo.ch> -# /space/gentoo/cvsroot/gentoo-x86/dev-lang/php/php-4.2.1.ebuild,v 1.2 2002/05/19 23:53:32 rphillips Exp - -S=${WORKDIR}/${P} -DESCRIPTION="HTML embedded scripting language" -SRC_URI="http://www.php.net/distributions/${P}.tar.gz" -HOMEPAGE="http://www.php.net/" -LICENSE="PHP" -SLOT="0" -KEYWORDS="x86" - -DEPEND=">=dev-libs/gmp-3.1.1 - ~media-libs/freetype-1.3.1 - >=media-libs/jpeg-6b - >=media-libs/tiff-3.5.5 - >=media-libs/libpng-1.2.1 - >=media-libs/libgd-1.8.3 - >=media-libs/t1lib-1.3.1 - >=net-www/apache-1.3.24-r1 - X? ( virtual/x11 ) - qt? ( =x11-libs/qt-2.3* ) - nls? ( sys-devel/gettext ) - pam? ( >=sys-libs/pam-0.75 ) - xml? ( >=app-text/sablotron-0.44 ) - ssl? ( >=dev-libs/openssl-0.9.5 ) - curl? ( >=net-ftp/curl-7.8.1 ) - snmp? ( >=net-analyzer/ucd-snmp-4.2.3 ) - imap? ( >=net-mail/uw-imap-2001a-r1 ) - gdbm? ( >=sys-libs/gdbm-1.8.0 ) - ldap? ( >=net-nds/openldap-1.2.11 ) - odbc? ( >=dev-db/unixODBC-1.8.13 ) - xml2? ( dev-libs/libxml2 ) - crypt? ( >=dev-libs/libmcrypt-2.4 - >=app-crypt/mhash-0.8 ) - mysql? ( >=dev-db/mysql-3.23.26 ) - flash? ( media-libs/libswf >=media-libs/ming-0.2a ) - berkdb? ( >=sys-libs/db-3 ) - libwww? ( >=net-libs/libwww-5.3.2 ) - firebird? ( >=dev-db/firebird-1.0 ) - pdflib? ( >=media-libs/pdflib-4.0.1-r2 ) - postgres? ( >=dev-db/postgresql-7.1 )" -# java? ( virtual/jdk ) -# Only needed by CGI-Version -# readline? ( >=sys-libs/ncurses-5.1 -# >=sys-libs/readline-4.1 )" - -RDEPEND="${DEPEND} - qt? ( >=x11-libs/qt-2.3.0 ) - xml? ( >=app-text/sablotron-0.44 )" - -src_unpack() { - unpack ${P}.tar.gz - cd ${S} - -# if [ "`use java`" ] ; then -# -# cp configure configure.orig -# cat configure.orig | \ -# sed -e 's/LIBS="-lttf $LIBS"/LIBS="-lttf $LIBS"/' \ -# > configure -# -# cp ext/gd/gd.c ext/gd/gd.c.orig -# cat ext/gd/gd.c.orig | \ -# sed -e "s/typedef FILE gdIOCtx;//" \ -# > ext/gd/gd.c -# if [ "$JAVAC" ]; -# then -# cp ext/java/Makefile.in ext/java/Makefile.in.orig -# cat ext/java/Makefile.in.orig | \ -# sed -e "s/^\tjavac/\t\$(JAVAC)/" \ -# > ext/java/Makefile.in -# fi -# fi - -} - -src_compile() { - - local myconf - - # readline can only be used w/ CGI build, so I'll turn it off - #if [ "`use readline`" ] ; then - # myconf="--with-readline" - #fi - - myconf="--without-readline " - use pam && myconf="${myconf} --with-pam" - use nls || myconf="${myconf} --without-gettext" - use ssl && myconf="${myconf} --with-openssl" - use curl && myconf="${myconf} --with-curl" - use snmp && myconf="${myconf} --with-snmp --enable-ucd-snmp-hack" - use gdbm && myconf="${myconf} --with-gdbm=/usr" - use berkdb && myconf="${myconf} --with-db3=/usr" - use mysql && myconf="${myconf} --with-mysql=/usr" || myconf="${myconf} --without-mysql" - use postgres && myconf="${myconf} --with-pgsql=/usr" - use odbc && myconf="${myconf} --with-unixODBC=/usr" - use ldap && myconf="${myconf} --with-ldap" - use pdflib && myconf="${myconf} --with-pdflib=/usr" - use firebird && myconf="${myconf} --with-interbase=/opt/interbase" - - # optional support for oracle oci8 - if [ "`use oci8`" ] ; then - if [ "$ORACLE_HOME" ] ; then - myconf="${myconf} --with-oci8=${ORACLE_HOME}" - fi - fi - - use qt && ( \ - export QTDIR=/usr/qt/2 #hope this helps - danarmak - myconf="${myconf} --with-qtdom" - ) - - if [ "`use imap`" ] ; then - if [ "`use ssl`" ] && [ "`strings ${ROOT}/usr/lib/c-client.a \ - | grep ssl_onceonlyinit`" ] ; then - echo "Compiling imap with SSL support" - myconf="${myconf} --with-imap --with-imap-ssl" - else - echo "Compiling imap without SSL support" - myconf="${myconf} --with-imap" - fi - fi - use libwww && myconf="${myconf} --with-xml" || myconf="${myconf} --disable-xml" - use flash && myconf="${myconf} --with-swf=/usr --with-ming=/usr" - - if [ "`use xml`" ] ; then - export LIBS="-lxmlparse -lxmltok" - myconf="${myconf} --with-sablot=/usr" - myconf="${myconf} --enable-xslt" - myconf="${myconf} --with-xslt-sablot" - fi - - use xml2 && myconf="${myconf} --with-dom" - use crypt && myconf="${myconf} --with-mcrypt --with-mhash" -# use java && myconf="${myconf} --with-java=${JDK_HOME}" - - LDFLAGS="$LDFLAGS -ltiff -ljpeg" - - if [ "`use X`" ] ; then - myconf="${myconf} --with-xpm-dir=/usr/X11R6" - LDFLAGS="$LDFLAGS -L/usr/X11R6/lib" - fi - - ./configure \ - --prefix=/usr \ - --with-gd \ - --with-gmp \ - --with-bz2 \ - --with-ttf \ - --enable-ftp \ - --with-t1lib \ - --enable-dbase \ - --with-zlib=yes \ - --enable-bcmath \ - --enable-sysvsem \ - --enable-sysvshm \ - --enable-calendar \ - --enable-trans-sid \ - --enable-safe-mode \ - --enable-versioning \ - --enable-track-vars \ - --with-png-dir=/usr \ - --with-jpeg-dir=/usr/lib \ - --enable-inline-optimization \ - --with-apxs="/usr/sbin/apxs -ltiff" \ - --with-exec-dir="/usr/lib/apache/bin" \ - --with-config-file-path=/etc/php4 \ - --host=${CHOST} ${myconf} || die "bad ./configure" - - make || die "compile problem" -} - - -src_install() { - make INSTALL_ROOT=${D} install-pear || die - - dodoc CODING_STANDARDS LICENSE EXTENSIONS - dodoc RELEASE_PROCESS README.* TODO NEWS - dodoc ChangeLog* *.txt - - exeinto /usr/lib/apache-extramodules - doexe .libs/libphp4.so - - insinto /etc/apache/conf/addon-modules - doins ${FILESDIR}/mod_php.conf - insinto /etc/php4 - cat php.ini-dist | sed "s/register_globals = Off/register_globals = On/g" > php.ini - doins php.ini - dosym /etc/php4/php.ini /etc/apache/conf/php.ini - dosym /etc/php4/php.ini /etc/apache/conf/addon-modules/php.ini - dosym /usr/lib/php/extensions/no-debug-non-zts-20020429 /etc/php4/lib -} - -pkg_postinst() { - einfo - einfo "Execute ebuild /var/db/pkg/${CATEGORY}/${PF}/${PF}.ebuild config" - einfo "to have your apache.conf auto-updated for use with this module." - einfo "You should then edit your /etc/conf.d/apache file to suit." - einfo - einfo "Please remeber:" - einfo "This install of PHP has set register_globals = On (lower security)" - einfo "Please read http://www.php.net/release_4_1_2.php (Section: External variables)" - einfo "for further informations." - einfo -} - -pkg_config() { - ${ROOT}/usr/sbin/apacheaddmod \ - ${ROOT}/etc/apache/conf/apache.conf \ - extramodules/libphp4.so mod_php4.c php4_module \ - before=perl define=PHP4 addconf=conf/addon-modules/mod_php.conf - :; -} - diff --git a/dev-lang/php/php-4.2.1-r2.ebuild b/dev-lang/php/php-4.2.1-r2.ebuild deleted file mode 100644 index 34ca3490d765..000000000000 --- a/dev-lang/php/php-4.2.1-r2.ebuild +++ /dev/null @@ -1,216 +0,0 @@ -# Copyright 1999-2002 Gentoo Technologies, Inc. -# Distributed under the terms of the GNU General Public License, v2 or later -# Update: Roman Weber <gentoo@gonzo.ch> -# /space/gentoo/cvsroot/gentoo-x86/dev-lang/php/php-4.2.1.ebuild,v 1.2 2002/05/19 23:53:32 rphillips Exp - -S=${WORKDIR}/${P} -DESCRIPTION="HTML embedded scripting language" -SRC_URI="http://www.php.net/distributions/${P}.tar.gz" -HOMEPAGE="http://www.php.net/" -LICENSE="PHP" -SLOT="0" -KEYWORDS="x86" - -DEPEND=">=dev-libs/gmp-3.1.1 - ~media-libs/freetype-1.3.1 - >=media-libs/jpeg-6b - >=media-libs/tiff-3.5.5 - >=media-libs/libpng-1.2.1 - >=media-libs/libgd-1.8.3 - >=media-libs/t1lib-1.3.1 - >=net-www/apache-1.3.26-r2 - X? ( virtual/x11 ) - qt? ( =x11-libs/qt-2.3* ) - nls? ( sys-devel/gettext ) - pam? ( >=sys-libs/pam-0.75 ) - xml? ( >=app-text/sablotron-0.44 ) - ssl? ( >=dev-libs/openssl-0.9.5 ) - curl? ( >=net-ftp/curl-7.8.1 ) - snmp? ( >=net-analyzer/ucd-snmp-4.2.3 ) - imap? ( >=net-mail/uw-imap-2001a-r1 ) - gdbm? ( >=sys-libs/gdbm-1.8.0 ) - ldap? ( >=net-nds/openldap-1.2.11 ) - odbc? ( >=dev-db/unixODBC-1.8.13 ) - xml2? ( dev-libs/libxml2 ) - crypt? ( >=dev-libs/libmcrypt-2.4 - >=app-crypt/mhash-0.8 ) - mysql? ( >=dev-db/mysql-3.23.26 ) - flash? ( media-libs/libswf >=media-libs/ming-0.2a ) - berkdb? ( >=sys-libs/db-3 ) - libwww? ( >=net-libs/libwww-5.3.2 ) - firebird? ( >=dev-db/firebird-1.0 ) - pdflib? ( >=media-libs/pdflib-4.0.1-r2 ) - postgres? ( >=dev-db/postgresql-7.1 )" -# java? ( virtual/jdk ) -# Only needed by CGI-Version -# readline? ( >=sys-libs/ncurses-5.1 -# >=sys-libs/readline-4.1 )" - -RDEPEND="${DEPEND} - qt? ( >=x11-libs/qt-2.3.0 ) - xml? ( >=app-text/sablotron-0.44 )" - -src_unpack() { - unpack ${P}.tar.gz - cd ${S} - -# if [ "`use java`" ] ; then -# -# cp configure configure.orig -# cat configure.orig | \ -# sed -e 's/LIBS="-lttf $LIBS"/LIBS="-lttf $LIBS"/' \ -# > configure -# -# cp ext/gd/gd.c ext/gd/gd.c.orig -# cat ext/gd/gd.c.orig | \ -# sed -e "s/typedef FILE gdIOCtx;//" \ -# > ext/gd/gd.c -# if [ "$JAVAC" ]; -# then -# cp ext/java/Makefile.in ext/java/Makefile.in.orig -# cat ext/java/Makefile.in.orig | \ -# sed -e "s/^\tjavac/\t\$(JAVAC)/" \ -# > ext/java/Makefile.in -# fi -# fi - -} - -src_compile() { - - local myconf - - # readline can only be used w/ CGI build, so I'll turn it off - #if [ "`use readline`" ] ; then - # myconf="--with-readline" - #fi - - myconf="--without-readline " - use pam && myconf="${myconf} --with-pam" - use nls || myconf="${myconf} --without-gettext" - use ssl && myconf="${myconf} --with-openssl" - use curl && myconf="${myconf} --with-curl" - use snmp && myconf="${myconf} --with-snmp --enable-ucd-snmp-hack" - use gdbm && myconf="${myconf} --with-gdbm=/usr" - use berkdb && myconf="${myconf} --with-db3=/usr" - use mysql && myconf="${myconf} --with-mysql=/usr" || myconf="${myconf} --without-mysql" - use postgres && myconf="${myconf} --with-pgsql=/usr" - use odbc && myconf="${myconf} --with-unixODBC=/usr" - use ldap && myconf="${myconf} --with-ldap" - use pdflib && myconf="${myconf} --with-pdflib=/usr" - use firebird && myconf="${myconf} --with-interbase=/opt/interbase" - - # optional support for oracle oci8 - if [ "`use oci8`" ] ; then - if [ "$ORACLE_HOME" ] ; then - myconf="${myconf} --with-oci8=${ORACLE_HOME}" - fi - fi - - use qt && ( \ - export QTDIR=/usr/qt/2 #hope this helps - danarmak - myconf="${myconf} --with-qtdom" - ) - - if [ "`use imap`" ] ; then - if [ "`use ssl`" ] && [ "`strings ${ROOT}/usr/lib/c-client.a \ - | grep ssl_onceonlyinit`" ] ; then - echo "Compiling imap with SSL support" - myconf="${myconf} --with-imap --with-imap-ssl" - else - echo "Compiling imap without SSL support" - myconf="${myconf} --with-imap" - fi - fi - use libwww && myconf="${myconf} --with-xml" || myconf="${myconf} --disable-xml" - use flash && myconf="${myconf} --with-swf=/usr --with-ming=/usr" - - if [ "`use xml`" ] ; then - export LIBS="-lxmlparse -lxmltok" - myconf="${myconf} --with-sablot=/usr" - myconf="${myconf} --enable-xslt" - myconf="${myconf} --with-xslt-sablot" - fi - - use xml2 && myconf="${myconf} --with-dom" - use crypt && myconf="${myconf} --with-mcrypt --with-mhash" -# use java && myconf="${myconf} --with-java=${JDK_HOME}" - - LDFLAGS="$LDFLAGS -ltiff -ljpeg" - - if [ "`use X`" ] ; then - myconf="${myconf} --with-xpm-dir=/usr/X11R6" - LDFLAGS="$LDFLAGS -L/usr/X11R6/lib" - fi - - ./configure \ - --prefix=/usr \ - --with-gd \ - --with-gmp \ - --with-bz2 \ - --with-ttf \ - --enable-ftp \ - --with-t1lib \ - --enable-dbase \ - --with-zlib=yes \ - --enable-bcmath \ - --enable-sysvsem \ - --enable-sysvshm \ - --enable-calendar \ - --enable-trans-sid \ - --enable-safe-mode \ - --enable-versioning \ - --enable-track-vars \ - --with-png-dir=/usr \ - --with-jpeg-dir=/usr/lib \ - --enable-inline-optimization \ - --with-apxs="/usr/sbin/apxs -ltiff" \ - --with-exec-dir="/usr/lib/apache/bin" \ - --with-config-file-path=/etc/php4 \ - --host=${CHOST} ${myconf} || die "bad ./configure" - - make || die "compile problem" -} - - -src_install() { - make INSTALL_ROOT=${D} install-pear || die - - dodoc CODING_STANDARDS LICENSE EXTENSIONS - dodoc RELEASE_PROCESS README.* TODO NEWS - dodoc ChangeLog* *.txt - - exeinto /usr/lib/apache-extramodules - doexe .libs/libphp4.so - - insinto /etc/apache/conf/addon-modules - doins ${FILESDIR}/mod_php.conf - insinto /etc/php4 - cat php.ini-dist | sed "s/register_globals = Off/register_globals = On/g" > php.ini - doins php.ini - dosym /etc/php4/php.ini /etc/apache/conf/php.ini - dosym /etc/php4/php.ini /etc/apache/conf/addon-modules/php.ini - dosym /usr/lib/php/extensions/no-debug-non-zts-20020429 /etc/php4/lib -} - -pkg_postinst() { - einfo - einfo "Execute ebuild /var/db/pkg/${CATEGORY}/${PF}/${PF}.ebuild config" - einfo "to have your apache.conf auto-updated for use with this module." - einfo "You should then edit your /etc/conf.d/apache file to suit." - einfo - einfo "Please remeber:" - einfo "This install of PHP has set register_globals = On (lower security)" - einfo "Please read http://www.php.net/release_4_1_2.php (Section: External variables)" - einfo "for further informations." - einfo -} - -pkg_config() { - ${ROOT}/usr/sbin/apacheaddmod \ - ${ROOT}/etc/apache/conf/apache.conf \ - extramodules/libphp4.so mod_php4.c php4_module \ - before=perl define=PHP4 addconf=conf/addon-modules/mod_php.conf - :; -} - diff --git a/dev-lang/php/php-4.2.1-r3.ebuild b/dev-lang/php/php-4.2.1-r3.ebuild deleted file mode 100644 index d1d7ae2d212f..000000000000 --- a/dev-lang/php/php-4.2.1-r3.ebuild +++ /dev/null @@ -1,215 +0,0 @@ -# Copyright 1999-2002 Gentoo Technologies, Inc. -# Distributed under the terms of the GNU General Public License, v2 or later -# Update: Roman Weber <gentoo@gonzo.ch> -# $Header: /var/cvsroot/gentoo-x86/dev-lang/php/php-4.2.1-r3.ebuild,v 1.2 2002/07/11 06:30:20 drobbins Exp $ - -S=${WORKDIR}/${P} -DESCRIPTION="HTML embedded scripting language" -SRC_URI="http://www.php.net/distributions/${P}.tar.gz" -HOMEPAGE="http://www.php.net/" -LICENSE="PHP" -SLOT="0" -KEYWORDS="x86" - -DEPEND=">=dev-libs/gmp-3.1.1 - freetype? ( ~media-libs/freetype-1.3.1 >=media-libs/t1lib-1.3.1 ) - jpeg? ( >=media-libs/jpeg-6b ) - tiff? ( >=media-libs/tiff-3.5.5 ) - png? ( >=media-libs/libpng-1.2.1 ) - gd? ( >=media-libs/libgd-1.8.3 ) - >=net-www/apache-1.3.26-r2 - X? ( virtual/x11 ) - qt? ( =x11-libs/qt-2.3* ) - nls? ( sys-devel/gettext ) - pam? ( >=sys-libs/pam-0.75 ) - xml? ( >=app-text/sablotron-0.44 ) - ssl? ( >=dev-libs/openssl-0.9.5 ) - curl? ( >=net-ftp/curl-7.8.1 ) - snmp? ( >=net-analyzer/ucd-snmp-4.2.3 ) - imap? ( >=net-mail/uw-imap-2001a-r1 ) - gdbm? ( >=sys-libs/gdbm-1.8.0 ) - ldap? ( >=net-nds/openldap-1.2.11 ) - odbc? ( >=dev-db/unixODBC-1.8.13 ) - xml2? ( dev-libs/libxml2 ) - crypt? ( >=dev-libs/libmcrypt-2.4 - >=app-crypt/mhash-0.8 ) - mysql? ( >=dev-db/mysql-3.23.26 ) - flash? ( media-libs/libswf >=media-libs/ming-0.2a ) - berkdb? ( >=sys-libs/db-3 ) - libwww? ( >=net-libs/libwww-5.3.2 ) - firebird? ( >=dev-db/firebird-1.0 ) - pdflib? ( >=media-libs/pdflib-4.0.1-r2 ) - postgres? ( >=dev-db/postgresql-7.1 )" -# java? ( virtual/jdk ) -# Only needed by CGI-Version -# readline? ( >=sys-libs/ncurses-5.1 -# >=sys-libs/readline-4.1 )" - -RDEPEND="${DEPEND} - qt? ( >=x11-libs/qt-2.3.0 ) - xml? ( >=app-text/sablotron-0.44 )" - -src_unpack() { - unpack ${P}.tar.gz - cd ${S} - -# if [ "`use java`" ] ; then -# -# cp configure configure.orig -# cat configure.orig | \ -# sed -e 's/LIBS="-lttf $LIBS"/LIBS="-lttf $LIBS"/' \ -# > configure -# -# cp ext/gd/gd.c ext/gd/gd.c.orig -# cat ext/gd/gd.c.orig | \ -# sed -e "s/typedef FILE gdIOCtx;//" \ -# > ext/gd/gd.c -# if [ "$JAVAC" ]; -# then -# cp ext/java/Makefile.in ext/java/Makefile.in.orig -# cat ext/java/Makefile.in.orig | \ -# sed -e "s/^\tjavac/\t\$(JAVAC)/" \ -# > ext/java/Makefile.in -# fi -# fi - -} - -src_compile() { - - local myconf - - # readline can only be used w/ CGI build, so I'll turn it off - #if [ "`use readline`" ] ; then - # myconf="--with-readline" - #fi - - myconf="--without-readline " - use pam && myconf="${myconf} --with-pam" - use nls && myconf="${myconf} --with-gettext" || myconf="${myconf} --without-gettext" - use ssl && myconf="${myconf} --with-openssl" - use curl && myconf="${myconf} --with-curl" - use snmp && myconf="${myconf} --with-snmp --enable-ucd-snmp-hack" - use gdbm && myconf="${myconf} --with-gdbm=/usr" - use berkdb && myconf="${myconf} --with-db3=/usr" - use mysql && myconf="${myconf} --with-mysql=/usr" || myconf="${myconf} --without-mysql" - use postgres && myconf="${myconf} --with-pgsql=/usr" - use odbc && myconf="${myconf} --with-unixODBC=/usr" - use ldap && myconf="${myconf} --with-ldap" - use pdflib && myconf="${myconf} --with-pdflib=/usr" - use gd && myconf="${myconf} --with-gd" - use freetype && myconf="${myconf} --with-ttf --with-t1lib" - use jpeg && myconf="${myconf} --with-jpeg-dir=/usr/lib" - use png && myconf="${myconf} --with-png-dir=/usr" - use tiff && myconf="${myconf} --with-tiff-dir=/usr" - use firebird && myconf="${myconf} --with-interbase=/opt/interbase" - - # optional support for oracle oci8 - if [ "`use oci8`" ] ; then - if [ "$ORACLE_HOME" ] ; then - myconf="${myconf} --with-oci8=${ORACLE_HOME}" - fi - fi - - use qt && ( \ - export QTDIR=/usr/qt/2 #hope this helps - danarmak - myconf="${myconf} --with-qtdom" - ) - - if [ "`use imap`" ] ; then - if [ "`use ssl`" ] && [ "`strings ${ROOT}/usr/lib/c-client.a \ - | grep ssl_onceonlyinit`" ] ; then - echo "Compiling imap with SSL support" - myconf="${myconf} --with-imap --with-imap-ssl" - else - echo "Compiling imap without SSL support" - myconf="${myconf} --with-imap" - fi - fi - use libwww && myconf="${myconf} --with-xml" || myconf="${myconf} --disable-xml" - use flash && myconf="${myconf} --with-swf=/usr --with-ming=/usr" - - if [ "`use xml`" ] ; then - export LIBS="-lxmlparse -lxmltok" - myconf="${myconf} --with-sablot=/usr" - myconf="${myconf} --enable-xslt" - myconf="${myconf} --with-xslt-sablot" - fi - - use xml2 && myconf="${myconf} --with-dom" - use crypt && myconf="${myconf} --with-mcrypt --with-mhash" -# use java && myconf="${myconf} --with-java=${JDK_HOME}" - - LDFLAGS="$LDFLAGS -ltiff -ljpeg" - - if [ "`use X`" ] ; then - myconf="${myconf} --with-xpm-dir=/usr/X11R6" - LDFLAGS="$LDFLAGS -L/usr/X11R6/lib" - fi - - ./configure \ - --prefix=/usr \ - --with-gmp \ - --with-bz2 \ - --enable-ftp \ - --enable-dbase \ - --with-zlib=yes \ - --enable-bcmath \ - --enable-sysvsem \ - --enable-sysvshm \ - --enable-calendar \ - --enable-trans-sid \ - --enable-safe-mode \ - --enable-versioning \ - --enable-track-vars \ - --enable-inline-optimization \ - --with-apxs="/usr/sbin/apxs -ltiff" \ - --with-exec-dir="/usr/lib/apache/bin" \ - --with-config-file-path=/etc/php4 \ - --host=${CHOST} ${myconf} || die "bad ./configure" - - make || die "compile problem" -} - - -src_install() { - make INSTALL_ROOT=${D} install-pear || die - - dodoc CODING_STANDARDS LICENSE EXTENSIONS - dodoc RELEASE_PROCESS README.* TODO NEWS - dodoc ChangeLog* *.txt - - exeinto /usr/lib/apache-extramodules - doexe .libs/libphp4.so - - insinto /etc/apache/conf/addon-modules - doins ${FILESDIR}/mod_php.conf - insinto /etc/php4 - cat php.ini-dist | sed "s/register_globals = Off/register_globals = On/g" > php.ini - doins php.ini - dosym /etc/php4/php.ini /etc/apache/conf/php.ini - dosym /etc/php4/php.ini /etc/apache/conf/addon-modules/php.ini - dosym /usr/lib/php/extensions/no-debug-non-zts-20020429 /etc/php4/lib -} - -pkg_postinst() { - einfo - einfo "Execute ebuild /var/db/pkg/${CATEGORY}/${PF}/${PF}.ebuild config" - einfo "to have your apache.conf auto-updated for use with this module." - einfo "You should then edit your /etc/conf.d/apache file to suit." - einfo - einfo "Please remeber:" - einfo "This install of PHP has set register_globals = On (lower security)" - einfo "Please read http://www.php.net/release_4_1_2.php (Section: External variables)" - einfo "for further informations." - einfo -} - -pkg_config() { - ${ROOT}/usr/sbin/apacheaddmod \ - ${ROOT}/etc/apache/conf/apache.conf \ - extramodules/libphp4.so mod_php4.c php4_module \ - before=perl define=PHP4 addconf=conf/addon-modules/mod_php.conf - :; -} - diff --git a/dev-lang/php/php-4.2.1.ebuild b/dev-lang/php/php-4.2.1.ebuild deleted file mode 100644 index 6f5773f1545e..000000000000 --- a/dev-lang/php/php-4.2.1.ebuild +++ /dev/null @@ -1,206 +0,0 @@ -# Copyright 1999-2002 Gentoo Technologies, Inc. -# Distributed under the terms of the GNU General Public License, v2 or later -# Update: Roman Weber <gentoo@gonzo.ch> -# $Header: /var/cvsroot/gentoo-x86/dev-lang/php/php-4.2.1.ebuild,v 1.4 2002/07/11 06:30:20 drobbins Exp $ - -S=${WORKDIR}/${P} -DESCRIPTION="HTML embedded scripting language" -SRC_URI="http://www.php.net/distributions/${P}.tar.gz" -HOMEPAGE="http://www.php.net/" -LICENSE="PHP" -SLOT="0" -KEYWORDS="x86" - -DEPEND=">=dev-libs/gmp-3.1.1 - ~media-libs/freetype-1.3.1 - >=media-libs/jpeg-6b - >=media-libs/tiff-3.5.5 - >=media-libs/libpng-1.2.1 - >=media-libs/libgd-1.8.3 - >=media-libs/t1lib-1.3.1 - >=net-www/apache-1.3.24-r1 - X? ( virtual/x11 ) - qt? ( =x11-libs/qt-2.3* ) - nls? ( sys-devel/gettext ) - pam? ( >=sys-libs/pam-0.75 ) - xml? ( >=app-text/sablotron-0.44 ) - ssl? ( >=dev-libs/openssl-0.9.5 ) - curl? ( >=net-ftp/curl-7.8.1 ) - snmp? ( >=net-analyzer/ucd-snmp-4.2.3 ) - imap? ( >=net-mail/uw-imap-2001a-r1 ) - gdbm? ( >=sys-libs/gdbm-1.8.0 ) - ldap? ( >=net-nds/openldap-1.2.11 ) - odbc? ( >=dev-db/unixODBC-1.8.13 ) - xml2? ( dev-libs/libxml2 ) - crypt? ( >=dev-libs/libmcrypt-2.4 - >=app-crypt/mhash-0.8 ) - mysql? ( >=dev-db/mysql-3.23.26 ) - flash? ( media-libs/libswf >=media-libs/ming-0.2a ) - berkdb? ( >=sys-libs/db-3 ) - libwww? ( >=net-libs/libwww-5.3.2 ) - pdflib? ( >=media-libs/pdflib-4.0.1-r2 ) - postgres? ( >=dev-db/postgresql-7.1 )" -# java? ( virtual/jdk ) -# Only needed by CGI-Version -# readline? ( >=sys-libs/ncurses-5.1 -# >=sys-libs/readline-4.1 )" - -RDEPEND="${DEPEND} - qt? ( >=x11-libs/qt-2.3.0 ) - xml? ( >=app-text/sablotron-0.44 )" - -src_unpack() { - unpack ${P}.tar.gz - cd ${S} - -# if [ "`use java`" ] ; then -# -# cp configure configure.orig -# cat configure.orig | \ -# sed -e 's/LIBS="-lttf $LIBS"/LIBS="-lttf $LIBS"/' \ -# > configure -# -# cp ext/gd/gd.c ext/gd/gd.c.orig -# cat ext/gd/gd.c.orig | \ -# sed -e "s/typedef FILE gdIOCtx;//" \ -# > ext/gd/gd.c -# if [ "$JAVAC" ]; -# then -# cp ext/java/Makefile.in ext/java/Makefile.in.orig -# cat ext/java/Makefile.in.orig | \ -# sed -e "s/^\tjavac/\t\$(JAVAC)/" \ -# > ext/java/Makefile.in -# fi -# fi - -} - -src_compile() { - - local myconf - - # readline can only be used w/ CGI build, so I'll turn it off - #if [ "`use readline`" ] ; then - # myconf="--with-readline" - #fi - - myconf="--without-readline " - use pam && myconf="${myconf} --with-pam" - use nls || myconf="${myconf} --without-gettext" - use ssl && myconf="${myconf} --with-openssl" - use curl && myconf="${myconf} --with-curl" - use snmp && myconf="${myconf} --with-snmp --enable-ucd-snmp-hack" - use gdbm && myconf="${myconf} --with-gdbm=/usr" - use berkdb && myconf="${myconf} --with-db3=/usr" - use mysql && myconf="${myconf} --with-mysql=/usr" || myconf="${myconf} --without-mysql" - use postgres && myconf="${myconf} --with-pgsql=/usr" - use odbc && myconf="${myconf} --with-unixODBC=/usr" - use ldap && myconf="${myconf} --with-ldap" - use pdflib && myconf="${myconf} --with-pdflib=/usr" - - - use qt && ( \ - export QTDIR=/usr/qt/2 #hope this helps - danarmak - myconf="${myconf} --with-qtdom" - ) - - if [ "`use imap`" ] ; then - if [ "`use ssl`" ] && [ "`strings ${ROOT}/usr/lib/c-client.a \ - | grep ssl_onceonlyinit`" ] ; then - echo "Compiling imap with SSL support" - myconf="${myconf} --with-imap --with-imap-ssl" - else - echo "Compiling imap without SSL support" - myconf="${myconf} --with-imap" - fi - fi - use libwww && myconf="${myconf} --with-xml" || myconf="${myconf} --disable-xml" - use flash && myconf="${myconf} --with-swf=/usr --with-ming=/usr" - - if [ "`use xml`" ] ; then - export LIBS="-lxmlparse -lxmltok" - myconf="${myconf} --with-sablot=/usr" - fi - - use xml2 && myconf="${myconf} --with-dom" - use crypt && myconf="${myconf} --with-mcrypt --with-mhash" -# use java && myconf="${myconf} --with-java=${JDK_HOME}" - - LDFLAGS="$LDFLAGS -ltiff -ljpeg" - - if [ "`use X`" ] ; then - myconf="${myconf} --with-xpm-dir=/usr/X11R6" - LDFLAGS="$LDFLAGS -L/usr/X11R6/lib" - fi - - ./configure \ - --prefix=/usr \ - --with-gd \ - --with-gmp \ - --with-bz2 \ - --with-ttf \ - --enable-ftp \ - --with-t1lib \ - --enable-dbase \ - --with-zlib=yes \ - --enable-bcmath \ - --enable-sysvsem \ - --enable-sysvshm \ - --enable-calendar \ - --enable-trans-sid \ - --enable-safe-mode \ - --enable-versioning \ - --enable-track-vars \ - --with-png-dir=/usr \ - --with-jpeg-dir=/usr/lib \ - --enable-inline-optimization \ - --with-apxs="/usr/sbin/apxs -ltiff" \ - --with-exec-dir="/usr/lib/apache/bin" \ - --with-config-file-path=/etc/php4 \ - --host=${CHOST} ${myconf} || die "bad ./configure" - - make || die "compile problem" -} - - -src_install() { - make INSTALL_ROOT=${D} install-pear || die - - dodoc CODING_STANDARDS LICENSE EXTENSIONS - dodoc RELEASE_PROCESS README.* TODO NEWS - dodoc ChangeLog* *.txt - - exeinto /usr/lib/apache-extramodules - doexe .libs/libphp4.so - - insinto /etc/apache/conf/addon-modules - doins ${FILESDIR}/mod_php.conf - insinto /etc/php4 - cat php.ini-dist | sed "s/register_globals = Off/register_globals = On/g" > php.ini - doins php.ini - dosym /etc/php4/php.ini /etc/apache/conf/php.ini - dosym /etc/php4/php.ini /etc/apache/conf/addon-modules/php.ini - dosym /usr/lib/php/extensions/no-debug-non-zts-20010901 /etc/php4/lib -} - -pkg_postinst() { - einfo - einfo "Execute ebuild /var/db/pkg/${CATEGORY}/${PF}/${PF}.ebuild config" - einfo "to have your apache.conf auto-updated for use with this module." - einfo "You should then edit your /etc/conf.d/apache file to suit." - einfo - einfo "Please remeber:" - einfo "This install of PHP has set register_globals = On (lower security)" - einfo "Please read http://www.php.net/release_4_1_2.php (Section: External variables)" - einfo "for further informations." - einfo -} - -pkg_config() { - ${ROOT}/usr/sbin/apacheaddmod \ - ${ROOT}/etc/apache/conf/apache.conf \ - extramodules/libphp4.so mod_php4.c php4_module \ - before=perl define=PHP4 addconf=conf/addon-modules/mod_php.conf - :; -} - |