[Midnightbsd-cvs] mports [20640] trunk/net: add php ports

laffer1 at midnightbsd.org laffer1 at midnightbsd.org
Wed Nov 4 16:24:05 EST 2015


Revision: 20640
          http://svnweb.midnightbsd.org/mports/?rev=20640
Author:   laffer1
Date:     2015-11-04 16:24:04 -0500 (Wed, 04 Nov 2015)
Log Message:
-----------
add php ports

Modified Paths:
--------------
    trunk/net/Makefile

Added Paths:
-----------
    trunk/net/php55-ldap/
    trunk/net/php55-ldap/Makefile
    trunk/net/php55-soap/
    trunk/net/php55-soap/Makefile
    trunk/net/php55-soap/files/
    trunk/net/php55-soap/files/patch-soap.c
    trunk/net/php55-sockets/
    trunk/net/php55-sockets/Makefile
    trunk/net/php55-xmlrpc/
    trunk/net/php55-xmlrpc/Makefile
    trunk/net/php55-xmlrpc/files/
    trunk/net/php55-xmlrpc/files/patch-config.m4
    trunk/net/php56-ldap/
    trunk/net/php56-ldap/Makefile
    trunk/net/php56-soap/
    trunk/net/php56-soap/Makefile
    trunk/net/php56-soap/files/
    trunk/net/php56-soap/files/patch-soap.c
    trunk/net/php56-sockets/
    trunk/net/php56-sockets/Makefile
    trunk/net/php56-xmlrpc/
    trunk/net/php56-xmlrpc/Makefile
    trunk/net/php56-xmlrpc/files/
    trunk/net/php56-xmlrpc/files/patch-config.m4

Modified: trunk/net/Makefile
===================================================================
--- trunk/net/Makefile	2015-11-04 13:47:50 UTC (rev 20639)
+++ trunk/net/Makefile	2015-11-04 21:24:04 UTC (rev 20640)
@@ -91,6 +91,14 @@
 SUBDIR += php5-soap
 SUBDIR += php5-sockets
 SUBDIR += php5-xmlrpc
+SUBDIR += php55-ldap
+SUBDIR += php55-soap
+SUBDIR += php55-sockets
+SUBDIR += php55-xmlrpc
+SUBDIR += php56-ldap
+SUBDIR += php56-soap
+SUBDIR += php56-sockets
+SUBDIR += php56-xmlrpc
 SUBDIR += phpldapadmin
 SUBDIR += py-avahi
 SUBDIR += py-oauth2

Added: trunk/net/php55-ldap/Makefile
===================================================================
--- trunk/net/php55-ldap/Makefile	                        (rev 0)
+++ trunk/net/php55-ldap/Makefile	2015-11-04 21:24:04 UTC (rev 20640)
@@ -0,0 +1,10 @@
+# Created by: Alex Dupre <ale at FreeBSD.org>
+# $FreeBSD: head/net/php55-ldap/Makefile 364015 2014-08-04 15:04:08Z ale $
+
+CATEGORIES=	net
+
+MASTERDIR=	${.CURDIR}/../../lang/php55
+
+PKGNAMESUFFIX=	-ldap
+
+.include "${MASTERDIR}/Makefile"


Property changes on: trunk/net/php55-ldap/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/net/php55-soap/Makefile
===================================================================
--- trunk/net/php55-soap/Makefile	                        (rev 0)
+++ trunk/net/php55-soap/Makefile	2015-11-04 21:24:04 UTC (rev 20640)
@@ -0,0 +1,10 @@
+# Created by: Alex Dupre <ale at FreeBSD.org>
+# $FreeBSD: head/net/php55-soap/Makefile 340722 2014-01-22 17:00:46Z mat $
+
+CATEGORIES=	net
+
+MASTERDIR=	${.CURDIR}/../../lang/php55
+
+PKGNAMESUFFIX=	-soap
+
+.include "${MASTERDIR}/Makefile"


Property changes on: trunk/net/php55-soap/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/net/php55-soap/files/patch-soap.c
===================================================================
--- trunk/net/php55-soap/files/patch-soap.c	                        (rev 0)
+++ trunk/net/php55-soap/files/patch-soap.c	2015-11-04 21:24:04 UTC (rev 20640)
@@ -0,0 +1,56 @@
+--- soap.c.orig	2012-03-02 15:46:04.000000000 +0100
++++ soap.c	2012-03-02 15:45:38.000000000 +0100
+@@ -23,7 +23,7 @@
+ #include "config.h"
+ #endif
+ #include "php_soap.h"
+-#if HAVE_PHP_SESSION && !defined(COMPILE_DL_SESSION)
++#if HAVE_PHP_SESSION
+ #include "ext/session/php_session.h"
+ #endif
+ #include "zend_exceptions.h"
+@@ -1639,7 +1639,7 @@
+ 		soap_obj = service->soap_object;
+ 		function_table = &((Z_OBJCE_P(soap_obj))->function_table);
+ 	} else if (service->type == SOAP_CLASS) {
+-#if HAVE_PHP_SESSION && !defined(COMPILE_DL_SESSION)
++#if HAVE_PHP_SESSION
+ 		/* If persistent then set soap_obj from from the previous created session (if available) */
+ 		if (service->soap_class.persistance == SOAP_PERSISTENCE_SESSION) {
+ 			zval **tmp_soap;
+@@ -1722,7 +1722,7 @@
+ 				}
+ 				efree(class_name);
+ 			}
+-#if HAVE_PHP_SESSION && !defined(COMPILE_DL_SESSION)
++#if HAVE_PHP_SESSION
+ 			/* If session then update session hash with new object */
+ 			if (service->soap_class.persistance == SOAP_PERSISTENCE_SESSION) {
+ 				zval **tmp_soap_pp;
+@@ -1820,7 +1820,7 @@
+ 		if (service->type == SOAP_CLASS || service->type == SOAP_OBJECT) {
+ 			call_status = call_user_function(NULL, &soap_obj, &function_name, retval, num_params, params TSRMLS_CC);
+ 			if (service->type == SOAP_CLASS) {
+-#if HAVE_PHP_SESSION && !defined(COMPILE_DL_SESSION)
++#if HAVE_PHP_SESSION
+ 				if (service->soap_class.persistance != SOAP_PERSISTENCE_SESSION) {
+ 					zval_ptr_dtor(&soap_obj);
+ 					soap_obj = NULL;
+@@ -1845,7 +1845,7 @@
+ 			soap_server_fault_ex(function, EG(exception), NULL TSRMLS_CC);
+ 		}
+ 		if (service->type == SOAP_CLASS) {
+-#if HAVE_PHP_SESSION && !defined(COMPILE_DL_SESSION)
++#if HAVE_PHP_SESSION
+ 			if (soap_obj && service->soap_class.persistance != SOAP_PERSISTENCE_SESSION) {
+ #else
+ 			if (soap_obj) {
+@@ -1887,7 +1887,7 @@
+ 			soap_server_fault_ex(function, EG(exception), NULL TSRMLS_CC);
+ 		}
+ 		if (service->type == SOAP_CLASS) {
+-#if HAVE_PHP_SESSION && !defined(COMPILE_DL_SESSION)
++#if HAVE_PHP_SESSION
+ 			if (soap_obj && service->soap_class.persistance != SOAP_PERSISTENCE_SESSION) {
+ #else
+ 			if (soap_obj) {


Property changes on: trunk/net/php55-soap/files/patch-soap.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/net/php55-sockets/Makefile
===================================================================
--- trunk/net/php55-sockets/Makefile	                        (rev 0)
+++ trunk/net/php55-sockets/Makefile	2015-11-04 21:24:04 UTC (rev 20640)
@@ -0,0 +1,10 @@
+# Created by: Alex Dupre <ale at FreeBSD.org>
+# $FreeBSD: head/net/php55-sockets/Makefile 340722 2014-01-22 17:00:46Z mat $
+
+CATEGORIES=	net
+
+MASTERDIR=	${.CURDIR}/../../lang/php55
+
+PKGNAMESUFFIX=	-sockets
+
+.include "${MASTERDIR}/Makefile"


Property changes on: trunk/net/php55-sockets/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/net/php55-xmlrpc/Makefile
===================================================================
--- trunk/net/php55-xmlrpc/Makefile	                        (rev 0)
+++ trunk/net/php55-xmlrpc/Makefile	2015-11-04 21:24:04 UTC (rev 20640)
@@ -0,0 +1,10 @@
+# Created by: Alex Dupre <ale at FreeBSD.org>
+# $FreeBSD: head/net/php55-xmlrpc/Makefile 340722 2014-01-22 17:00:46Z mat $
+
+CATEGORIES=	net
+
+MASTERDIR=	${.CURDIR}/../../lang/php55
+
+PKGNAMESUFFIX=	-xmlrpc
+
+.include "${MASTERDIR}/Makefile"


Property changes on: trunk/net/php55-xmlrpc/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/net/php55-xmlrpc/files/patch-config.m4
===================================================================
--- trunk/net/php55-xmlrpc/files/patch-config.m4	                        (rev 0)
+++ trunk/net/php55-xmlrpc/files/patch-config.m4	2015-11-04 21:24:04 UTC (rev 20640)
@@ -0,0 +1,23 @@
+--- config.m4.orig	2014-04-29 08:04:30.000000000 +0000
++++ config.m4	2014-05-15 08:04:00.883004682 +0000
+@@ -61,11 +61,9 @@ if test "$PHP_XMLRPC" != "no"; then
+     fi
+   fi
+ 
+-  dnl if iconv is shared or missing then we should build iconv ourselves
+-  if test "$PHP_ICONV_SHARED" = "yes" || test "$PHP_ICONV" = "no"; then
+-
+     if test "$PHP_ICONV_DIR" != "no"; then
+       PHP_ICONV=$PHP_ICONV_DIR
++      PHP_ADD_INCLUDE($PHP_ICONV_DIR/include)
+     fi
+   
+     if test -z "$PHP_ICONV" || test "$PHP_ICONV" = "no"; then
+@@ -75,7 +73,6 @@ if test "$PHP_XMLRPC" != "no"; then
+     PHP_SETUP_ICONV(XMLRPC_SHARED_LIBADD, [], [
+       AC_MSG_ERROR([iconv not found, in order to build xmlrpc you need the iconv library])
+     ])
+-  fi
+ fi
+ 
+ if test "$PHP_XMLRPC" = "yes"; then


Property changes on: trunk/net/php55-xmlrpc/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/net/php56-ldap/Makefile
===================================================================
--- trunk/net/php56-ldap/Makefile	                        (rev 0)
+++ trunk/net/php56-ldap/Makefile	2015-11-04 21:24:04 UTC (rev 20640)
@@ -0,0 +1,10 @@
+# Created by: Alex Dupre <ale at FreeBSD.org>
+# $FreeBSD: head/net/php56-ldap/Makefile 367268 2014-09-04 14:24:25Z ale $
+
+CATEGORIES=	net
+
+MASTERDIR=	${.CURDIR}/../../lang/php56
+
+PKGNAMESUFFIX=	-ldap
+
+.include "${MASTERDIR}/Makefile"


Property changes on: trunk/net/php56-ldap/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/net/php56-soap/Makefile
===================================================================
--- trunk/net/php56-soap/Makefile	                        (rev 0)
+++ trunk/net/php56-soap/Makefile	2015-11-04 21:24:04 UTC (rev 20640)
@@ -0,0 +1,10 @@
+# Created by: Alex Dupre <ale at FreeBSD.org>
+# $FreeBSD: head/net/php56-soap/Makefile 367268 2014-09-04 14:24:25Z ale $
+
+CATEGORIES=	net
+
+MASTERDIR=	${.CURDIR}/../../lang/php56
+
+PKGNAMESUFFIX=	-soap
+
+.include "${MASTERDIR}/Makefile"


Property changes on: trunk/net/php56-soap/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/net/php56-soap/files/patch-soap.c
===================================================================
--- trunk/net/php56-soap/files/patch-soap.c	                        (rev 0)
+++ trunk/net/php56-soap/files/patch-soap.c	2015-11-04 21:24:04 UTC (rev 20640)
@@ -0,0 +1,56 @@
+--- soap.c.orig	2012-03-02 15:46:04.000000000 +0100
++++ soap.c	2012-03-02 15:45:38.000000000 +0100
+@@ -23,7 +23,7 @@
+ #include "config.h"
+ #endif
+ #include "php_soap.h"
+-#if HAVE_PHP_SESSION && !defined(COMPILE_DL_SESSION)
++#if HAVE_PHP_SESSION
+ #include "ext/session/php_session.h"
+ #endif
+ #include "zend_exceptions.h"
+@@ -1639,7 +1639,7 @@
+ 		soap_obj = service->soap_object;
+ 		function_table = &((Z_OBJCE_P(soap_obj))->function_table);
+ 	} else if (service->type == SOAP_CLASS) {
+-#if HAVE_PHP_SESSION && !defined(COMPILE_DL_SESSION)
++#if HAVE_PHP_SESSION
+ 		/* If persistent then set soap_obj from from the previous created session (if available) */
+ 		if (service->soap_class.persistance == SOAP_PERSISTENCE_SESSION) {
+ 			zval **tmp_soap;
+@@ -1722,7 +1722,7 @@
+ 				}
+ 				efree(class_name);
+ 			}
+-#if HAVE_PHP_SESSION && !defined(COMPILE_DL_SESSION)
++#if HAVE_PHP_SESSION
+ 			/* If session then update session hash with new object */
+ 			if (service->soap_class.persistance == SOAP_PERSISTENCE_SESSION) {
+ 				zval **tmp_soap_pp;
+@@ -1820,7 +1820,7 @@
+ 		if (service->type == SOAP_CLASS || service->type == SOAP_OBJECT) {
+ 			call_status = call_user_function(NULL, &soap_obj, &function_name, retval, num_params, params TSRMLS_CC);
+ 			if (service->type == SOAP_CLASS) {
+-#if HAVE_PHP_SESSION && !defined(COMPILE_DL_SESSION)
++#if HAVE_PHP_SESSION
+ 				if (service->soap_class.persistance != SOAP_PERSISTENCE_SESSION) {
+ 					zval_ptr_dtor(&soap_obj);
+ 					soap_obj = NULL;
+@@ -1845,7 +1845,7 @@
+ 			soap_server_fault_ex(function, EG(exception), NULL TSRMLS_CC);
+ 		}
+ 		if (service->type == SOAP_CLASS) {
+-#if HAVE_PHP_SESSION && !defined(COMPILE_DL_SESSION)
++#if HAVE_PHP_SESSION
+ 			if (soap_obj && service->soap_class.persistance != SOAP_PERSISTENCE_SESSION) {
+ #else
+ 			if (soap_obj) {
+@@ -1887,7 +1887,7 @@
+ 			soap_server_fault_ex(function, EG(exception), NULL TSRMLS_CC);
+ 		}
+ 		if (service->type == SOAP_CLASS) {
+-#if HAVE_PHP_SESSION && !defined(COMPILE_DL_SESSION)
++#if HAVE_PHP_SESSION
+ 			if (soap_obj && service->soap_class.persistance != SOAP_PERSISTENCE_SESSION) {
+ #else
+ 			if (soap_obj) {


Property changes on: trunk/net/php56-soap/files/patch-soap.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/net/php56-sockets/Makefile
===================================================================
--- trunk/net/php56-sockets/Makefile	                        (rev 0)
+++ trunk/net/php56-sockets/Makefile	2015-11-04 21:24:04 UTC (rev 20640)
@@ -0,0 +1,10 @@
+# Created by: Alex Dupre <ale at FreeBSD.org>
+# $FreeBSD: head/net/php56-sockets/Makefile 367268 2014-09-04 14:24:25Z ale $
+
+CATEGORIES=	net
+
+MASTERDIR=	${.CURDIR}/../../lang/php56
+
+PKGNAMESUFFIX=	-sockets
+
+.include "${MASTERDIR}/Makefile"


Property changes on: trunk/net/php56-sockets/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/net/php56-xmlrpc/Makefile
===================================================================
--- trunk/net/php56-xmlrpc/Makefile	                        (rev 0)
+++ trunk/net/php56-xmlrpc/Makefile	2015-11-04 21:24:04 UTC (rev 20640)
@@ -0,0 +1,10 @@
+# Created by: Alex Dupre <ale at FreeBSD.org>
+# $FreeBSD: head/net/php56-xmlrpc/Makefile 367268 2014-09-04 14:24:25Z ale $
+
+CATEGORIES=	net
+
+MASTERDIR=	${.CURDIR}/../../lang/php56
+
+PKGNAMESUFFIX=	-xmlrpc
+
+.include "${MASTERDIR}/Makefile"


Property changes on: trunk/net/php56-xmlrpc/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/net/php56-xmlrpc/files/patch-config.m4
===================================================================
--- trunk/net/php56-xmlrpc/files/patch-config.m4	                        (rev 0)
+++ trunk/net/php56-xmlrpc/files/patch-config.m4	2015-11-04 21:24:04 UTC (rev 20640)
@@ -0,0 +1,23 @@
+--- config.m4.orig	2014-04-29 08:04:30.000000000 +0000
++++ config.m4	2014-05-15 08:04:00.883004682 +0000
+@@ -61,11 +61,9 @@ if test "$PHP_XMLRPC" != "no"; then
+     fi
+   fi
+ 
+-  dnl if iconv is shared or missing then we should build iconv ourselves
+-  if test "$PHP_ICONV_SHARED" = "yes" || test "$PHP_ICONV" = "no"; then
+-
+     if test "$PHP_ICONV_DIR" != "no"; then
+       PHP_ICONV=$PHP_ICONV_DIR
++      PHP_ADD_INCLUDE($PHP_ICONV_DIR/include)
+     fi
+   
+     if test -z "$PHP_ICONV" || test "$PHP_ICONV" = "no"; then
+@@ -75,7 +73,6 @@ if test "$PHP_XMLRPC" != "no"; then
+     PHP_SETUP_ICONV(XMLRPC_SHARED_LIBADD, [], [
+       AC_MSG_ERROR([iconv not found, in order to build xmlrpc you need the iconv library])
+     ])
+-  fi
+ fi
+ 
+ if test "$PHP_XMLRPC" = "yes"; then


Property changes on: trunk/net/php56-xmlrpc/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


More information about the Midnightbsd-cvs mailing list