Commit e80ed2f9 authored by Natanael Copa's avatar Natanael Copa

main/php: upgrade to 5.3.1

parent bfad4a15
# Contributor: Carlo Landmeter <clandmeter at gmail>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=php
pkgver=5.3.0
_suhosinver=${pkgver}-0.9.8
pkgrel=3
pkgver=5.3.1
_suhosinver=${pkgver}RC1-0.9.8
pkgrel=0
pkgdesc="The PHP language runtime engine"
url="http://www.php.net/"
license="PHP-3"
......@@ -63,7 +63,6 @@ subpackages="$pkgname-dev $pkgname-doc
source="http://www.php.net/distributions/${pkgname}-${pkgver}.tar.bz2
http://download.suhosin.org/suhosin-patch-${_suhosinver}.patch.gz
gd-info-segfault.patch
"
build() {
......@@ -73,9 +72,6 @@ build() {
gunzip -c ${srcdir}/suhosin-patch-${_suhosinver}.patch.gz \
| patch -p1 || return 1
# fix gd segfault; http://bugs.php.net/bug.php?id=49193
patch -p0 -i ${srcdir}/gd-info-segfault.patch || return 1
phpextensions="--enable-bcmath=shared \
--enable-calendar=shared \
--enable-dba=shared \
......@@ -236,6 +232,5 @@ dev() {
mv "$pkgdir"/usr/bin/phpize "$subpkgdir"/usr/bin/
}
md5sums="846760cd655c98dfd86d6d97c3d964b0 php-5.3.0.tar.bz2
a23a3d54e177ac0ad30f78d928ba8177 suhosin-patch-5.3.0-0.9.8.patch.gz
1c1a50aae7207b12d27bdecd8967e7ce gd-info-segfault.patch"
md5sums="63e97ad450f0f7259e785100b634c797 php-5.3.1.tar.bz2
c3ff0cb5fa728420d56f8ed139446647 suhosin-patch-5.3.1RC1-0.9.8.patch.gz"
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment