aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2014-01-16 07:20:09 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2014-01-16 07:25:58 +0000
commit1b04703dbc26fdc081f70edf750a0b77d230e726 (patch)
treed21b30d5a04c22c9285b6a03c3aeebac018c70a1
parent084730934aac6fdbf074c04f3562910391f9b498 (diff)
downloadaports-1b04703dbc26fdc081f70edf750a0b77d230e726.tar.bz2
aports-1b04703dbc26fdc081f70edf750a0b77d230e726.tar.xz
main/php: upgrade to 5.5.8
-rw-r--r--main/php/APKBUILD20
-rw-r--r--main/php/gd-freetype.patch71
2 files changed, 8 insertions, 83 deletions
diff --git a/main/php/APKBUILD b/main/php/APKBUILD
index e047c6508e..c03c935422 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.5.7
+pkgver=5.5.8
pkgrel=0
pkgdesc="The PHP language runtime engine"
url="http://www.php.net/"
@@ -103,12 +103,11 @@ subpackages="$pkgname-dev $pkgname-doc $pkgname-common $pkgname-cgi
$pkgname-opcache
"
-source="http://php.net/distributions/php-$pkgver.tar.xz
+source="http://php.net/distributions/php-$pkgver.tar.bz2
php-fpm.initd
php5-module.conf
php-install-pear-xml.patch
gd-iconv.patch
- gd-freetype.patch
"
_apiver="20121113"
@@ -486,21 +485,18 @@ pdo_dblib() { _mv_ext pdo_dblib "php-pdo freetds"; }
wddx() { _mv_ext wddx; }
opcache() { _mv_ext opcache; }
-md5sums="0c02437f661105221e99a301a5275a41 php-5.5.7.tar.xz
+md5sums="42fe814a3cbbf34b21a2c39f66ee0001 php-5.5.8.tar.bz2
9ab162ff3428511a68aa9801c746e0d5 php-fpm.initd
67719f428f44ec004da18705cbabe2ee php5-module.conf
483bc0a85c50a9a9aedbe14a19ed4526 php-install-pear-xml.patch
-162d8d079944387eab2bc80edab347ae gd-iconv.patch
-448db98e97fbbc033cca4a1c1a28f1dd gd-freetype.patch"
-sha256sums="b7bae5d878b8fc3f4b481eb8f2179b5e71d30dfb3bc3640a5068c1b46633f08c php-5.5.7.tar.xz
+162d8d079944387eab2bc80edab347ae gd-iconv.patch"
+sha256sums="6d5f45659d13383fc8429f185cc9da0b30c7bb72dcae9baf568f0511eb7f8b68 php-5.5.8.tar.bz2
96e68f7c545adcac56ed1f5824b33041e270680ca884a9cfe27e7f4ac8abfd3b php-fpm.initd
ceec4d5b2a128c6a97e49830af604f0bb555bca1a86a9cd0366b828ba392257f php5-module.conf
f739ca427a1dd53a388bad0823565299c5d4a5796b1171b892884e4d7d099bab php-install-pear-xml.patch
-6122bf279cdb7c387dd000761b2426969a73cf63a10a132aa98a79eb1dd259b2 gd-iconv.patch
-2216833e6458c3aad35f8eacc5d61412f452ac06616bcbdef42ec7ecb7db62f0 gd-freetype.patch"
-sha512sums="f175f879adc551d72ad2eaf9414fc2fa235e5a18168077686108227148f2986cc44516dec0932a4d817f09624ffa59c424d8a6ca964e86f35ce8c4b35f5b6483 php-5.5.7.tar.xz
+6122bf279cdb7c387dd000761b2426969a73cf63a10a132aa98a79eb1dd259b2 gd-iconv.patch"
+sha512sums="19749ee988d24838dd7b9de825ec839cc0125d2ee55f063504a75216503ec1fd3bf7cc3da5cd40140c826fe2ca9a734d7f7f5320fb2a2a8d78231a61178a7e22 php-5.5.8.tar.bz2
33247a1c9188eba893bb0be13456eeeec9b971c7f482a4e2bd0f318fb63d8c67d379a021840768bef8e4d630be859c5bdb424c1e90b9b816ec691c078147e915 php-fpm.initd
895e94c791bd82060ad820fef049d366a09c932097faa6b7b9a2c2e9e00a18cb7c0f9b128679c7659b404379266fd0f95dba5c0333f626194cf60f7bf6044102 php5-module.conf
f1177cbf6b1f44402f421c3d317aab1a2a40d0b1209c11519c1158df337c8945f3a313d689c939768584f3e4edbe52e8bd6103fb6777462326a9d94e8ab1f505 php-install-pear-xml.patch
-59443fb464f49ff7d9b64739df982e7240f9d4792226d96ad1538286945125fc7eb6f0cab88b64d5c81ee3679fd89bffdca59ebd20eca2778ab801ee54529028 gd-iconv.patch
-eaa272e558d38667c66064db53a20a285b7231605472ebda63379c0e951837d2f1e3017b105fd74ba5dc8452f3d2e30feb4c58a2d07486372a0d8dca0677db75 gd-freetype.patch"
+59443fb464f49ff7d9b64739df982e7240f9d4792226d96ad1538286945125fc7eb6f0cab88b64d5c81ee3679fd89bffdca59ebd20eca2778ab801ee54529028 gd-iconv.patch"
diff --git a/main/php/gd-freetype.patch b/main/php/gd-freetype.patch
deleted file mode 100644
index 44382925fa..0000000000
--- a/main/php/gd-freetype.patch
+++ /dev/null
@@ -1,71 +0,0 @@
-From a0955f351c7eb1022da7ae36970ffef3b00c8aff Mon Sep 17 00:00:00 2001
-From: Adam Harvey <aharvey@php.net>
-Date: Sat, 7 Dec 2013 19:39:40 -0800
-Subject: [PATCH] Switch to using freetype-config for freetype detection.
-
-This fixes GD compilation against libfreetype 2.5.1 and later after they made
-the rather interesting decision to change their include directory layout in a
-point release.
-
-The original suggestion in the bug was to use pkg-config, but my inclination is
-to use freetype-config instead: we should be able to get the same configuration
-information without actually needing pkg-config installed, since pkg-config is
-by no means guaranteed to exist on many Unices and distros, whereas
-freetype-config should always be present if a libfreetype build environment is
-installed. Let's try it out and see what happens.
-
-Fixes bug #64405 (Use freetype-config for determining freetype2 dir(s)).
----
- NEWS | 4 ++++
- ext/gd/config.m4 | 27 +++++++++++----------------
- 2 files changed, 15 insertions(+), 16 deletions(-)
-
-diff --git a/ext/gd/config.m4 b/ext/gd/config.m4
-index 0e35ece..732e14c 100644
---- a/ext/gd/config.m4
-+++ b/ext/gd/config.m4
-@@ -193,30 +193,25 @@ AC_DEFUN([PHP_GD_FREETYPE2],[
- if test "$PHP_FREETYPE_DIR" != "no"; then
-
- for i in $PHP_FREETYPE_DIR /usr/local /usr; do
-- if test -f "$i/include/freetype2/freetype/freetype.h"; then
-+ if test -f "$i/bin/freetype-config"; then
- FREETYPE2_DIR=$i
-- FREETYPE2_INC_DIR=$i/include/freetype2
-+ FREETYPE2_CONFIG="$i/bin/freetype-config"
- break
- fi
- done
-
- if test -z "$FREETYPE2_DIR"; then
-- AC_MSG_ERROR([freetype.h not found.])
-+ AC_MSG_ERROR([freetype-config not found.])
- fi
-
-- PHP_CHECK_LIBRARY(freetype, FT_New_Face,
-- [
-- PHP_ADD_LIBRARY_WITH_PATH(freetype, $FREETYPE2_DIR/$PHP_LIBDIR, GD_SHARED_LIBADD)
-- PHP_ADD_INCLUDE($FREETYPE2_DIR/include)
-- PHP_ADD_INCLUDE($FREETYPE2_INC_DIR)
-- AC_DEFINE(USE_GD_IMGSTRTTF, 1, [ ])
-- AC_DEFINE(HAVE_LIBFREETYPE,1,[ ])
-- AC_DEFINE(ENABLE_GD_TTF,1,[ ])
-- ],[
-- AC_MSG_ERROR([Problem with freetype.(a|so). Please check config.log for more information.])
-- ],[
-- -L$FREETYPE2_DIR/$PHP_LIBDIR
-- ])
-+ FREETYPE2_CFLAGS=`$FREETYPE2_CONFIG --cflags`
-+ FREETYPE2_LIBS=`$FREETYPE2_CONFIG --libs`
-+
-+ PHP_EVAL_INCLINE($FREETYPE2_CFLAGS)
-+ PHP_EVAL_LIBLINE($FREETYPE2_LIBS, GD_SHARED_LIBADD)
-+ AC_DEFINE(USE_GD_IMGSTRTTF, 1, [ ])
-+ AC_DEFINE(HAVE_LIBFREETYPE,1,[ ])
-+ AC_DEFINE(ENABLE_GD_TTF,1,[ ])
- else
- AC_MSG_RESULT([If configure fails try --with-freetype-dir=<DIR>])
- fi
---
-1.8.5.1
-