Portage is a package management system used by Gentoo Linux
# 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.27 2007/09/06 15:55:57 jokey Exp $
06 Sep 2007; Markus Ullmann
Cleanup
05 Jul 2007; Konstantin V. Arkhipov
pecl-apc-3.0.14.ebuild:
Unneeded patch dropped.
*pecl-apc-3.0.14 (30 Jun 2007)
30 Jun 2007; Konstantin V. Arkhipov
+pecl-apc-3.0.14.ebuild:
Version bump, closing bug #180562.
12 May 2007; Luca Longinotti
pecl-apc-3.0.12_p2.ebuild, pecl-apc-3.0.13.ebuild:
Fix require_php_sapi_from usage wrt apache1.
12 May 2007; Luca Longinotti
pecl-apc-3.0.12_p2.ebuild, pecl-apc-3.0.13.ebuild:
Apache 1.X masking.
08 Mar 2007; Luca Longinotti
+files/pecl-apc-3.0.13-tsrm.patch, pecl-apc-3.0.13.ebuild:
Fix compile on threaded PHP4.
*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:
Cleanup.
28 Jan 2007; Marius Mauch
Replacing einfo with elog
15 Oct 2006; Luca Longinotti
pecl-apc-3.0.12_p2.ebuild:
Fix path.
14 Oct 2006; Luca Longinotti
pecl-apc-3.0.12_p2.ebuild:
Fixup ebuild.
03 Oct 2006; Chris Gianelloni
pecl-apc-3.0.12_p2.ebuild:
Stable on amd64/x86 wrt bug #149436.
30 Sep 2006;
Stable on ppc wrt bug 149436
29 Sep 2006; Markus Rothe
Stable on ppc64; bug #149436
28 Sep 2006; Jason Wever
Stable on SPARC wrt bug #149436.
*pecl-apc-3.0.12_p2 (05 Sep 2006)
05 Sep 2006; Sebastian Bergmann
-pecl-apc-3.0.12.ebuild, +pecl-apc-3.0.12_p2.ebuild:
Version bump.
*pecl-apc-3.0.12 (05 Sep 2006)
05 Sep 2006; Sebastian Bergmann
-pecl-apc-3.0.11.ebuild, +pecl-apc-3.0.12.ebuild:
Version bump.
18 Aug 2006; Sebastian Bergmann
-pecl-apc-3.0.10.ebuild:
Remove broken version.
*pecl-apc-3.0.11 (17 Aug 2006)
17 Aug 2006; Sebastian Bergmann
-pecl-apc-3.0.8.ebuild, pecl-apc-3.0.10.ebuild, +pecl-apc-3.0.11.ebuild:
Version bump.
27 May 2006; Luca Longinotti
Added to ~amd64.
*pecl-apc-3.0.10 (12 Mar 2006)
12 Mar 2006; Sebastian Bergmann
-pecl-apc-3.0.9.ebuild, +pecl-apc-3.0.10.ebuild:
Version bump.
09 Mar 2006; Luca Longinotti
files/digest-pecl-apc-3.0.8, files/digest-pecl-apc-3.0.9, Manifest:
Fix digests wrt bug #125612.
*pecl-apc-3.0.9 (04 Mar 2006)
04 Mar 2006; Sebastian Bergmann
+pecl-apc-3.0.9.ebuild:
Version bump.
24 Nov 2005; Luca Longinotti
Sync with PHP overlay.
19 Nov 2005; Markus Rothe
Added ~ppc64 keyword; bug #102649
10 Sep 2005; Jason Wever
Added ~sparc keyword.
18 Aug 2005;
Initial version; replaces older dev-php/* packages
AUX pecl-apc-3.0.13-tsrm.patch 343 RMD160 4cb707e5df42855c5a2c252bc61001d9a1a76fe3 SHA1 3ea5ba5294431f586a46616efaa51dd6daf5b716 SHA256 d048b42b6cde67b7a5a7c037b55ecfc403cecf8d68cf044dccdbe03cf92595ac
DIST APC-3.0.12p2.tgz 94809 RMD160 d88c75a348a51b0f0e379704dee5e1edc9fbf8ae SHA1 79476e6071ff5eead2d1e7cc92ed614ef2fd7f67 SHA256 a663f65a8207c930efbd8a1dda9e90bf4cd76166d8534771824f80e98081b297
DIST APC-3.0.14.tgz 108511 RMD160 59c76ae8ae4aa237d118e0860c42f11e416751d1 SHA1 21147be658d979b8ffe4d66cd93bf905701aeed7 SHA256 f05195d163983a8f36336e622e6008bfecd4643d7c5613a6e4a8b07ed735e050
EBUILD pecl-apc-3.0.12_p2.ebuild 2385 RMD160 a66f3ced1183f8251e184ebf7a50cbea2a93270f SHA1 9708b4e0deb198178be1956161722c121595c4c4 SHA256 23b23d437decd67acdce9daad6fe6a147161921747269362551258ee8c14a4cc
EBUILD pecl-apc-3.0.14.ebuild 2049 RMD160 e8e26f05e06db4a043a5d3256f0d95e6f0f21d71 SHA1 e44ec1db646e096847abe1693c890bf62b1a22f2 SHA256 36482a16b674bf7c6c1d1812af22024ec50f777f7d06c66ab7df1604168a394f
MISC ChangeLog 3543 RMD160 02871549632f2f98cd202b0bae4c41e2c4663eb0 SHA1 04d4d18d4b1c8295f60d384d703603ab2c52fc81 SHA256 c0a8c43ffbb1de80434891578136f4390e02fd34931a11d924ef6f6bb3c1d396
MISC metadata.xml 157 RMD160 a98db3a086fae3c09a903dadbc05f60443ec4b1a SHA1 ddaa23cc35eb917bf8962b652442bebb1ce0f440 SHA256 54f8878ca0228e380abbaa4b529806b5533a6b9b51b3b16c0909e906586a91a1
# 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.12 2007/05/12 14:35:18 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 apache2
}
src_compile() {
has_php
# 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'"
eerror "USE flag off when you compile dev-lang/php."
die "PECL-APC does not support ZTS"
fi
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"
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/."
}
# 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.14.ebuild,v 1.2 2007/07/05 10:55:15 voxus 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 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"
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/."
}