pecl-apc 3.1 ist in portage
Hanno Böck

Hanno Böck commited on 2009-12-07 15:54:19
Zeige 2 geänderte Dateien mit 0 Einfügungen und 78 Löschungen.

... ...
@@ -1,2 +0,0 @@
1
-DIST APC-3.1.3p1.tgz 142277 RMD160 b7d359b68697adc8a7fe06c41ddaf804a55c911d SHA1 aed228105250f7d7f1deb57abb2770f1e19c2e49 SHA256 9e4e3163baf697bf0fba7bc3993f112c375f0ab2b40bba325d7109999ae4d28d
2
-EBUILD pecl-apc-3.1.3_p1.ebuild 2662 RMD160 25599a99596c27e3214e709e5e1040b75fac0842 SHA1 3fb6faeedb4db24d8611a22b70577b21498b9db3 SHA256 60e5258547a00674767aa228f1b2cf3f3d0c4740b0c330058f0fb7fedd3ee113
... ...
@@ -1,76 +0,0 @@
1
-# Copyright 1999-2009 Gentoo Foundation
2
-# Distributed under the terms of the GNU General Public License v2
3
-# $Header: /var/cvsroot/gentoo-x86/dev-php5/pecl-apc/pecl-apc-3.0.19.ebuild,v 1.5 2009/11/03 17:33:08 armin76 Exp $
4
-
5
-PHP_EXT_NAME="apc"
6
-PHP_EXT_PECL_PKG="APC"
7
-PHP_EXT_INI="yes"
8
-PHP_EXT_ZENDEXT="no"
9
-DOCS="CHANGELOG INSTALL NOTICE TECHNOTES.txt TODO"
10
-
11
-inherit php-ext-pecl-r1 confutils eutils
12
-
13
-KEYWORDS="~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86"
14
-
15
-DESCRIPTION="A free, open, and robust framework for caching and optimizing PHP code."
16
-LICENSE="PHP-3.01"
17
-SLOT="0"
18
-IUSE="mmap"
19
-
20
-DEPEND="!dev-php5/eaccelerator !dev-php5/xcache"
21
-RDEPEND="${DEPEND}"
22
-
23
-need_php_by_category
24
-
25
-pkg_setup() {
26
-	require_php_sapi_from cgi apache2
27
-}
28
-
29
-src_compile() {
30
-	has_php
31
-
32
-	my_conf="--enable-apc"
33
-	enable_extension_enable "apc-mmap" "mmap" 0
34
-	enable_extension_with_built_with =${PHP_PKG} apache2 apxs /usr/sbin/apxs2 "optimisation for apache2"
35
-
36
-	php-ext-pecl-r1_src_compile
37
-}
38
-
39
-src_install() {
40
-	php-ext-pecl-r1_src_install
41
-
42
-	php-ext-base-r1_addtoinifiles "apc.enabled" '"1"'
43
-	php-ext-base-r1_addtoinifiles "apc.shm_segments" '"1"'
44
-	php-ext-base-r1_addtoinifiles "apc.shm_size" '"30"'
45
-	php-ext-base-r1_addtoinifiles "apc.num_files_hint" '"1024"'
46
-	php-ext-base-r1_addtoinifiles "apc.ttl" '"7200"'
47
-	php-ext-base-r1_addtoinifiles "apc.user_ttl" '"7200"'
48
-	php-ext-base-r1_addtoinifiles "apc.gc_ttl" '"3600"'
49
-	php-ext-base-r1_addtoinifiles "apc.cache_by_default" '"1"'
50
-	php-ext-base-r1_addtoinifiles ";apc.filters" '""'
51
-	php-ext-base-r1_addtoinifiles ";apc.mmap_file_mask" '"/tmp/apcphp5.XXXXXX"'
52
-	php-ext-base-r1_addtoinifiles "apc.slam_defense" '"0"'
53
-	php-ext-base-r1_addtoinifiles "apc.file_update_protection" '"2"'
54
-	php-ext-base-r1_addtoinifiles "apc.enable_cli" '"0"'
55
-	php-ext-base-r1_addtoinifiles "apc.max_file_size" '"1M"'
56
-	php-ext-base-r1_addtoinifiles "apc.stat" '"1"'
57
-	php-ext-base-r1_addtoinifiles "apc.write_lock" '"1"'
58
-	php-ext-base-r1_addtoinifiles "apc.report_autofilter" '"0"'
59
-	php-ext-base-r1_addtoinifiles "apc.include_once_override" '"0"'
60
-	php-ext-base-r1_addtoinifiles "apc.rfc1867" '"0"'
61
-	php-ext-base-r1_addtoinifiles "apc.rfc1867_prefix" '"upload_"'
62
-	php-ext-base-r1_addtoinifiles "apc.rfc1867_name" '"APC_UPLOAD_PROGRESS"'
63
-	php-ext-base-r1_addtoinifiles "apc.rfc1867_freq" '"0"'
64
-	php-ext-base-r1_addtoinifiles "apc.localcache" '"0"'
65
-	php-ext-base-r1_addtoinifiles "apc.localcache.size" '"512"'
66
-	php-ext-base-r1_addtoinifiles "apc.coredump_unmap" '"0"'
67
-
68
-	dodir "${PHP_EXT_SHARED_DIR}"
69
-	insinto "${PHP_EXT_SHARED_DIR}"
70
-	doins apc.php
71
-}
72
-
73
-pkg_postinst() {
74
-	elog "The apc.php file shipped with this release of PECL-APC was"
75
-	elog "installed into ${ROOT}usr/share/php5/apc/."
76
-}
77 0