From e281b25f9215627ebed94e42bf37240489a31f80 Mon Sep 17 00:00:00 2001 From: Luca Longinotti Date: Thu, 8 Mar 2007 19:13:19 +0000 Subject: [PATCH] Vbump. Package-Manager: portage-2.1.2.1 --- dev-php5/pecl-apc/ChangeLog | 8 ++- dev-php5/pecl-apc/Manifest | 34 +++++----- .../pecl-apc/files/digest-pecl-apc-3.0.13 | 3 + dev-php5/pecl-apc/pecl-apc-3.0.12_p2.ebuild | 16 ++--- dev-php5/pecl-apc/pecl-apc-3.0.13.ebuild | 68 +++++++++++++++++++ 5 files changed, 102 insertions(+), 27 deletions(-) create mode 100644 dev-php5/pecl-apc/files/digest-pecl-apc-3.0.13 create mode 100644 dev-php5/pecl-apc/pecl-apc-3.0.13.ebuild diff --git a/dev-php5/pecl-apc/ChangeLog b/dev-php5/pecl-apc/ChangeLog index 30406c77780f..04a0794b11fb 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-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-php5/pecl-apc/ChangeLog,v 1.21 2007/01/28 06:32:23 genone Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-php5/pecl-apc/ChangeLog,v 1.22 2007/03/08 19:13:19 chtekk Exp $ + +*pecl-apc-3.0.13 (08 Mar 2007) + + 08 Mar 2007; Luca Longinotti + pecl-apc-3.0.12_p2.ebuild, +pecl-apc-3.0.13.ebuild: + Version bump, cleanup. 28 Jan 2007; Marius Mauch pecl-apc-3.0.12_p2.ebuild: Replacing einfo with elog diff --git a/dev-php5/pecl-apc/Manifest b/dev-php5/pecl-apc/Manifest index 1c93a607ff22..26e476dfb9f4 100644 --- a/dev-php5/pecl-apc/Manifest +++ b/dev-php5/pecl-apc/Manifest @@ -1,15 +1,17 @@ ------BEGIN PGP SIGNED MESSAGE----- -Hash: SHA1 - DIST APC-3.0.12p2.tgz 94809 RMD160 d88c75a348a51b0f0e379704dee5e1edc9fbf8ae SHA1 79476e6071ff5eead2d1e7cc92ed614ef2fd7f67 SHA256 a663f65a8207c930efbd8a1dda9e90bf4cd76166d8534771824f80e98081b297 -EBUILD pecl-apc-3.0.12_p2.ebuild 2504 RMD160 65b3dfd9ae6085db82d020ba7cb1a24567e98b81 SHA1 25ad19da8773ac387e70f6a6abcc983d497a07cd SHA256 4c5cc8dd0cc6e600ead6dc6483ff9d25d589a733b2004b7132c951bb30ca4d0d -MD5 f1df3c5a6f171988f616b48b95b2a154 pecl-apc-3.0.12_p2.ebuild 2504 -RMD160 65b3dfd9ae6085db82d020ba7cb1a24567e98b81 pecl-apc-3.0.12_p2.ebuild 2504 -SHA256 4c5cc8dd0cc6e600ead6dc6483ff9d25d589a733b2004b7132c951bb30ca4d0d pecl-apc-3.0.12_p2.ebuild 2504 -MISC ChangeLog 2722 RMD160 db3b8d40f3cf47e2aaa9fd3d4b2f7158210810ad SHA1 18ba809496a30cde8138df7556f0aaf337bd88ae SHA256 64b8766b49c3e2df7a11fe67e61a5b08b186ba8025a0ef234eee90425c0de3aa -MD5 52f1231e585cfb0f2c9870f5941bfe72 ChangeLog 2722 -RMD160 db3b8d40f3cf47e2aaa9fd3d4b2f7158210810ad ChangeLog 2722 -SHA256 64b8766b49c3e2df7a11fe67e61a5b08b186ba8025a0ef234eee90425c0de3aa ChangeLog 2722 +DIST APC-3.0.13.tgz 105042 RMD160 b11aec06842d28d9870f8359338e623ded60bdd1 SHA1 89d5f141d80c25cf61c2eefacd3e851fa2d789ee SHA256 f71538b262780790bf012335d92f7dec4869454a56d3a9f9691a55e9b6071e1a +EBUILD pecl-apc-3.0.12_p2.ebuild 2492 RMD160 ecefe772b1128374007514129b5345b1bf59fa9a SHA1 7c82979d8f7cb3bf52157f05e5c0521c5d6da864 SHA256 c95613e9958cb0c2a2e4ab2e34e90f89352c2fd6754fb7d83237f8afd40f2260 +MD5 460e4b6aa5d303ef40b8b4ac2d4970da pecl-apc-3.0.12_p2.ebuild 2492 +RMD160 ecefe772b1128374007514129b5345b1bf59fa9a pecl-apc-3.0.12_p2.ebuild 2492 +SHA256 c95613e9958cb0c2a2e4ab2e34e90f89352c2fd6754fb7d83237f8afd40f2260 pecl-apc-3.0.12_p2.ebuild 2492 +EBUILD pecl-apc-3.0.13.ebuild 2157 RMD160 6735530575a3256067bb68ef9421e54360891e75 SHA1 c539b4c38b464c0c5b8aecfc97a4601f17920808 SHA256 fcaf6c0817d5de61ebe0517c390ad51d743db52cb7bc2f95dd1727a8a0798a97 +MD5 8ac6ae6ae9cc2b9ed46aad8c60daf9d0 pecl-apc-3.0.13.ebuild 2157 +RMD160 6735530575a3256067bb68ef9421e54360891e75 pecl-apc-3.0.13.ebuild 2157 +SHA256 fcaf6c0817d5de61ebe0517c390ad51d743db52cb7bc2f95dd1727a8a0798a97 pecl-apc-3.0.13.ebuild 2157 +MISC ChangeLog 2885 RMD160 a711aafb07b9dbc893b264ba4cdc9cf49d7a50dc SHA1 775146707ea789c7da783119da381c1d00a764c5 SHA256 ec4e24f0b521e01c0572f4dfcbb6573889ecf229458f2842cf6bd8d82c8109f2 +MD5 82dc66aac786f1af03a2d232671813f2 ChangeLog 2885 +RMD160 a711aafb07b9dbc893b264ba4cdc9cf49d7a50dc ChangeLog 2885 +SHA256 ec4e24f0b521e01c0572f4dfcbb6573889ecf229458f2842cf6bd8d82c8109f2 ChangeLog 2885 MISC metadata.xml 157 RMD160 a98db3a086fae3c09a903dadbc05f60443ec4b1a SHA1 ddaa23cc35eb917bf8962b652442bebb1ce0f440 SHA256 54f8878ca0228e380abbaa4b529806b5533a6b9b51b3b16c0909e906586a91a1 MD5 c58d07ca1c1235bbad9bccaec96fc062 metadata.xml 157 RMD160 a98db3a086fae3c09a903dadbc05f60443ec4b1a metadata.xml 157 @@ -17,10 +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 ------BEGIN PGP SIGNATURE----- -Version: GnuPG v2.0.1 (GNU/Linux) - -iD8DBQFFvEYg6J2i8a8J4okRAu6HAJ0aQWGENNV14nZY4o3JN91iu0zWnQCfQOtn -O7AUCxEFv3YYu8F1yZ/dUTk= -=kdnq ------END PGP SIGNATURE----- +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-php5/pecl-apc/files/digest-pecl-apc-3.0.13 b/dev-php5/pecl-apc/files/digest-pecl-apc-3.0.13 new file mode 100644 index 000000000000..aa4f4fa8cd83 --- /dev/null +++ b/dev-php5/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-php5/pecl-apc/pecl-apc-3.0.12_p2.ebuild b/dev-php5/pecl-apc/pecl-apc-3.0.12_p2.ebuild index 21551a1421d4..6ac9dbd5ca21 100644 --- a/dev-php5/pecl-apc/pecl-apc-3.0.12_p2.ebuild +++ b/dev-php5/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-php5/pecl-apc/pecl-apc-3.0.12_p2.ebuild,v 1.8 2007/01/28 06:32:23 genone Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-php5/pecl-apc/pecl-apc-3.0.12_p2.ebuild,v 1.9 2007/03/08 19:13:19 chtekk Exp $ PHP_EXT_NAME="apc" PHP_EXT_PECL_PKG="APC" @@ -10,27 +10,27 @@ 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 intermediate code." + +DESCRIPTION="A free, open, and robust framework for caching and optimizing PHP code." LICENSE="PHP" SLOT="0" IUSE="mmap" -DEPEND=">=dev-lang/php-5.1.1 !dev-php5/eaccelerator" +DEPEND="!dev-php5/eaccelerator !dev-php5/xcache" RDEPEND="${DEPEND}" need_php_by_category pkg_setup() { has_php - require_php_sapi_from cgi apache apache2 } src_compile() { has_php - # PECL-APC does not work with Zend Thread Safety (ZTS) - # so abort if we are using PHP compiled with ZTS. + # PECL-APC does not work with Zend Thread Safety (ZTS), + # so abort if we're using PHP compiled with ZTS. if has_zts ; then eerror "PECL-APC doesn't work with a ZTS enabled PHP." eerror "Please disable ZTS by turning the 'threads'" @@ -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 @@ -73,5 +73,5 @@ src_install() { pkg_postinst() { elog "The apc.php file shipped with this release of PECL-APC was" - elog "installed into /usr/share/php5/apc/." + elog "installed into ${ROOT}usr/share/php5/apc/." } diff --git a/dev-php5/pecl-apc/pecl-apc-3.0.13.ebuild b/dev-php5/pecl-apc/pecl-apc-3.0.13.ebuild new file mode 100644 index 000000000000..8ce9da4e8c73 --- /dev/null +++ b/dev-php5/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-php5/pecl-apc/pecl-apc-3.0.13.ebuild,v 1.1 2007/03/08 19:13:19 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-php5/eaccelerator !dev-php5/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/apcphp5.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/php5/apc/." +} -- 2.26.2