From cae7b71196612d90c08c39ba2bdc8d0d974aa412 Mon Sep 17 00:00:00 2001 From: Florian Pritz Date: Sun, 17 Jan 2010 11:59:51 +0100 Subject: mass updates/adds Signed-off-by: Florian Pritz --- php-suhosin/PKGBUILD | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 php-suhosin/PKGBUILD (limited to 'php-suhosin') 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 + +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 +} -- cgit v1.2.3-24-g4f1b