Let's wait and see if anyone really needs 7.0 itself and then I guess we can switch 7.0 with 7.1
On (2016-12-19 19:24), Martijn van Duren wrote: > PHP 5.6 support will drop support after 7.0[1], so having 7.0 and 7.1 > after 5.6 dies seems highly unlikely to me. > Considering the minor backwards incompatible differences between 7.0 and > 7.1[2] what about throwing out 7.0 in favor of 7.1 if the 3 stable PHP > version are too much? I'd like to use some 7.1 features and would hate > to wait another 2 years before having them in OpenBSD. > > martijn@ > > [1] http://php.net/supported-versions.php > [2] http://php.net/manual/en/migration71.incompatible.php > > On 12/19/16 11:33, Robert Nagy wrote: > > I think we should not have this, there is just too much php already. > > 5.6 and 7.0 should be enough and when 5.6 dies we can have 7.1 and 7.0. > > > > On (2016-12-16 21:22), Martijn van Duren wrote: > >> Hello ports@, > >> > >> Here's my attempt at importing PHP 7.1. This is my first ports attempt, > >> so I might have overlooked some things. > >> Builds, packages, and runs for me. > >> OK? > >> > >> martijn@ > >> > >> Index: Makefile.inc > >> =================================================================== > >> RCS file: /cvs/ports/lang/php/Makefile.inc,v > >> retrieving revision 1.88 > >> diff -u -p -r1.88 Makefile.inc > >> --- Makefile.inc 4 Nov 2016 11:35:19 -0000 1.88 > >> +++ Makefile.inc 8 Dec 2016 12:27:42 -0000 > >> @@ -44,7 +44,7 @@ INI_TEMPLATES?= development production > >> # don't have. > >> USE_LIBTOOL?= No > >> > >> -.if ${PV} != "7.0" > >> +.if ${PV} != "7.0" && ${PV} != "7.1" > >> FLAVORS= no_suhosin > >> .endif > >> FLAVOR?= > >> @@ -144,7 +144,7 @@ MULTI_PACKAGES+= -gd > >> COMMENT-gd= image manipulation extensions for php5 > >> LIB_DEPENDS-gd= graphics/jpeg \ > >> graphics/png > >> -.if ${PV} != "7.0" > >> +.if ${PV} != "7.0" && ${PV} != "7.1" > >> LIB_DEPENDS-gd+= devel/t1lib > >> WANTLIB-gd+= t1>=5 > >> .endif > >> @@ -194,7 +194,7 @@ CONFIGURE_ARGS+= --with-mcrypt=shared,${ > >> LIB_DEPENDS-mcrypt= security/libmcrypt devel/libtool,-ltdl > >> WANTLIB-mcrypt= mcrypt ltdl>=1 pthread > >> > >> -.if ${PV} != "7.0" > >> +.if ${PV} != "7.0" && ${PV} != "7.1" > >> # mysql > >> MULTI_PACKAGES+= -mysql > >> COMMENT-mysql= mysql database access extensions for php5 > >> @@ -276,7 +276,7 @@ CONFIGURE_ARGS+= --with-snmp=shared,${LO > >> LIB_DEPENDS-snmp= net/net-snmp > >> WANTLIB-snmp= crypto m netsnmp>=6.2 pthread > >> > >> -.if ${PV} != "7.0" > >> +.if ${PV} != "7.0" && ${PV} != "7.1" > >> # sybase-ct > >> MULTI_PACKAGES+= -sybase_ct > >> COMMENT-sybase_ct= sybase database access extensions for php5 > >> @@ -292,7 +292,7 @@ CONFIGURE_ARGS+= --with-pdo-dblib > >> LIB_DEPENDS-pdo_dblib= databases/freetds > >> WANTLIB-pdo_dblib= sybdb>=6 pthread > >> > >> -.if ${PV} != "7.0" > >> +.if ${PV} != "7.0" && ${PV} != "7.1" > >> # mssql > >> MULTI_PACKAGES+= -mssql > >> COMMENT-mssql= microsoft sql access extensions for php5 > >> @@ -350,7 +350,7 @@ LIB_DEPENDS-fastcgi= ${LIB_DEPENDS-main} > >> RUN_DEPENDS-fastcgi= > >> > >> SUHOSIN_V= 0.9.38 > >> -.if ${FLAVOR:Mno_suhosin} || ${PV} == "7.0" > >> +.if ${FLAVOR:Mno_suhosin} || ${PV} == "7.0" || ${PV} == "7.1" > >> SUPDISTFILES= suhosin-${SUHOSIN_V}.tar.gz:0 > >> .else > >> DISTFILES+= suhosin-${SUHOSIN_V}.tar.gz:0 > >> @@ -406,7 +406,7 @@ post-install: > >> ${INSTALL_MAN} ${WRKBUILD}/sapi/fpm/php-fpm.8 > >> ${PREFIX}/man/man8/php-fpm-${PV}.8 > >> ${INSTALL_DATA} ${WRKBUILD}/sapi/fpm/php-fpm.conf \ > >> ${PREFIX}/share/examples/php-${PV}/php-fpm.conf > >> -.if ${PV} == "7.0" > >> +.if ${PV} == "7.0" && ${PV} == "7.1" > >> cat ${WRKBUILD}/sapi/fpm/www.conf >> \ > >> ${PREFIX}/share/examples/php-${PV}/php-fpm.conf > >> .endif > > > >