summaryrefslogtreecommitdiffstats
path: root/main/php/APKBUILD
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2012-07-25 09:36:24 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2012-08-02 09:44:50 +0000
commitc97b873c864697b97e44f5643e44f6848b00e9aa (patch)
tree7d7013c3dbf7fdbedfa6f2e59a6c7c5e1f60cd90 /main/php/APKBUILD
parent70f1e866bf8ad78cff14ad5e96c489469d532c36 (diff)
downloadaports-c97b873c864697b97e44f5643e44f6848b00e9aa.tar.bz2
aports-c97b873c864697b97e44f5643e44f6848b00e9aa.tar.xz
main/php: security upgrade to 5.3.15 (CVE-2012-2688,CVE-2012-3365)
fixes #1268
Diffstat (limited to 'main/php/APKBUILD')
-rw-r--r--main/php/APKBUILD20
1 files changed, 6 insertions, 14 deletions
diff --git a/main/php/APKBUILD b/main/php/APKBUILD
index 0795a362c..ace9db2c8 100644
--- a/main/php/APKBUILD
+++ b/main/php/APKBUILD
@@ -1,7 +1,7 @@
# Contributor: Carlo Landmeter <clandmeter@gmail.com>
# Maintainer: Matt Smith <mcs@darkregion.net>
pkgname=php
-pkgver=5.3.12
+pkgver=5.3.15
_suhosinver=5.3.9-0.9.10
pkgrel=3
pkgdesc="The PHP language runtime engine"
@@ -284,21 +284,13 @@ dev() {
doc() {
# man pages
- mkdir -p "$subpkgdir"/usr/share/man || return 1
- mv "$pkgdir"/usr/share/man/man* "$subpkgdir"/usr/share/man/ \
- || return 1
+ default_doc || return 1
+ cd "$srcdir"/$pkgname-$pkgver
# doc files
_docs="CODING_STANDARDS CREDITS EXTENSIONS INSTALL LICENSE NEWS \
- README.EXTENSIONS README.EXT_SKEL README.MAILINGLIST_RULES \
- README.PARAMETER_PARSING_API README.PHP4-TO-PHP5-THIN-CHANGES \
- README.REDIST.BINS README.RELEASE_PROCESS \
- README.SELF-CONTAINED-EXTENSIONS README.STREAMS \
- README.SUBMITTING_PATCH README.SVN-RULES README.TESTING \
- README.TESTING2 README.UNIX-BUILD-SYSTEM README.Zeus \
- README.input_filter README.namespaces TODO TODO-5.1 \
- TODO-PHP5 UPGRADING UPGRADING.INTERNALS"
- for _doc in $_docs; do
+ TODO TODO-5.1 TODO-PHP5 UPGRADING UPGRADING.INTERNALS"
+ for _doc in $_docs README.*; do
install -Dm644 "$srcdir"/$pkgname-$pkgver/$_doc \
"$subpkgdir"/usr/share/doc/$pkgname/$_doc || return 1
done
@@ -444,7 +436,7 @@ mssql() { _mv_ext mssql; }
pdo_dblib() { _mv_ext pdo_dblib "php-pdo freetds"; }
wddx() { _mv_ext wddx; }
-md5sums="cf02c29be279c506cbd4ffc2819d7c82 php-5.3.12.tar.bz2
+md5sums="5cfcfd0fa4c4da7576f397073e7993cc php-5.3.15.tar.bz2
c099b3d7eac95018ababd41ded7f3066 suhosin-patch-5.3.9-0.9.10.patch.gz
5111e3be06d391f8772587c675240fab php-install-pear-xml.patch
9ab162ff3428511a68aa9801c746e0d5 php-fpm.initd