diff options
author | Florian Pritz <bluewind@xssn.at> | 2010-05-17 12:04:10 +0200 |
---|---|---|
committer | Florian Pritz <bluewind@xssn.at> | 2010-05-17 12:04:10 +0200 |
commit | 545b0b7de32c86264d4ec1eb7b7610e4c1c85946 (patch) | |
tree | 9ad399ce5176aee3c98f216f54a12a3e6d5290c6 /php-suhosin/PKGBUILD | |
parent | 8dc1d552c0bab7b72371c3a1529e365410c7548c (diff) | |
parent | ac57415603ea60e9af632e70827dffa22cfff584 (diff) | |
download | aur-packages-545b0b7de32c86264d4ec1eb7b7610e4c1c85946.tar.gz aur-packages-545b0b7de32c86264d4ec1eb7b7610e4c1c85946.tar.xz |
Merge branch 'master' of git://git.server-speed.net/~flo/git/aur
Diffstat (limited to 'php-suhosin/PKGBUILD')
-rw-r--r-- | php-suhosin/PKGBUILD | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/php-suhosin/PKGBUILD b/php-suhosin/PKGBUILD new file mode 100644 index 0000000..8925d13 --- /dev/null +++ b/php-suhosin/PKGBUILD @@ -0,0 +1,27 @@ +# $Id$ +# Maintainer: Pierre Schmitz <pierre@archlinux.de> + +pkgname=php-suhosin +pkgver=0.9.29 +pkgrel=1 +arch=('i686' 'x86_64') +pkgdesc='An advanced protection system for PHP installations' +url='http://www.hardened-php.net/suhosin/' +license='PHP' +source=("http://download.suhosin.org/suhosin-${pkgver}.tgz") +depends=('php>=5.3.0') +conflicts=('php-suhosin-extension') +replaces=('php-suhosin-extension') +backup=('etc/php/conf.d/suhosin.ini') +md5sums=('e3c599e7e344e981f935b2dab90592c1') + +build() { + cd ${srcdir}/suhosin-${pkgver} + phpize || return 1 + ./configure --prefix=/usr --enable-suhosin || return 1 + make || return 1 + make INSTALL_ROOT=${pkgdir} install || return 1 + # disable by default + sed -i 's|extension = suhosin.so|;extension=suhosin.so|g' suhosin.ini + install -D -m644 suhosin.ini ${pkgdir}/etc/php/conf.d/suhosin.ini +} |