diff options
author | Robin H. Johnson <robbat2@gentoo.org> | 2003-11-16 12:25:05 +0000 |
---|---|---|
committer | Robin H. Johnson <robbat2@gentoo.org> | 2003-11-16 12:25:05 +0000 |
commit | 2e55117119e3d6179cfe4576dcc11aca00ba04cf (patch) | |
tree | 8212d622bbb4c6b9a6fb7c72f5737fa7989a6b60 /dev-php/php | |
parent | add new split-up php (diff) | |
download | gentoo-2-2e55117119e3d6179cfe4576dcc11aca00ba04cf.tar.gz gentoo-2-2e55117119e3d6179cfe4576dcc11aca00ba04cf.tar.bz2 gentoo-2-2e55117119e3d6179cfe4576dcc11aca00ba04cf.zip |
add new split-up php
Diffstat (limited to 'dev-php/php')
-rw-r--r-- | dev-php/php/ChangeLog | 7 | ||||
-rw-r--r-- | dev-php/php/Manifest | 4 | ||||
-rw-r--r-- | dev-php/php/files/digest-php-4.3.4-r1 | 2 | ||||
-rw-r--r-- | dev-php/php/php-4.3.4-r1.ebuild | 54 |
4 files changed, 64 insertions, 3 deletions
diff --git a/dev-php/php/ChangeLog b/dev-php/php/ChangeLog index fb8aa7ad9838..cad92af46bca 100644 --- a/dev-php/php/ChangeLog +++ b/dev-php/php/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for dev-php/php # Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-php/php/ChangeLog,v 1.65 2003/11/13 15:44:51 robbat2 Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-php/php/ChangeLog,v 1.66 2003/11/16 12:24:20 robbat2 Exp $ + +*php-4.3.4-r1 (16 Nov 2003) + + 16 Nov 2003; Robin H. Johnson <robbat2@gentoo.org> php-4.3.4-r1.ebuild: + add new split-up php 13 Nov 2003; Robin H. Johnson <robbat2@gentoo.org> php-4.3.4.ebuild: fix accidental readline reversion diff --git a/dev-php/php/Manifest b/dev-php/php/Manifest index 0dd1aee9c721..8d35f49cda57 100644 --- a/dev-php/php/Manifest +++ b/dev-php/php/Manifest @@ -2,12 +2,12 @@ MD5 49677578b21e86c1db7a1561d04f754a php-5.0_beta1-r1.ebuild 1295 MD5 0d9585a857a06f4d336cf647dd8728d4 php-4.3.2-r3.ebuild 1140 MD5 c8cc2dc8ab39618308726f1749d14d61 php-4.3.3-r2.ebuild 1207 MD5 25f97fc9df6d134f3da1b4e5c1414830 php-4.3.2.ebuild 2418 -MD5 f87c7e41efdd119a052c9825b3a6f0e4 php-4.3.4-r1.ebuild 1291 +MD5 a16b6e23965ba2a4f269e1b896b23742 php-4.3.4-r1.ebuild 1294 MD5 3eeafc4e390ffd783e014a5ec877e820 php-4.3.2-r2.ebuild 1182 MD5 b42895c3592ff7dc9a6ea70184d848b4 php-4.3.4.ebuild 1215 MD5 f1385520cac897796eeae1ad974ac15c php-4.3.3-r1.ebuild 1208 MD5 ff00712ef064fedea5c310204c367b1a php-5.0_beta1.ebuild 1176 -MD5 59841f09ddab661d54578afe585c31b5 ChangeLog 9899 +MD5 eaf74ea0a1bd2abac7f96d1d0a456874 ChangeLog 10026 MD5 38fe937e954ab7109395cefa86fcd2d4 metadata.xml 384 MD5 db16022e0ec00d919b30ab222f073577 php-4.3.3-r3.ebuild 1218 MD5 ce0950f7facac1bcd6c3f99321f4648a php-4.3.2-r1.ebuild 990 diff --git a/dev-php/php/files/digest-php-4.3.4-r1 b/dev-php/php/files/digest-php-4.3.4-r1 new file mode 100644 index 000000000000..d65ce9576341 --- /dev/null +++ b/dev-php/php/files/digest-php-4.3.4-r1 @@ -0,0 +1,2 @@ +MD5 b9dd601863e08e52e3c4d5e02c2627cf php-4.3.4.tar.bz2 3774324 +MD5 912ff94309b762563d0542db5187315f php-4.3.2-fopen-url-secure.patch 416 diff --git a/dev-php/php/php-4.3.4-r1.ebuild b/dev-php/php/php-4.3.4-r1.ebuild new file mode 100644 index 000000000000..e8f63d2dbdef --- /dev/null +++ b/dev-php/php/php-4.3.4-r1.ebuild @@ -0,0 +1,54 @@ +# Copyright 1999-2003 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-php/php/php-4.3.4-r1.ebuild,v 1.1 2003/11/16 12:24:20 robbat2 Exp $ + +PHPSAPI="cli" +inherit php-2 eutils + +IUSE="${IUSE} readline" + +DESCRIPTION="PHP Shell Interpreter" +SLOT="0" +KEYWORDS="~x86 ~ppc ~sparc ~alpha ~arm ~hppa ~mips" + +DEPEND_EXTRA="readline? ( >=sys-libs/ncurses-5.1 >=sys-libs/readline-4.1 ) + ncurses? ( >=sys-libs/ncurses-5.1 )" +DEPEND="${DEPEND} ${DEPEND_EXTRA}" +RDEPEND="${RDEPEND} ${DEPEND_EXTRA}" +PDEPEND="${PDEPEND} ~dev-php/php-core-${PV}" +PROVIDE="virtual/php-4.3.4" + + +src_compile() { + myconf="${myconf} `use_with readline readline /usr`" + # Readline and Ncurses are CLI PHP only + # readline needs ncurses + use ncurses || use readline \ + && myconf="${myconf} --with-ncurses=/usr" \ + || myconf="${myconf} --without-ncurses" + + myconf="${myconf} \ + --disable-cgi \ + --enable-cli" + + php_src_compile +} + + +src_install() { + installtargets="${installtargets} install-cli" + php_src_install + + # php executable is located in ./sapi/cli/ + exeinto /usr/bin + doexe sapi/cli/php +} + +pkg_postinst() { + php_pkg_postinst + einfo "This is a CLI only build." + einfo "You can not use it on a webserver." +} +pkg_preinst() { + php_pkg_preinst +} |