[116577] trunk/dports/lang/php
ryandesign at macports.org
ryandesign at macports.org
Tue Jan 28 23:10:25 PST 2014
Revision: 116577
https://trac.macports.org/changeset/116577
Author: ryandesign at macports.org
Date: 2014-01-28 23:10:25 -0800 (Tue, 28 Jan 2014)
Log Message:
-----------
php: add php56 version 5.6.0alpha1
Modified Paths:
--------------
trunk/dports/lang/php/Portfile
Added Paths:
-----------
trunk/dports/lang/php/files/patch-php56-ext-gd-config.m4.diff
trunk/dports/lang/php/files/patch-php56-iODBC.diff
trunk/dports/lang/php/files/patch-php56-sapi-fpm-php-fpm.conf.in.diff
trunk/dports/lang/php/files/patch-php56-scripts-php-config.in.diff
trunk/dports/lang/php/files/patch-php56-unixODBC.diff
trunk/dports/lang/php/files/php56
Modified: trunk/dports/lang/php/Portfile
===================================================================
--- trunk/dports/lang/php/Portfile 2014-01-29 07:03:01 UTC (rev 116576)
+++ trunk/dports/lang/php/Portfile 2014-01-29 07:10:25 UTC (rev 116577)
@@ -21,7 +21,7 @@
scripting.
# The list of PHP branches this port provides.
-php.branches 5.3 5.4 5.5
+php.branches 5.3 5.4 5.5 5.6
# Fix for users specifying the subport name with the wrong case.
set subport [string tolower ${subport}]
@@ -97,15 +97,15 @@
# When this becomes a stable version, remove the overrides for homepage,
# master_sites and livecheck, and update php.latest_stable_branch in the
# php-1.1 portgroup.
- version 5.6.x
+ version 5.6.0alpha1
homepage http://qa.php.net/
- master_sites http://downloads.php.net/dsp/
+ master_sites http://downloads.php.net/tyrael/
use_xz yes
set suhosin_available no
checksums ${distname}${extract.suffix} \
- md5 00000000000000000000000000000000 \
- rmd160 0000000000000000000000000000000000000000 \
- sha256 0000000000000000000000000000000000000000000000000000000000000000
+ md5 4ce1be1e400fa061426285933e8f2cf5 \
+ rmd160 5b6dd48c1a392da39c5d9292cef9cd4cc099cc18 \
+ sha256 87ce2f03a8c318a3abbd16b700594c274ca145426e3b1c2a5583c366511c636f
livecheck.url ${homepage}
livecheck.regex php-([strsed ${subport_branch} {g/\\./\\./}](?:\\.\[0-9.\]+)*(?:(?:alpha|beta|RC)\\d+|-latest))\\.tar
}
Copied: trunk/dports/lang/php/files/patch-php56-ext-gd-config.m4.diff (from rev 116542, trunk/dports/lang/php/files/patch-php55-ext-gd-config.m4.diff)
===================================================================
--- trunk/dports/lang/php/files/patch-php56-ext-gd-config.m4.diff (rev 0)
+++ trunk/dports/lang/php/files/patch-php56-ext-gd-config.m4.diff 2014-01-29 07:10:25 UTC (rev 116577)
@@ -0,0 +1,56 @@
+--- ext/gd/config.m4.orig 2014-01-08 04:15:20.000000000 -0600
++++ ext/gd/config.m4 2014-01-10 15:48:08.000000000 -0600
+@@ -75,7 +75,7 @@
+ AC_DEFUN([PHP_GD_VPX],[
+ if test "$PHP_VPX_DIR" != "no"; then
+
+- for i in $PHP_VPX_DIR /usr/local /usr; do
++ for i in $PHP_VPX_DIR; do
+ test -f $i/include/vpx_codec.h || test -f $i/include/vpx/vpx_codec.h && GD_VPX_DIR=$i && break
+ done
+
+@@ -101,7 +101,7 @@
+ AC_DEFUN([PHP_GD_JPEG],[
+ if test "$PHP_JPEG_DIR" != "no"; then
+
+- for i in $PHP_JPEG_DIR /usr/local /usr; do
++ for i in $PHP_JPEG_DIR; do
+ test -f $i/include/jpeglib.h && GD_JPEG_DIR=$i && break
+ done
+
+@@ -126,7 +126,7 @@
+ AC_DEFUN([PHP_GD_PNG],[
+ if test "$PHP_PNG_DIR" != "no"; then
+
+- for i in $PHP_PNG_DIR /usr/local /usr; do
++ for i in $PHP_PNG_DIR; do
+ test -f $i/include/png.h && GD_PNG_DIR=$i && break
+ done
+
+@@ -157,7 +157,7 @@
+ AC_DEFUN([PHP_GD_XPM],[
+ if test "$PHP_XPM_DIR" != "no"; then
+
+- for i in $PHP_XPM_DIR /usr/local /usr/X11R6 /usr; do
++ for i in $PHP_XPM_DIR; do
+ test -f $i/include/xpm.h && GD_XPM_DIR=$i && GD_XPM_INC=$i && break
+ test -f $i/include/X11/xpm.h && GD_XPM_DIR=$i && GD_XPM_INC=$i/X11 && break
+ done
+@@ -184,7 +184,7 @@
+ AC_DEFUN([PHP_GD_FREETYPE2],[
+ if test "$PHP_FREETYPE_DIR" != "no"; then
+
+- for i in $PHP_FREETYPE_DIR /usr/local /usr; do
++ for i in $PHP_FREETYPE_DIR; do
+ if test -f "$i/bin/freetype-config"; then
+ FREETYPE2_DIR=$i
+ FREETYPE2_CONFIG="$i/bin/freetype-config"
+@@ -212,7 +212,7 @@
+ AC_DEFUN([PHP_GD_T1LIB],[
+ if test "$PHP_T1LIB" != "no"; then
+
+- for i in $PHP_T1LIB /usr/local /usr; do
++ for i in $PHP_T1LIB; do
+ test -f "$i/include/t1lib.h" && GD_T1_DIR=$i && break
+ done
+
Copied: trunk/dports/lang/php/files/patch-php56-iODBC.diff (from rev 116542, trunk/dports/lang/php/files/patch-php55-iODBC.diff)
===================================================================
--- trunk/dports/lang/php/files/patch-php56-iODBC.diff (rev 0)
+++ trunk/dports/lang/php/files/patch-php56-iODBC.diff 2014-01-29 07:10:25 UTC (rev 116577)
@@ -0,0 +1,18 @@
+--- ext/odbc/config.m4.orig 2007-07-31 08:02:00.000000000 -0500
++++ ext/odbc/config.m4 2010-08-05 21:21:54.000000000 -0500
+@@ -99,6 +99,7 @@
+ dnl
+ dnl configure options
+ dnl
++:<<'MACPORTS_DISABLED'
+ if test -z "$ODBC_TYPE"; then
+ PHP_ARG_WITH(adabas,,
+ [ --with-adabas[=DIR] Include Adabas D support [/usr/local]])
+@@ -363,6 +364,7 @@
+ AC_MSG_RESULT([$ext_ouput])
+ fi
+ fi
++MACPORTS_DISABLED
+
+ if test -z "$ODBC_TYPE"; then
+ PHP_ARG_WITH(iodbc,,
Copied: trunk/dports/lang/php/files/patch-php56-sapi-fpm-php-fpm.conf.in.diff (from rev 116542, trunk/dports/lang/php/files/patch-php55-sapi-fpm-php-fpm.conf.in.diff)
===================================================================
--- trunk/dports/lang/php/files/patch-php56-sapi-fpm-php-fpm.conf.in.diff (rev 0)
+++ trunk/dports/lang/php/files/patch-php56-sapi-fpm-php-fpm.conf.in.diff 2014-01-29 07:10:25 UTC (rev 116577)
@@ -0,0 +1,41 @@
+--- a/sapi/fpm/php-fpm.conf.in.orig 2011-10-08 16:04:10.000000000 -0500
++++ b/sapi/fpm/php-fpm.conf.in 2012-02-13 18:51:53.000000000 -0600
+@@ -22,14 +22,14 @@
+ ; Pid file
+ ; Note: the default prefix is @EXPANDED_LOCALSTATEDIR@
+ ; Default Value: none
+-;pid = run/php-fpm.pid
++;pid = run/@PHP@/php-fpm.pid
+
+ ; Error log file
+ ; If it's set to "syslog", log is sent to syslogd instead of being written
+ ; in a local file.
+ ; Note: the default prefix is @EXPANDED_LOCALSTATEDIR@
+ ; Default Value: log/php-fpm.log
+-;error_log = log/php-fpm.log
++error_log = log/@PHP@/php-fpm.log
+
+ ; syslog_facility is used to specify what type of program is logging the
+ ; message. This lets syslogd specify that messages from different facilities
+@@ -42,7 +42,7 @@
+ ; instances running on the same server, you can change the default value
+ ; which must suit common needs.
+ ; Default Value: php-fpm
+-;syslog.ident = php-fpm
++syslog.ident = @PHP at -fpm
+
+ ; Log level
+ ; Possible Values: alert, error, warning, notice, debug
+@@ -76,9 +76,10 @@
+ ; Default Value: 0
+ ; process.max = 128
+
+-; Send FPM to background. Set to 'no' to keep FPM in foreground for debugging.
++; Send FPM to background. Set to 'no' to keep FPM in foreground for debugging
++; or for use with launchd.
+ ; Default Value: yes
+-;daemonize = yes
++daemonize = no
+
+ ; Set open file descriptor rlimit for the master process.
+ ; Default Value: system defined value
Copied: trunk/dports/lang/php/files/patch-php56-scripts-php-config.in.diff (from rev 116542, trunk/dports/lang/php/files/patch-php55-scripts-php-config.in.diff)
===================================================================
--- trunk/dports/lang/php/files/patch-php56-scripts-php-config.in.diff (rev 0)
+++ trunk/dports/lang/php/files/patch-php56-scripts-php-config.in.diff 2014-01-29 07:10:25 UTC (rev 116577)
@@ -0,0 +1,11 @@
+--- a/scripts/php-config.in.orig 2011-05-15 01:09:21.000000000 -0500
++++ b/scripts/php-config.in 2011-10-04 05:45:52.000000000 -0500
+@@ -7,7 +7,7 @@
+ version="@PHP_VERSION@"
+ vernum="@PHP_VERSION_ID@"
+ include_dir="@includedir@/php"
+-includes="-I$include_dir -I$include_dir/main -I$include_dir/TSRM -I$include_dir/Zend -I$include_dir/ext -I$include_dir/ext/date/lib"
++includes="-I$include_dir -I$include_dir/main -I$include_dir/TSRM -I$include_dir/Zend -I$include_dir/ext -I$include_dir/ext/date/lib -I at prefix@/include"
+ ldflags="@PHP_LDFLAGS@"
+ libs="@EXTRA_LIBS@"
+ extension_dir='@EXTENSION_DIR@'
Copied: trunk/dports/lang/php/files/patch-php56-unixODBC.diff (from rev 116542, trunk/dports/lang/php/files/patch-php55-unixODBC.diff)
===================================================================
--- trunk/dports/lang/php/files/patch-php56-unixODBC.diff (rev 0)
+++ trunk/dports/lang/php/files/patch-php56-unixODBC.diff 2014-01-29 07:10:25 UTC (rev 116577)
@@ -0,0 +1,18 @@
+--- ext/odbc/config.m4.orig 2007-07-31 08:02:00.000000000 -0500
++++ ext/odbc/config.m4 2009-12-12 20:32:00.000000000 -0600
+@@ -99,6 +99,7 @@
+ dnl
+ dnl configure options
+ dnl
++:<<'MACPORTS_DISABLED'
+ if test -z "$ODBC_TYPE"; then
+ PHP_ARG_WITH(adabas,,
+ [ --with-adabas[=DIR] Include Adabas D support [/usr/local]])
+@@ -404,6 +405,7 @@
+ AC_MSG_RESULT([$ext_output])
+ fi
+ fi
++MACPORTS_DISABLED
+
+ if test -z "$ODBC_TYPE"; then
+ PHP_ARG_WITH(unixODBC,,
Copied: trunk/dports/lang/php/files/php56 (from rev 116542, trunk/dports/lang/php/files/php55)
===================================================================
--- trunk/dports/lang/php/files/php56 (rev 0)
+++ trunk/dports/lang/php/files/php56 2014-01-29 07:10:25 UTC (rev 116577)
@@ -0,0 +1,6 @@
+bin/php56
+bin/php-config56
+bin/phpize56
+share/man/man1/php56.1.gz
+share/man/man1/php-config56.1.gz
+share/man/man1/phpize56.1.gz
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20140128/cf09076f/attachment-0001.html>
More information about the macports-changes
mailing list