[Midnightbsd-cvs] mports [21178] trunk/archivers: add php 7 archivers

laffer1 at midnightbsd.org laffer1 at midnightbsd.org
Tue Mar 15 16:23:33 EDT 2016


Revision: 21178
          http://svnweb.midnightbsd.org/mports/?rev=21178
Author:   laffer1
Date:     2016-03-15 16:23:32 -0400 (Tue, 15 Mar 2016)
Log Message:
-----------
add php 7 archivers

Modified Paths:
--------------
    trunk/archivers/Makefile

Added Paths:
-----------
    trunk/archivers/php70-bz2/
    trunk/archivers/php70-bz2/Makefile
    trunk/archivers/php70-phar/
    trunk/archivers/php70-phar/Makefile
    trunk/archivers/php70-phar/files/
    trunk/archivers/php70-phar/files/patch-config.m4
    trunk/archivers/php70-phar/files/patch-phar.c
    trunk/archivers/php70-zip/
    trunk/archivers/php70-zip/Makefile
    trunk/archivers/php70-zlib/
    trunk/archivers/php70-zlib/Makefile
    trunk/archivers/php70-zlib/files/
    trunk/archivers/php70-zlib/files/patch-zlib.c

Removed Paths:
-------------
    trunk/archivers/php5-bz2/
    trunk/archivers/php5-phar/
    trunk/archivers/php5-zlib/

Modified: trunk/archivers/Makefile
===================================================================
--- trunk/archivers/Makefile	2016-03-15 20:21:19 UTC (rev 21177)
+++ trunk/archivers/Makefile	2016-03-15 20:23:32 UTC (rev 21178)
@@ -35,10 +35,6 @@
 SUBDIR += p5-IO-Zlib
 SUBDIR += p7zip
 SUBDIR += pbzip2
-SUBDIR += php5-bz2
-SUBDIR += php5-phar
-SUBDIR += php5-zip
-SUBDIR += php5-zlib
 SUBDIR += php55-bz2
 SUBDIR += php55-phar
 SUBDIR += php55-zip
@@ -47,6 +43,10 @@
 SUBDIR += php56-phar
 SUBDIR += php56-zip
 SUBDIR += php56-zlib
+SUBDIR += php70-bz2
+SUBDIR += php70-phar
+SUBDIR += php70-zip
+SUBDIR += php70-zlib
 SUBDIR += rar
 SUBDIR += rpm4
 SUBDIR += rpm2cpio

Added: trunk/archivers/php70-bz2/Makefile
===================================================================
--- trunk/archivers/php70-bz2/Makefile	                        (rev 0)
+++ trunk/archivers/php70-bz2/Makefile	2016-03-15 20:23:32 UTC (rev 21178)
@@ -0,0 +1,11 @@
+# Created by: Alex Dupre <ale at FreeBSD.org>
+# $FreeBSD: head/archivers/php70-bz2/Makefile 408932 2016-02-15 14:34:26Z miwi $
+# $MidnightBSD$
+
+CATEGORIES=	archivers
+
+MASTERDIR=	${.CURDIR}/../../lang/php70
+
+PKGNAMESUFFIX=	-bz2
+
+.include "${MASTERDIR}/Makefile"


Property changes on: trunk/archivers/php70-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/php70-phar/Makefile
===================================================================
--- trunk/archivers/php70-phar/Makefile	                        (rev 0)
+++ trunk/archivers/php70-phar/Makefile	2016-03-15 20:23:32 UTC (rev 21178)
@@ -0,0 +1,11 @@
+# Created by: Alex Dupre <ale at FreeBSD.org>
+# $FreeBSD: head/archivers/php70-phar/Makefile 408944 2016-02-15 16:04:16Z mat $
+# $MidnightBSD$
+
+CATEGORIES=	archivers
+
+MASTERDIR=	${.CURDIR}/../../lang/php70
+
+PKGNAMESUFFIX=	-phar
+
+.include "${MASTERDIR}/Makefile"


Property changes on: trunk/archivers/php70-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/php70-phar/files/patch-config.m4
===================================================================
--- trunk/archivers/php70-phar/files/patch-config.m4	                        (rev 0)
+++ trunk/archivers/php70-phar/files/patch-config.m4	2016-03-15 20:23:32 UTC (rev 21178)
@@ -0,0 +1,41 @@
+--- config.m4.orig	2015-12-10 14:23:55.176546745 +0300
++++ config.m4	2015-12-10 14:29:14.284524651 +0300
+@@ -4,8 +4,38 @@
+ 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/php70-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/php70-phar/files/patch-phar.c
===================================================================
--- trunk/archivers/php70-phar/files/patch-phar.c	                        (rev 0)
+++ trunk/archivers/php70-phar/files/patch-phar.c	2016-03-15 20:23:32 UTC (rev 21178)
@@ -0,0 +1,11 @@
+--- phar.c.orig	2015-12-10 14:18:59.933565343 +0300
++++ phar.c	2015-12-10 14:19:28.787563292 +0300
+@@ -3578,7 +3578,7 @@
+ 	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/php70-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/php70-zip/Makefile
===================================================================
--- trunk/archivers/php70-zip/Makefile	                        (rev 0)
+++ trunk/archivers/php70-zip/Makefile	2016-03-15 20:23:32 UTC (rev 21178)
@@ -0,0 +1,11 @@
+# Created by: Alex Dupre <ale at FreeBSD.org>
+# $FreeBSD: head/archivers/php70-zip/Makefile 408932 2016-02-15 14:34:26Z miwi $
+# $MidnightBSD$
+
+CATEGORIES=	archivers
+
+MASTERDIR=	${.CURDIR}/../../lang/php70
+
+PKGNAMESUFFIX=	-zip
+
+.include "${MASTERDIR}/Makefile"


Property changes on: trunk/archivers/php70-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/php70-zlib/Makefile
===================================================================
--- trunk/archivers/php70-zlib/Makefile	                        (rev 0)
+++ trunk/archivers/php70-zlib/Makefile	2016-03-15 20:23:32 UTC (rev 21178)
@@ -0,0 +1,11 @@
+# Created by: Alex Dupre <ale at FreeBSD.org>
+# $FreeBSD: head/archivers/php70-zlib/Makefile 408944 2016-02-15 16:04:16Z mat $
+# $MidnightBSD$
+
+CATEGORIES=	archivers
+
+MASTERDIR=	${.CURDIR}/../../lang/php70
+
+PKGNAMESUFFIX=	-zlib
+
+.include "${MASTERDIR}/Makefile"


Property changes on: trunk/archivers/php70-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/php70-zlib/files/patch-zlib.c
===================================================================
--- trunk/archivers/php70-zlib/files/patch-zlib.c	                        (rev 0)
+++ trunk/archivers/php70-zlib/files/patch-zlib.c	2016-03-15 20:23:32 UTC (rev 21178)
@@ -0,0 +1,10 @@
+--- zlib.c.orig	2012-07-09 15:25:31.000000000 +0200
++++ zlib.c	2012-07-09 15:26:07.000000000 +0200
+@@ -957,6 +957,7 @@
+ /* {{{ PHP_RINIT_FUNCTION */
+ static PHP_RINIT_FUNCTION(zlib)
+ {
++	ZLIBG(output_compression) = 0;
+ 	ZLIBG(compression_coding) = 0;
+ 
+ 	php_zlib_output_compression_start(TSRMLS_C);


Property changes on: trunk/archivers/php70-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


More information about the Midnightbsd-cvs mailing list