From 6ff5120ccd59733d785a8e63db8697c951cd39b5 Mon Sep 17 00:00:00 2001 From: Luca Longinotti Date: Tue, 6 Mar 2007 17:19:46 +0000 Subject: [PATCH] Vbump. Package-Manager: portage-2.1.2.1 --- dev-php4/pecl-apc/ChangeLog | 8 ++- dev-php4/pecl-apc/Manifest | 24 ++++--- .../pecl-apc/files/digest-pecl-apc-3.0.13 | 3 + dev-php4/pecl-apc/pecl-apc-3.0.12_p2.ebuild | 4 +- dev-php4/pecl-apc/pecl-apc-3.0.13.ebuild | 68 +++++++++++++++++++ 5 files changed, 96 insertions(+), 11 deletions(-) create mode 100644 dev-php4/pecl-apc/files/digest-pecl-apc-3.0.13 create mode 100644 dev-php4/pecl-apc/pecl-apc-3.0.13.ebuild diff --git a/dev-php4/pecl-apc/ChangeLog b/dev-php4/pecl-apc/ChangeLog index a07cfb100493..6be1893d9dc5 100644 --- a/dev-php4/pecl-apc/ChangeLog +++ b/dev-php4/pecl-apc/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for dev-php4/pecl-apc # Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-php4/pecl-apc/ChangeLog,v 1.20 2007/03/06 17:05:32 chtekk Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-php4/pecl-apc/ChangeLog,v 1.21 2007/03/06 17:19:46 chtekk Exp $ + +*pecl-apc-3.0.13 (06 Mar 2007) + + 06 Mar 2007; Luca Longinotti + pecl-apc-3.0.12_p2.ebuild, +pecl-apc-3.0.13.ebuild: + Fix apxs configure option, version bump to 3.0.13. 06 Mar 2007; Luca Longinotti pecl-apc-3.0.12_p2.ebuild: diff --git a/dev-php4/pecl-apc/Manifest b/dev-php4/pecl-apc/Manifest index c36a4df04fb3..8a9e033b4366 100644 --- a/dev-php4/pecl-apc/Manifest +++ b/dev-php4/pecl-apc/Manifest @@ -1,12 +1,17 @@ DIST APC-3.0.12p2.tgz 94809 RMD160 d88c75a348a51b0f0e379704dee5e1edc9fbf8ae SHA1 79476e6071ff5eead2d1e7cc92ed614ef2fd7f67 SHA256 a663f65a8207c930efbd8a1dda9e90bf4cd76166d8534771824f80e98081b297 -EBUILD pecl-apc-3.0.12_p2.ebuild 2492 RMD160 083867627c63ae27a993a8d0a60ebefd89a91d9a SHA1 0c1334b4678848a2b1992c148d076e59eabcd3a6 SHA256 b3b005cb47d3f26dfdb93c284629b61aa2200fe8272c1ba6e6552e303b24e96b -MD5 dfe5def4e3f95a4a4f53f3f2a14f02b0 pecl-apc-3.0.12_p2.ebuild 2492 -RMD160 083867627c63ae27a993a8d0a60ebefd89a91d9a pecl-apc-3.0.12_p2.ebuild 2492 -SHA256 b3b005cb47d3f26dfdb93c284629b61aa2200fe8272c1ba6e6552e303b24e96b pecl-apc-3.0.12_p2.ebuild 2492 -MISC ChangeLog 2580 RMD160 ba0b48c5932e5d1655ecc5e925a1f0fb04a63c51 SHA1 8bc54b169cbd1f8be9d50e6003fdc132faadfd4c SHA256 df49133eb0306c7436149e4998d822fd4891c2f5f575b9cefb5021a8155b1477 -MD5 70a8a2abd7626db980b1961db50e2d9e ChangeLog 2580 -RMD160 ba0b48c5932e5d1655ecc5e925a1f0fb04a63c51 ChangeLog 2580 -SHA256 df49133eb0306c7436149e4998d822fd4891c2f5f575b9cefb5021a8155b1477 ChangeLog 2580 +DIST APC-3.0.13.tgz 105042 RMD160 b11aec06842d28d9870f8359338e623ded60bdd1 SHA1 89d5f141d80c25cf61c2eefacd3e851fa2d789ee SHA256 f71538b262780790bf012335d92f7dec4869454a56d3a9f9691a55e9b6071e1a +EBUILD pecl-apc-3.0.12_p2.ebuild 2492 RMD160 5dbe46dcc17e6397874e59ce2d079c942b9603b8 SHA1 dd5a218dd17f54e8ee88b7bc5def8cd06af4f38e SHA256 536061ccc514617cdd06919ee23f3d2bce57ffba7e98e091f4899b85f1350e60 +MD5 bff23897b794e0a6514a50074a9549ec pecl-apc-3.0.12_p2.ebuild 2492 +RMD160 5dbe46dcc17e6397874e59ce2d079c942b9603b8 pecl-apc-3.0.12_p2.ebuild 2492 +SHA256 536061ccc514617cdd06919ee23f3d2bce57ffba7e98e091f4899b85f1350e60 pecl-apc-3.0.12_p2.ebuild 2492 +EBUILD pecl-apc-3.0.13.ebuild 2157 RMD160 6556912d9745781d7b93396a239f8b7089d870ce SHA1 4b6624b51446e81b1eaa9cefe8447199a9f5807f SHA256 60e34db28215de267a3ec11ad739ec5a463a302a0a3eec9edee71faba40534d5 +MD5 6dbe7594197a8faf3896686055175c53 pecl-apc-3.0.13.ebuild 2157 +RMD160 6556912d9745781d7b93396a239f8b7089d870ce pecl-apc-3.0.13.ebuild 2157 +SHA256 60e34db28215de267a3ec11ad739ec5a463a302a0a3eec9edee71faba40534d5 pecl-apc-3.0.13.ebuild 2157 +MISC ChangeLog 2771 RMD160 fbff074c91ffee91daa88b2cde11b43eb6688e69 SHA1 2f42e136ba9df48dd3d2955ac610a41e6ab3ae05 SHA256 baa2b597e124b4472bafac4045baea01bdb2609cecea37f780041e9d5c55be61 +MD5 bf12db07cc0bc3b22f8a3630508c4786 ChangeLog 2771 +RMD160 fbff074c91ffee91daa88b2cde11b43eb6688e69 ChangeLog 2771 +SHA256 baa2b597e124b4472bafac4045baea01bdb2609cecea37f780041e9d5c55be61 ChangeLog 2771 MISC metadata.xml 157 RMD160 a98db3a086fae3c09a903dadbc05f60443ec4b1a SHA1 ddaa23cc35eb917bf8962b652442bebb1ce0f440 SHA256 54f8878ca0228e380abbaa4b529806b5533a6b9b51b3b16c0909e906586a91a1 MD5 c58d07ca1c1235bbad9bccaec96fc062 metadata.xml 157 RMD160 a98db3a086fae3c09a903dadbc05f60443ec4b1a metadata.xml 157 @@ -14,3 +19,6 @@ SHA256 54f8878ca0228e380abbaa4b529806b5533a6b9b51b3b16c0909e906586a91a1 metadata MD5 0ee278c1f3e0eb1191426e3467de21be files/digest-pecl-apc-3.0.12_p2 226 RMD160 c60764dbfd5e399460bd7f3cfde14696ecce9ce6 files/digest-pecl-apc-3.0.12_p2 226 SHA256 96e910d87b8c750e862a676ddb52f43876470547e412412d1d00a59456163a0a files/digest-pecl-apc-3.0.12_p2 226 +MD5 78192d6632d7c7b2f1aa8d25bbe2e0dc files/digest-pecl-apc-3.0.13 223 +RMD160 206901d2a6ae2369e80b2b94c1df2e12936a1cc1 files/digest-pecl-apc-3.0.13 223 +SHA256 dcba884f51cfefab464fa6b06a351764af4d09b85b12b8d8b970d37700b3e5c8 files/digest-pecl-apc-3.0.13 223 diff --git a/dev-php4/pecl-apc/files/digest-pecl-apc-3.0.13 b/dev-php4/pecl-apc/files/digest-pecl-apc-3.0.13 new file mode 100644 index 000000000000..aa4f4fa8cd83 --- /dev/null +++ b/dev-php4/pecl-apc/files/digest-pecl-apc-3.0.13 @@ -0,0 +1,3 @@ +MD5 69f2678bc8d4fabbfd23573e2aa32f50 APC-3.0.13.tgz 105042 +RMD160 b11aec06842d28d9870f8359338e623ded60bdd1 APC-3.0.13.tgz 105042 +SHA256 f71538b262780790bf012335d92f7dec4869454a56d3a9f9691a55e9b6071e1a APC-3.0.13.tgz 105042 diff --git a/dev-php4/pecl-apc/pecl-apc-3.0.12_p2.ebuild b/dev-php4/pecl-apc/pecl-apc-3.0.12_p2.ebuild index 01146b43f162..465d54590f5b 100644 --- a/dev-php4/pecl-apc/pecl-apc-3.0.12_p2.ebuild +++ b/dev-php4/pecl-apc/pecl-apc-3.0.12_p2.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2007 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-php4/pecl-apc/pecl-apc-3.0.12_p2.ebuild,v 1.9 2007/03/06 17:05:32 chtekk Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-php4/pecl-apc/pecl-apc-3.0.12_p2.ebuild,v 1.10 2007/03/06 17:19:46 chtekk Exp $ PHP_EXT_NAME="apc" PHP_EXT_PECL_PKG="APC" @@ -40,7 +40,7 @@ src_compile() { my_conf="--enable-apc" enable_extension_enable "apc-mmap" "mmap" 0 - enable_extension_with_built_with =${PHP_PKG} apache2 apxs2 /usr/sbin/apxs2 "optimisation for apache2" + enable_extension_with_built_with =${PHP_PKG} apache2 apxs /usr/sbin/apxs2 "optimisation for apache2" enable_extension_with_built_with =${PHP_PKG} apache apxs /usr/sbin/apxs "optimisation for apache1" php-ext-pecl-r1_src_compile diff --git a/dev-php4/pecl-apc/pecl-apc-3.0.13.ebuild b/dev-php4/pecl-apc/pecl-apc-3.0.13.ebuild new file mode 100644 index 000000000000..64263aae13b3 --- /dev/null +++ b/dev-php4/pecl-apc/pecl-apc-3.0.13.ebuild @@ -0,0 +1,68 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-php4/pecl-apc/pecl-apc-3.0.13.ebuild,v 1.1 2007/03/06 17:19:46 chtekk Exp $ + +PHP_EXT_NAME="apc" +PHP_EXT_PECL_PKG="APC" +PHP_EXT_INI="yes" +PHP_EXT_ZENDEXT="no" + +inherit php-ext-pecl-r1 confutils + +KEYWORDS="~amd64 ~ppc ~ppc64 ~sparc ~x86" + +DESCRIPTION="A free, open, and robust framework for caching and optimizing PHP code." +LICENSE="PHP" +SLOT="0" +IUSE="mmap" + +DEPEND="!dev-php4/eaccelerator !dev-php4/xcache" +RDEPEND="${DEPEND}" + +need_php_by_category + +pkg_setup() { + has_php + require_php_sapi_from cgi apache 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" + enable_extension_with_built_with =${PHP_PKG} apache apxs /usr/sbin/apxs "optimisation for apache1" + + php-ext-pecl-r1_src_compile +} + +src_install() { + php-ext-pecl-r1_src_install + dodoc-php CHANGELOG INSTALL LICENSE NOTICE + + 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/apcphp4.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/php4/apc/." +} -- 2.26.2