summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatti Bickel <mabi@gentoo.org>2010-07-29 08:28:15 +0000
committerMatti Bickel <mabi@gentoo.org>2010-07-29 08:28:15 +0000
commit4771bf1c127894ef16525f93cca11401b4d29714 (patch)
tree5cc937cff239d5fb6b58827f3db96d9e8a391ee1 /dev-php5
parentamd64 stable, bug #330123 (diff)
downloadhistorical-4771bf1c127894ef16525f93cca11401b4d29714.tar.gz
historical-4771bf1c127894ef16525f93cca11401b4d29714.tar.bz2
historical-4771bf1c127894ef16525f93cca11401b4d29714.zip
bug #330093
Package-Manager: portage-2.1.8.3/cvs/Linux x86_64
Diffstat (limited to 'dev-php5')
-rw-r--r--dev-php5/pecl-apc/ChangeLog10
-rw-r--r--dev-php5/pecl-apc/Manifest13
-rw-r--r--dev-php5/pecl-apc/pecl-apc-3.1.3_p1-r1.ebuild72
3 files changed, 82 insertions, 13 deletions
diff --git a/dev-php5/pecl-apc/ChangeLog b/dev-php5/pecl-apc/ChangeLog
index ae2f7748be47..68925344b427 100644
--- a/dev-php5/pecl-apc/ChangeLog
+++ b/dev-php5/pecl-apc/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for dev-php5/pecl-apc
-# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-php5/pecl-apc/ChangeLog,v 1.54 2009/12/02 19:02:54 hanno Exp $
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-php5/pecl-apc/ChangeLog,v 1.55 2010/07/29 08:28:15 mabi Exp $
+
+*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)
diff --git a/dev-php5/pecl-apc/Manifest b/dev-php5/pecl-apc/Manifest
index a6daaa87d152..d4c1349a6962 100644
--- a/dev-php5/pecl-apc/Manifest
+++ b/dev-php5/pecl-apc/Manifest
@@ -1,6 +1,3 @@
------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.0.16.tgz 114298 RMD160 76f5eaefcf1d664d7ffafd7a9a101495c7b862d6 SHA1 26eb0580acb76632d7657868f5b103fd3bb91c02 SHA256 466b847fb9754076525d6dc0f33483972f2b97b14bdea73787f4f32e6b6f465b
@@ -13,13 +10,7 @@ EBUILD pecl-apc-3.0.17.ebuild 2067 RMD160 75360b1ad2f1a4b9a2e730e359169cd3ddcc22
EBUILD pecl-apc-3.0.18-r1.ebuild 2665 RMD160 7f8044ab4ecb0819fdd1003070f6198f9a940e4d SHA1 e6929b5328cd1686123f549d92044323664bc094 SHA256 77cab8b6e72a908ab15decfb1c8f8bbb8f4eaf1aaee7c4a652c3a233bdc65c9f
EBUILD pecl-apc-3.0.18.ebuild 2067 RMD160 b0314bf162f949d9dc4d7ec180950503e89d3409 SHA1 38fa8a5dcd333f713b9bec9df068aed09370c529 SHA256 c4dc3094ed426c96875b8da5603b73f4b75cecd9aa7f9eb2e4825a37dc8a87af
EBUILD pecl-apc-3.0.19.ebuild 2658 RMD160 c7ae3f75c6dff03fa6578dc889af1a3848ad4ba9 SHA1 a5fc112c5ffb2ad8ec75b71badfbce459b51ea39 SHA256 507839b9d161bf8db67bb422216fd52e1b54de2cf903eb29e79e195348e1f596
+EBUILD pecl-apc-3.1.3_p1-r1.ebuild 2575 RMD160 a05578e3fe955cd3a8d0c94c642fe619df830203 SHA1 4ba270b24fdd8cda68792255e04ade286d2df0db SHA256 f452855031f8724506e9739b07552c4491e8c3cb79be66c40adbf9b9e1d1599d
EBUILD pecl-apc-3.1.3_p1.ebuild 2662 RMD160 0613433dd85a0c52622f0f1d97711c21daf65e54 SHA1 ecd8abe8e9a0e2bb9617e6037936513f572c5cdb SHA256 eb9181c2bb6e1259fbc0a2feef61407daefe5013a8569d8590e5cd9d7b855861
-MISC ChangeLog 7804 RMD160 5154dfce49c5ab567c9022ba481fb29917eba3ee SHA1 2657e3d430f6f73cb92ad9f119e1f13cddacf530 SHA256 37bef25af5e46e526cba6a7edffa90682f708e9e88c3a5f8466f3eeb933e6033
+MISC ChangeLog 8011 RMD160 c75eee289426633010c77e4a96bb194e9ad0f629 SHA1 9f9ce18a759fef256000dda106e99528a24085ed SHA256 95f4c175f3de1fc1af6b0d5d0b9d3d053f9a724672629c76e7d37198d25fc461
MISC metadata.xml 157 RMD160 a98db3a086fae3c09a903dadbc05f60443ec4b1a SHA1 ddaa23cc35eb917bf8962b652442bebb1ce0f440 SHA256 54f8878ca0228e380abbaa4b529806b5533a6b9b51b3b16c0909e906586a91a1
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.13 (GNU/Linux)
-
-iEYEARECAAYFAksWucgACgkQr2QksT29OyD1LgCfdyGvNquVCh+496ziQP4o+DUV
-Up0AniUQGaJTNuVlkW5OE4jsqWrDS3sm
-=TkZg
------END PGP SIGNATURE-----
diff --git a/dev-php5/pecl-apc/pecl-apc-3.1.3_p1-r1.ebuild b/dev-php5/pecl-apc/pecl-apc-3.1.3_p1-r1.ebuild
new file mode 100644
index 000000000000..4f2e1bf68325
--- /dev/null
+++ b/dev-php5/pecl-apc/pecl-apc-3.1.3_p1-r1.ebuild
@@ -0,0 +1,72 @@
+# Copyright 1999-2010 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.1.3_p1-r1.ebuild,v 1.1 2010/07/29 08:28:15 mabi 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-r1 confutils eutils
+
+KEYWORDS="~amd64 ~ia64 ~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
+ || ( dev-lang/php[apache2] dev-lang/php[cgi] dev-lang/php[fpm] )"
+RDEPEND="${DEPEND}"
+
+need_php_by_category
+
+src_compile() {
+ my_conf="--enable-apc"
+ enable_extension_enable "apc-mmap" "mmap" 0
+
+ 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.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.filters" '""'
+ php-ext-base-r1_addtoinifiles ";apc.mmap_file_mask" '"/tmp/apcphp5.XXXXXX"'
+ php-ext-base-r1_addtoinifiles "apc.slam_defense" '"0"'
+ 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"'
+ php-ext-base-r1_addtoinifiles "apc.report_autofilter" '"0"'
+ php-ext-base-r1_addtoinifiles "apc.include_once_override" '"0"'
+ php-ext-base-r1_addtoinifiles "apc.rfc1867" '"0"'
+ php-ext-base-r1_addtoinifiles "apc.rfc1867_prefix" '"upload_"'
+ php-ext-base-r1_addtoinifiles "apc.rfc1867_name" '"APC_UPLOAD_PROGRESS"'
+ php-ext-base-r1_addtoinifiles "apc.rfc1867_freq" '"0"'
+ php-ext-base-r1_addtoinifiles "apc.localcache" '"0"'
+ php-ext-base-r1_addtoinifiles "apc.localcache.size" '"512"'
+ php-ext-base-r1_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 ${ROOT}usr/share/php5/apc/."
+}