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