diff options
author | root <root@rshg054.dnsready.net> | 2012-04-28 00:01:35 +0000 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2012-04-28 00:01:35 +0000 |
commit | 00f77ef3b2b7856520daba393370f67b773c2184 (patch) | |
tree | ac5b63574a95d0d851e012957254f7456ced564f /community-staging | |
parent | 5233daa5825f00ccf0722ef9733ea6b3bbd44bc8 (diff) |
Sat Apr 28 00:01:35 UTC 2012
Diffstat (limited to 'community-staging')
-rw-r--r-- | community-staging/php-geoip/PKGBUILD | 32 | ||||
-rw-r--r-- | community-staging/php-memcache/PKGBUILD | 33 | ||||
-rw-r--r-- | community-staging/php-memcache/php-memcache.install | 10 | ||||
-rw-r--r-- | community-staging/php-memcached/PKGBUILD | 32 | ||||
-rw-r--r-- | community-staging/xdebug/PKGBUILD | 45 | ||||
-rw-r--r-- | community-staging/xdebug/xdebug-5.2.ini | 5 | ||||
-rw-r--r-- | community-staging/xdebug/xdebug.ini | 5 | ||||
-rw-r--r-- | community-staging/xdebug/xdebug.install | 18 |
8 files changed, 180 insertions, 0 deletions
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 <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-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 <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-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 <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-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 <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-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 +} |