--- PKGBUILD 2006-05-29 12:09:55.000000000 +0200 +++ PKGBUILD 2006-08-04 12:31:06.000000000 +0200 @@ -11,11 +11,13 @@ 'gdbm' 'libxml2' 'openldap' 'ncurses' 'curl' 'libxslt') makedepends=('apache>=2.0.55-1' 'mysql>=5.0.15' 'imap' 'postgresql' 'bzip2' \ 'smtp-server' 'gd' 'sqlite3' 'unixodbc') -source=(http://www.php.net/distributions/$pkgname-$pkgver.tar.gz php.ini) -md5sums=('7c846aa09ec1fe0f54a57c8ba030d9f8' 'ac837bdeafa7fdef33e70fc3d7753164') +source=(http://www.php.net/distributions/$pkgname-$pkgver.tar.gz php.ini \ + http://www.hardened-php.net/$pkgname-$pkgver-security-fix-5.patch.gz) +md5sums=('7c846aa09ec1fe0f54a57c8ba030d9f8' 'ac837bdeafa7fdef33e70fc3d7753164' '4b035d6e519ac7062ea37a0e9b80fbdb') build() { cd $startdir/src/$pkgname-$pkgver + patch -p 1 -i ../$pkgname-$pkgver-security-fix-5.patch ./configure --with-apxs2 --prefix=/usr --sysconfdir=/etc \ --with-layout=PHP \ --with-ttf --enable-mailparse --with-config-file-scan-dir=/etc \