<pre style='margin:0'>
Ryan Schmidt (ryandesign) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/689eb9baf3c6e936726a275a8c2928c2c6dc43d8">https://github.com/macports/macports-ports/commit/689eb9baf3c6e936726a275a8c2928c2c6dc43d8</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit 689eb9baf3c6e936726a275a8c2928c2c6dc43d8
</span>Author: Ryan Schmidt <ryandesign@macports.org>
AuthorDate: Wed Dec 2 15:21:21 2020 -0600
<span style='display:block; white-space:pre;color:#404040;'> php80: New subports, version 8.0.0
</span>---
_resources/port1.0/group/php-1.1.tcl | 4 +-
lang/php/Portfile | 81 +++++++++++++++++++---
lang/php/files/patch-php80-iODBC.diff | 18 +++++
.../patch-php80-sapi-fpm-php-fpm.conf.in.diff | 39 +++++++++++
.../files/patch-php80-scripts-php-config.in.diff | 11 +++
lang/php/files/patch-php80-unixODBC.diff | 18 +++++
lang/php/files/php80 | 6 ++
7 files changed, 164 insertions(+), 13 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/_resources/port1.0/group/php-1.1.tcl b/_resources/port1.0/group/php-1.1.tcl
</span><span style='display:block; white-space:pre;color:#808080;'>index b3cd25b9833..82dcead2bf6 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/_resources/port1.0/group/php-1.1.tcl
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/_resources/port1.0/group/php-1.1.tcl
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -11,7 +11,7 @@ default categories php
</span> # built. For unified extension ports (name begins with "php-") setting
# php.branches is mandatory; there is no default. Example:
#
<span style='display:block; white-space:pre;background:#ffe0e0;'>-# php.branches 5.3 5.4 5.5 5.6 7.0 7.1 7.2 7.3 7.4
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# php.branches 5.3 5.4 5.5 5.6 7.0 7.1 7.2 7.3 7.4 8.0
</span> #
# For unified ports, setting php.branches will create the subports.
#
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -101,7 +101,7 @@ proc php._set_name {option action args} {
</span> # when the php port is updated.
options php.latest_stable_branch
<span style='display:block; white-space:pre;background:#ffe0e0;'>-default php.latest_stable_branch 7.4
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+default php.latest_stable_branch 8.0
</span>
# php.default_branch: the branch of PHP for which the port should be installed
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/lang/php/Portfile b/lang/php/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 8a232651bda..d4c9c04d752 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/lang/php/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/lang/php/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -21,7 +21,7 @@ long_description PHP is a widely-used general-purpose scripting \
</span> scripting.
# The list of PHP branches this port provides.
<span style='display:block; white-space:pre;background:#ffe0e0;'>-php.branches 5.2 5.3 5.4 5.5 5.6 7.0 7.1 7.2 7.3 7.4
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+php.branches 5.2 5.3 5.4 5.5 5.6 7.0 7.1 7.2 7.3 7.4 8.0
</span>
# Fix for users specifying the subport name with the wrong case.
set subport [string tolower ${subport}]
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -157,13 +157,19 @@ switch ${subport_branch} {
</span> size 10319848
}
8.0 {
<span style='display:block; white-space:pre;background:#e0ffe0;'>+ epoch 2
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ version 8.0.0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ use_xz yes
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ checksums rmd160 d74dd22b1a8af74e138bdca3a9623588f614ff8f \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sha256 b5278b3eef584f0c075d15666da4e952fa3859ee509d6b0cc2ed13df13f65ebb \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ size 10726788
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ 8.1 {
</span> # 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.
<span style='display:block; white-space:pre;background:#ffe0e0;'>- #
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- # php-8.0.0: release is set to Nov 26, 2020
</span> epoch 0
<span style='display:block; white-space:pre;background:#ffe0e0;'>- version 8.0.0beta3
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ version 8.1.0alpha1
</span> homepage https://qa.php.net/
master_sites https://downloads.php.net/~carusogabriel/
use_xz yes
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -176,7 +182,7 @@ switch ${subport_branch} {
</span> }
# https://www.php.net/eol.php
<span style='display:block; white-space:pre;background:#ffe0e0;'>-set php.oldest_supported_branch 7.2
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+set php.oldest_supported_branch 7.3
</span>
# Iterate through branches in reverse order, so that the list of subports in
# "port info" will show newer versions before older versions.
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -195,6 +201,11 @@ if {[vercmp ${major} 5] > 0} {
</span> dist_subdir php${major}
}
<span style='display:block; white-space:pre;background:#e0ffe0;'>+if {[vercmp ${branch} 8.0] == 0} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # https://bugs.php.net/80197
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.cppflags-replace -I${prefix}/include -isystem${prefix}/include
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> if {[is_sapi_subport]} {
depends_build port:pkgconfig
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -365,6 +376,7 @@ subport ${php} {
</span> 7.2.34 {revision 0}
7.3.25 {revision 0}
7.4.13 {revision 0}
<span style='display:block; white-space:pre;background:#e0ffe0;'>+ 8.0.0 {revision 0}
</span> }
depends_run port:php_select
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -384,10 +396,12 @@ subport ${php} {
</span> patchfiles-append patch-${php}-icu-61.diff
}
<span style='display:block; white-space:pre;background:#e0ffe0;'>+ if {[vercmp ${branch} 8.0] < 0} {
</span> post-patch {
# Ensure the build date is the same for all universal archs.
reinplace "s|^PHP_BUILD_DATE=.*$|PHP_BUILD_DATE=[clock format [clock seconds] -format {%Y-%m-%d}]|g" ${worksrcpath}/configure
}
<span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span>
configure.args-replace --disable-cli --enable-cli
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -512,6 +526,7 @@ subport ${php}-apache2handler {
</span> 7.2.34 {revision 0}
7.3.25 {revision 0}
7.4.13 {revision 0}
<span style='display:block; white-space:pre;background:#e0ffe0;'>+ 8.0.0 {revision 0}
</span> }
description ${php} Apache 2 Handler SAPI
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -530,8 +545,14 @@ subport ${php}-apache2handler {
</span>
configure.args-append --with-apxs2=${apxs}
<span style='display:block; white-space:pre;background:#ffe0e0;'>- build.target libs/libphp${major}.bundle
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if {[vercmp ${branch} 8.0] < 0} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set bundle_major ${major}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ } else {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set bundle_major {}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ build.target libs/libphp${bundle_major}.bundle
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> if {[vercmp ${branch} 5.3] < 0} {
# PHP earlier than 5.3 is not compatible with Apache 2.4 or later, and
# earlier versions of Apache were removed from MacPorts. Might be able
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -542,9 +563,9 @@ subport ${php}-apache2handler {
</span>
destroot {
xinstall -m 755 -d ${destroot}${moduledir} ${destroot}${confdir}/extra
<span style='display:block; white-space:pre;background:#ffe0e0;'>- xinstall -m 644 ${worksrcpath}/libs/libphp${major}.so ${destroot}${moduledir}/mod_${php}.so
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ xinstall -m 644 ${worksrcpath}/libs/libphp${bundle_major}.so ${destroot}${moduledir}/mod_${php}.so
</span> xinstall -m 644 ${filespath}/mod_php.conf.in ${destroot}${confdir}/extra/mod_${php}.conf
<span style='display:block; white-space:pre;background:#ffe0e0;'>- reinplace s/@MAJOR@/${major}/g ${destroot}${confdir}/extra/mod_${php}.conf
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ reinplace s/@MAJOR@/${bundle_major}/g ${destroot}${confdir}/extra/mod_${php}.conf
</span> }
notes-append "
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -552,7 +573,7 @@ subport ${php}-apache2handler {
</span> To enable ${subport}, run:
cd ${moduledir}
<span style='display:block; white-space:pre;background:#ffe0e0;'>- sudo ${apxs} -a -e -n php${major} mod_${php}.so
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sudo ${apxs} -a -e -n php${bundle_major} mod_${php}.so
</span> "
}
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -570,6 +591,7 @@ subport ${php}-cgi {
</span> 7.2.34 {revision 0}
7.3.25 {revision 0}
7.4.13 {revision 0}
<span style='display:block; white-space:pre;background:#e0ffe0;'>+ 8.0.0 {revision 0}
</span> }
description ${php} CGI SAPI
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -610,6 +632,7 @@ subport ${php}-fpm {
</span> 7.2.34 {revision 0}
7.3.25 {revision 0}
7.4.13 {revision 0}
<span style='display:block; white-space:pre;background:#e0ffe0;'>+ 8.0.0 {revision 0}
</span> }
description ${php} FPM SAPI
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -679,6 +702,7 @@ subport ${php}-calendar {
</span> 7.2.34 {revision 0}
7.3.25 {revision 0}
7.4.13 {revision 0}
<span style='display:block; white-space:pre;background:#e0ffe0;'>+ 8.0.0 {revision 0}
</span> }
description a PHP extension for converting between different \
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -699,6 +723,7 @@ subport ${php}-curl {
</span> 7.2.34 {revision 0}
7.3.25 {revision 0}
7.4.13 {revision 0}
<span style='display:block; white-space:pre;background:#e0ffe0;'>+ 8.0.0 {revision 0}
</span> }
categories-append net www
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -731,6 +756,7 @@ subport ${php}-dba {
</span> 7.2.34 {revision 0}
7.3.25 {revision 0}
7.4.13 {revision 0}
<span style='display:block; white-space:pre;background:#e0ffe0;'>+ 8.0.0 {revision 0}
</span> }
categories-append databases
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -763,6 +789,7 @@ subport ${php}-enchant {
</span> 7.2.34 {revision 0}
7.3.25 {revision 0}
7.4.13 {revision 0}
<span style='display:block; white-space:pre;background:#e0ffe0;'>+ 8.0.0 {revision 0}
</span> }
categories-append textproc devel
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -772,6 +799,10 @@ subport ${php}-enchant {
</span> long_description ${name} is ${description}, a common API for many spell libraries.
depends_lib-append port:enchant
<span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if {[vercmp ${branch} 8.0] >= 0} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ extract.post_args-append ${worksrcdir}/ext/spl
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span>
if {[vercmp ${branch} 7.4] < 0} {
configure.args-append --with-enchant=${prefix}
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -808,6 +839,7 @@ subport ${php}-exif {
</span> 7.2.34 {revision 0}
7.3.25 {revision 0}
7.4.13 {revision 0}
<span style='display:block; white-space:pre;background:#e0ffe0;'>+ 8.0.0 {revision 0}
</span> }
categories-append graphics
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -829,6 +861,7 @@ subport ${php}-ftp {
</span> 7.2.34 {revision 0}
7.3.25 {revision 0}
7.4.13 {revision 0}
<span style='display:block; white-space:pre;background:#e0ffe0;'>+ 8.0.0 {revision 0}
</span> }
categories-append net
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -864,6 +897,7 @@ subport ${php}-gd {
</span> 7.2.34 {revision 0}
7.3.25 {revision 0}
7.4.13 {revision 0}
<span style='display:block; white-space:pre;background:#e0ffe0;'>+ 8.0.0 {revision 0}
</span> }
categories-append graphics
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -926,6 +960,7 @@ subport ${php}-gettext {
</span> 7.2.34 {revision 0}
7.3.25 {revision 0}
7.4.13 {revision 0}
<span style='display:block; white-space:pre;background:#e0ffe0;'>+ 8.0.0 {revision 0}
</span> }
categories-append devel
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -952,6 +987,7 @@ subport ${php}-gmp {
</span> 7.2.34 {revision 0}
7.3.25 {revision 0}
7.4.13 {revision 0}
<span style='display:block; white-space:pre;background:#e0ffe0;'>+ 8.0.0 {revision 0}
</span> }
categories-append devel math
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -983,6 +1019,7 @@ subport ${php}-iconv {
</span> 7.2.34 {revision 0}
7.3.25 {revision 0}
7.4.13 {revision 0}
<span style='display:block; white-space:pre;background:#e0ffe0;'>+ 8.0.0 {revision 0}
</span> }
categories-append textproc
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -1009,6 +1046,7 @@ subport ${php}-imap {
</span> 7.2.34 {revision 0}
7.3.25 {revision 0}
7.4.13 {revision 0}
<span style='display:block; white-space:pre;background:#e0ffe0;'>+ 8.0.0 {revision 0}
</span> }
categories-append mail
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -1046,6 +1084,7 @@ subport ${php}-intl {
</span> 7.2.34 {revision 0}
7.3.25 {revision 0}
7.4.13 {revision 0}
<span style='display:block; white-space:pre;background:#e0ffe0;'>+ 8.0.0 {revision 0}
</span> }
categories-append devel
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -1089,6 +1128,7 @@ subport ${php}-ipc {
</span> 7.2.34 {revision 0}
7.3.25 {revision 0}
7.4.13 {revision 0}
<span style='display:block; white-space:pre;background:#e0ffe0;'>+ 8.0.0 {revision 0}
</span> }
php.extensions shmop sysvmsg sysvsem sysvshm
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -1111,6 +1151,7 @@ subport ${php}-ldap {
</span> 7.2.34 {revision 0}
7.3.25 {revision 0}
7.4.13 {revision 0}
<span style='display:block; white-space:pre;background:#e0ffe0;'>+ 8.0.0 {revision 0}
</span> }
categories-append databases
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -1147,6 +1188,7 @@ subport ${php}-mbstring {
</span> 7.2.34 {revision 0}
7.3.25 {revision 0}
7.4.13 {revision 0}
<span style='display:block; white-space:pre;background:#e0ffe0;'>+ 8.0.0 {revision 0}
</span> }
categories-append textproc
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -1232,6 +1274,7 @@ subport ${php}-mysql {
</span> 7.2.34 {revision 0}
7.3.25 {revision 0}
7.4.13 {revision 0}
<span style='display:block; white-space:pre;background:#e0ffe0;'>+ 8.0.0 {revision 0}
</span> }
php.extensions mysqli pdo_mysql
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -1395,6 +1438,7 @@ subport ${php}-odbc {
</span> 7.2.34 {revision 0}
7.3.25 {revision 0}
7.4.13 {revision 0}
<span style='display:block; white-space:pre;background:#e0ffe0;'>+ 8.0.0 {revision 0}
</span> }
php.extensions odbc pdo_odbc
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -1455,6 +1499,7 @@ if {[vercmp ${branch} 5.5] >= 0} {
</span> 7.2.34 {revision 0}
7.3.25 {revision 0}
7.4.13 {revision 0}
<span style='display:block; white-space:pre;background:#e0ffe0;'>+ 8.0.0 {revision 0}
</span> }
php.extensions.zend opcache
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -1494,6 +1539,7 @@ subport ${php}-openssl {
</span> 7.2.34 {revision 0}
7.3.25 {revision 0}
7.4.13 {revision 0}
<span style='display:block; white-space:pre;background:#e0ffe0;'>+ 8.0.0 {revision 0}
</span> }
categories-append devel security
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -1548,6 +1594,7 @@ subport ${php}-oracle {
</span> 7.2.34 {revision 0}
7.3.25 {revision 0}
7.4.13 {revision 0}
<span style='display:block; white-space:pre;background:#e0ffe0;'>+ 8.0.0 {revision 0}
</span> }
php.extensions oci8 pdo_oci
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -1586,6 +1633,7 @@ subport ${php}-pcntl {
</span> 7.2.34 {revision 0}
7.3.25 {revision 0}
7.4.13 {revision 0}
<span style='display:block; white-space:pre;background:#e0ffe0;'>+ 8.0.0 {revision 0}
</span> }
categories-append sysutils
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -1615,6 +1663,7 @@ subport ${php}-posix {
</span> 7.2.34 {revision 0}
7.3.25 {revision 0}
7.4.13 {revision 0}
<span style='display:block; white-space:pre;background:#e0ffe0;'>+ 8.0.0 {revision 0}
</span> }
categories-append sysutils
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -1638,6 +1687,7 @@ subport ${php}-postgresql {
</span> 7.2.34 {revision 0}
7.3.25 {revision 0}
7.4.13 {revision 0}
<span style='display:block; white-space:pre;background:#e0ffe0;'>+ 8.0.0 {revision 0}
</span> }
php.extensions pgsql pdo_pgsql
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -1766,6 +1816,7 @@ subport ${php}-pspell {
</span> 7.2.34 {revision 0}
7.3.25 {revision 0}
7.4.13 {revision 0}
<span style='display:block; white-space:pre;background:#e0ffe0;'>+ 8.0.0 {revision 0}
</span> }
categories-append textproc
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -1792,6 +1843,7 @@ subport ${php}-snmp {
</span> 7.2.34 {revision 0}
7.3.25 {revision 0}
7.4.13 {revision 0}
<span style='display:block; white-space:pre;background:#e0ffe0;'>+ 8.0.0 {revision 0}
</span> }
categories-append sysutils
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -1818,6 +1870,7 @@ subport ${php}-soap {
</span> 7.2.34 {revision 0}
7.3.25 {revision 0}
7.4.13 {revision 0}
<span style='display:block; white-space:pre;background:#e0ffe0;'>+ 8.0.0 {revision 0}
</span> }
categories-append net
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -1847,6 +1900,7 @@ subport ${php}-sockets {
</span> 7.2.34 {revision 0}
7.3.25 {revision 0}
7.4.13 {revision 0}
<span style='display:block; white-space:pre;background:#e0ffe0;'>+ 8.0.0 {revision 0}
</span> }
categories-append net
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -1863,6 +1917,7 @@ subport ${php}-sodium {
</span> 7.2.34 {revision 0}
7.3.25 {revision 0}
7.4.13 {revision 0}
<span style='display:block; white-space:pre;background:#e0ffe0;'>+ 8.0.0 {revision 0}
</span> }
php.extensions sodium
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -1898,6 +1953,7 @@ subport ${php}-sqlite {
</span> 7.2.34 {revision 0}
7.3.25 {revision 0}
7.4.13 {revision 0}
<span style='display:block; white-space:pre;background:#e0ffe0;'>+ 8.0.0 {revision 0}
</span> }
php.extensions sqlite sqlite3 pdo_sqlite
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -1946,6 +2002,7 @@ subport ${php}-tidy {
</span> 7.2.34 {revision 0}
7.3.25 {revision 0}
7.4.13 {revision 0}
<span style='display:block; white-space:pre;background:#e0ffe0;'>+ 8.0.0 {revision 0}
</span> }
categories-append www
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -1965,7 +2022,6 @@ subport ${php}-tidy {
</span> }
if {[vercmp ${branch} 7.4] < 0} {
<span style='display:block; white-space:pre;background:#ffe0e0;'>-# wddx was evicted from PHP core in version 7.4
</span> subport ${php}-wddx {
switch -- ${version} {
5.2.17 {revision 0}
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -1993,6 +2049,7 @@ subport ${php}-wddx {
</span> }
}
<span style='display:block; white-space:pre;background:#e0ffe0;'>+if {[vercmp ${branch} 8.0] < 0} {
</span> subport ${php}-xmlrpc {
switch -- ${version} {
5.2.17 {revision 0}
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -2033,6 +2090,7 @@ subport ${php}-xmlrpc {
</span> configure.cppflags-append [exec ${prefix}/bin/xml2-config --cflags]
}
}
<span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span>
subport ${php}-xsl {
switch -- ${version} {
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -2046,6 +2104,7 @@ subport ${php}-xsl {
</span> 7.2.34 {revision 0}
7.3.25 {revision 0}
7.4.13 {revision 0}
<span style='display:block; white-space:pre;background:#e0ffe0;'>+ 8.0.0 {revision 0}
</span> }
categories-append textproc
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/lang/php/files/patch-php80-iODBC.diff b/lang/php/files/patch-php80-iODBC.diff
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 00000000000..ff43da7921f
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/lang/php/files/patch-php80-iODBC.diff
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,18 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- ext/odbc/config.m4.orig 2020-11-24 11:04:03.000000000 -0600
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ ext/odbc/config.m4 2020-12-02 16:00:42.000000000 -0600
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -99,6 +99,7 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ be defined.])],
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ [0x0350])
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++:<<'MACPORTS_DISABLED'
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if test -z "$ODBC_TYPE"; then
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ PHP_ARG_WITH([adabas],,
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ [AS_HELP_STRING([[--with-adabas[=DIR]]],
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -314,6 +315,7 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ fi
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ fi
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++MACPORTS_DISABLED
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if test -z "$ODBC_TYPE"; then
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ PHP_ARG_WITH([iodbc],,
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ [AS_HELP_STRING([--with-iodbc],
</span><span style='display:block; white-space:pre;color:#808080;'>diff --git a/lang/php/files/patch-php80-sapi-fpm-php-fpm.conf.in.diff b/lang/php/files/patch-php80-sapi-fpm-php-fpm.conf.in.diff
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 00000000000..acdfeb5cce5
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/lang/php/files/patch-php80-sapi-fpm-php-fpm.conf.in.diff
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,39 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- a/sapi/fpm/php-fpm.conf.in.orig 2020-11-24 11:04:03.000000000 -0600
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ b/sapi/fpm/php-fpm.conf.in 2020-12-02 15:27:04.000000000 -0600
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -14,14 +14,14 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ; Pid file
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ; Note: the default prefix is @EXPANDED_LOCALSTATEDIR@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ; Default Value: none
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-;pid = run/php-fpm.pid
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++;pid = run/@PHP@/php-fpm.pid
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ; Error log file
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ; If it's set to "syslog", log is sent to syslogd instead of being written
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ; into a local file.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ; Note: the default prefix is @EXPANDED_LOCALSTATEDIR@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ; Default Value: log/php-fpm.log
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-;error_log = log/php-fpm.log
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++error_log = log/@PHP@/php-fpm.log
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ; syslog_facility is used to specify what type of program is logging the
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ; message. This lets syslogd specify that messages from different facilities
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -34,7 +34,7 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ; instances running on the same server, you can change the default value
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ; which must suit common needs.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ; Default Value: php-fpm
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-;syslog.ident = php-fpm
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++syslog.ident = @PHP@-fpm
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ; Log level
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ; Possible Values: alert, error, warning, notice, debug
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -95,8 +95,9 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ; process.priority = -19
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ; Send FPM to background. Set to 'no' to keep FPM in foreground for debugging.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++; or for use with launchd.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ; Default Value: yes
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-;daemonize = yes
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++daemonize = no
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ; Set open file descriptor rlimit for the master process.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ; Default Value: system defined value
</span><span style='display:block; white-space:pre;color:#808080;'>diff --git a/lang/php/files/patch-php80-scripts-php-config.in.diff b/lang/php/files/patch-php80-scripts-php-config.in.diff
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 00000000000..0f4315bbbb7
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/lang/php/files/patch-php80-scripts-php-config.in.diff
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,11 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- a/scripts/php-config.in.orig 2011-05-15 01:09:21.000000000 -0500
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ b/scripts/php-config.in 2011-10-04 05:45:52.000000000 -0500
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -7,7 +7,7 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ version="@PHP_VERSION@"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ vernum="@PHP_VERSION_ID@"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ include_dir="@includedir@/php"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-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"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++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@prefix@/include"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ldflags="@PHP_LDFLAGS@"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ libs="@EXTRA_LIBS@"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ extension_dir='@EXTENSION_DIR@'
</span><span style='display:block; white-space:pre;color:#808080;'>diff --git a/lang/php/files/patch-php80-unixODBC.diff b/lang/php/files/patch-php80-unixODBC.diff
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 00000000000..6f86edd9fd4
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/lang/php/files/patch-php80-unixODBC.diff
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,18 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- ext/odbc/config.m4.orig 2020-11-24 11:04:03.000000000 -0600
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ ext/odbc/config.m4 2020-12-02 15:27:32.000000000 -0600
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -99,6 +99,7 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ be defined.])],
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ [0x0350])
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++:<<'MACPORTS_DISABLED'
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if test -z "$ODBC_TYPE"; then
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ PHP_ARG_WITH([adabas],,
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ [AS_HELP_STRING([[--with-adabas[=DIR]]],
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -355,6 +356,7 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ fi
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ fi
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++MACPORTS_DISABLED
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if test -z "$ODBC_TYPE"; then
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ PHP_ARG_WITH([unixODBC],,
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ [AS_HELP_STRING([--with-unixODBC],
</span><span style='display:block; white-space:pre;color:#808080;'>diff --git a/lang/php/files/php80 b/lang/php/files/php80
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 00000000000..d65aeb82991
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/lang/php/files/php80
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,6 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+bin/php80
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+bin/php-config80
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+bin/phpize80
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+share/man/man1/php80.1.gz
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+share/man/man1/php-config80.1.gz
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+share/man/man1/phpize80.1.gz
</span></pre><pre style='margin:0'>
</pre>