From 00f77ef3b2b7856520daba393370f67b773c2184 Mon Sep 17 00:00:00 2001 From: root Date: Sat, 28 Apr 2012 00:01:35 +0000 Subject: Sat Apr 28 00:01:35 UTC 2012 --- community-staging/php-geoip/PKGBUILD | 32 +++++++++++++++ community-staging/php-memcache/PKGBUILD | 33 ++++++++++++++++ .../php-memcache/php-memcache.install | 10 +++++ community-staging/php-memcached/PKGBUILD | 32 +++++++++++++++ community-staging/xdebug/PKGBUILD | 45 ++++++++++++++++++++++ community-staging/xdebug/xdebug-5.2.ini | 5 +++ community-staging/xdebug/xdebug.ini | 5 +++ community-staging/xdebug/xdebug.install | 18 +++++++++ 8 files changed, 180 insertions(+) create mode 100644 community-staging/php-geoip/PKGBUILD create mode 100644 community-staging/php-memcache/PKGBUILD create mode 100644 community-staging/php-memcache/php-memcache.install create mode 100644 community-staging/php-memcached/PKGBUILD create mode 100644 community-staging/xdebug/PKGBUILD create mode 100644 community-staging/xdebug/xdebug-5.2.ini create mode 100644 community-staging/xdebug/xdebug.ini create mode 100644 community-staging/xdebug/xdebug.install (limited to 'community-staging') diff --git a/community-staging/php-geoip/PKGBUILD b/community-staging/php-geoip/PKGBUILD new file mode 100644 index 000000000..b31356caf --- /dev/null +++ b/community-staging/php-geoip/PKGBUILD @@ -0,0 +1,32 @@ +# $Id: PKGBUILD 69908 2012-04-26 14:31:09Z foutrelis $ +# Maintainer: Evangelos Foutras + +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-staging/php-memcache/PKGBUILD b/community-staging/php-memcache/PKGBUILD new file mode 100644 index 000000000..047177e8e --- /dev/null +++ b/community-staging/php-memcache/PKGBUILD @@ -0,0 +1,33 @@ +# $Id: PKGBUILD 69910 2012-04-26 14:33:27Z foutrelis $ +# Maintainer: Evangelos Foutras + +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-staging/php-memcache/php-memcache.install b/community-staging/php-memcache/php-memcache.install new file mode 100644 index 000000000..fa56baf81 --- /dev/null +++ b/community-staging/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-staging/php-memcached/PKGBUILD b/community-staging/php-memcached/PKGBUILD new file mode 100644 index 000000000..7b2f2c1b4 --- /dev/null +++ b/community-staging/php-memcached/PKGBUILD @@ -0,0 +1,32 @@ +# $Id: PKGBUILD 69912 2012-04-26 14:39:44Z foutrelis $ +# Maintainer: Evangelos Foutras + +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-staging/xdebug/PKGBUILD b/community-staging/xdebug/PKGBUILD new file mode 100644 index 000000000..c1339aa4b --- /dev/null +++ b/community-staging/xdebug/PKGBUILD @@ -0,0 +1,45 @@ +# $Id: PKGBUILD 69914 2012-04-26 14:48:04Z foutrelis $ +# Maintainer: Sergej Pupykin +# Maintainer: Jonathan Wiersma +# Contributor: Jonathan Wiersma +# Contributor: sracker + +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-staging/xdebug/xdebug-5.2.ini b/community-staging/xdebug/xdebug-5.2.ini new file mode 100644 index 000000000..9beb7fc30 --- /dev/null +++ b/community-staging/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-staging/xdebug/xdebug.ini b/community-staging/xdebug/xdebug.ini new file mode 100644 index 000000000..c6c9222ea --- /dev/null +++ b/community-staging/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-staging/xdebug/xdebug.install b/community-staging/xdebug/xdebug.install new file mode 100644 index 000000000..a7ec0b9cc --- /dev/null +++ b/community-staging/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 +} -- cgit v1.2.3-54-g00ecf