Gentoo Archives: gentoo-commits

From: "Ole Markus With (olemarkus)" <olemarkus@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-php5/pecl-apc: pecl-apc-3.1.8.ebuild ChangeLog
Date: Mon, 02 May 2011 20:25:25
Message-Id: 20110502202515.793CF20054@flycatcher.gentoo.org
1 olemarkus 11/05/02 20:25:15
2
3 Modified: ChangeLog
4 Added: pecl-apc-3.1.8.ebuild
5 Log:
6 Version bump
7
8 (Portage version: 2.1.9.46/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.82 dev-php5/pecl-apc/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-php5/pecl-apc/ChangeLog?rev=1.82&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-php5/pecl-apc/ChangeLog?rev=1.82&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-php5/pecl-apc/ChangeLog?r1=1.81&r2=1.82
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/dev-php5/pecl-apc/ChangeLog,v
20 retrieving revision 1.81
21 retrieving revision 1.82
22 diff -u -r1.81 -r1.82
23 --- ChangeLog 19 Apr 2011 17:42:38 -0000 1.81
24 +++ ChangeLog 2 May 2011 20:25:15 -0000 1.82
25 @@ -1,6 +1,11 @@
26 # ChangeLog for dev-php5/pecl-apc
27 # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/dev-php5/pecl-apc/ChangeLog,v 1.81 2011/04/19 17:42:38 olemarkus Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/dev-php5/pecl-apc/ChangeLog,v 1.82 2011/05/02 20:25:15 olemarkus Exp $
30 +
31 +*pecl-apc-3.1.8 (02 May 2011)
32 +
33 + 02 May 2011; <olemarkus@g.o> +pecl-apc-3.1.8.ebuild:
34 + Version bump
35
36 19 Apr 2011; <olemarkus@g.o> pecl-apc-3.1.7.ebuild:
37 Fixed postinst log message. Thanks to Michael Gisbers for patch. Bug 362413
38
39
40
41 1.1 dev-php5/pecl-apc/pecl-apc-3.1.8.ebuild
42
43 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-php5/pecl-apc/pecl-apc-3.1.8.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-php5/pecl-apc/pecl-apc-3.1.8.ebuild?rev=1.1&content-type=text/plain
45
46 Index: pecl-apc-3.1.8.ebuild
47 ===================================================================
48 # Copyright 1999-2011 Gentoo Foundation
49 # Distributed under the terms of the GNU General Public License v2
50 # $Header: /var/cvsroot/gentoo-x86/dev-php5/pecl-apc/pecl-apc-3.1.8.ebuild,v 1.1 2011/05/02 20:25:15 olemarkus Exp $
51
52 EAPI=2
53
54 PHP_EXT_NAME="apc"
55 PHP_EXT_PECL_PKG="APC"
56 PHP_EXT_INI="yes"
57 PHP_EXT_ZENDEXT="no"
58 DOCS="CHANGELOG INSTALL NOTICE TECHNOTES.txt TODO"
59
60 inherit php-ext-pecl-r2 confutils eutils
61
62 KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
63
64 DESCRIPTION="A free, open, and robust framework for caching and optimizing PHP code."
65 LICENSE="PHP-3.01"
66 SLOT="0"
67 IUSE="mmap"
68
69 DEPEND="!dev-php/eaccelerator !dev-php/xcache"
70 RDEPEND="${DEPEND}"
71
72 src_configure() {
73 my_conf="--enable-apc"
74 enable_extension_enable "apc-mmap" "mmap" 0
75
76 php-ext-source-r2_src_configure
77 }
78
79 src_install() {
80 php-ext-pecl-r2_src_install
81
82 php-ext-source-r2_addtoinifiles "apc.enabled" '"1"'
83 php-ext-source-r2_addtoinifiles "apc.shm_segments" '"1"'
84 php-ext-source-r2_addtoinifiles "apc.shm_size" '"30M"'
85 php-ext-source-r2_addtoinifiles "apc.num_files_hint" '"1024"'
86 php-ext-source-r2_addtoinifiles "apc.ttl" '"7200"'
87 php-ext-source-r2_addtoinifiles "apc.user_ttl" '"7200"'
88 php-ext-source-r2_addtoinifiles "apc.gc_ttl" '"3600"'
89 php-ext-source-r2_addtoinifiles "apc.cache_by_default" '"1"'
90 php-ext-source-r2_addtoinifiles ";apc.filters" '""'
91 php-ext-source-r2_addtoinifiles ";apc.mmap_file_mask" '"/tmp/apcphp5.XXXXXX"'
92 php-ext-source-r2_addtoinifiles "apc.slam_defense" '"0"'
93 php-ext-source-r2_addtoinifiles "apc.file_update_protection" '"2"'
94 php-ext-source-r2_addtoinifiles "apc.enable_cli" '"0"'
95 php-ext-source-r2_addtoinifiles "apc.max_file_size" '"1M"'
96 php-ext-source-r2_addtoinifiles "apc.stat" '"1"'
97 php-ext-source-r2_addtoinifiles "apc.write_lock" '"1"'
98 php-ext-source-r2_addtoinifiles "apc.report_autofilter" '"0"'
99 php-ext-source-r2_addtoinifiles "apc.include_once_override" '"0"'
100 php-ext-source-r2_addtoinifiles "apc.rfc1867" '"0"'
101 php-ext-source-r2_addtoinifiles "apc.rfc1867_prefix" '"upload_"'
102 php-ext-source-r2_addtoinifiles "apc.rfc1867_name" '"APC_UPLOAD_PROGRESS"'
103 php-ext-source-r2_addtoinifiles "apc.rfc1867_freq" '"0"'
104 php-ext-source-r2_addtoinifiles "apc.localcache" '"0"'
105 php-ext-source-r2_addtoinifiles "apc.localcache.size" '"512"'
106 php-ext-source-r2_addtoinifiles "apc.coredump_unmap" '"0"'
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 ${PHP_EXT_SHARED_DIR}/."
116 }