summaryrefslogtreecommitdiff
path: root/community-testing
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2012-05-01 00:01:20 +0000
committerroot <root@rshg054.dnsready.net>2012-05-01 00:01:20 +0000
commit752015395fc8b95cc4a86b68189cb747fe9a8499 (patch)
tree3e64f1f739447b52eab8498bf13bcbc9410cde8e /community-testing
parentb7cd4b184f75d3d2b54b356e08f296df3a9afb38 (diff)
Tue May 1 00:01:20 UTC 2012
Diffstat (limited to 'community-testing')
-rw-r--r--community-testing/php-geoip/PKGBUILD32
-rw-r--r--community-testing/php-memcache/PKGBUILD33
-rw-r--r--community-testing/php-memcache/php-memcache.install10
-rw-r--r--community-testing/php-memcached/PKGBUILD32
-rw-r--r--community-testing/xdebug/PKGBUILD45
-rw-r--r--community-testing/xdebug/xdebug-5.2.ini5
-rw-r--r--community-testing/xdebug/xdebug.ini5
-rw-r--r--community-testing/xdebug/xdebug.install18
8 files changed, 180 insertions, 0 deletions
diff --git a/community-testing/php-geoip/PKGBUILD b/community-testing/php-geoip/PKGBUILD
new file mode 100644
index 000000000..d12726a44
--- /dev/null
+++ b/community-testing/php-geoip/PKGBUILD
@@ -0,0 +1,32 @@
+# $Id: PKGBUILD 70079 2012-04-29 06:43:36Z pschmitz $
+# Maintainer: Evangelos Foutras <evangelos@foutrelis.com>
+
+pkgname=php-geoip
+pkgver=1.0.8
+pkgrel=2
+pkgdesc="GeoIP module for PHP"
+arch=('i686' 'x86_64')
+url="http://pecl.php.net/package/geoip"
+license=('PHP')
+depends=('php' 'geoip')
+backup=('etc/php/conf.d/geoip.ini')
+source=(http://pecl.php.net/get/geoip-$pkgver.tgz)
+sha256sums=('08beeb2cbe9ab729d06b026795f5b9084aead6a1762493b0be53c4393d68d08a')
+
+build() {
+ cd "$srcdir/geoip-$pkgver"
+
+ phpize
+ ./configure --prefix=/usr
+ make
+}
+
+package() {
+ cd "$srcdir/geoip-$pkgver"
+
+ make INSTALL_ROOT="$pkgdir" install
+ echo ';extension=geoip.so' >geoip.ini
+ install -Dm644 geoip.ini "$pkgdir/etc/php/conf.d/geoip.ini"
+}
+
+# vim:set ts=2 sw=2 et:
diff --git a/community-testing/php-memcache/PKGBUILD b/community-testing/php-memcache/PKGBUILD
new file mode 100644
index 000000000..5e49b5e67
--- /dev/null
+++ b/community-testing/php-memcache/PKGBUILD
@@ -0,0 +1,33 @@
+# $Id: PKGBUILD 70081 2012-04-29 06:43:37Z pschmitz $
+# Maintainer: Evangelos Foutras <evangelos@foutrelis.com>
+
+pkgname=php-memcache
+pkgver=3.0.6
+pkgrel=3
+pkgdesc="Memcache module for PHP"
+arch=('i686' 'x86_64')
+url="http://pecl.php.net/package/memcache"
+license=('PHP')
+depends=('php')
+backup=('etc/php/conf.d/memcache.ini')
+install=php-memcache.install
+source=(http://pecl.php.net/get/memcache-$pkgver.tgz)
+sha256sums=('cf6871f0944ee38022c5f84910f306d83b0f51564bbc08624a215e06d8486618')
+
+build() {
+ cd "$srcdir/memcache-$pkgver"
+
+ phpize
+ ./configure --prefix=/usr
+ make
+}
+
+package() {
+ cd "$srcdir/memcache-$pkgver"
+
+ make INSTALL_ROOT="$pkgdir" install
+ echo ';extension=memcache.so' >memcache.ini
+ install -Dm644 memcache.ini "$pkgdir/etc/php/conf.d/memcache.ini"
+}
+
+# vim:set ts=2 sw=2 et:
diff --git a/community-testing/php-memcache/php-memcache.install b/community-testing/php-memcache/php-memcache.install
new file mode 100644
index 000000000..fa56baf81
--- /dev/null
+++ b/community-testing/php-memcache/php-memcache.install
@@ -0,0 +1,10 @@
+post_install() {
+ echo '
+ ==> PHP extension
+
+ A config file was stored under /etc/php/conf.d/. In order to use this
+ extension make sure to uncomment it from its config file.
+ '
+}
+
+# vim:set ts=2 sw=2 et:
diff --git a/community-testing/php-memcached/PKGBUILD b/community-testing/php-memcached/PKGBUILD
new file mode 100644
index 000000000..7e36997b5
--- /dev/null
+++ b/community-testing/php-memcached/PKGBUILD
@@ -0,0 +1,32 @@
+# $Id: PKGBUILD 70083 2012-04-29 06:43:38Z pschmitz $
+# Maintainer: Evangelos Foutras <evangelos@foutrelis.com>
+
+pkgname=php-memcached
+pkgver=2.0.1
+pkgrel=4
+pkgdesc="PHP extension for interfacing with memcached via libmemcached library"
+arch=('i686' 'x86_64')
+url="http://pecl.php.net/package/memcached"
+license=('PHP')
+depends=('php' 'libmemcached')
+backup=('etc/php/conf.d/memcached.ini')
+source=(http://pecl.php.net/get/memcached-$pkgver.tgz)
+sha256sums=('250779594e846b7b31390c384697eb24a5096123b0d3e2f4a1a0b79d14fb1bff')
+
+build() {
+ cd "$srcdir/memcached-$pkgver"
+
+ phpize
+ ./configure --prefix=/usr
+ make
+}
+
+package() {
+ cd "$srcdir/memcached-$pkgver"
+
+ make INSTALL_ROOT="$pkgdir" install
+ echo ';extension=memcached.so' >memcached.ini
+ install -Dm644 memcached.ini "$pkgdir/etc/php/conf.d/memcached.ini"
+}
+
+# vim:set ts=2 sw=2 et:
diff --git a/community-testing/xdebug/PKGBUILD b/community-testing/xdebug/PKGBUILD
new file mode 100644
index 000000000..3c21729e1
--- /dev/null
+++ b/community-testing/xdebug/PKGBUILD
@@ -0,0 +1,45 @@
+# $Id: PKGBUILD 70085 2012-04-29 06:43:40Z pschmitz $
+# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
+# Maintainer: Jonathan Wiersma <arch aur at jonw dot org>
+# Contributor: Jonathan Wiersma <arch aur at jonw dot org>
+# Contributor: sracker <smb.sac@gmail.com>
+
+pkgname=xdebug
+pkgver=2.2.0RC2
+pkgrel=1
+pkgdesc="PHP debugging extension"
+arch=('i686' 'x86_64')
+url="http://www.xdebug.org"
+license=('GPL')
+depends=('php')
+install="${pkgname}.install"
+backup=('etc/php/conf.d/xdebug.ini')
+source=(http://www.xdebug.org/files/$pkgname-$pkgver.tgz
+ xdebug-5.2.ini
+ xdebug.ini)
+md5sums=('2227de3691ca569d17a342ae30b2e57c'
+ '6b7fdbbe0bf381bda40e77e29981f439'
+ '68de800943369d4c76bdf7eb35c8463b')
+
+build() {
+ local PHPVER=`php -r 'echo phpversion();'`
+
+ cd $srcdir/$pkgname-$pkgver
+ phpize
+ ./configure --prefix=/usr --enable-xdebug
+ make
+
+ cd debugclient
+ ./configure --prefix=/usr
+ make
+ make DESTDIR=$pkgdir install
+
+ cd $srcdir/$pkgname-$pkgver
+ if [ "$PHPVER" \< "5.3.0" ] ; then
+ install -D -m 744 modules/xdebug.so $pkgdir/usr/lib/php/xdebug.so
+ install -D -m 644 $srcdir/xdebug-5.2.ini $pkgdir/etc/php/conf.d/xdebug.ini
+ else
+ install -D -m 744 modules/xdebug.so $pkgdir/usr/lib/php/modules/xdebug.so
+ install -D -m 644 $srcdir/xdebug.ini $pkgdir/etc/php/conf.d/xdebug.ini
+ fi
+}
diff --git a/community-testing/xdebug/xdebug-5.2.ini b/community-testing/xdebug/xdebug-5.2.ini
new file mode 100644
index 000000000..9beb7fc30
--- /dev/null
+++ b/community-testing/xdebug/xdebug-5.2.ini
@@ -0,0 +1,5 @@
+zend_extension=/usr/lib/php/xdebug.so
+;xdebug.remote_enable=on
+;xdebug.remote_host=127.0.0.1
+;xdebug.remote_port=9000
+;xdebug.remote_handler=dbgp
diff --git a/community-testing/xdebug/xdebug.ini b/community-testing/xdebug/xdebug.ini
new file mode 100644
index 000000000..c6c9222ea
--- /dev/null
+++ b/community-testing/xdebug/xdebug.ini
@@ -0,0 +1,5 @@
+zend_extension=/usr/lib/php/modules/xdebug.so
+;xdebug.remote_enable=on
+;xdebug.remote_host=127.0.0.1
+;xdebug.remote_port=9000
+;xdebug.remote_handler=dbgp
diff --git a/community-testing/xdebug/xdebug.install b/community-testing/xdebug/xdebug.install
new file mode 100644
index 000000000..a7ec0b9cc
--- /dev/null
+++ b/community-testing/xdebug/xdebug.install
@@ -0,0 +1,18 @@
+post_install() {
+ local _configfile=/etc/php/conf.d/xdebug.ini
+ echo " ==> You may wish to uncomment/change the settings found in "
+ echo " $_configfile"
+ echo ""
+}
+
+post_upgrade() {
+ local _configfile=/etc/php/conf.d/xdebug.ini
+ local PHPVER=$(php -r 'echo phpversion();')
+ post_install $1
+
+ if [ "$PHPVER" \< "5.3" ] ; then
+ echo " ==> You are currenty running a version of php < 5.3."
+ echo " When/if you upgrade php to a version >= 5.3, you will need to reinstall $pkgname."
+ echo ""
+ fi
+}