Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 209535 | Differences between
and this patch

Collapse All | Expand All

(-)php-5.2.5-r1.ebuild (-5 / +14 lines)
Lines 1-12 Link Here
1
# Copyright 1999-2007 Gentoo Foundation
1
# Copyright 1999-2008 Gentoo Foundation
2
# Distributed under the terms of the GNU General Public License v2
2
# Distributed under the terms of the GNU General Public License v2
3
# $Header: /var/cvsroot/gentoo-x86/dev-lang/php/php-5.2.5-r1.ebuild,v 1.7 2007/12/15 14:44:10 welp Exp $
3
# $Header: /var/cvsroot/gentoo-x86/dev-lang/php/php-5.2.5_p20080206.ebuild,v 1.6 2008/02/08 15:35:07 armin76 Exp $
4
4
5
CGI_SAPI_USE="discard-path force-cgi-redirect"
5
CGI_SAPI_USE="discard-path force-cgi-redirect"
6
APACHE2_SAPI_USE="concurrentmodphp threads"
6
APACHE2_SAPI_USE="concurrentmodphp threads"
7
IUSE="cli cgi ${CGI_SAPI_USE} ${APACHE2_SAPI_USE} fastbuild"
7
IUSE="cli cgi ${CGI_SAPI_USE} ${APACHE2_SAPI_USE} fastbuild"
8
8
9
KEYWORDS="alpha amd64 arm hppa ia64 ppc ppc64 s390 sh sparc x86 ~x86-fbsd"
9
KEYWORDS="alpha ~amd64 ~arm hppa ia64 ppc ppc64 ~s390 ~sh sparc x86 ~x86-fbsd"
10
10
11
# NOTE: Portage doesn't support setting PROVIDE based on the USE flags
11
# NOTE: Portage doesn't support setting PROVIDE based on the USE flags
12
#		that have been enabled, so we have to PROVIDE everything for now
12
#		that have been enabled, so we have to PROVIDE everything for now
Lines 20-27 Link Here
20
PHP_PACKAGE="1"
20
PHP_PACKAGE="1"
21
21
22
# php patch settings, general
22
# php patch settings, general
23
PHP_PATCHSET_REV="1"
23
PHP_PATCHSET_REV="0"
24
SUHOSIN_PATCH="suhosin-patch-${PV}-0.9.6.2.patch.gz"
24
SUHOSIN_PATCH="suhosin-patch-${MY_PHP_PV}-0.9.6.2-gentoo.patch.gz"
25
MULTILIB_PATCH="${MY_PHP_PV}/opt/multilib-search-path.patch"
25
MULTILIB_PATCH="${MY_PHP_PV}/opt/multilib-search-path.patch"
26
# php patch settings, ebuild specific
26
# php patch settings, ebuild specific
27
FASTBUILD_PATCH="${MY_PHP_PV}/opt/fastbuild.patch"
27
FASTBUILD_PATCH="${MY_PHP_PV}/opt/fastbuild.patch"
Lines 29-34 Link Here
29
29
30
inherit versionator php5_2-sapi apache-module
30
inherit versionator php5_2-sapi apache-module
31
31
32
SRC_URI="http://gentoo.longitekk.com/${P}.tar.bz2
33
	http://gentoo.longitekk.com/php-patchset-${MY_PHP_PV}-r${PHP_PATCHSET_REV}.tar.bz2"
34
35
# Suhosin patch support
36
[[ -n "${SUHOSIN_PATCH}" ]] && SRC_URI="${SRC_URI} suhosin? ( http://gentoo.longitekk.com/${SUHOSIN_PATCH} )"
37
32
DESCRIPTION="The PHP language runtime engine: CLI, CGI and Apache2 SAPIs."
38
DESCRIPTION="The PHP language runtime engine: CLI, CGI and Apache2 SAPIs."
33
39
34
DEPEND="app-admin/php-toolkit"
40
DEPEND="app-admin/php-toolkit"
Lines 155-160 Link Here
155
		fi
161
		fi
156
	fi
162
	fi
157
163
164
	sed -re 's:^(PHP_RELEASE_VERSION=).*$:\15:g' -i configure.in
165
	PHP_EXTRA_BRANDING="-p${PV/*_p/}"
166
158
	# Now let the eclass do the rest and regenerate the configure
167
	# Now let the eclass do the rest and regenerate the configure
159
	php5_2-sapi_src_unpack
168
	php5_2-sapi_src_unpack
160
169

Return to bug 209535