From: | "Ole Markus With (olemarkus)" <olemarkus@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in dev-php/pecl-apcu: metadata.xml pecl-apcu-4.0.0.ebuild pecl-apcu-4.0.1.ebuild ChangeLog |
Date: | Tue, 30 Apr 2013 10:08:41 |
Message-Id: | 20130430100834.07C332171D@flycatcher.gentoo.org |
1 | olemarkus 13/04/30 10:08:33 |
2 | |
3 | Added: metadata.xml pecl-apcu-4.0.0.ebuild |
4 | pecl-apcu-4.0.1.ebuild ChangeLog |
5 | Log: |
6 | Version bump |
7 | |
8 | (Portage version: 2.1.11.55/cvs/Linux x86_64, signed Manifest commit with key C4A92BF5) |
9 | |
10 | Revision Changes Path |
11 | 1.1 dev-php/pecl-apcu/metadata.xml |
12 | |
13 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-php/pecl-apcu/metadata.xml?rev=1.1&view=markup |
14 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-php/pecl-apcu/metadata.xml?rev=1.1&content-type=text/plain |
15 | |
16 | Index: metadata.xml |
17 | =================================================================== |
18 | <?xml version="1.0" encoding="UTF-8"?> |
19 | <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
20 | <pkgmetadata> |
21 | <herd>php</herd> |
22 | <use> |
23 | <flag name="lock_semaphore">Enable semaphore locks instead of fcntl</flag> |
24 | <flag name="lock_pthreadmutex">Enable pthread mutex locking</flag> |
25 | <flag name="lock_pthreadrw">Enable pthread read/write locking</flag> |
26 | <flag name="lock_spinlock">Enable spin locks (EXPERIMENTAL)</flag> |
27 | </use> |
28 | </pkgmetadata> |
29 | |
30 | |
31 | |
32 | 1.1 dev-php/pecl-apcu/pecl-apcu-4.0.0.ebuild |
33 | |
34 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-php/pecl-apcu/pecl-apcu-4.0.0.ebuild?rev=1.1&view=markup |
35 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-php/pecl-apcu/pecl-apcu-4.0.0.ebuild?rev=1.1&content-type=text/plain |
36 | |
37 | Index: pecl-apcu-4.0.0.ebuild |
38 | =================================================================== |
39 | # Copyright 1999-2013 Gentoo Foundation |
40 | # Distributed under the terms of the GNU General Public License v2 |
41 | # $Header: /var/cvsroot/gentoo-x86/dev-php/pecl-apcu/pecl-apcu-4.0.0.ebuild,v 1.1 2013/04/30 10:08:33 olemarkus Exp $ |
42 | |
43 | EAPI=5 |
44 | |
45 | PHP_EXT_NAME="apcu" |
46 | PHP_EXT_PECL_PKG="APCu" |
47 | PHP_EXT_INI="yes" |
48 | PHP_EXT_ZENDEXT="no" |
49 | DOCS="CHANGELOG INSTALL NOTICE TECHNOTES.txt TODO" |
50 | |
51 | USE_PHP="php5-5 php5-3 php5-4" |
52 | |
53 | S="${WORKDIR}/apcu-${PV}" |
54 | PHP_EXT_S="${WORKDIR}/apcu-${PV}" |
55 | |
56 | inherit php-ext-pecl-r2 confutils eutils |
57 | |
58 | S="${WORKDIR}/apcu-${PV}" |
59 | |
60 | KEYWORDS="~amd64 ~x86" |
61 | |
62 | DESCRIPTION="Stripped down version of APC supporting only user cache." |
63 | LICENSE="PHP-3.01" |
64 | SLOT="0" |
65 | IUSE="+mmap" |
66 | |
67 | DEPEND="" |
68 | RDEPEND="${DEPEND}" |
69 | |
70 | LOCKS="pthreadmutex pthreadrw spinlock semaphore" |
71 | |
72 | LUSE="" |
73 | for l in ${LOCKS}; do |
74 | LUSE+="lock_${l} " |
75 | done |
76 | |
77 | IUSE+=" ${LUSE/lock_pthreadrw/+lock_pthreadrw}" |
78 | |
79 | REQUIRED_USE="^^ ( $LUSE )" |
80 | |
81 | src_configure() { |
82 | my_conf="--enable-apcu" |
83 | enable_extension_enable "apcu-mmap" "mmap" 0 |
84 | |
85 | enable_extension_enable "apcu-rwlocks" "lock_pthreadrw" 0 |
86 | |
87 | php-ext-source-r2_src_configure |
88 | } |
89 | |
90 | src_install() { |
91 | php-ext-pecl-r2_src_install |
92 | |
93 | dodir "${PHP_EXT_SHARED_DIR}" |
94 | insinto "${PHP_EXT_SHARED_DIR}" |
95 | doins apc.php |
96 | } |
97 | |
98 | pkg_postinst() { |
99 | elog "The apc.php file shipped with this release of pecl-apcu was" |
100 | elog "installed into ${PHP_EXT_SHARED_DIR}/." |
101 | } |
102 | |
103 | |
104 | |
105 | 1.1 dev-php/pecl-apcu/pecl-apcu-4.0.1.ebuild |
106 | |
107 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-php/pecl-apcu/pecl-apcu-4.0.1.ebuild?rev=1.1&view=markup |
108 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-php/pecl-apcu/pecl-apcu-4.0.1.ebuild?rev=1.1&content-type=text/plain |
109 | |
110 | Index: pecl-apcu-4.0.1.ebuild |
111 | =================================================================== |
112 | # Copyright 1999-2013 Gentoo Foundation |
113 | # Distributed under the terms of the GNU General Public License v2 |
114 | # $Header: /var/cvsroot/gentoo-x86/dev-php/pecl-apcu/pecl-apcu-4.0.1.ebuild,v 1.1 2013/04/30 10:08:33 olemarkus Exp $ |
115 | |
116 | EAPI=5 |
117 | |
118 | PHP_EXT_NAME="apcu" |
119 | PHP_EXT_PECL_PKG="APCu" |
120 | PHP_EXT_INI="yes" |
121 | PHP_EXT_ZENDEXT="no" |
122 | DOCS="CHANGELOG INSTALL NOTICE TECHNOTES.txt TODO" |
123 | |
124 | USE_PHP="php5-5 php5-3 php5-4" |
125 | |
126 | S="${WORKDIR}/apcu-${PV}" |
127 | PHP_EXT_S="${WORKDIR}/apcu-${PV}" |
128 | |
129 | inherit php-ext-pecl-r2 confutils eutils |
130 | |
131 | S="${WORKDIR}/apcu-${PV}" |
132 | |
133 | KEYWORDS="~amd64 ~x86" |
134 | |
135 | DESCRIPTION="Stripped down version of APC supporting only user cache." |
136 | LICENSE="PHP-3.01" |
137 | SLOT="0" |
138 | IUSE="+mmap" |
139 | |
140 | DEPEND="" |
141 | RDEPEND="${DEPEND}" |
142 | |
143 | LOCKS="pthreadmutex pthreadrw spinlock semaphore" |
144 | |
145 | LUSE="" |
146 | for l in ${LOCKS}; do |
147 | LUSE+="lock_${l} " |
148 | done |
149 | |
150 | IUSE+=" ${LUSE/lock_pthreadrw/+lock_pthreadrw}" |
151 | |
152 | REQUIRED_USE="^^ ( $LUSE )" |
153 | |
154 | src_configure() { |
155 | my_conf="--enable-apcu" |
156 | enable_extension_enable "apcu-mmap" "mmap" 0 |
157 | |
158 | enable_extension_enable "apcu-rwlocks" "lock_pthreadrw" 0 |
159 | |
160 | php-ext-source-r2_src_configure |
161 | } |
162 | |
163 | src_install() { |
164 | php-ext-pecl-r2_src_install |
165 | |
166 | dodir "${PHP_EXT_SHARED_DIR}" |
167 | insinto "${PHP_EXT_SHARED_DIR}" |
168 | doins apc.php |
169 | } |
170 | |
171 | pkg_postinst() { |
172 | elog "The apc.php file shipped with this release of pecl-apcu was" |
173 | elog "installed into ${PHP_EXT_SHARED_DIR}/." |
174 | } |
175 | |
176 | |
177 | |
178 | 1.1 dev-php/pecl-apcu/ChangeLog |
179 | |
180 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-php/pecl-apcu/ChangeLog?rev=1.1&view=markup |
181 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-php/pecl-apcu/ChangeLog?rev=1.1&content-type=text/plain |
182 | |
183 | Index: ChangeLog |
184 | =================================================================== |
185 | # ChangeLog for dev-php/pecl-apcu |
186 | # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 |
187 | # $Header: /var/cvsroot/gentoo-x86/dev-php/pecl-apcu/ChangeLog,v 1.1 2013/04/30 10:08:33 olemarkus Exp $ |
188 | |
189 | *pecl-apcu-4.0.0 (30 Apr 2013) |
190 | *pecl-apcu-4.0.1 (30 Apr 2013) |
191 | |
192 | 30 Apr 2013; Ole Markus With <olemarkus@g.o> +metadata.xml, |
193 | +pecl-apcu-4.0.0.ebuild, +pecl-apcu-4.0.1.ebuild: |
194 | Version bump |