diff options
author | Robin H. Johnson <robbat2@gentoo.org> | 2004-08-09 00:01:53 +0000 |
---|---|---|
committer | Robin H. Johnson <robbat2@gentoo.org> | 2004-08-09 00:01:53 +0000 |
commit | 1c7fceb6f867a288ad4f8f7a191e667dff852f9a (patch) | |
tree | 6e2ed2202bea90551b21c3c5c6a607534991ba4c /dev-php | |
parent | version bump (Manifest recommit) (diff) | |
download | gentoo-2-1c7fceb6f867a288ad4f8f7a191e667dff852f9a.tar.gz gentoo-2-1c7fceb6f867a288ad4f8f7a191e667dff852f9a.tar.bz2 gentoo-2-1c7fceb6f867a288ad4f8f7a191e667dff852f9a.zip |
bug #59755.
Diffstat (limited to 'dev-php')
-rw-r--r-- | dev-php/php-cgi/ChangeLog | 8 | ||||
-rw-r--r-- | dev-php/php-cgi/files/digest-php-cgi-5.0.0-r1 | 1 | ||||
-rw-r--r-- | dev-php/php-cgi/files/php-5.0.0-httpauthfix.patch | 11 | ||||
-rw-r--r-- | dev-php/php-cgi/php-cgi-5.0.0-r1.ebuild | 38 |
4 files changed, 57 insertions, 1 deletions
diff --git a/dev-php/php-cgi/ChangeLog b/dev-php/php-cgi/ChangeLog index f9f86d987a2c..0f1b2295eae5 100644 --- a/dev-php/php-cgi/ChangeLog +++ b/dev-php/php-cgi/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for dev-php/php-cgi # Copyright 2000-2004 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-php/php-cgi/ChangeLog,v 1.31 2004/08/06 03:17:14 robbat2 Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-php/php-cgi/ChangeLog,v 1.32 2004/08/09 00:01:53 robbat2 Exp $ + +*php-cgi-5.0.0-r1 (08 Aug 2004) + + 08 Aug 2004; Robin H. Johnson <robbat2@gentoo.org> + +files/php-5.0.0-httpauthfix.patch, +php-cgi-5.0.0-r1.ebuild: + bug #59755. 05 Aug 2004; Robin H. Johnson <robbat2@gentoo.org> -php-cgi-4.3.4-r2.ebuild, -php-cgi-4.3.5.ebuild, -php-cgi-4.3.6-r1.ebuild, -php-cgi-4.3.6.ebuild, diff --git a/dev-php/php-cgi/files/digest-php-cgi-5.0.0-r1 b/dev-php/php-cgi/files/digest-php-cgi-5.0.0-r1 new file mode 100644 index 000000000000..6c4e3a2e19be --- /dev/null +++ b/dev-php/php-cgi/files/digest-php-cgi-5.0.0-r1 @@ -0,0 +1 @@ +MD5 562b7ad1e903248bbe77884cb904b8b7 php-5.0.0.tar.bz2 4554054 diff --git a/dev-php/php-cgi/files/php-5.0.0-httpauthfix.patch b/dev-php/php-cgi/files/php-5.0.0-httpauthfix.patch new file mode 100644 index 000000000000..7b3687c72aff --- /dev/null +++ b/dev-php/php-cgi/files/php-5.0.0-httpauthfix.patch @@ -0,0 +1,11 @@ +--- php-5.0.0/sapi/apache/mod_php5.c 2004-07-10 09:46:09.000000000 +0200 ++++ php-5.0.0.1/sapi/apache/mod_php5.c 2004-08-08 11:32:52.824203512 +0200 +@@ -485,7 +485,7 @@ + tmp = uudecode(r->pool, authorization); + SG(request_info).auth_user = NULL; + tmp_user = getword_nulls_nc(r->pool, &tmp, ':'); +- if (SG(request_info).auth_user) { ++ if (tmp_user) { + r->connection->user = pstrdup(r->connection->pool, tmp_user); + r->connection->ap_auth_type = "Basic"; + SG(request_info).auth_user = estrdup(tmp_user); diff --git a/dev-php/php-cgi/php-cgi-5.0.0-r1.ebuild b/dev-php/php-cgi/php-cgi-5.0.0-r1.ebuild new file mode 100644 index 000000000000..3c044d447652 --- /dev/null +++ b/dev-php/php-cgi/php-cgi-5.0.0-r1.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2004 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-php/php-cgi/php-cgi-5.0.0-r1.ebuild,v 1.1 2004/08/09 00:01:53 robbat2 Exp $ + +PHPSAPI="cgi" +MY_P="php-${PVR}" + +inherit php5-sapi eutils + +DESCRIPTION="PHP CGI" +SLOT="0" +KEYWORDS="-x86 -sparc -alpha -hppa -ppc" + +# for this revision only +PDEPEND=">=${PHP_PROVIDER_PKG}-5.0.0" + +src_compile() { + # CLI needed to build stuff + my_conf="${my_conf} \ + --enable-cgi \ + --enable-cli \ + --enable-fastcgi" + + php5-sapi_src_compile +} + + +src_install() { + PHP_INSTALLTARGETS="install" + php5-sapi_src_install + + # rename binary + mv ${D}/usr/bin/php ${D}/usr/bin/php-cgi +} + +pkg_postinst() { + einfo "This is a CGI only build." +} |