Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 24 Jan 2017 11:54:20 +0000 (UTC)
From:      Torsten Zuehlsdorff <tz@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r432324 - in head: archivers/php71-bz2 archivers/php71-phar archivers/php71-zip archivers/php71-zlib converters/php71-iconv converters/php71-mbstring converters/php71-recode databases/p...
Message-ID:  <201701241154.v0OBsKaN088157@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: tz
Date: Tue Jan 24 11:54:20 2017
New Revision: 432324
URL: https://svnweb.freebsd.org/changeset/ports/432324

Log:
  Add PHP 7.1
  
  Thanks to: mat, pi, ale, martin@waschbuesch.de and franco@opnsense.org

Added:
  head/archivers/php71-bz2/
     - copied from r431675, head/archivers/php70-bz2/
  head/archivers/php71-phar/
     - copied from r431675, head/archivers/php70-phar/
  head/archivers/php71-zip/
     - copied from r431675, head/archivers/php70-zip/
  head/archivers/php71-zlib/
     - copied from r431675, head/archivers/php70-zlib/
  head/converters/php71-iconv/
     - copied from r431675, head/converters/php70-iconv/
  head/converters/php71-mbstring/
     - copied from r431675, head/converters/php70-mbstring/
  head/converters/php71-recode/
     - copied from r431675, head/converters/php70-recode/
  head/databases/php71-dba/
     - copied from r431675, head/databases/php70-dba/
  head/databases/php71-interbase/
     - copied from r431675, head/databases/php70-interbase/
  head/databases/php71-mysqli/
     - copied from r431675, head/databases/php70-mysqli/
  head/databases/php71-odbc/
     - copied from r431675, head/databases/php70-odbc/
  head/databases/php71-pdo/
     - copied from r431675, head/databases/php70-pdo/
  head/databases/php71-pdo_dblib/
     - copied from r431675, head/databases/php70-pdo_dblib/
  head/databases/php71-pdo_firebird/
     - copied from r431675, head/databases/php70-pdo_firebird/
  head/databases/php71-pdo_mysql/
     - copied from r431675, head/databases/php70-pdo_mysql/
  head/databases/php71-pdo_odbc/
     - copied from r431675, head/databases/php70-pdo_odbc/
  head/databases/php71-pdo_pgsql/
     - copied from r431675, head/databases/php70-pdo_pgsql/
  head/databases/php71-pdo_sqlite/
     - copied from r431675, head/databases/php70-pdo_sqlite/
  head/databases/php71-pgsql/
     - copied from r431675, head/databases/php70-pgsql/
  head/databases/php71-sqlite3/
     - copied from r431675, head/databases/php70-sqlite3/
  head/devel/php71-gettext/
     - copied from r431675, head/devel/php70-gettext/
  head/devel/php71-intl/
     - copied from r431675, head/devel/php70-intl/
  head/devel/php71-json/
     - copied from r431675, head/devel/php70-json/
  head/devel/php71-pcntl/
     - copied from r431675, head/devel/php70-pcntl/
  head/devel/php71-readline/
     - copied from r431675, head/devel/php70-readline/
  head/devel/php71-shmop/
     - copied from r431675, head/devel/php70-shmop/
  head/devel/php71-sysvmsg/
     - copied from r431675, head/devel/php70-sysvmsg/
  head/devel/php71-sysvsem/
     - copied from r431675, head/devel/php70-sysvsem/
  head/devel/php71-sysvshm/
     - copied from r431675, head/devel/php70-sysvshm/
  head/devel/php71-tokenizer/
     - copied from r431675, head/devel/php70-tokenizer/
  head/ftp/php71-curl/
     - copied from r431675, head/ftp/php70-curl/
  head/ftp/php71-ftp/
     - copied from r431675, head/ftp/php70-ftp/
  head/graphics/php71-exif/
     - copied from r431675, head/graphics/php70-exif/
  head/graphics/php71-gd/
     - copied from r431675, head/graphics/php70-gd/
  head/lang/php71/
  head/lang/php71-extensions/
     - copied from r431675, head/lang/php70-extensions/
  head/lang/php71/Makefile   (contents, props changed)
  head/lang/php71/Makefile.ext   (contents, props changed)
  head/lang/php71/distinfo   (contents, props changed)
  head/lang/php71/files/
  head/lang/php71/files/patch-Makefile.global   (contents, props changed)
  head/lang/php71/files/patch-acinclude.m4   (contents, props changed)
  head/lang/php71/files/patch-configure.in   (contents, props changed)
  head/lang/php71/files/patch-main__php_config.h.in   (contents, props changed)
  head/lang/php71/files/patch-sapi_apache2handler_config.m4   (contents, props changed)
  head/lang/php71/files/patch-sapi_fpm_config.m4   (contents, props changed)
  head/lang/php71/files/php-fpm.in   (contents, props changed)
  head/lang/php71/pkg-descr   (contents, props changed)
  head/lang/php71/pkg-message.mod   (contents, props changed)
  head/lang/php71/pkg-plist   (contents, props changed)
  head/lang/php71/pkg-plist.mod   (contents, props changed)
  head/mail/php71-imap/
     - copied from r431675, head/mail/php70-imap/
  head/math/php71-bcmath/
     - copied from r431675, head/math/php70-bcmath/
  head/math/php71-gmp/
     - copied from r431675, head/math/php70-gmp/
  head/misc/php71-calendar/
     - copied from r431675, head/misc/php70-calendar/
  head/net-mgmt/php71-snmp/
     - copied from r431675, head/net-mgmt/php70-snmp/
  head/net/php71-ldap/
     - copied from r431675, head/net/php70-ldap/
  head/net/php71-soap/
     - copied from r431675, head/net/php70-soap/
  head/net/php71-sockets/
     - copied from r431675, head/net/php70-sockets/
  head/net/php71-xmlrpc/
     - copied from r431675, head/net/php70-xmlrpc/
  head/security/php71-filter/
     - copied from r431675, head/security/php70-filter/
  head/security/php71-hash/
     - copied from r431675, head/security/php70-hash/
  head/security/php71-hash/files/
  head/security/php71-hash/files/patch-php__hash__sha3.h   (contents, props changed)
  head/security/php71-mcrypt/
     - copied from r431675, head/security/php70-mcrypt/
  head/security/php71-openssl/
     - copied from r431675, head/security/php70-openssl/
  head/sysutils/php71-fileinfo/
     - copied from r431675, head/sysutils/php70-fileinfo/
  head/sysutils/php71-posix/
     - copied from r431675, head/sysutils/php70-posix/
  head/textproc/php71-ctype/
     - copied from r431675, head/textproc/php70-ctype/
  head/textproc/php71-dom/
     - copied from r431675, head/textproc/php70-dom/
  head/textproc/php71-enchant/
     - copied from r431675, head/textproc/php70-enchant/
  head/textproc/php71-pspell/
     - copied from r431675, head/textproc/php70-pspell/
  head/textproc/php71-simplexml/
     - copied from r431675, head/textproc/php70-simplexml/
  head/textproc/php71-wddx/
     - copied from r431675, head/textproc/php70-wddx/
  head/textproc/php71-xml/
     - copied from r431675, head/textproc/php70-xml/
  head/textproc/php71-xmlreader/
     - copied from r431675, head/textproc/php70-xmlreader/
  head/textproc/php71-xmlwriter/
     - copied from r431675, head/textproc/php70-xmlwriter/
  head/textproc/php71-xsl/
     - copied from r431675, head/textproc/php70-xsl/
  head/www/php71-opcache/
     - copied from r431675, head/www/php70-opcache/
  head/www/php71-session/
     - copied from r431675, head/www/php70-session/
  head/www/php71-tidy/
     - copied from r431675, head/www/php70-tidy/
Modified:
  head/archivers/php71-bz2/Makefile
  head/archivers/php71-phar/Makefile
  head/archivers/php71-zip/Makefile
  head/archivers/php71-zlib/Makefile
  head/converters/php71-iconv/Makefile
  head/converters/php71-mbstring/Makefile
  head/converters/php71-recode/Makefile
  head/databases/php71-dba/Makefile
  head/databases/php71-interbase/Makefile
  head/databases/php71-mysqli/Makefile
  head/databases/php71-odbc/Makefile
  head/databases/php71-odbc/files/patch-config.m4
  head/databases/php71-pdo/Makefile
  head/databases/php71-pdo_dblib/Makefile
  head/databases/php71-pdo_firebird/Makefile
  head/databases/php71-pdo_mysql/Makefile
  head/databases/php71-pdo_odbc/Makefile
  head/databases/php71-pdo_pgsql/Makefile
  head/databases/php71-pdo_sqlite/Makefile
  head/databases/php71-pgsql/Makefile
  head/databases/php71-sqlite3/Makefile
  head/devel/php71-gettext/Makefile
  head/devel/php71-intl/Makefile
  head/devel/php71-json/Makefile
  head/devel/php71-pcntl/Makefile
  head/devel/php71-readline/Makefile
  head/devel/php71-shmop/Makefile
  head/devel/php71-sysvmsg/Makefile
  head/devel/php71-sysvsem/Makefile
  head/devel/php71-sysvshm/Makefile
  head/devel/php71-tokenizer/Makefile
  head/ftp/php71-curl/Makefile
  head/ftp/php71-ftp/Makefile
  head/graphics/php71-exif/Makefile
  head/graphics/php71-gd/Makefile
  head/lang/php71-extensions/Makefile
  head/lang/php71-extensions/pkg-descr
  head/mail/php71-imap/Makefile
  head/math/php71-bcmath/Makefile
  head/math/php71-gmp/Makefile
  head/misc/php71-calendar/Makefile
  head/net-mgmt/php71-snmp/Makefile
  head/net/php71-ldap/Makefile
  head/net/php71-soap/Makefile
  head/net/php71-sockets/Makefile
  head/net/php71-xmlrpc/Makefile
  head/security/php71-filter/Makefile
  head/security/php71-hash/Makefile
  head/security/php71-mcrypt/Makefile
  head/security/php71-openssl/Makefile
  head/sysutils/php71-fileinfo/Makefile
  head/sysutils/php71-posix/Makefile
  head/textproc/php71-ctype/Makefile
  head/textproc/php71-dom/Makefile
  head/textproc/php71-enchant/Makefile
  head/textproc/php71-pspell/Makefile
  head/textproc/php71-simplexml/Makefile
  head/textproc/php71-wddx/Makefile
  head/textproc/php71-xml/Makefile
  head/textproc/php71-xmlreader/Makefile
  head/textproc/php71-xmlwriter/Makefile
  head/textproc/php71-xsl/Makefile
  head/www/php71-opcache/Makefile
  head/www/php71-session/Makefile
  head/www/php71-tidy/Makefile

Modified: head/archivers/php71-bz2/Makefile
==============================================================================
--- head/archivers/php70-bz2/Makefile	Mon Jan 16 16:12:47 2017	(r431675)
+++ head/archivers/php71-bz2/Makefile	Tue Jan 24 11:54:20 2017	(r432324)
@@ -1,9 +1,8 @@
-# Created by: Alex Dupre <ale@FreeBSD.org>
 # $FreeBSD$
 
 CATEGORIES=	archivers
 
-MASTERDIR=	${.CURDIR}/../../lang/php70
+MASTERDIR=	${.CURDIR}/../../lang/php71
 
 PKGNAMESUFFIX=	-bz2
 

Modified: head/archivers/php71-phar/Makefile
==============================================================================
--- head/archivers/php70-phar/Makefile	Mon Jan 16 16:12:47 2017	(r431675)
+++ head/archivers/php71-phar/Makefile	Tue Jan 24 11:54:20 2017	(r432324)
@@ -1,9 +1,8 @@
-# Created by: Alex Dupre <ale@FreeBSD.org>
 # $FreeBSD$
 
 CATEGORIES=	archivers
 
-MASTERDIR=	${.CURDIR}/../../lang/php70
+MASTERDIR=	${.CURDIR}/../../lang/php71
 
 PKGNAMESUFFIX=	-phar
 

Modified: head/archivers/php71-zip/Makefile
==============================================================================
--- head/archivers/php70-zip/Makefile	Mon Jan 16 16:12:47 2017	(r431675)
+++ head/archivers/php71-zip/Makefile	Tue Jan 24 11:54:20 2017	(r432324)
@@ -1,9 +1,8 @@
-# Created by: Alex Dupre <ale@FreeBSD.org>
 # $FreeBSD$
 
 CATEGORIES=	archivers
 
-MASTERDIR=	${.CURDIR}/../../lang/php70
+MASTERDIR=	${.CURDIR}/../../lang/php71
 
 PKGNAMESUFFIX=	-zip
 

Modified: head/archivers/php71-zlib/Makefile
==============================================================================
--- head/archivers/php70-zlib/Makefile	Mon Jan 16 16:12:47 2017	(r431675)
+++ head/archivers/php71-zlib/Makefile	Tue Jan 24 11:54:20 2017	(r432324)
@@ -1,9 +1,8 @@
-# Created by: Alex Dupre <ale@FreeBSD.org>
 # $FreeBSD$
 
 CATEGORIES=	archivers
 
-MASTERDIR=	${.CURDIR}/../../lang/php70
+MASTERDIR=	${.CURDIR}/../../lang/php71
 
 PKGNAMESUFFIX=	-zlib
 

Modified: head/converters/php71-iconv/Makefile
==============================================================================
--- head/converters/php70-iconv/Makefile	Mon Jan 16 16:12:47 2017	(r431675)
+++ head/converters/php71-iconv/Makefile	Tue Jan 24 11:54:20 2017	(r432324)
@@ -1,9 +1,8 @@
-# Created by: Alex Dupre <ale@FreeBSD.org>
 # $FreeBSD$
 
 CATEGORIES=	converters
 
-MASTERDIR=	${.CURDIR}/../../lang/php70
+MASTERDIR=	${.CURDIR}/../../lang/php71
 
 PKGNAMESUFFIX=	-iconv
 

Modified: head/converters/php71-mbstring/Makefile
==============================================================================
--- head/converters/php70-mbstring/Makefile	Mon Jan 16 16:12:47 2017	(r431675)
+++ head/converters/php71-mbstring/Makefile	Tue Jan 24 11:54:20 2017	(r432324)
@@ -1,9 +1,8 @@
-# Created by: Alex Dupre <ale@FreeBSD.org>
 # $FreeBSD$
 
 CATEGORIES=	converters
 
-MASTERDIR=	${.CURDIR}/../../lang/php70
+MASTERDIR=	${.CURDIR}/../../lang/php71
 
 PKGNAMESUFFIX=	-mbstring
 

Modified: head/converters/php71-recode/Makefile
==============================================================================
--- head/converters/php70-recode/Makefile	Mon Jan 16 16:12:47 2017	(r431675)
+++ head/converters/php71-recode/Makefile	Tue Jan 24 11:54:20 2017	(r432324)
@@ -1,9 +1,8 @@
-# Created by: Alex Dupre <ale@FreeBSD.org>
 # $FreeBSD$
 
 CATEGORIES=	converters
 
-MASTERDIR=	${.CURDIR}/../../lang/php70
+MASTERDIR=	${.CURDIR}/../../lang/php71
 
 PKGNAMESUFFIX=	-recode
 

Modified: head/databases/php71-dba/Makefile
==============================================================================
--- head/databases/php70-dba/Makefile	Mon Jan 16 16:12:47 2017	(r431675)
+++ head/databases/php71-dba/Makefile	Tue Jan 24 11:54:20 2017	(r432324)
@@ -1,9 +1,8 @@
-# Created by: Alex Dupre <ale@FreeBSD.org>
 # $FreeBSD$
 
 CATEGORIES=	databases
 
-MASTERDIR=	${.CURDIR}/../../lang/php70
+MASTERDIR=	${.CURDIR}/../../lang/php71
 
 PKGNAMESUFFIX=	-dba
 

Modified: head/databases/php71-interbase/Makefile
==============================================================================
--- head/databases/php70-interbase/Makefile	Mon Jan 16 16:12:47 2017	(r431675)
+++ head/databases/php71-interbase/Makefile	Tue Jan 24 11:54:20 2017	(r432324)
@@ -1,11 +1,8 @@
-# Created by: Alex Dupre <ale@FreeBSD.org>
 # $FreeBSD$
 
 CATEGORIES=	databases
 
-MASTERDIR=	${.CURDIR}/../../lang/php70
-
-PORTREVISION=	1
+MASTERDIR=	${.CURDIR}/../../lang/php71
 
 PKGNAMESUFFIX=	-interbase
 

Modified: head/databases/php71-mysqli/Makefile
==============================================================================
--- head/databases/php70-mysqli/Makefile	Mon Jan 16 16:12:47 2017	(r431675)
+++ head/databases/php71-mysqli/Makefile	Tue Jan 24 11:54:20 2017	(r432324)
@@ -1,12 +1,9 @@
-# Created by: Alex Dupre <ale@FreeBSD.org>
 # $FreeBSD$
 
 CATEGORIES=	databases
 
-MASTERDIR=	${.CURDIR}/../../lang/php70
+MASTERDIR=	${.CURDIR}/../../lang/php71
 
 PKGNAMESUFFIX=	-mysqli
 
-PORTREVISION=	1
-
 .include "${MASTERDIR}/Makefile"

Modified: head/databases/php71-odbc/Makefile
==============================================================================
--- head/databases/php70-odbc/Makefile	Mon Jan 16 16:12:47 2017	(r431675)
+++ head/databases/php71-odbc/Makefile	Tue Jan 24 11:54:20 2017	(r432324)
@@ -1,9 +1,8 @@
-# Created by: Alex Dupre <ale@FreeBSD.org>
 # $FreeBSD$
 
 CATEGORIES=	databases
 
-MASTERDIR=	${.CURDIR}/../../lang/php70
+MASTERDIR=	${.CURDIR}/../../lang/php71
 
 PKGNAMESUFFIX=	-odbc
 

Modified: head/databases/php71-odbc/files/patch-config.m4
==============================================================================
--- head/databases/php70-odbc/files/patch-config.m4	Mon Jan 16 16:12:47 2017	(r431675)
+++ head/databases/php71-odbc/files/patch-config.m4	Tue Jan 24 11:54:20 2017	(r432324)
@@ -1,6 +1,6 @@
---- config.m4.orig	2015-04-15 18:05:57.000000000 +0000
-+++ config.m4	2015-04-26 12:08:54.914235064 +0000
-@@ -100,13 +100,17 @@
+--- config.m4.orig	2016-10-25 15:23:21 UTC
++++ config.m4
+@@ -100,13 +100,17 @@ dnl
  dnl configure options
  dnl
  
@@ -9,8 +9,8 @@
 +
 +
  PHP_ARG_WITH(odbcver,,
- [  --with-odbcver[=HEX]      Force support for the passed ODBC version. A hex number is expected, default 0x0300.
-                              Use the special value of 0 to prevent an explicit ODBCVER to be defined. ], 0x0300)
+ [  --with-odbcver[=HEX]      Force support for the passed ODBC version. A hex number is expected, default 0x0350.
+                              Use the special value of 0 to prevent an explicit ODBCVER to be defined. ], 0x0350)
  
  if test -z "$ODBC_TYPE"; then
  PHP_ARG_WITH(adabas,,
@@ -19,7 +19,7 @@
  
    AC_MSG_CHECKING([for Adabas support])
    if test "$PHP_ADABAS" != "no"; then
-@@ -135,7 +139,7 @@
+@@ -135,7 +139,7 @@ fi
  
  if test -z "$ODBC_TYPE"; then
  PHP_ARG_WITH(sapdb,,
@@ -28,7 +28,7 @@
  
    AC_MSG_CHECKING([for SAP DB support])
    if test "$PHP_SAPDB" != "no"; then
-@@ -155,7 +159,7 @@
+@@ -155,7 +159,7 @@ fi
  
  if test -z "$ODBC_TYPE"; then
  PHP_ARG_WITH(solid,,
@@ -37,7 +37,7 @@
  
    AC_MSG_CHECKING(for Solid support)
    if test "$PHP_SOLID" != "no"; then
-@@ -182,7 +186,7 @@
+@@ -182,7 +186,7 @@ fi
  
  if test -z "$ODBC_TYPE"; then
  PHP_ARG_WITH(ibm-db2,,
@@ -46,7 +46,7 @@
  
    AC_MSG_CHECKING(for IBM DB2 support)
    if test "$PHP_IBM_DB2" != "no"; then
-@@ -221,7 +225,7 @@
+@@ -221,7 +225,7 @@ fi
  
  if test -z "$ODBC_TYPE"; then
  PHP_ARG_WITH(ODBCRouter,,
@@ -55,7 +55,7 @@
  
    AC_MSG_CHECKING(for ODBCRouter.com support)
    if test "$PHP_ODBCROUTER" != "no"; then
-@@ -244,7 +248,7 @@
+@@ -244,7 +248,7 @@ fi
  if test -z "$ODBC_TYPE"; then
  PHP_ARG_WITH(empress,,
  [  --with-empress[=DIR]      Include Empress support [\$EMPRESSPATH]
@@ -64,7 +64,7 @@
  
    AC_MSG_CHECKING(for Empress support)
    if test "$PHP_EMPRESS" != "no"; then
-@@ -270,7 +274,7 @@
+@@ -270,7 +274,7 @@ if test -z "$ODBC_TYPE"; then
  PHP_ARG_WITH(empress-bcs,,
  [  --with-empress-bcs[=DIR]
                            Include Empress Local Access support [\$EMPRESSPATH]
@@ -73,7 +73,7 @@
  
    AC_MSG_CHECKING(for Empress local access support)
    if test "$PHP_EMPRESS_BCS" != "no"; then
-@@ -310,7 +314,7 @@
+@@ -310,7 +314,7 @@ fi
  
  if test -z "$ODBC_TYPE"; then
  PHP_ARG_WITH(birdstep,,
@@ -82,7 +82,7 @@
    
    AC_MSG_CHECKING(for Birdstep support)
    if test "$PHP_BIRDSTEP" != "no"; then
-@@ -366,7 +370,7 @@
+@@ -366,7 +370,7 @@ PHP_ARG_WITH(custom-odbc,,
                            running this configure script:
                              CPPFLAGS=\"-DODBC_QNX -DSQLANY_BUG\"
                              LDFLAGS=-lunix
@@ -91,7 +91,7 @@
  
    AC_MSG_CHECKING(for a custom ODBC support)
    if test "$PHP_CUSTOM_ODBC" != "no"; then
-@@ -388,7 +392,7 @@
+@@ -388,7 +392,7 @@ fi
  
  if test -z "$ODBC_TYPE"; then
  PHP_ARG_WITH(iodbc,,
@@ -100,7 +100,7 @@
  
    AC_MSG_CHECKING(for iODBC support)
    if test "$PHP_IODBC" != "no"; then
-@@ -426,7 +430,7 @@
+@@ -426,7 +430,7 @@ fi
  
  if test -z "$ODBC_TYPE"; then
  PHP_ARG_WITH(esoob,,
@@ -109,7 +109,7 @@
  
    AC_MSG_CHECKING(for Easysoft ODBC-ODBC Bridge support)
    if test "$PHP_ESOOB" != "no"; then
-@@ -448,7 +452,7 @@
+@@ -448,7 +452,7 @@ fi
  
  if test -z "$ODBC_TYPE"; then
  PHP_ARG_WITH(unixODBC,,
@@ -118,7 +118,7 @@
  
    AC_MSG_CHECKING(for unixODBC support)
    if test "$PHP_UNIXODBC" != "no"; then
-@@ -471,7 +475,7 @@
+@@ -471,7 +475,7 @@ fi
  
  if test -z "$ODBC_TYPE"; then
  PHP_ARG_WITH(dbmaker,,

Modified: head/databases/php71-pdo/Makefile
==============================================================================
--- head/databases/php70-pdo/Makefile	Mon Jan 16 16:12:47 2017	(r431675)
+++ head/databases/php71-pdo/Makefile	Tue Jan 24 11:54:20 2017	(r432324)
@@ -1,9 +1,8 @@
-# Created by: Alex Dupre <ale@FreeBSD.org>
 # $FreeBSD$
 
 CATEGORIES=	databases
 
-MASTERDIR=	${.CURDIR}/../../lang/php70
+MASTERDIR=	${.CURDIR}/../../lang/php71
 
 PKGNAMESUFFIX=	-pdo
 

Modified: head/databases/php71-pdo_dblib/Makefile
==============================================================================
--- head/databases/php70-pdo_dblib/Makefile	Mon Jan 16 16:12:47 2017	(r431675)
+++ head/databases/php71-pdo_dblib/Makefile	Tue Jan 24 11:54:20 2017	(r432324)
@@ -1,9 +1,8 @@
-# Created by: Alex Dupre <ale@FreeBSD.org>
 # $FreeBSD$
 
 CATEGORIES=	databases
 
-MASTERDIR=	${.CURDIR}/../../lang/php70
+MASTERDIR=	${.CURDIR}/../../lang/php71
 
 PKGNAMESUFFIX=	-pdo_dblib
 

Modified: head/databases/php71-pdo_firebird/Makefile
==============================================================================
--- head/databases/php70-pdo_firebird/Makefile	Mon Jan 16 16:12:47 2017	(r431675)
+++ head/databases/php71-pdo_firebird/Makefile	Tue Jan 24 11:54:20 2017	(r432324)
@@ -1,9 +1,8 @@
-# Created by: Alex Dupre <ale@FreeBSD.org>
 # $FreeBSD$
 
 CATEGORIES=	databases
 
-MASTERDIR=	${.CURDIR}/../../lang/php70
+MASTERDIR=	${.CURDIR}/../../lang/php71
 
 PKGNAMESUFFIX=	-pdo_firebird
 

Modified: head/databases/php71-pdo_mysql/Makefile
==============================================================================
--- head/databases/php70-pdo_mysql/Makefile	Mon Jan 16 16:12:47 2017	(r431675)
+++ head/databases/php71-pdo_mysql/Makefile	Tue Jan 24 11:54:20 2017	(r432324)
@@ -1,9 +1,8 @@
-# Created by: Alex Dupre <ale@FreeBSD.org>
 # $FreeBSD$
 
 CATEGORIES=	databases
 
-MASTERDIR=	${.CURDIR}/../../lang/php70
+MASTERDIR=	${.CURDIR}/../../lang/php71
 
 PKGNAMESUFFIX=	-pdo_mysql
 

Modified: head/databases/php71-pdo_odbc/Makefile
==============================================================================
--- head/databases/php70-pdo_odbc/Makefile	Mon Jan 16 16:12:47 2017	(r431675)
+++ head/databases/php71-pdo_odbc/Makefile	Tue Jan 24 11:54:20 2017	(r432324)
@@ -1,9 +1,8 @@
-# Created by: Alex Dupre <ale@FreeBSD.org>
 # $FreeBSD$
 
 CATEGORIES=	databases
 
-MASTERDIR=	${.CURDIR}/../../lang/php70
+MASTERDIR=	${.CURDIR}/../../lang/php71
 
 PKGNAMESUFFIX=	-pdo_odbc
 

Modified: head/databases/php71-pdo_pgsql/Makefile
==============================================================================
--- head/databases/php70-pdo_pgsql/Makefile	Mon Jan 16 16:12:47 2017	(r431675)
+++ head/databases/php71-pdo_pgsql/Makefile	Tue Jan 24 11:54:20 2017	(r432324)
@@ -1,9 +1,8 @@
-# Created by: Alex Dupre <ale@FreeBSD.org>
 # $FreeBSD$
 
 CATEGORIES=	databases
 
-MASTERDIR=	${.CURDIR}/../../lang/php70
+MASTERDIR=	${.CURDIR}/../../lang/php71
 
 PKGNAMESUFFIX=	-pdo_pgsql
 

Modified: head/databases/php71-pdo_sqlite/Makefile
==============================================================================
--- head/databases/php70-pdo_sqlite/Makefile	Mon Jan 16 16:12:47 2017	(r431675)
+++ head/databases/php71-pdo_sqlite/Makefile	Tue Jan 24 11:54:20 2017	(r432324)
@@ -1,9 +1,8 @@
-# Created by: Alex Dupre <ale@FreeBSD.org>
 # $FreeBSD$
 
 CATEGORIES=	databases
 
-MASTERDIR=	${.CURDIR}/../../lang/php70
+MASTERDIR=	${.CURDIR}/../../lang/php71
 
 PKGNAMESUFFIX=	-pdo_sqlite
 

Modified: head/databases/php71-pgsql/Makefile
==============================================================================
--- head/databases/php70-pgsql/Makefile	Mon Jan 16 16:12:47 2017	(r431675)
+++ head/databases/php71-pgsql/Makefile	Tue Jan 24 11:54:20 2017	(r432324)
@@ -1,9 +1,8 @@
-# Created by: Alex Dupre <ale@FreeBSD.org>
 # $FreeBSD$
 
 CATEGORIES=	databases
 
-MASTERDIR=	${.CURDIR}/../../lang/php70
+MASTERDIR=	${.CURDIR}/../../lang/php71
 
 PKGNAMESUFFIX=	-pgsql
 

Modified: head/databases/php71-sqlite3/Makefile
==============================================================================
--- head/databases/php70-sqlite3/Makefile	Mon Jan 16 16:12:47 2017	(r431675)
+++ head/databases/php71-sqlite3/Makefile	Tue Jan 24 11:54:20 2017	(r432324)
@@ -1,9 +1,8 @@
-# Created by: Alex Dupre <ale@FreeBSD.org>
 # $FreeBSD$
 
 CATEGORIES=	databases
 
-MASTERDIR=	${.CURDIR}/../../lang/php70
+MASTERDIR=	${.CURDIR}/../../lang/php71
 
 PKGNAMESUFFIX=	-sqlite3
 

Modified: head/devel/php71-gettext/Makefile
==============================================================================
--- head/devel/php70-gettext/Makefile	Mon Jan 16 16:12:47 2017	(r431675)
+++ head/devel/php71-gettext/Makefile	Tue Jan 24 11:54:20 2017	(r432324)
@@ -1,9 +1,8 @@
-# Created by: Alex Dupre <ale@FreeBSD.org>
 # $FreeBSD$
 
 CATEGORIES=	devel
 
-MASTERDIR=	${.CURDIR}/../../lang/php70
+MASTERDIR=	${.CURDIR}/../../lang/php71
 
 PKGNAMESUFFIX=	-gettext
 

Modified: head/devel/php71-intl/Makefile
==============================================================================
--- head/devel/php70-intl/Makefile	Mon Jan 16 16:12:47 2017	(r431675)
+++ head/devel/php71-intl/Makefile	Tue Jan 24 11:54:20 2017	(r432324)
@@ -1,9 +1,8 @@
-# Created by: Alex Dupre <ale@FreeBSD.org>
 # $FreeBSD$
 
 CATEGORIES=	devel
 
-MASTERDIR=	${.CURDIR}/../../lang/php70
+MASTERDIR=	${.CURDIR}/../../lang/php71
 
 PKGNAMESUFFIX=	-intl
 

Modified: head/devel/php71-json/Makefile
==============================================================================
--- head/devel/php70-json/Makefile	Mon Jan 16 16:12:47 2017	(r431675)
+++ head/devel/php71-json/Makefile	Tue Jan 24 11:54:20 2017	(r432324)
@@ -1,9 +1,8 @@
-# Created by: Alex Dupre <ale@FreeBSD.org>
 # $FreeBSD$
 
 CATEGORIES=	devel
 
-MASTERDIR=	${.CURDIR}/../../lang/php70
+MASTERDIR=	${.CURDIR}/../../lang/php71
 
 PKGNAMESUFFIX=	-json
 

Modified: head/devel/php71-pcntl/Makefile
==============================================================================
--- head/devel/php70-pcntl/Makefile	Mon Jan 16 16:12:47 2017	(r431675)
+++ head/devel/php71-pcntl/Makefile	Tue Jan 24 11:54:20 2017	(r432324)
@@ -1,9 +1,8 @@
-# Created by: Alex Dupre <ale@FreeBSD.org>
 # $FreeBSD$
 
 CATEGORIES=	devel
 
-MASTERDIR=	${.CURDIR}/../../lang/php70
+MASTERDIR=	${.CURDIR}/../../lang/php71
 
 PKGNAMESUFFIX=	-pcntl
 

Modified: head/devel/php71-readline/Makefile
==============================================================================
--- head/devel/php70-readline/Makefile	Mon Jan 16 16:12:47 2017	(r431675)
+++ head/devel/php71-readline/Makefile	Tue Jan 24 11:54:20 2017	(r432324)
@@ -1,9 +1,8 @@
-# Created by: Alex Dupre <ale@FreeBSD.org>
 # $FreeBSD$
 
 CATEGORIES=	devel
 
-MASTERDIR=	${.CURDIR}/../../lang/php70
+MASTERDIR=	${.CURDIR}/../../lang/php71
 
 PKGNAMESUFFIX=	-readline
 

Modified: head/devel/php71-shmop/Makefile
==============================================================================
--- head/devel/php70-shmop/Makefile	Mon Jan 16 16:12:47 2017	(r431675)
+++ head/devel/php71-shmop/Makefile	Tue Jan 24 11:54:20 2017	(r432324)
@@ -1,9 +1,8 @@
-# Created by: Alex Dupre <ale@FreeBSD.org>
 # $FreeBSD$
 
 CATEGORIES=	devel
 
-MASTERDIR=	${.CURDIR}/../../lang/php70
+MASTERDIR=	${.CURDIR}/../../lang/php71
 
 PKGNAMESUFFIX=	-shmop
 

Modified: head/devel/php71-sysvmsg/Makefile
==============================================================================
--- head/devel/php70-sysvmsg/Makefile	Mon Jan 16 16:12:47 2017	(r431675)
+++ head/devel/php71-sysvmsg/Makefile	Tue Jan 24 11:54:20 2017	(r432324)
@@ -1,9 +1,8 @@
-# Created by: Alex Dupre <ale@FreeBSD.org>
 # $FreeBSD$
 
 CATEGORIES=	devel
 
-MASTERDIR=	${.CURDIR}/../../lang/php70
+MASTERDIR=	${.CURDIR}/../../lang/php71
 
 PKGNAMESUFFIX=	-sysvmsg
 

Modified: head/devel/php71-sysvsem/Makefile
==============================================================================
--- head/devel/php70-sysvsem/Makefile	Mon Jan 16 16:12:47 2017	(r431675)
+++ head/devel/php71-sysvsem/Makefile	Tue Jan 24 11:54:20 2017	(r432324)
@@ -1,9 +1,8 @@
-# Created by: Alex Dupre <ale@FreeBSD.org>
 # $FreeBSD$
 
 CATEGORIES=	devel
 
-MASTERDIR=	${.CURDIR}/../../lang/php70
+MASTERDIR=	${.CURDIR}/../../lang/php71
 
 PKGNAMESUFFIX=	-sysvsem
 

Modified: head/devel/php71-sysvshm/Makefile
==============================================================================
--- head/devel/php70-sysvshm/Makefile	Mon Jan 16 16:12:47 2017	(r431675)
+++ head/devel/php71-sysvshm/Makefile	Tue Jan 24 11:54:20 2017	(r432324)
@@ -1,9 +1,8 @@
-# Created by: Alex Dupre <ale@FreeBSD.org>
 # $FreeBSD$
 
 CATEGORIES=	devel
 
-MASTERDIR=	${.CURDIR}/../../lang/php70
+MASTERDIR=	${.CURDIR}/../../lang/php71
 
 PKGNAMESUFFIX=	-sysvshm
 

Modified: head/devel/php71-tokenizer/Makefile
==============================================================================
--- head/devel/php70-tokenizer/Makefile	Mon Jan 16 16:12:47 2017	(r431675)
+++ head/devel/php71-tokenizer/Makefile	Tue Jan 24 11:54:20 2017	(r432324)
@@ -1,9 +1,8 @@
-# Created by: Alex Dupre <ale@FreeBSD.org>
 # $FreeBSD$
 
 CATEGORIES=	devel
 
-MASTERDIR=	${.CURDIR}/../../lang/php70
+MASTERDIR=	${.CURDIR}/../../lang/php71
 
 PKGNAMESUFFIX=	-tokenizer
 

Modified: head/ftp/php71-curl/Makefile
==============================================================================
--- head/ftp/php70-curl/Makefile	Mon Jan 16 16:12:47 2017	(r431675)
+++ head/ftp/php71-curl/Makefile	Tue Jan 24 11:54:20 2017	(r432324)
@@ -1,9 +1,8 @@
-# Created by: Alex Dupre <ale@FreeBSD.org>
 # $FreeBSD$
 
 CATEGORIES=	ftp
 
-MASTERDIR=	${.CURDIR}/../../lang/php70
+MASTERDIR=	${.CURDIR}/../../lang/php71
 
 PKGNAMESUFFIX=	-curl
 

Modified: head/ftp/php71-ftp/Makefile
==============================================================================
--- head/ftp/php70-ftp/Makefile	Mon Jan 16 16:12:47 2017	(r431675)
+++ head/ftp/php71-ftp/Makefile	Tue Jan 24 11:54:20 2017	(r432324)
@@ -1,9 +1,8 @@
-# Created by: Alex Dupre <ale@FreeBSD.org>
 # $FreeBSD$
 
 CATEGORIES=	ftp
 
-MASTERDIR=	${.CURDIR}/../../lang/php70
+MASTERDIR=	${.CURDIR}/../../lang/php71
 
 PKGNAMESUFFIX=	-ftp
 

Modified: head/graphics/php71-exif/Makefile
==============================================================================
--- head/graphics/php70-exif/Makefile	Mon Jan 16 16:12:47 2017	(r431675)
+++ head/graphics/php71-exif/Makefile	Tue Jan 24 11:54:20 2017	(r432324)
@@ -1,9 +1,8 @@
-# Created by: Alex Dupre <ale@FreeBSD.org>
 # $FreeBSD$
 
 CATEGORIES=	graphics
 
-MASTERDIR=	${.CURDIR}/../../lang/php70
+MASTERDIR=	${.CURDIR}/../../lang/php71
 
 PKGNAMESUFFIX=	-exif
 

Modified: head/graphics/php71-gd/Makefile
==============================================================================
--- head/graphics/php70-gd/Makefile	Mon Jan 16 16:12:47 2017	(r431675)
+++ head/graphics/php71-gd/Makefile	Tue Jan 24 11:54:20 2017	(r432324)
@@ -1,9 +1,8 @@
-# Created by: Alex Dupre <ale@FreeBSD.org>
 # $FreeBSD$
 
 CATEGORIES=	graphics
 
-MASTERDIR=	${.CURDIR}/../../lang/php70
+MASTERDIR=	${.CURDIR}/../../lang/php71
 
 PKGNAMESUFFIX=	-gd
 

Modified: head/lang/php71-extensions/Makefile
==============================================================================
--- head/lang/php70-extensions/Makefile	Mon Jan 16 16:12:47 2017	(r431675)
+++ head/lang/php71-extensions/Makefile	Tue Jan 24 11:54:20 2017	(r432324)
@@ -1,17 +1,16 @@
-# Created by: Alex Dupre <ale@FreeBSD.org>
 # $FreeBSD$
 
-PORTNAME=	php70
-PORTVERSION=	1.1
+PORTNAME=	php71
+PORTVERSION=	1.0
 CATEGORIES=	lang
 PKGNAMESUFFIX=	-extensions
 
-MAINTAINER=	ports@FreeBSD.org
+MAINTAINER=	tz@FreeBSD.org
 COMMENT=	"meta-port" to install PHP extensions
 
 USES=		metaport php
-PHP_VER=	70
-IGNORE_WITH_PHP=	56
+PHP_VER=	71
+IGNORE_WITH_PHP=	56 70
 
 OPTIONS_DEFINE=	BCMATH BZ2 CALENDAR CTYPE CURL DBA \
 		DOM ENCHANT EXIF FILEINFO FILTER FTP GD GETTEXT \
@@ -51,6 +50,7 @@ MCRYPT_DESC=		Encryption support
 MYSQLI_DESC=		MySQLi database support
 ODBC_DESC=		ODBC support
 OPCACHE_DESC=		OPcache support
+OPENSSL_DESC=		OpenSSL support
 PCNTL_DESC=		pcntl support (CLI only)
 PDF_DESC=		PDFlib support (implies GD)
 PDO_DESC=		PHP Data Objects Interface (PDO)

Modified: head/lang/php71-extensions/pkg-descr
==============================================================================
--- head/lang/php70-extensions/pkg-descr	Mon Jan 16 16:12:47 2017	(r431675)
+++ head/lang/php71-extensions/pkg-descr	Tue Jan 24 11:54:20 2017	(r432324)
@@ -1,4 +1,4 @@
-This is a "meta-port" to install the extensions for PHP 5.5.
+This is a "meta-port" to install the extensions for PHP 7.1.
 
 Defaults to:
 ctype, dom, filter, hash, iconv, json, pdo, pdo_sqlite, phar, posix,

Added: head/lang/php71/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/lang/php71/Makefile	Tue Jan 24 11:54:20 2017	(r432324)
@@ -0,0 +1,190 @@
+# Created by: Torsten Zuehlsdorff <tz@FreeBSD.org>
+# $FreeBSD$
+
+PORTNAME=	php71
+PORTVERSION=	7.1.1
+PORTREVISION?=	0
+CATEGORIES?=	lang devel www
+MASTER_SITES=	PHP/distributions
+DISTNAME=	php-${PORTVERSION}
+
+MAINTAINER=	tz@FreeBSD.org
+COMMENT=	PHP Scripting Language
+
+LICENSE=	PHP301
+
+USES+=		tar:xz cpe
+CPE_PRODUCT=	php
+NO_OPTIONS_SORT=yes
+
+.if !defined(PKGNAMESUFFIX)
+USE_AUTOTOOLS=	autoconf
+#NOTE: libtools ends with Version mismatch error
+#USES+=		autoreconf gmake
+#GNU_CONFIGURE=	yes
+
+LIB_DEPENDS=	libpcre.so:devel/pcre
+
+CONFIGURE_ARGS+=--with-layout=GNU \
+		--localstatedir=/var \
+		--with-config-file-scan-dir=${PREFIX}/etc/php \
+		--disable-all \
+		--enable-libxml \
+		--enable-mysqlnd \
+		--with-libxml-dir=${LOCALBASE} \
+		--with-pcre-regex=${LOCALBASE} \
+		--program-prefix=""
+
+USE_GNOME=	libxml2
+
+OPTIONS_DEFINE+=CLI CGI FPM EMBED PHPDBG DEBUG DTRACE IPV6 LINKTHR ZTS
+OPTIONS_DEFAULT=CLI CGI FPM LINKTHR DTRACE
+
+# Bug 197128:  No ASM code for MIPS/MIPS64, disable FPM
+OPTIONS_EXCLUDE_mips=FPM
+OPTIONS_EXCLUDE_mips64=FPM
+OPTIONS_SUB=	yes
+
+CLI_DESC=	Build CLI version
+CGI_DESC=	Build CGI version
+FPM_DESC=	Build FPM version
+EMBED_DESC=	Build embedded library
+DEBUG_DESC=	Enable debug
+PHPDBG_DESC=	Interactive PHP debugger
+DTRACE_DESC=	Enable DTrace support
+IPV6_DESC=	Enable ipv6 support
+LINKTHR_DESC=	Link thread lib (for threaded extensions)
+ZTS_DESC=	Force Zend Thread Safety (ZTS) build
+
+CONFLICTS=	php56-* php70-*
+
+DESTDIRNAME=	INSTALL_ROOT
+
+.include <bsd.port.pre.mk>
+
+.if ${PORT_OPTIONS:MCLI}
+PHP_SAPI+=	cli
+.else
+CONFIGURE_ARGS+=--disable-cli
+.endif
+
+.if ${PORT_OPTIONS:MCGI}
+PHP_SAPI+=	cgi
+.else
+CONFIGURE_ARGS+=--disable-cgi
+.endif
+
+.if ${PORT_OPTIONS:MFPM}
+PHP_SAPI+=	fpm
+USE_RC_SUBR+=	php-fpm
+CONFIGURE_ARGS+=--enable-fpm \
+		--with-fpm-user=${WWWOWN} \
+		--with-fpm-group=${WWWGRP}
+.endif
+
+.if defined(PKGNAMEPREFIX)
+USES+=	php
+PHP_VER=	71
+IGNORE_WITH_PHP=	55 56 70
+USE_APACHE=	22+
+.include "${PORTSDIR}/Mk/bsd.apache.mk"
+.if ${PORT_OPTIONS:MAP2FILTER}
+CONFIGURE_ARGS+=--with-apxs2filter=${APXS}
+.else
+CONFIGURE_ARGS+=--with-apxs2=${APXS}
+.endif
+PLIST=		${PKGDIR}/pkg-plist.mod
+PKGMESSAGE=	${PKGDIR}/pkg-message.mod
+MODULENAME=	libphp71
+SHORTMODNAME=	php71
+WARNING=	"!!! If you have a threaded Apache, you must build ${PHP_PORT} with ZTS support to enable thread-safety in extensions !!!"
+.endif
+
+.if ${PORT_OPTIONS:MEMBED}
+PHP_SAPI+=	embed
+CONFIGURE_ARGS+=--enable-embed
+.endif
+
+.if ${PORT_OPTIONS:MPHPDBG}
+PHP_SAPI+=	phpdbg
+CONFIGURE_ARGS+=--enable-phpdbg
+.if ${PORT_OPTIONS:MDEBUG}
+CONFIGURE_ARGS+=--enable-phpdbg-debug
+.endif
+.endif
+
+.if ${PORT_OPTIONS:MCLI} || ${PORT_OPTIONS:MEMBED}
+PLIST_SUB+=	SAPI_INC=""
+.else
+PLIST_SUB+=	SAPI_INC="@comment "
+.endif
+
+CONFIGURE_ENV+=	ac_cv_decimal_fp_supported="no" \
+		lt_cv_path_SED="sed"
+
+.if ${PORT_OPTIONS:MLINKTHR}
+LIBS+=		-lpthread
+.endif
+
+.if ${PORT_OPTIONS:MDEBUG}
+CONFIGURE_ARGS+=--enable-debug
+.endif
+
+.if ${PORT_OPTIONS:MZTS}
+CONFIGURE_ARGS+=--enable-maintainer-zts
+CONFIGURE_ENV+=	pthreads_working="yes"
+USES=	localhost
+.endif
+
+.if ${PORT_OPTIONS:MDTRACE}
+CONFIGURE_ARGS+=--enable-dtrace
+PLIST_SUB+=	DTRACE=""
+.else
+PLIST_SUB+=	DTRACE="@comment "
+.endif
+
+.if empty(PORT_OPTIONS:MIPV6)
+CONFIGURE_ARGS+=--disable-ipv6
+.endif
+
+post-patch:
+	@${TOUCH} ${WRKSRC}/ext/php_config.h
+	@${REINPLACE_CMD} "s|^\(extension_dir\)|; \1|" ${WRKSRC}/php.ini-*
+.if ${PORT_OPTIONS:MFPM}
+	@${REINPLACE_CMD} -e "s|^;\(pid\)|\1|;s|^;\(pm\.[a-z_]*_servers\)|\1|" \
+		${WRKSRC}/sapi/fpm/php-fpm.conf.in
+.endif
+
+# Work around issues with newer (>=2.64) autoconf
+pre-configure:
+	@${REINPLACE_CMD} -E 's:^((m4_)?divert)[(]([0-9]*)[)]:\1(600\3):' \
+		${WRKSRC}/configure.in `${FIND} ${WRKSRC} -name '*.m4'`
+	@${RM} ${WRKSRC}/configure
+	@${CAT} ${WRKSRC}/acinclude.m4 ${WRKSRC}/build/libtool.m4 > ${WRKSRC}/aclocal.m4
+
+.if !defined(PKGNAMEPREFIX)
+post-build:
+	@${ECHO_CMD} "PHP_VER=71" > ${WRKDIR}/php.conf
+	@${ECHO_CMD} "PHP_VERSION=${PORTVERSION}" >> ${WRKDIR}/php.conf
+	@${ECHO_CMD} "PHP_SAPI=${PHP_SAPI}" >> ${WRKDIR}/php.conf
+	@${ECHO_CMD} "PHP_EXT_INC=pcre spl" >> ${WRKDIR}/php.conf
+	@${ECHO_CMD} -n "PHP_EXT_DIR=" >> ${WRKDIR}/php.conf
+	@${SH} ${WRKSRC}/scripts/php-config --extension-dir | ${SED} -ne 's,^${PREFIX}/lib/php/,,p' >> ${WRKDIR}/php.conf
+
+test: build
+	@(cd ${WRKSRC} && ${MAKE} test)
+
+post-install:
+	${INSTALL_DATA} ${WRKSRC}/php.ini-development ${WRKSRC}/php.ini-production \
+		${WRKDIR}/php.conf ${STAGEDIR}/${PREFIX}/etc
+.else
+do-install:
+	${MKDIR} ${STAGEDIR}${PREFIX}/${APACHEMODDIR}
+	${INSTALL_LIB} ${WRKSRC}/libs/${MODULENAME}.so \
+		${STAGEDIR}${PREFIX}/${APACHEMODDIR}
+.endif
+
+.else
+.include "${MASTERDIR}/Makefile.ext"
+.endif
+.include <bsd.port.post.mk>

Added: head/lang/php71/Makefile.ext
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/lang/php71/Makefile.ext	Tue Jan 24 11:54:20 2017	(r432324)
@@ -0,0 +1,570 @@
+COMMENT=	The ${PHP_MODNAME} shared extension for php
+
+USES+=	php:ext
+PHP_MODNAME=	${PKGNAMESUFFIX:S/-//}
+PHP_VER=	71
+IGNORE_WITH_PHP=	55 56 70
+
+EXTSUBDIR=	${DISTNAME}/ext/${PHP_MODNAME}
+WRKSRC=		${WRKDIR}/${EXTSUBDIR}
+PATCHDIR=	${.CURDIR}/files
+PLIST=		${NONEXISTENT}
+
+EXTRACT_AFTER_ARGS?=	${EXTSUBDIR}
+
+.if ${PHP_MODNAME} == "bcmath"
+CONFIGURE_ARGS+=--enable-bcmath
+
+PHP_HEADER_DIRS=libbcmath libbcmath/src
+.endif
+
+.if ${PHP_MODNAME} == "bz2"
+CONFIGURE_ARGS+=--with-bz2=/usr
+.endif
+
+.if ${PHP_MODNAME} == "calendar"
+CONFIGURE_ARGS+=--enable-calendar
+.endif
+
+.if ${PHP_MODNAME} == "ctype"
+CONFIGURE_ARGS+=--enable-ctype
+.endif
+
+.if ${PHP_MODNAME} == "curl"
+LIB_DEPENDS+=	libcurl.so:ftp/curl
+
+CONFIGURE_ARGS+=--with-curl=${LOCALBASE}
+.endif
+
+.if ${PHP_MODNAME} == "dba"
+CONFIGURE_ARGS+=--enable-dba
+
+OPTIONS_DEFINE=	CDB DB4 GDBM QDBM TOKYO INIFILE FLATFILE
+OPTIONS_DEFAULT=CDB INIFILE FLATFILE
+
+CDB_DESC=	cdb database support
+DB4_DESC=	Berkeley DB4 support
+GDBM_DESC=	GDBM database support
+QDBM_DESC=	QDBM database support
+TOKYO_DESC=	Tokyo Cabinet database support
+INIFILE_DESC=	INI file support
+FLATFILE_DESC=	flatfile support
+
+PHP_HEADER_DIRS=	libcdb libflatfile libinifile
+.endif
+
+.if ${PHP_MODNAME} == "dom"
+CONFIGURE_ARGS+=--enable-dom \
+		--with-libxml-dir=${LOCALBASE}
+
+USE_GNOME=	libxml2
+.endif
+
+.if ${PHP_MODNAME} == "enchant"
+LIB_DEPENDS+=   libenchant.so:textproc/enchant
+CONFIGURE_ARGS+=--with-enchant=${LOCALBASE}
+.endif
+
+.if ${PHP_MODNAME} == "exif"
+CONFIGURE_ARGS+=--enable-exif
+.endif
+
+.if ${PHP_MODNAME} == "fileinfo"
+CONFIGURE_ARGS+=--enable-fileinfo \
+		--with-pcre-dir=${LOCALBASE}
+
+PHP_HEADER_DIRS=	libmagic
+.endif
+
+.if ${PHP_MODNAME} == "filter"
+CONFIGURE_ARGS+=--enable-filter \
+		--with-pcre-dir=${LOCALBASE}
+.endif
+
+.if ${PHP_MODNAME} == "ftp"
+CONFIGURE_ARGS+=--enable-ftp \
+		--with-openssl-dir=${OPENSSLBASE}
+
+LDFLAGS+=	-L${OPENSSLLIB} -lcrypto -lssl
+USE_OPENSSL=	yes
+.endif
+
+.if ${PHP_MODNAME} == "gd"
+LIB_DEPENDS=	libfreetype.so:print/freetype2 \
+		libpng.so:graphics/png
+USES+=		jpeg
+
+CONFIGURE_ARGS+=--with-gd \
+		--with-freetype-dir=${LOCALBASE} \
+		--with-jpeg-dir=${LOCALBASE} \
+		--with-png-dir=${LOCALBASE} \
+		--with-zlib-dir=/usr
+
+OPTIONS_DEFINE=	T1LIB TRUETYPE JIS X11 VPX
+OPTIONS_DEFAULT=T1LIB TRUETYPE X11
+
+T1LIB_DESC=	Include T1lib support
+TRUETYPE_DESC=	Enable TrueType string function
+JIS_DESC=	Enable JIS-mapped Japanese font support
+X11_DESC=	Enable XPM support
+VPX_DESC=	Enable VP8 codec support
+
+PHP_HEADER_DIRS=libgd
+.endif
+
+.if ${PHP_MODNAME} == "gettext"
+CONFIGURE_ARGS+=--with-gettext=${LOCALBASE}
+
+USES+=		gettext
+.endif
+
+.if ${PHP_MODNAME} == "gmp"
+LIB_DEPENDS+=	libgmp.so:math/gmp
+
+CONFIGURE_ARGS+=--with-gmp=${LOCALBASE}
+.endif
+
+.if ${PHP_MODNAME} == "hash"
+CONFIGURE_ARGS+=--enable-hash \
+		--with-mhash
+.endif
+
+.if ${PHP_MODNAME} == "iconv"
+CONFIGURE_ARGS+=--with-iconv=${LOCALBASE}
+
+USES+=	iconv:translit
+.endif
+
+.if ${PHP_MODNAME} == "imap"
+OPTIONS_DEFINE=	PANDA
+PANDA_DESC=	Uses the forked panda-cclient instead of the original cclient
+
+CONFIGURE_ARGS+=--with-imap=${LOCALBASE} \
+		--with-pcre-dir=${LOCALBASE} \
+		--with-imap-ssl=${OPENSSLBASE}
+
+LDFLAGS+=	-L${OPENSSLLIB} -lcrypto -lssl
+USE_OPENSSL=	yes
+.endif
+
+.if ${PHP_MODNAME} == "interbase"
+CONFIGURE_ARGS+=--with-interbase=${LOCALBASE}
+
+USES+=	firebird
+.endif
+
+.if ${PHP_MODNAME} == "intl"
+CONFIGURE_ARGS+=--with-intl=${LOCALBASE}
+LIB_DEPENDS=	libicui18n.so:devel/icu
+.endif
+
+.if ${PHP_MODNAME} == "json"
+CONFIGURE_ARGS+=--enable-json
+.endif
+
+.if ${PHP_MODNAME} == "ldap"
+CONFIGURE_ARGS+=--with-ldap=${LOCALBASE}
+
+USE_OPENLDAP=	yes
+
+. ifdef(WANT_OPENLDAP_SASL)
+CONFIGURE_ARGS+=--with-ldap-sasl=${LOCALBASE}
+. endif
+.endif
+
+.if ${PHP_MODNAME} == "mbstring"
+
+CONFIGURE_ARGS+=--enable-mbstring \
+		--with-pcre-dir=${LOCALBASE}
+
+OPTIONS_DEFINE=	REGEX
+OPTIONS_DEFAULT=REGEX
+
+REGEX_DESC=	Enable multibyte regex support
+
+PHP_HEADER_DIRS=libmbfl libmbfl/filters libmbfl/mbfl libmbfl/nls

*** DIFF OUTPUT TRUNCATED AT 1000 LINES ***



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201701241154.v0OBsKaN088157>