Gentoo Archives: gentoo-commits

From: "Brian Evans (grknight)" <grknight@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-php/pecl-apcu: pecl-apcu-4.0.6.ebuild ChangeLog pecl-apcu-4.0.4.ebuild pecl-apcu-4.0.2.ebuild pecl-apcu-4.0.0.ebuild pecl-apcu-4.0.1.ebuild
Date: Tue, 30 Sep 2014 15:35:11
Message-Id: 20140930153328.7A1516989@oystercatcher.gentoo.org
1 grknight 14/09/30 15:33:28
2
3 Modified: ChangeLog
4 Added: pecl-apcu-4.0.6.ebuild
5 Removed: pecl-apcu-4.0.4.ebuild pecl-apcu-4.0.2.ebuild
6 pecl-apcu-4.0.0.ebuild pecl-apcu-4.0.1.ebuild
7 Log:
8 Version bump; Add PHP 5.6 support; Drop old
9
10 (Portage version: 2.2.8-r2/cvs/Linux x86_64, signed Manifest commit with key 67C78E1D)
11
12 Revision Changes Path
13 1.9 dev-php/pecl-apcu/ChangeLog
14
15 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-php/pecl-apcu/ChangeLog?rev=1.9&view=markup
16 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-php/pecl-apcu/ChangeLog?rev=1.9&content-type=text/plain
17 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-php/pecl-apcu/ChangeLog?r1=1.8&r2=1.9
18
19 Index: ChangeLog
20 ===================================================================
21 RCS file: /var/cvsroot/gentoo-x86/dev-php/pecl-apcu/ChangeLog,v
22 retrieving revision 1.8
23 retrieving revision 1.9
24 diff -u -r1.8 -r1.9
25 --- ChangeLog 10 Aug 2014 21:00:54 -0000 1.8
26 +++ ChangeLog 30 Sep 2014 15:33:28 -0000 1.9
27 @@ -1,6 +1,13 @@
28 # ChangeLog for dev-php/pecl-apcu
29 # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
30 -# $Header: /var/cvsroot/gentoo-x86/dev-php/pecl-apcu/ChangeLog,v 1.8 2014/08/10 21:00:54 slyfox Exp $
31 +# $Header: /var/cvsroot/gentoo-x86/dev-php/pecl-apcu/ChangeLog,v 1.9 2014/09/30 15:33:28 grknight Exp $
32 +
33 +*pecl-apcu-4.0.6 (30 Sep 2014)
34 +
35 + 30 Sep 2014; <grknight@g.o> +pecl-apcu-4.0.6.ebuild,
36 + -pecl-apcu-4.0.0.ebuild, -pecl-apcu-4.0.1.ebuild, -pecl-apcu-4.0.2.ebuild,
37 + -pecl-apcu-4.0.4.ebuild:
38 + Version bump; Add PHP 5.6 support; Drop old
39
40 10 Aug 2014; Sergei Trofimovich <slyfox@g.o> pecl-apcu-4.0.0.ebuild,
41 pecl-apcu-4.0.1-r1.ebuild, pecl-apcu-4.0.1.ebuild, pecl-apcu-4.0.2.ebuild,
42
43
44
45 1.1 dev-php/pecl-apcu/pecl-apcu-4.0.6.ebuild
46
47 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-php/pecl-apcu/pecl-apcu-4.0.6.ebuild?rev=1.1&view=markup
48 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-php/pecl-apcu/pecl-apcu-4.0.6.ebuild?rev=1.1&content-type=text/plain
49
50 Index: pecl-apcu-4.0.6.ebuild
51 ===================================================================
52 # Copyright 1999-2014 Gentoo Foundation
53 # Distributed under the terms of the GNU General Public License v2
54 # $Header: /var/cvsroot/gentoo-x86/dev-php/pecl-apcu/pecl-apcu-4.0.6.ebuild,v 1.1 2014/09/30 15:33:28 grknight Exp $
55
56 EAPI=5
57
58 PHP_EXT_NAME="apcu"
59 PHP_EXT_PECL_PKG="APCu"
60 PHP_EXT_INI="yes"
61 PHP_EXT_ZENDEXT="no"
62 DOCS="CHANGELOG INSTALL NOTICE TECHNOTES.txt TODO"
63
64 USE_PHP="php5-6 php5-5 php5-4"
65
66 S="${WORKDIR}/apcu-${PV}"
67 PHP_EXT_S="${WORKDIR}/apcu-${PV}"
68
69 inherit php-ext-pecl-r2 confutils eutils
70
71 S="${WORKDIR}/apcu-${PV}"
72
73 KEYWORDS="~amd64 ~x86"
74
75 DESCRIPTION="Stripped down version of APC supporting only user cache"
76 LICENSE="PHP-3.01"
77 SLOT="0"
78 IUSE="+mmap"
79
80 DEPEND=""
81 RDEPEND="${DEPEND}"
82
83 LOCKS="pthreadmutex pthreadrw spinlock semaphore"
84
85 LUSE=""
86 for l in ${LOCKS}; do
87 LUSE+="lock_${l} "
88 done
89
90 IUSE+=" ${LUSE/lock_pthreadrw/+lock_pthreadrw}"
91
92 REQUIRED_USE="^^ ( $LUSE )"
93
94 src_configure() {
95 my_conf="--enable-apcu"
96 use mmap || my_conf+=" --disable-apcu-mmap"
97
98 enable_extension_enable "apcu-rwlocks" "lock_pthreadrw" 0
99
100 php-ext-source-r2_src_configure
101 }
102
103 src_install() {
104 php-ext-pecl-r2_src_install
105
106 dodir "${PHP_EXT_SHARED_DIR}"
107 insinto "${PHP_EXT_SHARED_DIR}"
108 doins apc.php
109 }
110
111 pkg_postinst() {
112 elog "The apc.php file shipped with this release of pecl-apcu was"
113 elog "installed into ${PHP_EXT_SHARED_DIR}/."
114 }