summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOle Markus With <olemarkus@gentoo.org>2011-07-22 12:20:48 +0000
committerOle Markus With <olemarkus@gentoo.org>2011-07-22 12:20:48 +0000
commit4c8c99eb114ed68dced4ffd52bba4b9ee1d29ee7 (patch)
tree13cb65ca09b55e45132787cc0798a790e5b5f60d /dev-php
parentFixed a few bugs and added support for supplying custom ini files (diff)
downloadhistorical-4c8c99eb114ed68dced4ffd52bba4b9ee1d29ee7.tar.gz
historical-4c8c99eb114ed68dced4ffd52bba4b9ee1d29ee7.tar.bz2
historical-4c8c99eb114ed68dced4ffd52bba4b9ee1d29ee7.zip
Supplying custom ini files instead of building one through the ext eclass
Package-Manager: portage-2.1.9.49/cvs/Linux x86_64
Diffstat (limited to 'dev-php')
-rw-r--r--dev-php/pecl-apc/ChangeLog10
-rw-r--r--dev-php/pecl-apc/Manifest18
-rw-r--r--dev-php/pecl-apc/files/pecl-apc.ini11
-rw-r--r--dev-php/pecl-apc/pecl-apc-3.1.9-r1.ebuild45
4 files changed, 74 insertions, 10 deletions
diff --git a/dev-php/pecl-apc/ChangeLog b/dev-php/pecl-apc/ChangeLog
index 316acae057d4..025a06817dbc 100644
--- a/dev-php/pecl-apc/ChangeLog
+++ b/dev-php/pecl-apc/ChangeLog
@@ -1,6 +1,12 @@
-# ChangeLog for dev-php5/pecl-apc
+# ChangeLog for dev-php/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 $
+# $Header: /var/cvsroot/gentoo-x86/dev-php/pecl-apc/ChangeLog,v 1.2 2011/07/22 12:20:48 olemarkus Exp $
+
+*pecl-apc-3.1.9-r1 (22 Jul 2011)
+
+ 22 Jul 2011; <olemarkus@gentoo.org> +pecl-apc-3.1.9-r1.ebuild,
+ +files/pecl-apc.ini:
+ Supplying custom ini files instead of building one through the ext eclass
*pecl-apc-3.1.9 (15 May 2011)
diff --git a/dev-php/pecl-apc/Manifest b/dev-php/pecl-apc/Manifest
index a17676648948..e6ce22fecbbb 100644
--- a/dev-php/pecl-apc/Manifest
+++ b/dev-php/pecl-apc/Manifest
@@ -3,20 +3,22 @@ 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
+AUX pecl-apc.ini 233 RMD160 53011931d60dd6ca5437c915bd2f32322d082663 SHA1 c13dd766aa2a9686fd1202922687690b8afaeab3 SHA256 1529ee803ce25a13bd303c9b40a32b238daf21aa0a993d8e66ae90dc1042d080
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-r1.ebuild 1055 RMD160 6f10a918ccb0b6a2e455f8c50c22fd9660e3cce6 SHA1 3bb97fe38d94407a7dcaa9fce307a2817f28680b SHA256 ab8063429e40ea271f46d60a8fb670c3dbc42fc53270988e31ed2820a379f9b9
EBUILD pecl-apc-3.1.9.ebuild 2522 RMD160 6620569d59c43dbcbac1661e399e6b81bea58806 SHA1 07b4adb102109628194d8f297e201d17d20b63dd SHA256 203dca8d23e452d8dbcd562c40ed7bdd2a0c93a2ee058acd0f3577355bb7dc8e
-MISC ChangeLog 11855 RMD160 08e42e3834c978e0fe77489039216f7534175f69 SHA1 8ae63221988104079b65008839b744dbce7d5819 SHA256 fb75d0e75a6044466682e23fcd2eea24ca8557a8defc5dace641d793a74d9415
+MISC ChangeLog 12053 RMD160 8c2fa87502e9cc61143eb1d611a6e7837d16e7de SHA1 853193358f0bc96734f4dff32f66ddce6bd78783 SHA256 a271ed061c5c6991c1a02cbebf42f6f9ac5cf416245c60b190528c04b9277220
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
+iQEcBAEBAgAGBQJOKWrcAAoJEGurSuXEqSv1DvAIAKYdl8Y6TQyI1avzWteD7H1B
+TguLtpY1EV91LFnRE4M4LXSeYTh3yPxXO9wZojSAhqKUpOR5Vfg6niGq4aitmTvR
+Fxi3krLKAdiGbzk3sKtRhDg1tsIXgpP2W/tAFPxSlOZP0CDKhVrzgZ3Sk3HHO+kX
+l95iGGq3ARygGYuyNkjO5RtbAIjE7PAc7Qc2QsVMoS58+Bcz6aZMumfCDxLgeshF
+PbCqpSJO4rogrG7ezVy2Ax877j78vVK2NNsiXA2vdRHBHuS5RIXCNcV+F5lGpXqt
+fXDl2xWi9+S4ydMbZUJIf9RD3xp1c/ZrKxAE/YOh+BzFcOFxud9mlA668JMN+Rc=
+=+wcE
-----END PGP SIGNATURE-----
diff --git a/dev-php/pecl-apc/files/pecl-apc.ini b/dev-php/pecl-apc/files/pecl-apc.ini
new file mode 100644
index 000000000000..97b968db8723
--- /dev/null
+++ b/dev-php/pecl-apc/files/pecl-apc.ini
@@ -0,0 +1,11 @@
+apc.enabled="1"
+apc.shm_segments="1"
+apc.shm_size="30M"
+apc.mmap_file_mask="/tmp/apcphp5.XXXXXX"
+apc.file_update_protection="2"
+apc.enable_cli="0"
+apc.max_file_size="1M"
+apc.stat="1"
+apc.write_lock="1"
+apc.include_once_override="0"
+
diff --git a/dev-php/pecl-apc/pecl-apc-3.1.9-r1.ebuild b/dev-php/pecl-apc/pecl-apc-3.1.9-r1.ebuild
new file mode 100644
index 000000000000..64802beb2de0
--- /dev/null
+++ b/dev-php/pecl-apc/pecl-apc-3.1.9-r1.ebuild
@@ -0,0 +1,45 @@
+# 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-r1.ebuild,v 1.1 2011/07/22 12:20:48 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"
+
+PHP_EXT_INIFILE="${PN}.ini"
+
+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
+
+ 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}/."
+}