Gentoo Archives: gentoo-commits

From: "Hanno Boeck (hanno)" <hanno@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-php5/pecl-apc: ChangeLog pecl-apc-3.0.19.ebuild
Date: Tue, 27 May 2008 18:23:05
Message-Id: E1K13p8-0004L5-By@stork.gentoo.org
1 hanno 08/05/27 18:23:02
2
3 Modified: ChangeLog
4 Added: pecl-apc-3.0.19.ebuild
5 Log:
6 pecl-apc bump
7 (Portage version: 2.1.5.2)
8
9 Revision Changes Path
10 1.48 dev-php5/pecl-apc/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-php5/pecl-apc/ChangeLog?rev=1.48&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-php5/pecl-apc/ChangeLog?rev=1.48&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-php5/pecl-apc/ChangeLog?r1=1.47&r2=1.48
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/dev-php5/pecl-apc/ChangeLog,v
19 retrieving revision 1.47
20 retrieving revision 1.48
21 diff -u -r1.47 -r1.48
22 --- ChangeLog 9 May 2008 12:48:11 -0000 1.47
23 +++ ChangeLog 27 May 2008 18:23:01 -0000 1.48
24 @@ -1,6 +1,11 @@
25 # ChangeLog for dev-php5/pecl-apc
26 # Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/dev-php5/pecl-apc/ChangeLog,v 1.47 2008/05/09 12:48:11 hoffie Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/dev-php5/pecl-apc/ChangeLog,v 1.48 2008/05/27 18:23:01 hanno Exp $
29 +
30 +*pecl-apc-3.0.19 (27 May 2008)
31 +
32 + 27 May 2008; Hanno Boeck <hanno@g.o> +pecl-apc-3.0.19.ebuild:
33 + Version bump.
34
35 09 May 2008; Christian Hoffmann <hoffie@g.o>
36 pecl-apc-3.0.16.ebuild, pecl-apc-3.0.16-r1.ebuild:
37
38
39
40 1.1 dev-php5/pecl-apc/pecl-apc-3.0.19.ebuild
41
42 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-php5/pecl-apc/pecl-apc-3.0.19.ebuild?rev=1.1&view=markup
43 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-php5/pecl-apc/pecl-apc-3.0.19.ebuild?rev=1.1&content-type=text/plain
44
45 Index: pecl-apc-3.0.19.ebuild
46 ===================================================================
47 # Copyright 1999-2008 Gentoo Foundation
48 # Distributed under the terms of the GNU General Public License v2
49 # $Header: /var/cvsroot/gentoo-x86/dev-php5/pecl-apc/pecl-apc-3.0.19.ebuild,v 1.1 2008/05/27 18:23:01 hanno Exp $
50
51 PHP_EXT_NAME="apc"
52 PHP_EXT_PECL_PKG="APC"
53 PHP_EXT_INI="yes"
54 PHP_EXT_ZENDEXT="no"
55 DOCS="CHANGELOG INSTALL NOTICE TECHNOTES.txt TODO"
56
57 inherit php-ext-pecl-r1 confutils eutils
58
59 KEYWORDS="~amd64 ~ppc ~ppc64 ~sparc ~x86"
60
61 DESCRIPTION="A free, open, and robust framework for caching and optimizing PHP code."
62 LICENSE="PHP-3.01"
63 SLOT="0"
64 IUSE="mmap"
65
66 DEPEND="!dev-php5/eaccelerator !dev-php5/xcache"
67 RDEPEND="${DEPEND}"
68
69 need_php_by_category
70
71 pkg_setup() {
72 require_php_sapi_from cgi apache2
73 }
74
75 src_compile() {
76 has_php
77
78 my_conf="--enable-apc"
79 enable_extension_enable "apc-mmap" "mmap" 0
80 enable_extension_with_built_with =${PHP_PKG} apache2 apxs /usr/sbin/apxs2 "optimisation for apache2"
81
82 php-ext-pecl-r1_src_compile
83 }
84
85 src_install() {
86 php-ext-pecl-r1_src_install
87
88 php-ext-base-r1_addtoinifiles "apc.enabled" '"1"'
89 php-ext-base-r1_addtoinifiles "apc.shm_segments" '"1"'
90 php-ext-base-r1_addtoinifiles "apc.shm_size" '"30"'
91 php-ext-base-r1_addtoinifiles "apc.num_files_hint" '"1024"'
92 php-ext-base-r1_addtoinifiles "apc.ttl" '"7200"'
93 php-ext-base-r1_addtoinifiles "apc.user_ttl" '"7200"'
94 php-ext-base-r1_addtoinifiles "apc.gc_ttl" '"3600"'
95 php-ext-base-r1_addtoinifiles "apc.cache_by_default" '"1"'
96 php-ext-base-r1_addtoinifiles ";apc.filters" '""'
97 php-ext-base-r1_addtoinifiles ";apc.mmap_file_mask" '"/tmp/apcphp5.XXXXXX"'
98 php-ext-base-r1_addtoinifiles "apc.slam_defense" '"0"'
99 php-ext-base-r1_addtoinifiles "apc.file_update_protection" '"2"'
100 php-ext-base-r1_addtoinifiles "apc.enable_cli" '"0"'
101 php-ext-base-r1_addtoinifiles "apc.max_file_size" '"1M"'
102 php-ext-base-r1_addtoinifiles "apc.stat" '"1"'
103 php-ext-base-r1_addtoinifiles "apc.write_lock" '"1"'
104 php-ext-base-r1_addtoinifiles "apc.report_autofilter" '"0"'
105 php-ext-base-r1_addtoinifiles "apc.include_once_override" '"0"'
106 php-ext-base-r1_addtoinifiles "apc.rfc1867" '"0"'
107 php-ext-base-r1_addtoinifiles "apc.rfc1867_prefix" '"upload_"'
108 php-ext-base-r1_addtoinifiles "apc.rfc1867_name" '"APC_UPLOAD_PROGRESS"'
109 php-ext-base-r1_addtoinifiles "apc.rfc1867_freq" '"0"'
110 php-ext-base-r1_addtoinifiles "apc.localcache" '"0"'
111 php-ext-base-r1_addtoinifiles "apc.localcache.size" '"512"'
112 php-ext-base-r1_addtoinifiles "apc.coredump_unmap" '"0"'
113
114 dodir "${PHP_EXT_SHARED_DIR}"
115 insinto "${PHP_EXT_SHARED_DIR}"
116 doins apc.php
117 }
118
119 pkg_postinst() {
120 elog "The apc.php file shipped with this release of PECL-APC was"
121 elog "installed into ${ROOT}usr/share/php5/apc/."
122 }
123
124
125
126 --
127 gentoo-commits@l.g.o mailing list