1 |
jokey 07/10/28 11:53:31 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: pecl-apc-3.0.15.ebuild |
5 |
Log: |
6 |
Version bump from php project overlay |
7 |
(Portage version: 2.1.3.16) |
8 |
|
9 |
Revision Changes Path |
10 |
1.27 dev-php5/pecl-apc/ChangeLog |
11 |
|
12 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-php5/pecl-apc/ChangeLog?rev=1.27&view=markup |
13 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-php5/pecl-apc/ChangeLog?rev=1.27&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-php5/pecl-apc/ChangeLog?r1=1.26&r2=1.27 |
15 |
|
16 |
Index: ChangeLog |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/dev-php5/pecl-apc/ChangeLog,v |
19 |
retrieving revision 1.26 |
20 |
retrieving revision 1.27 |
21 |
diff -u -r1.26 -r1.27 |
22 |
--- ChangeLog 6 Sep 2007 16:04:19 -0000 1.26 |
23 |
+++ ChangeLog 28 Oct 2007 11:53:31 -0000 1.27 |
24 |
@@ -1,6 +1,14 @@ |
25 |
# ChangeLog for dev-php5/pecl-apc |
26 |
# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 |
27 |
-# $Header: /var/cvsroot/gentoo-x86/dev-php5/pecl-apc/ChangeLog,v 1.26 2007/09/06 16:04:19 jokey Exp $ |
28 |
+# $Header: /var/cvsroot/gentoo-x86/dev-php5/pecl-apc/ChangeLog,v 1.27 2007/10/28 11:53:31 jokey Exp $ |
29 |
+ |
30 |
+*pecl-apc-3.0.15 (28 Oct 2007) |
31 |
+ |
32 |
+ 28 Oct 2007; Markus Ullmann <jokey@g.o> +pecl-apc-3.0.15.ebuild: |
33 |
+ Version bump from php project overlay |
34 |
+ |
35 |
+ 27 Oct 2007; Jakub Moc <jakub@g.o> +pecl-apc-3.0.15.ebuild: |
36 |
+ Version bump |
37 |
|
38 |
06 Sep 2007; Markus Ullmann <jokey@g.o> -pecl-apc-3.0.13.ebuild: |
39 |
Cleanup |
40 |
|
41 |
|
42 |
|
43 |
1.1 dev-php5/pecl-apc/pecl-apc-3.0.15.ebuild |
44 |
|
45 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-php5/pecl-apc/pecl-apc-3.0.15.ebuild?rev=1.1&view=markup |
46 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-php5/pecl-apc/pecl-apc-3.0.15.ebuild?rev=1.1&content-type=text/plain |
47 |
|
48 |
Index: pecl-apc-3.0.15.ebuild |
49 |
=================================================================== |
50 |
# Copyright 1999-2007 Gentoo Foundation |
51 |
# Distributed under the terms of the GNU General Public License v2 |
52 |
# $Header: /var/cvsroot/gentoo-x86/dev-php5/pecl-apc/pecl-apc-3.0.15.ebuild,v 1.1 2007/10/28 11:53:31 jokey Exp $ |
53 |
|
54 |
PHP_EXT_NAME="apc" |
55 |
PHP_EXT_PECL_PKG="APC" |
56 |
PHP_EXT_INI="yes" |
57 |
PHP_EXT_ZENDEXT="no" |
58 |
|
59 |
inherit php-ext-pecl-r1 confutils |
60 |
|
61 |
KEYWORDS="~amd64 ~ppc ~ppc64 ~sparc ~x86" |
62 |
|
63 |
DESCRIPTION="A free, open, and robust framework for caching and optimizing PHP code." |
64 |
LICENSE="PHP" |
65 |
SLOT="0" |
66 |
IUSE="mmap" |
67 |
|
68 |
DEPEND="!dev-php5/eaccelerator !dev-php5/xcache" |
69 |
RDEPEND="${DEPEND}" |
70 |
|
71 |
need_php_by_category |
72 |
|
73 |
pkg_setup() { |
74 |
has_php |
75 |
require_php_sapi_from cgi apache2 |
76 |
} |
77 |
|
78 |
src_compile() { |
79 |
has_php |
80 |
|
81 |
my_conf="--enable-apc" |
82 |
enable_extension_enable "apc-mmap" "mmap" 0 |
83 |
enable_extension_with_built_with =${PHP_PKG} apache2 apxs /usr/sbin/apxs2 "optimisation for apache2" |
84 |
|
85 |
php-ext-pecl-r1_src_compile |
86 |
} |
87 |
|
88 |
src_install() { |
89 |
php-ext-pecl-r1_src_install |
90 |
dodoc-php CHANGELOG INSTALL LICENSE NOTICE |
91 |
|
92 |
php-ext-base-r1_addtoinifiles "apc.enabled" '"1"' |
93 |
php-ext-base-r1_addtoinifiles "apc.shm_segments" '"1"' |
94 |
php-ext-base-r1_addtoinifiles "apc.shm_size" '"30"' |
95 |
php-ext-base-r1_addtoinifiles "apc.optimization" '"0"' |
96 |
php-ext-base-r1_addtoinifiles "apc.num_files_hint" '"1024"' |
97 |
php-ext-base-r1_addtoinifiles "apc.ttl" '"7200"' |
98 |
php-ext-base-r1_addtoinifiles "apc.user_ttl" '"7200"' |
99 |
php-ext-base-r1_addtoinifiles "apc.gc_ttl" '"3600"' |
100 |
php-ext-base-r1_addtoinifiles "apc.cache_by_default" '"1"' |
101 |
php-ext-base-r1_addtoinifiles ";apc.mmap_file_mask" '"/tmp/apcphp5.XXXXXX"' |
102 |
php-ext-base-r1_addtoinifiles "apc.file_update_protection" '"2"' |
103 |
php-ext-base-r1_addtoinifiles "apc.enable_cli" '"0"' |
104 |
php-ext-base-r1_addtoinifiles "apc.max_file_size" '"1M"' |
105 |
php-ext-base-r1_addtoinifiles "apc.stat" '"1"' |
106 |
php-ext-base-r1_addtoinifiles "apc.write_lock" '"1"' |
107 |
|
108 |
dodir "${PHP_EXT_SHARED_DIR}" |
109 |
insinto "${PHP_EXT_SHARED_DIR}" |
110 |
doins apc.php |
111 |
} |
112 |
|
113 |
pkg_postinst() { |
114 |
elog "The apc.php file shipped with this release of PECL-APC was" |
115 |
elog "installed into ${ROOT}usr/share/php5/apc/." |
116 |
} |
117 |
|
118 |
|
119 |
|
120 |
-- |
121 |
gentoo-commits@g.o mailing list |