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.4-r1.ebuild ChangeLog
Date: Fri, 08 Oct 2010 19:03:03
Message-Id: 20101008183435.0093020051@flycatcher.gentoo.org
1 olemarkus 10/10/08 18:34:34
2
3 Modified: ChangeLog
4 Added: pecl-apc-3.1.4-r1.ebuild
5 Log:
6 Added version supporting minor version slotting
7 (Portage version: 2.1.8.3/cvs/Linux i686)
8
9 Revision Changes Path
10 1.57 dev-php5/pecl-apc/ChangeLog
11
12 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-php5/pecl-apc/ChangeLog?rev=1.57&view=markup
13 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-php5/pecl-apc/ChangeLog?rev=1.57&content-type=text/plain
14 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-php5/pecl-apc/ChangeLog?r1=1.56&r2=1.57
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/dev-php5/pecl-apc/ChangeLog,v
19 retrieving revision 1.56
20 retrieving revision 1.57
21 diff -u -r1.56 -r1.57
22 --- ChangeLog 13 Sep 2010 13:54:55 -0000 1.56
23 +++ ChangeLog 8 Oct 2010 18:34:34 -0000 1.57
24 @@ -1,6 +1,11 @@
25 # ChangeLog for dev-php5/pecl-apc
26 # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/dev-php5/pecl-apc/ChangeLog,v 1.56 2010/09/13 13:54:55 mabi Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/dev-php5/pecl-apc/ChangeLog,v 1.57 2010/10/08 18:34:34 olemarkus Exp $
29 +
30 +*pecl-apc-3.1.4-r1 (08 Oct 2010)
31 +
32 + 08 Oct 2010; <olemarkus@g.o> +pecl-apc-3.1.4-r1.ebuild:
33 + Added version supporting minor version slotting
34
35 *pecl-apc-3.1.4 (13 Sep 2010)
36
37
38
39
40 1.1 dev-php5/pecl-apc/pecl-apc-3.1.4-r1.ebuild
41
42 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-php5/pecl-apc/pecl-apc-3.1.4-r1.ebuild?rev=1.1&view=markup
43 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-php5/pecl-apc/pecl-apc-3.1.4-r1.ebuild?rev=1.1&content-type=text/plain
44
45 Index: pecl-apc-3.1.4-r1.ebuild
46 ===================================================================
47 # Copyright 1999-2010 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.1.4-r1.ebuild,v 1.1 2010/10/08 18:34:34 olemarkus Exp $
50
51 EAPI=2
52
53 PHP_EXT_NAME="apc"
54 PHP_EXT_PECL_PKG="APC"
55 PHP_EXT_INI="yes"
56 PHP_EXT_ZENDEXT="no"
57 DOCS="CHANGELOG INSTALL NOTICE TECHNOTES.txt TODO"
58
59 inherit php-ext-pecl-r2 confutils eutils
60
61 KEYWORDS="~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86"
62
63 DESCRIPTION="A free, open, and robust framework for caching and optimizing PHP code."
64 LICENSE="PHP-3.01"
65 SLOT="0"
66 IUSE="mmap"
67
68 DEPEND="!dev-php5/eaccelerator !dev-php5/xcache
69 || ( dev-lang/php[apache2] dev-lang/php[cgi] dev-lang/php[fpm] )"
70 RDEPEND="${DEPEND}"
71
72 src_compile() {
73 my_conf="--enable-apc"
74 enable_extension_enable "apc-mmap" "mmap" 0
75
76 php-ext-pecl-r2_src_compile
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}/apc/."
116 }