diff options
author | Christian Hoffmann <hoffie@gentoo.org> | 2008-03-25 22:51:57 +0000 |
---|---|---|
committer | Christian Hoffmann <hoffie@gentoo.org> | 2008-03-25 22:51:57 +0000 |
commit | 12f0cc7dd10c71afbc716c44cb7a56799b6c3bd3 (patch) | |
tree | 28356f7732da6da54da4c318bf144a53c679b2cd /dev-php5 | |
parent | CHANGES file doesn't exist (diff) | |
download | historical-12f0cc7dd10c71afbc716c44cb7a56799b6c3bd3.tar.gz historical-12f0cc7dd10c71afbc716c44cb7a56799b6c3bd3.tar.bz2 historical-12f0cc7dd10c71afbc716c44cb7a56799b6c3bd3.zip |
version bump to 3.0.17, mainly to address security bug 214576 (CVE-2008-1488); thanks to jakub
Package-Manager: portage-2.1.4.4
Diffstat (limited to 'dev-php5')
-rw-r--r-- | dev-php5/pecl-apc/ChangeLog | 7 | ||||
-rw-r--r-- | dev-php5/pecl-apc/Manifest | 14 | ||||
-rw-r--r-- | dev-php5/pecl-apc/pecl-apc-3.0.17.ebuild | 66 |
3 files changed, 85 insertions, 2 deletions
diff --git a/dev-php5/pecl-apc/ChangeLog b/dev-php5/pecl-apc/ChangeLog index e9f24df3b30f..0393f162b724 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.37 2008/03/02 14:46:38 philantrop Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-php5/pecl-apc/ChangeLog,v 1.38 2008/03/25 22:51:57 hoffie Exp $ + + 25 Mar 2008; Jakub Moc <jakub@gentoo.org> + +pecl-apc-3.0.17.ebuild: + Version bump, fixes CVE-2008-1488 - see Bug 214576. Also fixing some + memory leaks and apc_add() cache expunge bug. 02 Mar 2008; Wulf C. Krueger <philantrop@gentoo.org> pecl-apc-3.0.16.ebuild: diff --git a/dev-php5/pecl-apc/Manifest b/dev-php5/pecl-apc/Manifest index 6dc693a68418..9c932ac6762c 100644 --- a/dev-php5/pecl-apc/Manifest +++ b/dev-php5/pecl-apc/Manifest @@ -1,9 +1,21 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA1 + AUX pecl-apc-3.0.16-apc_set_signals.patch 317 RMD160 a154278cfd09e36dff07b2f29bff48d1df06e625 SHA1 fd4c340ea746b26be0e74465fe19e890ff0e968f SHA256 99ef89e19effcff193791910ce376e9b284c8f8048407e86f81d6746656db95c DIST APC-3.0.12p2.tgz 94809 RMD160 d88c75a348a51b0f0e379704dee5e1edc9fbf8ae SHA1 79476e6071ff5eead2d1e7cc92ed614ef2fd7f67 SHA256 a663f65a8207c930efbd8a1dda9e90bf4cd76166d8534771824f80e98081b297 DIST APC-3.0.15.tgz 112056 RMD160 ede098ca1411dd14f29da9d12795807e4c9dffcb SHA1 a54254728967de4adc4a57f0a6dd74bd92b6dcbe SHA256 1c475a84d12db2a45f1489a48f375d77854ae2c1d6626db3e812ccc04461911a DIST APC-3.0.16.tgz 114298 RMD160 76f5eaefcf1d664d7ffafd7a9a101495c7b862d6 SHA1 26eb0580acb76632d7657868f5b103fd3bb91c02 SHA256 466b847fb9754076525d6dc0f33483972f2b97b14bdea73787f4f32e6b6f465b +DIST APC-3.0.17.tgz 116058 RMD160 f3b549b107d2846c85b7e979a321f905c6a77924 SHA1 ef968194e4bda0eb45897c8975e16d24c8151a6b SHA256 75273bb55a0f81ea38ca8cfa8de58515c568d977d78d5d31fa5cb926337febf5 EBUILD pecl-apc-3.0.12_p2.ebuild 2397 RMD160 35569838a991c17c1fe139d109094528751941da SHA1 cba4ebf10404d3caf010ee29af79bcf3ebad6707 SHA256 d5e632fef5868e797b2a10e1919ac680eb31d12172bda15dda1d357743fa312c EBUILD pecl-apc-3.0.15.ebuild 2058 RMD160 c54fecc86934563d36c92204276d6137b99b348d SHA1 792f85f95146aebd5a61367f91f0bd1bd3104e7a SHA256 15366ce2d11bed53ea7008d412f7d0c82cc58244a980b024cdac820f742d895b EBUILD pecl-apc-3.0.16.ebuild 2217 RMD160 1b85ebd5d87ab695b48cd9405ddda0c6617a3bcf SHA1 2b5dead72d60d2f601f2b018df74af8f63178634 SHA256 e17566a6c4237d0580082883c35f56e50e8c81a0913b2c255deeb7f5d2cb0013 -MISC ChangeLog 5193 RMD160 ca38f11704388c70cd9de44a2a99592e627e75d7 SHA1 51cada1dd799de0c09de70198aeb520a084d7af7 SHA256 8224fa2aa318ba5af982112e67a63f9bd905e44f754b01ef92d1249d2cb5a049 +EBUILD pecl-apc-3.0.17.ebuild 2060 RMD160 2ccf86171abd95c16884c2c307ce1a59385bed73 SHA1 f19c272ce3e83c52bf9667133000ff72766afb37 SHA256 09a227d707719933dc17aef0d938b685f3e9e21cab91917c140f3bc39b229ab4 +MISC ChangeLog 5380 RMD160 e74a53fa2fa088997566ca3ff7c6657ede4d60a4 SHA1 d08ec04c21985ca643d96f6c6e12b2f620a470f0 SHA256 b581ffe058538f3a01ceef67a313061663ae347badd7b73377512bb9cbe29a59 MISC metadata.xml 157 RMD160 a98db3a086fae3c09a903dadbc05f60443ec4b1a SHA1 ddaa23cc35eb917bf8962b652442bebb1ce0f440 SHA256 54f8878ca0228e380abbaa4b529806b5533a6b9b51b3b16c0909e906586a91a1 +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v2.0.7 (GNU/Linux) + +iD8DBQFH6YIW1pDSCpzPSZgRAlbwAJ90IEsoJVoldtujZvOMdm5m5c2DewCg1Ft4 +sNY0WVizYh91t40gKgFBgHo= +=MFr3 +-----END PGP SIGNATURE----- diff --git a/dev-php5/pecl-apc/pecl-apc-3.0.17.ebuild b/dev-php5/pecl-apc/pecl-apc-3.0.17.ebuild new file mode 100644 index 000000000000..54a84dde7b71 --- /dev/null +++ b/dev-php5/pecl-apc/pecl-apc-3.0.17.ebuild @@ -0,0 +1,66 @@ +# 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.17.ebuild,v 1.1 2008/03/25 22:51:57 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() { + 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/." +} |