summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOle Markus With <olemarkus@gentoo.org>2011-09-09 13:01:09 +0000
committerOle Markus With <olemarkus@gentoo.org>2011-09-09 13:01:09 +0000
commit3cde3b5360dbc9cbd7421d74f885dbd91b3d6e9f (patch)
treef7467d5bde87836cfc65af88eee99710e45a8ea7 /dev-php/pecl-apc
parentapp-admin/hddtemp: New drives for hddgentoo.db. Fixed bug #381517. (diff)
downloadhistorical-3cde3b5360dbc9cbd7421d74f885dbd91b3d6e9f.tar.gz
historical-3cde3b5360dbc9cbd7421d74f885dbd91b3d6e9f.tar.bz2
historical-3cde3b5360dbc9cbd7421d74f885dbd91b3d6e9f.zip
Added revbump with support of various locking mechanism. Bug 369635
Package-Manager: portage-2.1.10.3/cvs/Linux x86_64
Diffstat (limited to 'dev-php/pecl-apc')
-rw-r--r--dev-php/pecl-apc/ChangeLog8
-rw-r--r--dev-php/pecl-apc/Manifest19
-rw-r--r--dev-php/pecl-apc/metadata.xml6
-rw-r--r--dev-php/pecl-apc/pecl-apc-3.1.9-r2.ebuild62
4 files changed, 85 insertions, 10 deletions
diff --git a/dev-php/pecl-apc/ChangeLog b/dev-php/pecl-apc/ChangeLog
index 025a06817dbc..a665c224a1ec 100644
--- a/dev-php/pecl-apc/ChangeLog
+++ b/dev-php/pecl-apc/ChangeLog
@@ -1,6 +1,12 @@
# 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.2 2011/07/22 12:20:48 olemarkus Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-php/pecl-apc/ChangeLog,v 1.3 2011/09/09 13:01:09 olemarkus Exp $
+
+*pecl-apc-3.1.9-r2 (09 Sep 2011)
+
+ 09 Sep 2011; Ole Markus With <olemarkus@gentoo.org>
+ +pecl-apc-3.1.9-r2.ebuild:
+ Added revbump with support of various locking mechanism. Bug 369635
*pecl-apc-3.1.9-r1 (22 Jul 2011)
diff --git a/dev-php/pecl-apc/Manifest b/dev-php/pecl-apc/Manifest
index e6ce22fecbbb..ca113bf91a3f 100644
--- a/dev-php/pecl-apc/Manifest
+++ b/dev-php/pecl-apc/Manifest
@@ -8,17 +8,18 @@ DIST APC-3.1.7.tgz 152735 RMD160 523c3b6aec6b712a89e36243cb7bf2a3297ae7ac SHA1 f
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-r2.ebuild 1492 RMD160 fc1c00bd54a879ec529b674c7237635fc369c01d SHA1 ad14755b6b48b2485a8374a44e9c48262dbb4cf3 SHA256 236ba85efa53af5556704b8388be32382d339f31154517bcec6e0016b1f63339
EBUILD pecl-apc-3.1.9.ebuild 2522 RMD160 6620569d59c43dbcbac1661e399e6b81bea58806 SHA1 07b4adb102109628194d8f297e201d17d20b63dd SHA256 203dca8d23e452d8dbcd562c40ed7bdd2a0c93a2ee058acd0f3577355bb7dc8e
-MISC ChangeLog 12053 RMD160 8c2fa87502e9cc61143eb1d611a6e7837d16e7de SHA1 853193358f0bc96734f4dff32f66ddce6bd78783 SHA256 a271ed061c5c6991c1a02cbebf42f6f9ac5cf416245c60b190528c04b9277220
-MISC metadata.xml 157 RMD160 a98db3a086fae3c09a903dadbc05f60443ec4b1a SHA1 ddaa23cc35eb917bf8962b652442bebb1ce0f440 SHA256 54f8878ca0228e380abbaa4b529806b5533a6b9b51b3b16c0909e906586a91a1
+MISC ChangeLog 12241 RMD160 5cc84a1c186e62432f8a02888334b18e13d05688 SHA1 49812a29018d845be6a4858de4bfc5827d155993 SHA256 128276c760dc063302572654538b43c486061cffd5a177e29025ab1e8bc7d1d0
+MISC metadata.xml 458 RMD160 fffa2522e3798b58ecb27ab1848130eff0c5f813 SHA1 029489354dc438b76b458e6fdadc85ad3e77ad2e SHA256 9dbd7d8b0b8072cf8504510a566265a44932457a08d31eb2937840c70da9ff4e
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.17 (GNU/Linux)
-iQEcBAEBAgAGBQJOKWrcAAoJEGurSuXEqSv1DvAIAKYdl8Y6TQyI1avzWteD7H1B
-TguLtpY1EV91LFnRE4M4LXSeYTh3yPxXO9wZojSAhqKUpOR5Vfg6niGq4aitmTvR
-Fxi3krLKAdiGbzk3sKtRhDg1tsIXgpP2W/tAFPxSlOZP0CDKhVrzgZ3Sk3HHO+kX
-l95iGGq3ARygGYuyNkjO5RtbAIjE7PAc7Qc2QsVMoS58+Bcz6aZMumfCDxLgeshF
-PbCqpSJO4rogrG7ezVy2Ax877j78vVK2NNsiXA2vdRHBHuS5RIXCNcV+F5lGpXqt
-fXDl2xWi9+S4ydMbZUJIf9RD3xp1c/ZrKxAE/YOh+BzFcOFxud9mlA668JMN+Rc=
-=+wcE
+iQEcBAEBAgAGBQJOag5HAAoJEGurSuXEqSv1mM8H/iQUPh7wyoOAd3cYGytJMh8B
+BnRDvLgamdPguPeOb/h/BoPLO7U4MoMblUoPJhfDVGzOypcautiNW8pAhJL97R5x
+Ba+bC6Vd0Gqr0wTMsgHbGZfvpVX21Iio/mTx89Y0dypVcCi+OYdAmVnArECKUJm9
+wRzUlntlM+9+QprBe8DXxZjHkuVsLBtmnl/657ESfrHnkPmjt93gbmfVQX6OOh6p
+FQutOo+2H6za9KVQZo2TEoWp0vy31KRgOWJwROXXbWW7TTzkFyuOHmCmXiAahfDy
+FeMLZ5ruOAYJ6Y59adVvX6zZ0cYlxWg8Z8ZgV0KlUQai/98fwscDXwR7IqSkQ/s=
+=lkFG
-----END PGP SIGNATURE-----
diff --git a/dev-php/pecl-apc/metadata.xml b/dev-php/pecl-apc/metadata.xml
index fd3dbe39fa64..cf71629d0762 100644
--- a/dev-php/pecl-apc/metadata.xml
+++ b/dev-php/pecl-apc/metadata.xml
@@ -2,4 +2,10 @@
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<herd>php</herd>
+ <use>
+ <flag name="lock_semaphore">Enable semaphore locks instead of fcntl</flag>
+ <flag name="lock_pthreadmutex">Enable pthread mutex locking</flag>
+ <flag name="lock_pthreadrw">Enable pthread read/write locking</flag>
+ <flag name="lock_spinlock">Enable spin locks (EXPERIMENTAL)</flag>
+ </use>
</pkgmetadata>
diff --git a/dev-php/pecl-apc/pecl-apc-3.1.9-r2.ebuild b/dev-php/pecl-apc/pecl-apc-3.1.9-r2.ebuild
new file mode 100644
index 000000000000..8a9b41c7160c
--- /dev/null
+++ b/dev-php/pecl-apc/pecl-apc-3.1.9-r2.ebuild
@@ -0,0 +1,62 @@
+# 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-r2.ebuild,v 1.1 2011/09/09 13:01:09 olemarkus Exp $
+
+EAPI=4
+
+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}"
+
+LOCKS="pthreadmutex pthreadrw spinlock semaphore"
+
+LUSE=""
+for l in ${LOCKS}; do
+ LUSE+="lock_${l} "
+done
+
+IUSE+=" ${LUSE/lock_pthreadmutex/+lock_pthreadmutex}"
+
+REQUIRED_USE="^^ ( $LUSE )"
+
+
+src_configure() {
+ my_conf="--enable-apc"
+ enable_extension_enable "apc-mmap" "mmap" 0
+
+ enable_extension_enable "apc-pthreadmutex" "lock_pthreadmutex" 0
+ enable_extension_enable "apc-pthreadrwlocks" "lock_pthreadrw" 0
+ enable_extension_enable "apc-spinlocks" "lock_spinlock" 0
+ enable_extension_enable "apc-sem" "lock_semaphore" 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}/."
+}