aboutsummaryrefslogtreecommitdiffstats
path: root/main
diff options
context:
space:
mode:
authorCarlo Landmeter <clandmeter@gmail.com>2013-10-02 20:40:16 +0000
committerCarlo Landmeter <clandmeter@gmail.com>2013-10-02 20:47:12 +0000
commitf0f86159202072b72546e80c4872256c3c51334d (patch)
tree996c55a93c9c1b0ba05bf5e7992bedaac96b8129 /main
parent21148434658d1713dfca919eca661a0a9029efe8 (diff)
downloadaports-f0f86159202072b72546e80c4872256c3c51334d.tar.bz2
aports-f0f86159202072b72546e80c4872256c3c51334d.tar.xz
main/php-apcu: change from apc to apcu
apc does not support php 5.5 so we move to apcu
Diffstat (limited to 'main')
-rw-r--r--main/php-apc/APKBUILD40
-rw-r--r--main/php-apc/apc.ini11
-rw-r--r--main/php-apcu/APKBUILD38
-rw-r--r--main/php-apcu/apcu.ini1
4 files changed, 39 insertions, 51 deletions
diff --git a/main/php-apc/APKBUILD b/main/php-apc/APKBUILD
deleted file mode 100644
index 8f179d8803..0000000000
--- a/main/php-apc/APKBUILD
+++ /dev/null
@@ -1,40 +0,0 @@
-# Contributor: Carlo Landmeter <clandmeter@gmail.com>
-# Maintainer: Carlo Landmeter <clandmeter@gmail.com>
-pkgname=php-apc
-pkgver=3.1.13
-pkgrel=1
-pkgdesc="Alternative PHP Cache"
-url="http://pecl.php.net/package/APC"
-arch="all"
-license="PHP"
-depends="php"
-makedepends="php-dev autoconf pcre-dev"
-subpackages=""
-source="http://pecl.php.net/get/APC-${pkgver}.tgz
-apc.ini"
-
-build() {
- cd "$srcdir/APC-${pkgver}"
- phpize || return 1
- ./configure \
- --build=$CBUILD \
- --host=$CHOST \
- --enable-apc \
- --disable-apc-mmap \
- --with-php-config=/usr/bin/php-config \
- || return 1
- make || return 1
-}
-
-package() {
- cd "$srcdir/APC-${pkgver}"
- make INSTALL_ROOT=$pkgdir install || return 1
- install -D -m644 "$srcdir"/apc.ini "$pkgdir"/etc/php/conf.d/apc.ini
-}
-
-md5sums="c9e47002e3a67ebde3a6f81437c7b6e0 APC-3.1.13.tgz
-1be423cbc197a302abd50cfd5834258b apc.ini"
-sha256sums="5ef8ba07729e72946e95951672a5378bed98cb5a294e79bf0f0a97ac62829abd APC-3.1.13.tgz
-6279892a664e2de6ce8d6902de6a01ec807a3e23906a94af564b7d66eb309aba apc.ini"
-sha512sums="4ccfa12a61a9276be207c9b70b108b725cf2faa3ed805bab8c9a39b04039fd16a8da6919ab7d5a84592f7b4a7827dcd9adeb154c6a04d208e7071be22268b332 APC-3.1.13.tgz
-44684f32708b26e72be687327660442af113282477f01fe1ec7ade7106c9c782497e101016dbc4c54d517ea172fbb8d652696c9e83bbc895839313980bc9b54c apc.ini"
diff --git a/main/php-apc/apc.ini b/main/php-apc/apc.ini
deleted file mode 100644
index eb8a7e8f2c..0000000000
--- a/main/php-apc/apc.ini
+++ /dev/null
@@ -1,11 +0,0 @@
-;PHP suggest APC settings
-extension=apc.so
-;apc.enabled=1
-;apc.shm_segments=1
-;apc.shm_size=128
-;apc.ttl=7200
-;apc.user_ttl=7200
-;apc.num_files_hint=1024
-;apc.mmap_file_mask=/tmp/apc.XXXXXX
-;apc.enable_cli=1
-
diff --git a/main/php-apcu/APKBUILD b/main/php-apcu/APKBUILD
new file mode 100644
index 0000000000..b4c1957d4e
--- /dev/null
+++ b/main/php-apcu/APKBUILD
@@ -0,0 +1,38 @@
+# Contributor: Carlo Landmeter <clandmeter@gmail.com>
+# Maintainer: Carlo Landmeter <clandmeter@gmail.com>
+pkgname=php-apcu
+pkgver=4.0.2
+pkgrel=0
+pkgdesc="APC User Cache"
+url="http://pecl.php.net/package/APCu"
+arch="all"
+license="PHP"
+depends="php"
+makedepends="php-dev autoconf pcre-dev"
+subpackages=""
+source="http://pecl.php.net/get/APCu-${pkgver}.tgz
+apcu.ini"
+
+build() {
+ cd "$srcdir/apcu-${pkgver}"
+ phpize || return 1
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --with-php-config=/usr/bin/php-config \
+ || return 1
+ make || return 1
+}
+
+package() {
+ cd "$srcdir/apcu-${pkgver}"
+ make INSTALL_ROOT=$pkgdir install || return 1
+ install -D -m644 "$srcdir"/apcu.ini "$pkgdir"/etc/php/conf.d/apcu.ini
+}
+
+md5sums="c8a5c246b787eec81847017823099884 APCu-4.0.2.tgz
+63cdaa57c6c9a68ce51c0862bc1b74a0 apcu.ini"
+sha256sums="83fdcc0505522414e4785c86e62e20fe3643ff4790c035f86de35fc7339021aa APCu-4.0.2.tgz
+923e8d58d32fbb9bf6b4835948f6c88daa3c58d462ecec574eedf5a075903f14 apcu.ini"
+sha512sums="b9faa0f6a9010d3a5546cbafddc5bed7b58a06ad5c3a7fd2c90a0f69c5bdd1861e644372a1083750b6d5a472dcd707ced2b56351a97113e35678d9d55f750ee5 APCu-4.0.2.tgz
+de01049d781a48b2a05b2a9bf0cc947ddf2cde8bc46885f3b761d82c82dc03afaf1e6a167aa9716e3b2e8e90992b4c99618da32a1f11e153960803cd7668d177 apcu.ini"
diff --git a/main/php-apcu/apcu.ini b/main/php-apcu/apcu.ini
new file mode 100644
index 0000000000..231a43cae8
--- /dev/null
+++ b/main/php-apcu/apcu.ini
@@ -0,0 +1 @@
+extension=apcu.so