[Midnightbsd-cvs] mports [22464] trunk: add php 7.1 ports
laffer1 at midnightbsd.org
laffer1 at midnightbsd.org
Sun Jun 11 13:30:24 EDT 2017
Revision: 22464
http://svnweb.midnightbsd.org/mports/?rev=22464
Author: laffer1
Date: 2017-06-11 13:30:24 -0400 (Sun, 11 Jun 2017)
Log Message:
-----------
add php 7.1 ports
Modified Paths:
--------------
trunk/archivers/Makefile
trunk/converters/Makefile
Added Paths:
-----------
trunk/archivers/php71-bz2/
trunk/archivers/php71-bz2/Makefile
trunk/archivers/php71-phar/
trunk/archivers/php71-phar/Makefile
trunk/archivers/php71-phar/files/
trunk/archivers/php71-phar/files/patch-config.m4
trunk/archivers/php71-phar/files/patch-phar.c
trunk/archivers/php71-zip/
trunk/archivers/php71-zip/Makefile
trunk/archivers/php71-zlib/
trunk/archivers/php71-zlib/Makefile
trunk/archivers/php71-zlib/files/
trunk/archivers/php71-zlib/files/patch-zlib.c
trunk/converters/php71-iconv/
trunk/converters/php71-iconv/Makefile
trunk/converters/php71-mbstring/
trunk/converters/php71-mbstring/Makefile
trunk/converters/php71-mbstring/files/
trunk/converters/php71-mbstring/files/patch-config.m4
trunk/converters/php71-recode/
trunk/converters/php71-recode/Makefile
Modified: trunk/archivers/Makefile
===================================================================
--- trunk/archivers/Makefile 2017-06-11 17:08:06 UTC (rev 22463)
+++ trunk/archivers/Makefile 2017-06-11 17:30:24 UTC (rev 22464)
@@ -48,6 +48,10 @@
SUBDIR += php70-phar
SUBDIR += php70-zip
SUBDIR += php70-zlib
+SUBDIR += php71-bz2
+SUBDIR += php71-phar
+SUBDIR += php71-zip
+SUBDIR += php71-zlib
SUBDIR += rar
SUBDIR += rpm4
SUBDIR += rpm2cpio
Added: trunk/archivers/php71-bz2/Makefile
===================================================================
--- trunk/archivers/php71-bz2/Makefile (rev 0)
+++ trunk/archivers/php71-bz2/Makefile 2017-06-11 17:30:24 UTC (rev 22464)
@@ -0,0 +1,10 @@
+# $MidnightBSD$
+# $FreeBSD: head/archivers/php71-bz2/Makefile 432324 2017-01-24 11:54:20Z tz $
+
+CATEGORIES= archivers
+
+MASTERDIR= ${.CURDIR}/../../lang/php71
+
+PKGNAMESUFFIX= -bz2
+
+.include "${MASTERDIR}/Makefile"
Property changes on: trunk/archivers/php71-bz2/Makefile
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:keywords
## -0,0 +1 ##
+MidnightBSD=%H
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Added: trunk/archivers/php71-phar/Makefile
===================================================================
--- trunk/archivers/php71-phar/Makefile (rev 0)
+++ trunk/archivers/php71-phar/Makefile 2017-06-11 17:30:24 UTC (rev 22464)
@@ -0,0 +1,10 @@
+# $MidnightBSD$
+# $FreeBSD: head/archivers/php71-phar/Makefile 432324 2017-01-24 11:54:20Z tz $
+
+CATEGORIES= archivers
+
+MASTERDIR= ${.CURDIR}/../../lang/php71
+
+PKGNAMESUFFIX= -phar
+
+.include "${MASTERDIR}/Makefile"
Property changes on: trunk/archivers/php71-phar/Makefile
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:keywords
## -0,0 +1 ##
+MidnightBSD=%H
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Added: trunk/archivers/php71-phar/files/patch-config.m4
===================================================================
--- trunk/archivers/php71-phar/files/patch-config.m4 (rev 0)
+++ trunk/archivers/php71-phar/files/patch-config.m4 2017-06-11 17:30:24 UTC (rev 22464)
@@ -0,0 +1,41 @@
+--- config.m4.orig 2016-06-21 19:56:50 UTC
++++ config.m4
+@@ -4,8 +4,38 @@ dnl config.m4 for extension phar
+ PHP_ARG_ENABLE(phar, for phar archive support,
+ [ --disable-phar Disable phar support], yes)
+
++PHP_ARG_WITH(pcre-dir, pcre install prefix,
++[ --with-pcre-dir PHAR: pcre install prefix], no, no)
++
++
+ if test "$PHP_PHAR" != "no"; then
++
++ dnl This is PECL build, check if bundled PCRE library is used
++ old_CPPFLAGS=$CPPFLAGS
++ CPPFLAGS=$INCLUDES
++ AC_EGREP_CPP(yes,[
++#include <main/php_config.h>
++#if defined(HAVE_BUNDLED_PCRE) && !defined(COMPILE_DL_PCRE)
++yes
++#endif
++ ],[
++ PHP_PCRE_REGEX=yes
++ ],[
++ AC_EGREP_CPP(yes,[
++#include <main/php_config.h>
++#if defined(HAVE_PCRE) && !defined(COMPILE_DL_PCRE)
++yes
++#endif
++ ],[
++ PHP_PCRE_REGEX=pecl
++ PHP_ADD_INCLUDE($PHP_PCRE_DIR/include)
++ ],[
++ PHP_PCRE_REGEX=no
++ ])
++ ])
++
+ PHP_NEW_EXTENSION(phar, util.c tar.c zip.c stream.c func_interceptors.c dirstream.c phar.c phar_object.c phar_path_check.c, $ext_shared,, -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1)
++ PHP_HASH=yes
+ AC_MSG_CHECKING([for phar openssl support])
+ if test "$PHP_HASH_SHARED" != "yes"; then
+ if test "$PHP_HASH" != "no"; then
Property changes on: trunk/archivers/php71-phar/files/patch-config.m4
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Added: trunk/archivers/php71-phar/files/patch-phar.c
===================================================================
--- trunk/archivers/php71-phar/files/patch-phar.c (rev 0)
+++ trunk/archivers/php71-phar/files/patch-phar.c 2017-06-11 17:30:24 UTC (rev 22464)
@@ -0,0 +1,11 @@
+--- phar.c.orig 2016-06-21 19:56:49 UTC
++++ phar.c
+@@ -3589,7 +3589,7 @@ static const zend_module_dep phar_deps[]
+ ZEND_MOD_OPTIONAL("openssl")
+ ZEND_MOD_OPTIONAL("zlib")
+ ZEND_MOD_OPTIONAL("standard")
+-#if defined(HAVE_HASH) && !defined(COMPILE_DL_HASH)
++#if defined(HAVE_HASH)
+ ZEND_MOD_REQUIRED("hash")
+ #endif
+ #if HAVE_SPL
Property changes on: trunk/archivers/php71-phar/files/patch-phar.c
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Added: trunk/archivers/php71-zip/Makefile
===================================================================
--- trunk/archivers/php71-zip/Makefile (rev 0)
+++ trunk/archivers/php71-zip/Makefile 2017-06-11 17:30:24 UTC (rev 22464)
@@ -0,0 +1,10 @@
+# $MidnightBSD$
+# $FreeBSD: head/archivers/php71-zip/Makefile 432324 2017-01-24 11:54:20Z tz $
+
+CATEGORIES= archivers
+
+MASTERDIR= ${.CURDIR}/../../lang/php71
+
+PKGNAMESUFFIX= -zip
+
+.include "${MASTERDIR}/Makefile"
Property changes on: trunk/archivers/php71-zip/Makefile
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:keywords
## -0,0 +1 ##
+MidnightBSD=%H
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Added: trunk/archivers/php71-zlib/Makefile
===================================================================
--- trunk/archivers/php71-zlib/Makefile (rev 0)
+++ trunk/archivers/php71-zlib/Makefile 2017-06-11 17:30:24 UTC (rev 22464)
@@ -0,0 +1,10 @@
+# $MidnightBSD$
+# $FreeBSD: head/archivers/php71-zlib/Makefile 432324 2017-01-24 11:54:20Z tz $
+
+CATEGORIES= archivers
+
+MASTERDIR= ${.CURDIR}/../../lang/php71
+
+PKGNAMESUFFIX= -zlib
+
+.include "${MASTERDIR}/Makefile"
Property changes on: trunk/archivers/php71-zlib/Makefile
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:keywords
## -0,0 +1 ##
+MidnightBSD=%H
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Added: trunk/archivers/php71-zlib/files/patch-zlib.c
===================================================================
--- trunk/archivers/php71-zlib/files/patch-zlib.c (rev 0)
+++ trunk/archivers/php71-zlib/files/patch-zlib.c 2017-06-11 17:30:24 UTC (rev 22464)
@@ -0,0 +1,10 @@
+--- zlib.c.orig 2016-06-21 19:57:08 UTC
++++ zlib.c
+@@ -1480,6 +1480,7 @@ static PHP_MSHUTDOWN_FUNCTION(zlib)
+ /* {{{ PHP_RINIT_FUNCTION */
+ static PHP_RINIT_FUNCTION(zlib)
+ {
++ ZLIBG(output_compression) = 0;
+ ZLIBG(compression_coding) = 0;
+ if (!ZLIBG(handler_registered)) {
+ ZLIBG(output_compression) = ZLIBG(output_compression_default);
Property changes on: trunk/archivers/php71-zlib/files/patch-zlib.c
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Modified: trunk/converters/Makefile
===================================================================
--- trunk/converters/Makefile 2017-06-11 17:08:06 UTC (rev 22463)
+++ trunk/converters/Makefile 2017-06-11 17:30:24 UTC (rev 22464)
@@ -37,6 +37,9 @@
SUBDIR += php70-iconv
SUBDIR += php70-mbstring
SUBDIR += php70-recode
+SUBDIR += php71-iconv
+SUBDIR += php71-mbstring
+SUBDIR += php71-recode
SUBDIR += psiconv
SUBDIR += recode
SUBDIR += ruby-dump.rb
Added: trunk/converters/php71-iconv/Makefile
===================================================================
--- trunk/converters/php71-iconv/Makefile (rev 0)
+++ trunk/converters/php71-iconv/Makefile 2017-06-11 17:30:24 UTC (rev 22464)
@@ -0,0 +1,10 @@
+# $MidnightBSD$
+# $FreeBSD: head/converters/php71-iconv/Makefile 432324 2017-01-24 11:54:20Z tz $
+
+CATEGORIES= converters
+
+MASTERDIR= ${.CURDIR}/../../lang/php71
+
+PKGNAMESUFFIX= -iconv
+
+.include "${MASTERDIR}/Makefile"
Property changes on: trunk/converters/php71-iconv/Makefile
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:keywords
## -0,0 +1 ##
+MidnightBSD=%H
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Added: trunk/converters/php71-mbstring/Makefile
===================================================================
--- trunk/converters/php71-mbstring/Makefile (rev 0)
+++ trunk/converters/php71-mbstring/Makefile 2017-06-11 17:30:24 UTC (rev 22464)
@@ -0,0 +1,10 @@
+# $MidnightBSD$
+# $FreeBSD: head/converters/php71-mbstring/Makefile 432324 2017-01-24 11:54:20Z tz $
+
+CATEGORIES= converters
+
+MASTERDIR= ${.CURDIR}/../../lang/php71
+
+PKGNAMESUFFIX= -mbstring
+
+.include "${MASTERDIR}/Makefile"
Property changes on: trunk/converters/php71-mbstring/Makefile
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:keywords
## -0,0 +1 ##
+MidnightBSD=%H
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Added: trunk/converters/php71-mbstring/files/patch-config.m4
===================================================================
--- trunk/converters/php71-mbstring/files/patch-config.m4 (rev 0)
+++ trunk/converters/php71-mbstring/files/patch-config.m4 2017-06-11 17:30:24 UTC (rev 22464)
@@ -0,0 +1,51 @@
+--- config.m4.orig 2009-11-25 02:30:06.000000000 +0100
++++ config.m4 2010-04-12 09:59:54.000000000 +0200
+@@ -43,6 +43,30 @@
+ PHP_ADD_INCLUDE([$ext_builddir/$dir])
+ done
+
++ dnl This is PECL build, check if bundled PCRE library is used
++ old_CPPFLAGS=$CPPFLAGS
++ CPPFLAGS=$INCLUDES
++ AC_EGREP_CPP(yes,[
++#include <main/php_config.h>
++#if defined(HAVE_BUNDLED_PCRE) && !defined(COMPILE_DL_PCRE)
++yes
++#endif
++ ],[
++ PHP_PCRE_REGEX=yes
++ ],[
++ AC_EGREP_CPP(yes,[
++#include <main/php_config.h>
++#if defined(HAVE_PCRE) && !defined(COMPILE_DL_PCRE)
++yes
++#endif
++ ],[
++ PHP_PCRE_REGEX=pecl
++ PHP_ADD_INCLUDE($PHP_PCRE_DIR/include)
++ ],[
++ PHP_PCRE_REGEX=no
++ ])
++ ])
++
+ if test "$ext_shared" = "no"; then
+ PHP_ADD_SOURCES(PHP_EXT_DIR(mbstring), $PHP_MBSTRING_BASE_SOURCES)
+ out="php_config.h"
+@@ -80,7 +104,6 @@
+ int foo(int x, ...) {
+ va_list va;
+ va_start(va, x);
+- va_arg(va, int);
+ va_arg(va, char *);
+ va_arg(va, double);
+ return 0;
+@@ -347,6 +370,9 @@
+ [ --with-onig[=DIR] MBSTRING: Use external oniguruma. DIR is the oniguruma install prefix.
+ If DIR is not set, the bundled oniguruma will be used], no, no)
+
++PHP_ARG_WITH(pcre-dir, pcre install prefix,
++[ --with-pcre-dir MBSTRING: pcre install prefix], no, no)
++
+ if test "$PHP_MBSTRING" != "no"; then
+ AC_DEFINE([HAVE_MBSTRING],1,[whether to have multibyte string support])
+
Property changes on: trunk/converters/php71-mbstring/files/patch-config.m4
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Added: trunk/converters/php71-recode/Makefile
===================================================================
--- trunk/converters/php71-recode/Makefile (rev 0)
+++ trunk/converters/php71-recode/Makefile 2017-06-11 17:30:24 UTC (rev 22464)
@@ -0,0 +1,10 @@
+# $MidnightBSD$
+# $FreeBSD: head/converters/php71-recode/Makefile 432324 2017-01-24 11:54:20Z tz $
+
+CATEGORIES= converters
+
+MASTERDIR= ${.CURDIR}/../../lang/php71
+
+PKGNAMESUFFIX= -recode
+
+.include "${MASTERDIR}/Makefile"
Property changes on: trunk/converters/php71-recode/Makefile
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:keywords
## -0,0 +1 ##
+MidnightBSD=%H
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
More information about the Midnightbsd-cvs
mailing list