diff options
author | Ole Markus With <olemarkus@gentoo.org> | 2011-07-22 08:39:21 +0000 |
---|---|---|
committer | Ole Markus With <olemarkus@gentoo.org> | 2011-07-22 08:39:21 +0000 |
commit | 71c8e288dab7821730b2bc903f5a16578351c62a (patch) | |
tree | 698a2ab7fd52b6694e137a5fc1f346ac4ede394f /dev-php | |
parent | Initial import. (diff) | |
download | historical-71c8e288dab7821730b2bc903f5a16578351c62a.tar.gz historical-71c8e288dab7821730b2bc903f5a16578351c62a.tar.bz2 historical-71c8e288dab7821730b2bc903f5a16578351c62a.zip |
Moved from dev-php5/pecl-apc
Package-Manager: portage-2.1.9.49/cvs/Linux x86_64
RepoMan-Options: --force
Diffstat (limited to 'dev-php')
-rw-r--r-- | dev-php/pecl-apc/ChangeLog | 366 | ||||
-rw-r--r-- | dev-php/pecl-apc/Manifest | 22 | ||||
-rw-r--r-- | dev-php/pecl-apc/files/pecl-apc-3.0.16-CVE-2008-1488.patch | 12 | ||||
-rw-r--r-- | dev-php/pecl-apc/files/pecl-apc-3.0.16-apc_set_signals.patch | 11 | ||||
-rw-r--r-- | dev-php/pecl-apc/metadata.xml | 5 | ||||
-rw-r--r-- | dev-php/pecl-apc/pecl-apc-3.1.7.ebuild | 69 | ||||
-rw-r--r-- | dev-php/pecl-apc/pecl-apc-3.1.9.ebuild | 69 |
7 files changed, 554 insertions, 0 deletions
diff --git a/dev-php/pecl-apc/ChangeLog b/dev-php/pecl-apc/ChangeLog new file mode 100644 index 000000000000..316acae057d4 --- /dev/null +++ b/dev-php/pecl-apc/ChangeLog @@ -0,0 +1,366 @@ +# ChangeLog for dev-php5/pecl-apc +# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-php/pecl-apc/ChangeLog,v 1.1 2011/07/22 08:39:21 olemarkus Exp $ + +*pecl-apc-3.1.9 (15 May 2011) + + 15 May 2011; <olemarkus@gentoo.org> -pecl-apc-3.1.8.ebuild, + +pecl-apc-3.1.9.ebuild: + Added 3.1.9. Removed 3.1.8 due to a critical regression fixed in 3.1.9 + +*pecl-apc-3.1.8 (02 May 2011) + + 02 May 2011; <olemarkus@gentoo.org> +pecl-apc-3.1.8.ebuild: + Version bump + + 19 Apr 2011; <olemarkus@gentoo.org> pecl-apc-3.1.7.ebuild: + Fixed postinst log message. Thanks to Michael Gisbers for patch. Bug 362413 + + 24 Mar 2011; Kacper Kowalik <xarthisius@gentoo.org> pecl-apc-3.1.7.ebuild: + ppc/ppc64 stable wrt #355611 + + 18 Mar 2011; Thomas Kahle <tomka@gentoo.org> pecl-apc-3.1.7.ebuild: + x86 stable per bug 355611 + + 28 Feb 2011; Markos Chandras <hwoarang@gentoo.org> pecl-apc-3.1.7.ebuild: + Stable on amd64 wrt bug #355611 + + 30 Jan 2011; Raúl Porcel <armin76@gentoo.org> pecl-apc-3.1.4.ebuild, + pecl-apc-3.1.6.ebuild: + Drop ia64/sparc keywords + +*pecl-apc-3.1.7 (11 Jan 2011) + + 11 Jan 2011; <olemarkus@gentoo.org> +pecl-apc-3.1.7.ebuild: + Version bump + + 08 Jan 2011; Brent Baude <ranger@gentoo.org> pecl-apc-3.1.6-r1.ebuild: + Marking pecl-apc-3.1.6-r1 ~ppc for bug 349659 + + 05 Jan 2011; Ole Markus With <olemarkus@gentoo.org> + -pecl-apc-3.0.19.ebuild, -pecl-apc-3.1.3_p1-r1.ebuild, + -pecl-apc-3.1.4-r1.ebuild, -pecl-apc-3.1.5-r1.ebuild, + -pecl-apc-3.1.5-r2.ebuild: + Removed old versions + + 04 Jan 2011; Michael Weber <xmw@gentoo.org> pecl-apc-3.1.4.ebuild: + sparc stable (bug 337194) + + 04 Jan 2011; Markos Chandras <hwoarang@gentoo.org> pecl-apc-3.1.6-r1.ebuild: + Stable on amd64 wrt bug #349659 + + 04 Jan 2011; Christian Faulhammer <fauli@gentoo.org> + pecl-apc-3.1.6-r1.ebuild: + stable x86, bug 349659 + + 28 Dec 2010; Brent Baude <ranger@gentoo.org> pecl-apc-3.1.6-r1.ebuild: + Marking pecl-apc-3.1.6-r1 ~ppc64 for bug 349659 + + 24 Dec 2010; <olemarkus@gentoo.org> pecl-apc-3.1.6-r1.ebuild: + Fixed bug 349423 + + 20 Dec 2010; Brent Baude <ranger@gentoo.org> pecl-apc-3.1.4-r1.ebuild: + Marking pecl-apc-3.1.4-r1 ~ppc64 for bug 343597 + +*pecl-apc-3.1.6-r1 (30 Nov 2010) +*pecl-apc-3.1.6 (30 Nov 2010) + + 30 Nov 2010; Ole Markus With <olemarkus@gentoo.org> + +pecl-apc-3.1.6.ebuild, +pecl-apc-3.1.6-r1.ebuild: + Version bump + + 14 Nov 2010; <olemarkus@gentoo.org> pecl-apc-3.1.5-r1.ebuild: + No need to depend on any specific SAPI. (bug #344709) + + 04 Nov 2010; Hanno Boeck <hanno@gentoo.org> pecl-apc-3.1.5-r1.ebuild: + Change to new format of ini option shm_size (3.1.5-r2 and 3.1.4-r1 were + already changed). + +*pecl-apc-3.1.5-r2 (04 Nov 2010) +*pecl-apc-3.1.5-r1 (04 Nov 2010) + + 04 Nov 2010; <olemarkus@gentoo.org> -pecl-apc-3.1.5.ebuild, + +pecl-apc-3.1.5-r1.ebuild, +pecl-apc-3.1.5-r2.ebuild: + Created versions for php-ext-*r{1,2}. The revbumps is there to get the + version ordering straight + +*pecl-apc-3.1.5 (02 Nov 2010) + + 02 Nov 2010; <olemarkus@gentoo.org> +pecl-apc-3.1.5.ebuild: + Version bump + + 31 Oct 2010; Matti Bickel <mabi@gentoo.org> pecl-apc-3.1.4-r1.ebuild: + dropped keywords pending bug #343597 + + 15 Oct 2010; Brent Baude <ranger@gentoo.org> pecl-apc-3.1.4.ebuild: + Marking pecl-apc-3.1.4 ppc for bug 337194 + + 14 Oct 2010; Markos Chandras <hwoarang@gentoo.org> pecl-apc-3.1.4.ebuild: + Stable on amd64 wrt bug #337194 + + 14 Oct 2010; Christian Faulhammer <fauli@gentoo.org> + pecl-apc-3.1.4.ebuild: + stable x86, security bug 337194 + + 14 Oct 2010; Christian Faulhammer <fauli@gentoo.org> + pecl-apc-3.1.3_p1-r1.ebuild: + x86 stable, bug 336869 + +*pecl-apc-3.1.4-r1 (08 Oct 2010) + + 08 Oct 2010; <olemarkus@gentoo.org> +pecl-apc-3.1.4-r1.ebuild: + Added version supporting minor version slotting + +*pecl-apc-3.1.4 (13 Sep 2010) + + 13 Sep 2010; Matti Bickel <mabi@gentoo.org> -pecl-apc-3.0.16-r1.ebuild, + -pecl-apc-3.0.17.ebuild, -pecl-apc-3.0.18.ebuild, + -pecl-apc-3.0.18-r1.ebuild, -pecl-apc-3.1.3_p1.ebuild, + +pecl-apc-3.1.4.ebuild: + cleanup, version bump + +*pecl-apc-3.1.3_p1-r1 (29 Jul 2010) + + 29 Jul 2010; Matti Bickel <mabi@gentoo.org> +pecl-apc-3.1.3_p1-r1.ebuild: + remove no longer recognized apache config option, support building with + fpm (bug #330093) + +*pecl-apc-3.1.3_p1 (02 Dec 2009) + + 02 Dec 2009; Hanno Boeck <hanno@gentoo.org> +pecl-apc-3.1.3_p1.ebuild: + Version bump, supports PHP 5.3. + + 03 Nov 2009; Raúl Porcel <armin76@gentoo.org> pecl-apc-3.0.16-r1.ebuild, + pecl-apc-3.0.17.ebuild, pecl-apc-3.0.18.ebuild, pecl-apc-3.0.18-r1.ebuild, + pecl-apc-3.0.19.ebuild: + Add ~ia64 wrt #282950 + + 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: + Stable on sparc, bug #234620 + + 15 Aug 2008; Markus Meier <maekke@gentoo.org> pecl-apc-3.0.19.ebuild: + amd64/x86 stable, bug #234620 + + 14 Aug 2008; nixnut <nixnut@gentoo.org> pecl-apc-3.0.19.ebuild: + Stable on ppc wrt bug 234620 + +*pecl-apc-3.0.19 (27 May 2008) + + 27 May 2008; Hanno Boeck <hanno@gentoo.org> +pecl-apc-3.0.19.ebuild: + Version bump. + + 09 May 2008; Christian Hoffmann <hoffie@gentoo.org> + pecl-apc-3.0.16.ebuild, pecl-apc-3.0.16-r1.ebuild: + explicitly call phpize, not src_unpack (bug 220519) + +*pecl-apc-3.0.18-r1 (07 May 2008) + + 07 May 2008; Christian Hoffmann <hoffie@gentoo.org> + +pecl-apc-3.0.18-r1.ebuild: + update ini settings (drop optimizer as it is simply ignored, add options + which upstream recently added, thanks to Lars Strojny <lars@strojny.net> + for pointing that out in #gentoo-php) + + 07 May 2008; Christian Hoffmann <hoffie@gentoo.org> + pecl-apc-3.0.16.ebuild, pecl-apc-3.0.16-r1.ebuild: + calling php-ext-source-r1_src_unpack explicitly, bug 220519 + + 08 Apr 2008; Raúl Porcel <armin76@gentoo.org> pecl-apc-3.0.16-r1.ebuild, + pecl-apc-3.0.17.ebuild: + I stabilized the wrong version on sparc, thanks to hanno for reporting + +*pecl-apc-3.0.18 (08 Apr 2008) + + 08 Apr 2008; Hanno Boeck <hanno@gentoo.org> +pecl-apc-3.0.18.ebuild: + Version bump. + + 31 Mar 2008; Tobias Scherbaum <dertobi123@gentoo.org> + pecl-apc-3.0.16-r1.ebuild: + ppc stable, bug #214576 + + 30 Mar 2008; Raúl Porcel <armin76@gentoo.org> pecl-apc-3.0.17.ebuild: + sparc stable wrt security #214576 + + 28 Mar 2008; Markus Meier <maekke@gentoo.org> pecl-apc-3.0.16-r1.ebuild: + amd64/x86 stable, security bug #214576 + + 28 Mar 2008; Jakub Moc <jakub@gentoo.org> + +files/pecl-apc-3.0.16-CVE-2008-1488.patch, + +pecl-apc-3.0.16-r1.ebuild: + Add patched 3.0.16 for CVE-2008-1488 since 3.0.17 causes segfaults. + + 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: + Marked stable on amd64 as per bug 198566. + + 06 Feb 2008; nixnut <nixnut@gentoo.org> pecl-apc-3.0.16.ebuild: + stable on ppc wrt bug #198566 + + 01 Feb 2008; Raúl Porcel <armin76@gentoo.org> pecl-apc-3.0.16.ebuild: + sparc stable wrt #198566 + + 31 Jan 2008; Christian Faulhammer <opfer@gentoo.org> + pecl-apc-3.0.16.ebuild: + stable x86, bug 198566 + + 05 Jan 2008; Markus Ullmann <jokey@gentoo.org> + +files/pecl-apc-3.0.16-apc_set_signals.patch, pecl-apc-3.0.16.ebuild: + Fix from project overlay + + 04 Jan 2008; Jakub Moc <jakub@gentoo.org> + +files/pecl-apc-3.0.16-apc_set_signals.patch, pecl-apc-3.0.16.ebuild: + Add patch for Bug 204224 + +*pecl-apc-3.0.16 (27 Dec 2007) + + 27 Dec 2007; Markus Ullmann <jokey@gentoo.org> +pecl-apc-3.0.16.ebuild: + Version bump from project overlay + + 27 Dec 2007; Jakub Moc <jakub@gentoo.org> + +pecl-apc-3.0.16.ebuild: + Version bump + + 06 Dec 2007; Markus Ullmann <jokey@gentoo.org> pecl-apc-3.0.12_p2.ebuild, + -pecl-apc-3.0.14.ebuild, pecl-apc-3.0.15.ebuild: + LICENSE fix from project overlay + + 02 Dec 2007; Jakub Moc <jakub@gentoo.org> + pecl-apc-3.0.12_p2.ebuild, pecl-apc-3.0.15.ebuild: + Fix LICENSE, install more docs + + 12 Nov 2007; Raúl Porcel <armin76@gentoo.org> pecl-apc-3.0.15.ebuild: + sparc stable wrt #198566 + + 11 Nov 2007; nixnut <nixnut@gentoo.org> pecl-apc-3.0.15.ebuild: + Stable on ppc wrt bug 198566 + + 11 Nov 2007; Dawid Węgliński <cla@gentoo.org> pecl-apc-3.0.15.ebuild: + Stable on x86 (bug #198566) + +*pecl-apc-3.0.15 (28 Oct 2007) + + 28 Oct 2007; Markus Ullmann <jokey@gentoo.org> +pecl-apc-3.0.15.ebuild: + Version bump from php project overlay + + 27 Oct 2007; Jakub Moc <jakub@gentoo.org> +pecl-apc-3.0.15.ebuild: + Version bump + + 06 Sep 2007; Markus Ullmann <jokey@gentoo.org> -pecl-apc-3.0.13.ebuild: + Cleanup + +*pecl-apc-3.0.14 (30 Jun 2007) + + 30 Jun 2007; Konstantin V. Arkhipov <voxus@gentoo.org> + +pecl-apc-3.0.14.ebuild: + Version bump, closing bug #180562. + + 12 May 2007; Luca Longinotti <chtekk@gentoo.org> + pecl-apc-3.0.12_p2.ebuild, pecl-apc-3.0.13.ebuild: + Fix require_php_sapi_from usage wrt apache1. + + 12 May 2007; Luca Longinotti <chtekk@gentoo.org> + pecl-apc-3.0.12_p2.ebuild, pecl-apc-3.0.13.ebuild: + Apache 1.X masking. + +*pecl-apc-3.0.13 (08 Mar 2007) + + 08 Mar 2007; Luca Longinotti <chtekk@gentoo.org> + pecl-apc-3.0.12_p2.ebuild, +pecl-apc-3.0.13.ebuild: + Version bump, cleanup. + + 28 Jan 2007; Marius Mauch <genone@gentoo.org> pecl-apc-3.0.12_p2.ebuild: + Replacing einfo with elog + + 15 Oct 2006; Luca Longinotti <chtekk@gentoo.org> + pecl-apc-3.0.12_p2.ebuild: + Fix path. + + 14 Oct 2006; Luca Longinotti <chtekk@gentoo.org> + pecl-apc-3.0.12_p2.ebuild: + Blockers must be mutual. + + 14 Oct 2006; Luca Longinotti <chtekk@gentoo.org> + pecl-apc-3.0.12_p2.ebuild: + Fixup ebuild. + + 03 Oct 2006; Chris Gianelloni <wolf31o2@gentoo.org> + pecl-apc-3.0.12_p2.ebuild: + Stable on amd64/x86 wrt bug #149436. + + 30 Sep 2006; <nixnut@gentoo.org> pecl-apc-3.0.12_p2.ebuild: + Stable on ppc wrt bug 149436 + + 28 Sep 2006; Jason Wever <weeve@gentoo.org> pecl-apc-3.0.12_p2.ebuild: + Stable on SPARC wrt bug #149436. + +*pecl-apc-3.0.12_p2 (05 Sep 2006) + + 05 Sep 2006; Sebastian Bergmann <sebastian@gentoo.org> + -pecl-apc-3.0.12.ebuild, +pecl-apc-3.0.12_p2.ebuild: + Version bump. + +*pecl-apc-3.0.12 (05 Sep 2006) + + 05 Sep 2006; Sebastian Bergmann <sebastian@gentoo.org> + -pecl-apc-3.0.11.ebuild, +pecl-apc-3.0.12.ebuild: + Version bump. + + 22 Aug 2006; Luca Longinotti <chtekk@gentoo.org> pecl-apc-3.0.11.ebuild: + Fix bug #144681. + + 18 Aug 2006; Sebastian Bergmann <sebastian@gentoo.org> + -pecl-apc-3.0.10.ebuild: + Remove broken version. + +*pecl-apc-3.0.11 (17 Aug 2006) + + 17 Aug 2006; Sebastian Bergmann <sebastian@gentoo.org> + -pecl-apc-3.0.8.ebuild, pecl-apc-3.0.10.ebuild, +pecl-apc-3.0.11.ebuild: + Version bump. + +*pecl-apc-3.0.10 (12 Mar 2006) + + 12 Mar 2006; Sebastian Bergmann <sebastian@gentoo.org> + -pecl-apc-3.0.9.ebuild, +pecl-apc-3.0.10.ebuild: + Version bump. + + 09 Mar 2006; Luca Longinotti <chtekk@gentoo.org> + files/digest-pecl-apc-3.0.8, files/digest-pecl-apc-3.0.9, Manifest: + Fix digests wrt bug #125612. + + 06 Mar 2006; Sebastian Bergmann <sebastian@gentoo.org> + pecl-apc-3.0.9.ebuild: + Support for PHP 5.0 has been dropped, closes bug 125138. + +*pecl-apc-3.0.9 (04 Mar 2006) + + 04 Mar 2006; Sebastian Bergmann <sebastian@gentoo.org> + +pecl-apc-3.0.9.ebuild: + Version bump. + + 10 Feb 2006; Simon Stelling <blubb@gentoo.org> pecl-apc-3.0.8.ebuild: + added ~amd64 keyword + + 26 Nov 2005; Luca Longinotti <chtekk@gentoo.org> pecl-apc-3.0.8.ebuild: + Sync with overlay. + + 19 Nov 2005; Markus Rothe <corsair@gentoo.org> pecl-apc-3.0.8.ebuild: + Added ~ppc64 keyword; bug #102649 + + 10 Sep 2005; Jason Wever <weeve@gentoo.org> pecl-apc-3.0.8.ebuild: + Added ~sparc keyword. + + 18 Aug 2005; <stuart@gentoo.org> ChangeLog: + Initial version; replaces older dev-php/* packages + diff --git a/dev-php/pecl-apc/Manifest b/dev-php/pecl-apc/Manifest new file mode 100644 index 000000000000..a17676648948 --- /dev/null +++ b/dev-php/pecl-apc/Manifest @@ -0,0 +1,22 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA1 + +AUX pecl-apc-3.0.16-CVE-2008-1488.patch 733 RMD160 ab533f369c22eb0ef12fc1e62e28981ba762fa6f SHA1 7b6962260cdcf4f940e99994b423f5c282268c19 SHA256 4d2dc22c1b2f2fe89848b2167605af2d5d0cab906de306ac29ace9319aed2e0c +AUX pecl-apc-3.0.16-apc_set_signals.patch 317 RMD160 a154278cfd09e36dff07b2f29bff48d1df06e625 SHA1 fd4c340ea746b26be0e74465fe19e890ff0e968f SHA256 99ef89e19effcff193791910ce376e9b284c8f8048407e86f81d6746656db95c +DIST APC-3.1.7.tgz 152735 RMD160 523c3b6aec6b712a89e36243cb7bf2a3297ae7ac SHA1 fd30aa79c7632f3da90193376a91152d157fa91f SHA256 9a526bdaa51ec8e84c2413e0f9c15099b951c39c995439ff2f54a3340a879b76 +DIST APC-3.1.9.tgz 155540 RMD160 67288c957a0234a82912f06e51c6f60f4ed4c66c SHA1 417b95e63496de7f785b4917166098c6ac996008 SHA256 47def118d9da1a68521e1c9b3dd6660cf94be638ebecad010bdd7d7ca482d671 +EBUILD pecl-apc-3.1.7.ebuild 2518 RMD160 7091fcaf438d12b2e37ba4607651f4ea247baf2c SHA1 a025057b94c7d522b1937ffdba8a4f32d232ec17 SHA256 5a320b2e12a49497029e2ad60397e1ad7cba7e5bd0266a71fa77c1722a4eeb70 +EBUILD pecl-apc-3.1.9.ebuild 2522 RMD160 6620569d59c43dbcbac1661e399e6b81bea58806 SHA1 07b4adb102109628194d8f297e201d17d20b63dd SHA256 203dca8d23e452d8dbcd562c40ed7bdd2a0c93a2ee058acd0f3577355bb7dc8e +MISC ChangeLog 11855 RMD160 08e42e3834c978e0fe77489039216f7534175f69 SHA1 8ae63221988104079b65008839b744dbce7d5819 SHA256 fb75d0e75a6044466682e23fcd2eea24ca8557a8defc5dace641d793a74d9415 +MISC metadata.xml 157 RMD160 a98db3a086fae3c09a903dadbc05f60443ec4b1a SHA1 ddaa23cc35eb917bf8962b652442bebb1ce0f440 SHA256 54f8878ca0228e380abbaa4b529806b5533a6b9b51b3b16c0909e906586a91a1 +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v2.0.17 (GNU/Linux) + +iQEcBAEBAgAGBQJOKTb0AAoJEGurSuXEqSv17t0H/2InSd6ZQDMEFLT2q9g9m53O +D/bl69lcNkgOw3cE2Btj05oasB9xqfTYIJmyCzjbd+U1WWZE0v6UOfMZMue1+hxJ +vhXlnjImSQVAw2zTUaIeKUkELO06FUE/4Mz4x/ewMXWSgGYwhjvGAFvNdx9dl9vk +t99f4yJ2mHCpUgKruwM0dQenq35IRnlon5EpqM9I9u88yiI7GtLe5Q8QzQCaNoW9 +6qX6ytBTPCtoTHmHxRFIasrYGXaOJQWz12qF5KZ7BoOomob8eDCOeAKdUu8acsFO +Qqsk2Haj1GgryUgvDKyI/SX9mSQTWDwTtzkwq/KgeCI3Ika4Ky8Ao4sQkNNT1TU= +=MRWl +-----END PGP SIGNATURE----- diff --git a/dev-php/pecl-apc/files/pecl-apc-3.0.16-CVE-2008-1488.patch b/dev-php/pecl-apc/files/pecl-apc-3.0.16-CVE-2008-1488.patch new file mode 100644 index 000000000000..7ece786c4c25 --- /dev/null +++ b/dev-php/pecl-apc/files/pecl-apc-3.0.16-CVE-2008-1488.patch @@ -0,0 +1,12 @@ +--- apc.c.old 2008-03-26 19:22:02.000000000 +0100 ++++ apc.c 2008-03-26 19:22:23.000000000 +0100 +@@ -331,7 +331,7 @@ + /* not: [no active file] or no path */ + memcpy(fileinfo->fullpath, exec_fname, exec_fname_length); + fileinfo->fullpath[exec_fname_length] = DEFAULT_SLASH; +- strcpy(fileinfo->fullpath +exec_fname_length +1, filename); ++ strlcpy(fileinfo->fullpath +exec_fname_length +1, filename,sizeof(fileinfo->fullpath)-exec_fname_length-1); + /* apc_wprint("filename: %s, exec_fname: %s, fileinfo->fullpath: %s", filename, exec_fname, fileinfo->fullpath); */ + if (apc_stat(fileinfo->fullpath, &fileinfo->st_buf) == 0) { + found = 1; + diff --git a/dev-php/pecl-apc/files/pecl-apc-3.0.16-apc_set_signals.patch b/dev-php/pecl-apc/files/pecl-apc-3.0.16-apc_set_signals.patch new file mode 100644 index 000000000000..0e12918a24ff --- /dev/null +++ b/dev-php/pecl-apc/files/pecl-apc-3.0.16-apc_set_signals.patch @@ -0,0 +1,11 @@ +--- APC-3.0.16/php_apc.c.orig 2007-12-26 23:51:32.000000000 +0100 ++++ APC-3.0.16/php_apc.c 2008-01-04 23:34:30.000000000 +0100 +@@ -300,7 +300,7 @@ + apc_request_init(TSRMLS_C); + + #if HAVE_SIGACTION +- apc_set_signals(); ++ apc_set_signals(TSRMLS_C); + #endif + } + return SUCCESS; diff --git a/dev-php/pecl-apc/metadata.xml b/dev-php/pecl-apc/metadata.xml new file mode 100644 index 000000000000..fd3dbe39fa64 --- /dev/null +++ b/dev-php/pecl-apc/metadata.xml @@ -0,0 +1,5 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>php</herd> +</pkgmetadata> diff --git a/dev-php/pecl-apc/pecl-apc-3.1.7.ebuild b/dev-php/pecl-apc/pecl-apc-3.1.7.ebuild new file mode 100644 index 000000000000..0d8ab3297060 --- /dev/null +++ b/dev-php/pecl-apc/pecl-apc-3.1.7.ebuild @@ -0,0 +1,69 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-php/pecl-apc/pecl-apc-3.1.7.ebuild,v 1.1 2011/07/22 08:39:21 olemarkus Exp $ + +EAPI=2 + +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-r2 confutils eutils + +KEYWORDS="amd64 ppc ppc64 x86" + +DESCRIPTION="A free, open, and robust framework for caching and optimizing PHP code." +LICENSE="PHP-3.01" +SLOT="0" +IUSE="mmap" + +DEPEND="!dev-php/eaccelerator !dev-php/xcache" +RDEPEND="${DEPEND}" + +src_configure() { + my_conf="--enable-apc" + enable_extension_enable "apc-mmap" "mmap" 0 + + php-ext-source-r2_src_configure +} + +src_install() { + php-ext-pecl-r2_src_install + + php-ext-source-r2_addtoinifiles "apc.enabled" '"1"' + php-ext-source-r2_addtoinifiles "apc.shm_segments" '"1"' + php-ext-source-r2_addtoinifiles "apc.shm_size" '"30M"' + php-ext-source-r2_addtoinifiles "apc.num_files_hint" '"1024"' + php-ext-source-r2_addtoinifiles "apc.ttl" '"7200"' + php-ext-source-r2_addtoinifiles "apc.user_ttl" '"7200"' + php-ext-source-r2_addtoinifiles "apc.gc_ttl" '"3600"' + php-ext-source-r2_addtoinifiles "apc.cache_by_default" '"1"' + php-ext-source-r2_addtoinifiles ";apc.filters" '""' + php-ext-source-r2_addtoinifiles ";apc.mmap_file_mask" '"/tmp/apcphp5.XXXXXX"' + php-ext-source-r2_addtoinifiles "apc.slam_defense" '"0"' + php-ext-source-r2_addtoinifiles "apc.file_update_protection" '"2"' + php-ext-source-r2_addtoinifiles "apc.enable_cli" '"0"' + php-ext-source-r2_addtoinifiles "apc.max_file_size" '"1M"' + php-ext-source-r2_addtoinifiles "apc.stat" '"1"' + php-ext-source-r2_addtoinifiles "apc.write_lock" '"1"' + php-ext-source-r2_addtoinifiles "apc.report_autofilter" '"0"' + php-ext-source-r2_addtoinifiles "apc.include_once_override" '"0"' + php-ext-source-r2_addtoinifiles "apc.rfc1867" '"0"' + php-ext-source-r2_addtoinifiles "apc.rfc1867_prefix" '"upload_"' + php-ext-source-r2_addtoinifiles "apc.rfc1867_name" '"APC_UPLOAD_PROGRESS"' + php-ext-source-r2_addtoinifiles "apc.rfc1867_freq" '"0"' + php-ext-source-r2_addtoinifiles "apc.localcache" '"0"' + php-ext-source-r2_addtoinifiles "apc.localcache.size" '"512"' + php-ext-source-r2_addtoinifiles "apc.coredump_unmap" '"0"' + + 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 ${PHP_EXT_SHARED_DIR}/." +} diff --git a/dev-php/pecl-apc/pecl-apc-3.1.9.ebuild b/dev-php/pecl-apc/pecl-apc-3.1.9.ebuild new file mode 100644 index 000000000000..8ddf2b6d36a7 --- /dev/null +++ b/dev-php/pecl-apc/pecl-apc-3.1.9.ebuild @@ -0,0 +1,69 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-php/pecl-apc/pecl-apc-3.1.9.ebuild,v 1.1 2011/07/22 08:39:21 olemarkus Exp $ + +EAPI=2 + +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-r2 confutils eutils + +KEYWORDS="~amd64 ~ppc ~ppc64 ~x86" + +DESCRIPTION="A free, open, and robust framework for caching and optimizing PHP code." +LICENSE="PHP-3.01" +SLOT="0" +IUSE="mmap" + +DEPEND="!dev-php/eaccelerator !dev-php/xcache" +RDEPEND="${DEPEND}" + +src_configure() { + my_conf="--enable-apc" + enable_extension_enable "apc-mmap" "mmap" 0 + + php-ext-source-r2_src_configure +} + +src_install() { + php-ext-pecl-r2_src_install + + php-ext-source-r2_addtoinifiles "apc.enabled" '"1"' + php-ext-source-r2_addtoinifiles "apc.shm_segments" '"1"' + php-ext-source-r2_addtoinifiles "apc.shm_size" '"30M"' + php-ext-source-r2_addtoinifiles "apc.num_files_hint" '"1024"' + php-ext-source-r2_addtoinifiles "apc.ttl" '"7200"' + php-ext-source-r2_addtoinifiles "apc.user_ttl" '"7200"' + php-ext-source-r2_addtoinifiles "apc.gc_ttl" '"3600"' + php-ext-source-r2_addtoinifiles "apc.cache_by_default" '"1"' + php-ext-source-r2_addtoinifiles ";apc.filters" '""' + php-ext-source-r2_addtoinifiles ";apc.mmap_file_mask" '"/tmp/apcphp5.XXXXXX"' + php-ext-source-r2_addtoinifiles "apc.slam_defense" '"0"' + php-ext-source-r2_addtoinifiles "apc.file_update_protection" '"2"' + php-ext-source-r2_addtoinifiles "apc.enable_cli" '"0"' + php-ext-source-r2_addtoinifiles "apc.max_file_size" '"1M"' + php-ext-source-r2_addtoinifiles "apc.stat" '"1"' + php-ext-source-r2_addtoinifiles "apc.write_lock" '"1"' + php-ext-source-r2_addtoinifiles "apc.report_autofilter" '"0"' + php-ext-source-r2_addtoinifiles "apc.include_once_override" '"0"' + php-ext-source-r2_addtoinifiles "apc.rfc1867" '"0"' + php-ext-source-r2_addtoinifiles "apc.rfc1867_prefix" '"upload_"' + php-ext-source-r2_addtoinifiles "apc.rfc1867_name" '"APC_UPLOAD_PROGRESS"' + php-ext-source-r2_addtoinifiles "apc.rfc1867_freq" '"0"' + php-ext-source-r2_addtoinifiles "apc.localcache" '"0"' + php-ext-source-r2_addtoinifiles "apc.localcache.size" '"512"' + php-ext-source-r2_addtoinifiles "apc.coredump_unmap" '"0"' + + 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 ${PHP_EXT_SHARED_DIR}/." +} |