summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremy Olexa <darkside@gentoo.org>2009-07-29 15:36:44 +0000
committerJeremy Olexa <darkside@gentoo.org>2009-07-29 15:36:44 +0000
commit670babb9eafc5ce9a9d7bb5b5abc7cb70e50eb79 (patch)
tree94bbd43cd75fab589d5cc06f7dcb0a53e8fed6f7 /dev-php5/pecl-apc
parentRemove vulnerable version(s), bug 271728 (diff)
downloadgentoo-2-670babb9eafc5ce9a9d7bb5b5abc7cb70e50eb79.tar.gz
gentoo-2-670babb9eafc5ce9a9d7bb5b5abc7cb70e50eb79.tar.bz2
gentoo-2-670babb9eafc5ce9a9d7bb5b5abc7cb70e50eb79.zip
Remove vulnerable version(s), bug 271727
(Portage version: 2.1.6.13/cvs/Linux x86_64)
Diffstat (limited to 'dev-php5/pecl-apc')
-rw-r--r--dev-php5/pecl-apc/ChangeLog9
-rw-r--r--dev-php5/pecl-apc/pecl-apc-3.0.12_p2.ebuild76
-rw-r--r--dev-php5/pecl-apc/pecl-apc-3.0.15.ebuild67
-rw-r--r--dev-php5/pecl-apc/pecl-apc-3.0.16.ebuild75
4 files changed, 7 insertions, 220 deletions
diff --git a/dev-php5/pecl-apc/ChangeLog b/dev-php5/pecl-apc/ChangeLog
index b373892beec4..0a300d7a6cd1 100644
--- a/dev-php5/pecl-apc/ChangeLog
+++ b/dev-php5/pecl-apc/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-php5/pecl-apc
-# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-php5/pecl-apc/ChangeLog,v 1.51 2008/08/21 22:15:12 bluebird Exp $
+# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-php5/pecl-apc/ChangeLog,v 1.52 2009/07/29 15:36:44 darkside Exp $
+
+ 29 Jul 2009; Jeremy Olexa <darkside@gentoo.org>
+ -pecl-apc-3.0.12_p2.ebuild, -pecl-apc-3.0.15.ebuild,
+ -pecl-apc-3.0.16.ebuild:
+ Remove vulnerable version(s), bug 271727
21 Aug 2008; Friedrich Oslage <bluebird@gentoo.org>
pecl-apc-3.0.19.ebuild:
diff --git a/dev-php5/pecl-apc/pecl-apc-3.0.12_p2.ebuild b/dev-php5/pecl-apc/pecl-apc-3.0.12_p2.ebuild
deleted file mode 100644
index a38a3e4b9de5..000000000000
--- a/dev-php5/pecl-apc/pecl-apc-3.0.12_p2.ebuild
+++ /dev/null
@@ -1,76 +0,0 @@
-# Copyright 1999-2007 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-php5/pecl-apc/pecl-apc-3.0.12_p2.ebuild,v 1.12 2007/12/06 01:05:47 jokey Exp $
-
-PHP_EXT_NAME="apc"
-PHP_EXT_PECL_PKG="APC"
-PHP_EXT_INI="yes"
-PHP_EXT_ZENDEXT="no"
-DOCS="CHANGELOG INSTALL NOTICE TECHNOTES.txt TODO"
-
-inherit php-ext-pecl-r1 confutils
-
-KEYWORDS="amd64 ppc ~ppc64 sparc x86"
-
-DESCRIPTION="A free, open, and robust framework for caching and optimizing PHP code."
-LICENSE="PHP-3.01"
-SLOT="0"
-IUSE="mmap"
-
-DEPEND="!dev-php5/eaccelerator !dev-php5/xcache"
-RDEPEND="${DEPEND}"
-
-need_php_by_category
-
-pkg_setup() {
- has_php
- require_php_sapi_from cgi apache2
-}
-
-src_compile() {
- has_php
-
- # PECL-APC does not work with Zend Thread Safety (ZTS),
- # so abort if we're using PHP compiled with ZTS.
- if has_zts ; then
- eerror "PECL-APC doesn't work with a ZTS enabled PHP."
- eerror "Please disable ZTS by turning the 'threads'"
- eerror "USE flag off when you compile dev-lang/php."
- die "PECL-APC does not support ZTS"
- fi
-
- my_conf="--enable-apc"
- enable_extension_enable "apc-mmap" "mmap" 0
- enable_extension_with_built_with =${PHP_PKG} apache2 apxs /usr/sbin/apxs2 "optimisation for apache2"
-
- php-ext-pecl-r1_src_compile
-}
-
-src_install() {
- php-ext-pecl-r1_src_install
-
- php-ext-base-r1_addtoinifiles "apc.enabled" '"1"'
- php-ext-base-r1_addtoinifiles "apc.shm_segments" '"1"'
- php-ext-base-r1_addtoinifiles "apc.shm_size" '"30"'
- php-ext-base-r1_addtoinifiles "apc.optimization" '"0"'
- php-ext-base-r1_addtoinifiles "apc.num_files_hint" '"1024"'
- php-ext-base-r1_addtoinifiles "apc.ttl" '"7200"'
- php-ext-base-r1_addtoinifiles "apc.user_ttl" '"7200"'
- php-ext-base-r1_addtoinifiles "apc.gc_ttl" '"3600"'
- php-ext-base-r1_addtoinifiles "apc.cache_by_default" '"1"'
- php-ext-base-r1_addtoinifiles ";apc.mmap_file_mask" '"/tmp/apcphp5.XXXXXX"'
- php-ext-base-r1_addtoinifiles "apc.file_update_protection" '"2"'
- php-ext-base-r1_addtoinifiles "apc.enable_cli" '"0"'
- php-ext-base-r1_addtoinifiles "apc.max_file_size" '"1M"'
- php-ext-base-r1_addtoinifiles "apc.stat" '"1"'
- php-ext-base-r1_addtoinifiles "apc.write_lock" '"1"'
-
- dodir "${PHP_EXT_SHARED_DIR}"
- insinto "${PHP_EXT_SHARED_DIR}"
- doins apc.php
-}
-
-pkg_postinst() {
- elog "The apc.php file shipped with this release of PECL-APC was"
- elog "installed into ${ROOT}usr/share/php5/apc/."
-}
diff --git a/dev-php5/pecl-apc/pecl-apc-3.0.15.ebuild b/dev-php5/pecl-apc/pecl-apc-3.0.15.ebuild
deleted file mode 100644
index 6e4d31fe17e9..000000000000
--- a/dev-php5/pecl-apc/pecl-apc-3.0.15.ebuild
+++ /dev/null
@@ -1,67 +0,0 @@
-# Copyright 1999-2007 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-php5/pecl-apc/pecl-apc-3.0.15.ebuild,v 1.5 2007/12/06 01:05:47 jokey Exp $
-
-PHP_EXT_NAME="apc"
-PHP_EXT_PECL_PKG="APC"
-PHP_EXT_INI="yes"
-PHP_EXT_ZENDEXT="no"
-DOCS="CHANGELOG INSTALL NOTICE TECHNOTES.txt TODO"
-
-inherit php-ext-pecl-r1 confutils
-
-KEYWORDS="~amd64 ppc ~ppc64 sparc x86"
-
-DESCRIPTION="A free, open, and robust framework for caching and optimizing PHP code."
-LICENSE="PHP-3.01"
-SLOT="0"
-IUSE="mmap"
-
-DEPEND="!dev-php5/eaccelerator !dev-php5/xcache"
-RDEPEND="${DEPEND}"
-
-need_php_by_category
-
-pkg_setup() {
- has_php
- require_php_sapi_from cgi apache2
-}
-
-src_compile() {
- has_php
-
- my_conf="--enable-apc"
- enable_extension_enable "apc-mmap" "mmap" 0
- enable_extension_with_built_with =${PHP_PKG} apache2 apxs /usr/sbin/apxs2 "optimisation for apache2"
-
- php-ext-pecl-r1_src_compile
-}
-
-src_install() {
- php-ext-pecl-r1_src_install
-
- php-ext-base-r1_addtoinifiles "apc.enabled" '"1"'
- php-ext-base-r1_addtoinifiles "apc.shm_segments" '"1"'
- php-ext-base-r1_addtoinifiles "apc.shm_size" '"30"'
- php-ext-base-r1_addtoinifiles "apc.optimization" '"0"'
- php-ext-base-r1_addtoinifiles "apc.num_files_hint" '"1024"'
- php-ext-base-r1_addtoinifiles "apc.ttl" '"7200"'
- php-ext-base-r1_addtoinifiles "apc.user_ttl" '"7200"'
- php-ext-base-r1_addtoinifiles "apc.gc_ttl" '"3600"'
- php-ext-base-r1_addtoinifiles "apc.cache_by_default" '"1"'
- php-ext-base-r1_addtoinifiles ";apc.mmap_file_mask" '"/tmp/apcphp5.XXXXXX"'
- php-ext-base-r1_addtoinifiles "apc.file_update_protection" '"2"'
- php-ext-base-r1_addtoinifiles "apc.enable_cli" '"0"'
- php-ext-base-r1_addtoinifiles "apc.max_file_size" '"1M"'
- php-ext-base-r1_addtoinifiles "apc.stat" '"1"'
- php-ext-base-r1_addtoinifiles "apc.write_lock" '"1"'
-
- dodir "${PHP_EXT_SHARED_DIR}"
- insinto "${PHP_EXT_SHARED_DIR}"
- doins apc.php
-}
-
-pkg_postinst() {
- elog "The apc.php file shipped with this release of PECL-APC was"
- elog "installed into ${ROOT}usr/share/php5/apc/."
-}
diff --git a/dev-php5/pecl-apc/pecl-apc-3.0.16.ebuild b/dev-php5/pecl-apc/pecl-apc-3.0.16.ebuild
deleted file mode 100644
index 11fa395d74d4..000000000000
--- a/dev-php5/pecl-apc/pecl-apc-3.0.16.ebuild
+++ /dev/null
@@ -1,75 +0,0 @@
-# Copyright 1999-2008 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-php5/pecl-apc/pecl-apc-3.0.16.ebuild,v 1.8 2008/05/09 12:48:11 hoffie Exp $
-
-PHP_EXT_NAME="apc"
-PHP_EXT_PECL_PKG="APC"
-PHP_EXT_INI="yes"
-PHP_EXT_ZENDEXT="no"
-DOCS="CHANGELOG INSTALL NOTICE TECHNOTES.txt TODO"
-
-inherit php-ext-pecl-r1 confutils eutils
-
-KEYWORDS="amd64 ppc ~ppc64 sparc x86"
-
-DESCRIPTION="A free, open, and robust framework for caching and optimizing PHP code."
-LICENSE="PHP-3.01"
-SLOT="0"
-IUSE="mmap"
-
-DEPEND="!dev-php5/eaccelerator !dev-php5/xcache"
-RDEPEND="${DEPEND}"
-
-need_php_by_category
-
-pkg_setup() {
- has_php
- require_php_sapi_from cgi apache2
-}
-
-src_unpack() {
- unpack ${A}
- cd "${S}"
- # http://pecl.php.net/bugs/bug.php?id=12777, Bug 204224
- epatch "${FILESDIR}"/${P}-apc_set_signals.patch
- php-ext-source-r1_phpize
-}
-
-src_compile() {
- has_php
-
- my_conf="--enable-apc"
- enable_extension_enable "apc-mmap" "mmap" 0
- enable_extension_with_built_with =${PHP_PKG} apache2 apxs /usr/sbin/apxs2 "optimisation for apache2"
-
- php-ext-pecl-r1_src_compile
-}
-
-src_install() {
- php-ext-pecl-r1_src_install
-
- php-ext-base-r1_addtoinifiles "apc.enabled" '"1"'
- php-ext-base-r1_addtoinifiles "apc.shm_segments" '"1"'
- php-ext-base-r1_addtoinifiles "apc.shm_size" '"30"'
- php-ext-base-r1_addtoinifiles "apc.optimization" '"0"'
- php-ext-base-r1_addtoinifiles "apc.num_files_hint" '"1024"'
- php-ext-base-r1_addtoinifiles "apc.ttl" '"7200"'
- php-ext-base-r1_addtoinifiles "apc.user_ttl" '"7200"'
- php-ext-base-r1_addtoinifiles "apc.gc_ttl" '"3600"'
- php-ext-base-r1_addtoinifiles "apc.cache_by_default" '"1"'
- php-ext-base-r1_addtoinifiles ";apc.mmap_file_mask" '"/tmp/apcphp5.XXXXXX"'
- php-ext-base-r1_addtoinifiles "apc.file_update_protection" '"2"'
- php-ext-base-r1_addtoinifiles "apc.enable_cli" '"0"'
- php-ext-base-r1_addtoinifiles "apc.max_file_size" '"1M"'
- php-ext-base-r1_addtoinifiles "apc.stat" '"1"'
- php-ext-base-r1_addtoinifiles "apc.write_lock" '"1"'
-
- dodir "${PHP_EXT_SHARED_DIR}"
- insinto "${PHP_EXT_SHARED_DIR}"
- doins apc.php
-}
-
-pkg_postinst() {
- elog "The apc.php file shipped with this release of PECL-APC was"
- elog "installed into ${ROOT}usr/share/php5/apc/."
-}