[Midnightbsd-cvs] mports [20614] trunk/archivers: add archiver php ports for 5.5 and 5.6
laffer1 at midnightbsd.org
laffer1 at midnightbsd.org
Sat Oct 31 23:02:51 EDT 2015
Revision: 20614
http://svnweb.midnightbsd.org/mports/?rev=20614
Author: laffer1
Date: 2015-10-31 23:02:50 -0400 (Sat, 31 Oct 2015)
Log Message:
-----------
add archiver php ports for 5.5 and 5.6
Modified Paths:
--------------
trunk/archivers/Makefile
Added Paths:
-----------
trunk/archivers/php55-bz2/
trunk/archivers/php55-bz2/Makefile
trunk/archivers/php55-phar/
trunk/archivers/php55-phar/Makefile
trunk/archivers/php55-phar/files/
trunk/archivers/php55-phar/files/patch-config.m4
trunk/archivers/php55-phar/files/patch-phar.c
trunk/archivers/php55-zip/
trunk/archivers/php55-zip/Makefile
trunk/archivers/php55-zip/files/
trunk/archivers/php55-zip/files/patch-config.m4
trunk/archivers/php55-zlib/
trunk/archivers/php55-zlib/Makefile
trunk/archivers/php55-zlib/files/
trunk/archivers/php55-zlib/files/patch-zlib.c
trunk/archivers/php56-bz2/
trunk/archivers/php56-bz2/Makefile
trunk/archivers/php56-phar/
trunk/archivers/php56-phar/Makefile
trunk/archivers/php56-phar/files/
trunk/archivers/php56-phar/files/patch-config.m4
trunk/archivers/php56-phar/files/patch-phar.c
trunk/archivers/php56-zip/
trunk/archivers/php56-zip/Makefile
trunk/archivers/php56-zlib/
trunk/archivers/php56-zlib/Makefile
trunk/archivers/php56-zlib/files/
trunk/archivers/php56-zlib/files/patch-zlib.c
Modified: trunk/archivers/Makefile
===================================================================
--- trunk/archivers/Makefile 2015-11-01 02:53:11 UTC (rev 20613)
+++ trunk/archivers/Makefile 2015-11-01 03:02:50 UTC (rev 20614)
@@ -39,6 +39,14 @@
SUBDIR += php5-phar
SUBDIR += php5-zip
SUBDIR += php5-zlib
+SUBDIR += php55-bz2
+SUBDIR += php55-phar
+SUBDIR += php55-zip
+SUBDIR += php55-zlib
+SUBDIR += php56-bz2
+SUBDIR += php56-phar
+SUBDIR += php56-zip
+SUBDIR += php56-zlib
SUBDIR += rar
SUBDIR += rpm4
SUBDIR += rpm2cpio
Added: trunk/archivers/php55-bz2/Makefile
===================================================================
--- trunk/archivers/php55-bz2/Makefile (rev 0)
+++ trunk/archivers/php55-bz2/Makefile 2015-11-01 03:02:50 UTC (rev 20614)
@@ -0,0 +1,9 @@
+# $MidnightBSD$
+
+CATEGORIES= archivers
+
+MASTERDIR= ${.CURDIR}/../../lang/php55
+
+PKGNAMESUFFIX= -bz2
+
+.include "${MASTERDIR}/Makefile"
Property changes on: trunk/archivers/php55-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/php55-phar/Makefile
===================================================================
--- trunk/archivers/php55-phar/Makefile (rev 0)
+++ trunk/archivers/php55-phar/Makefile 2015-11-01 03:02:50 UTC (rev 20614)
@@ -0,0 +1,9 @@
+# $MidnightBSD$
+
+CATEGORIES= archivers
+
+MASTERDIR= ${.CURDIR}/../../lang/php55
+
+PKGNAMESUFFIX= -phar
+
+.include "${MASTERDIR}/Makefile"
Property changes on: trunk/archivers/php55-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/php55-phar/files/patch-config.m4
===================================================================
--- trunk/archivers/php55-phar/files/patch-config.m4 (rev 0)
+++ trunk/archivers/php55-phar/files/patch-config.m4 2015-11-01 03:02:50 UTC (rev 20614)
@@ -0,0 +1,41 @@
+--- config.m4.orig 2011-11-25 15:31:20.000000000 +0100
++++ config.m4 2011-11-25 15:47:45.000000000 +0100
+@@ -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)
++ 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/php55-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/php55-phar/files/patch-phar.c
===================================================================
--- trunk/archivers/php55-phar/files/patch-phar.c (rev 0)
+++ trunk/archivers/php55-phar/files/patch-phar.c 2015-11-01 03:02:50 UTC (rev 20614)
@@ -0,0 +1,11 @@
+--- phar.c.orig 2011-11-25 15:38:44.000000000 +0100
++++ phar.c 2011-11-25 15:39:01.000000000 +0100
+@@ -3716,7 +3716,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/php55-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/php55-zip/Makefile
===================================================================
--- trunk/archivers/php55-zip/Makefile (rev 0)
+++ trunk/archivers/php55-zip/Makefile 2015-11-01 03:02:50 UTC (rev 20614)
@@ -0,0 +1,9 @@
+# $MidnightBSD$
+
+CATEGORIES= archivers
+
+MASTERDIR= ${.CURDIR}/../../lang/php55
+
+PKGNAMESUFFIX= -zip
+
+.include "${MASTERDIR}/Makefile"
Property changes on: trunk/archivers/php55-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/php55-zip/files/patch-config.m4
===================================================================
--- trunk/archivers/php55-zip/files/patch-config.m4 (rev 0)
+++ trunk/archivers/php55-zip/files/patch-config.m4 2015-11-01 03:02:50 UTC (rev 20614)
@@ -0,0 +1,10 @@
+--- config.m4.orig 2009-04-09 16:16:30.000000000 +0200
++++ config.m4 2009-04-09 16:17:02.000000000 +0200
+@@ -65,6 +65,7 @@
+ #endif
+ ],[
+ PHP_PCRE_REGEX=pecl
++ PHP_ADD_INCLUDE($PHP_PCRE_DIR/include)
+ ],[
+ PHP_PCRE_REGEX=no
+ ])
Property changes on: trunk/archivers/php55-zip/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/php55-zlib/Makefile
===================================================================
--- trunk/archivers/php55-zlib/Makefile (rev 0)
+++ trunk/archivers/php55-zlib/Makefile 2015-11-01 03:02:50 UTC (rev 20614)
@@ -0,0 +1,9 @@
+# $MidnightBSD$
+
+CATEGORIES= archivers
+
+MASTERDIR= ${.CURDIR}/../../lang/php55
+
+PKGNAMESUFFIX= -zlib
+
+.include "${MASTERDIR}/Makefile"
Property changes on: trunk/archivers/php55-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/php55-zlib/files/patch-zlib.c
===================================================================
--- trunk/archivers/php55-zlib/files/patch-zlib.c (rev 0)
+++ trunk/archivers/php55-zlib/files/patch-zlib.c 2015-11-01 03:02:50 UTC (rev 20614)
@@ -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/php55-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
Added: trunk/archivers/php56-bz2/Makefile
===================================================================
--- trunk/archivers/php56-bz2/Makefile (rev 0)
+++ trunk/archivers/php56-bz2/Makefile 2015-11-01 03:02:50 UTC (rev 20614)
@@ -0,0 +1,9 @@
+# $MidnightBSD$
+
+CATEGORIES= archivers
+
+MASTERDIR= ${.CURDIR}/../../lang/php56
+
+PKGNAMESUFFIX= -bz2
+
+.include "${MASTERDIR}/Makefile"
Property changes on: trunk/archivers/php56-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/php56-phar/Makefile
===================================================================
--- trunk/archivers/php56-phar/Makefile (rev 0)
+++ trunk/archivers/php56-phar/Makefile 2015-11-01 03:02:50 UTC (rev 20614)
@@ -0,0 +1,9 @@
+# $MidnightBSD$
+
+CATEGORIES= archivers
+
+MASTERDIR= ${.CURDIR}/../../lang/php56
+
+PKGNAMESUFFIX= -phar
+
+.include "${MASTERDIR}/Makefile"
Property changes on: trunk/archivers/php56-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/php56-phar/files/patch-config.m4
===================================================================
--- trunk/archivers/php56-phar/files/patch-config.m4 (rev 0)
+++ trunk/archivers/php56-phar/files/patch-config.m4 2015-11-01 03:02:50 UTC (rev 20614)
@@ -0,0 +1,41 @@
+--- config.m4.orig 2011-11-25 15:31:20.000000000 +0100
++++ config.m4 2011-11-25 15:47:45.000000000 +0100
+@@ -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)
++ 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/php56-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/php56-phar/files/patch-phar.c
===================================================================
--- trunk/archivers/php56-phar/files/patch-phar.c (rev 0)
+++ trunk/archivers/php56-phar/files/patch-phar.c 2015-11-01 03:02:50 UTC (rev 20614)
@@ -0,0 +1,11 @@
+--- phar.c.orig 2011-11-25 15:38:44.000000000 +0100
++++ phar.c 2011-11-25 15:39:01.000000000 +0100
+@@ -3716,7 +3716,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/php56-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/php56-zip/Makefile
===================================================================
--- trunk/archivers/php56-zip/Makefile (rev 0)
+++ trunk/archivers/php56-zip/Makefile 2015-11-01 03:02:50 UTC (rev 20614)
@@ -0,0 +1,9 @@
+# $MidnightBSD$
+
+CATEGORIES= archivers
+
+MASTERDIR= ${.CURDIR}/../../lang/php56
+
+PKGNAMESUFFIX= -zip
+
+.include "${MASTERDIR}/Makefile"
Property changes on: trunk/archivers/php56-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/php56-zlib/Makefile
===================================================================
--- trunk/archivers/php56-zlib/Makefile (rev 0)
+++ trunk/archivers/php56-zlib/Makefile 2015-11-01 03:02:50 UTC (rev 20614)
@@ -0,0 +1,9 @@
+# $MidnightBSD$
+
+CATEGORIES= archivers
+
+MASTERDIR= ${.CURDIR}/../../lang/php56
+
+PKGNAMESUFFIX= -zlib
+
+.include "${MASTERDIR}/Makefile"
Property changes on: trunk/archivers/php56-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/php56-zlib/files/patch-zlib.c
===================================================================
--- trunk/archivers/php56-zlib/files/patch-zlib.c (rev 0)
+++ trunk/archivers/php56-zlib/files/patch-zlib.c 2015-11-01 03:02:50 UTC (rev 20614)
@@ -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/php56-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