[Midnightbsd-cvs] mports [22469] trunk/sysutils: add php71 sysutils

laffer1 at midnightbsd.org laffer1 at midnightbsd.org
Sun Jun 11 14:27:57 EDT 2017


Revision: 22469
          http://svnweb.midnightbsd.org/mports/?rev=22469
Author:   laffer1
Date:     2017-06-11 14:27:57 -0400 (Sun, 11 Jun 2017)
Log Message:
-----------
add php71 sysutils

Modified Paths:
--------------
    trunk/sysutils/Makefile

Added Paths:
-----------
    trunk/sysutils/php71-fileinfo/
    trunk/sysutils/php71-fileinfo/Makefile
    trunk/sysutils/php71-fileinfo/files/
    trunk/sysutils/php71-fileinfo/files/patch-config.m4
    trunk/sysutils/php71-posix/
    trunk/sysutils/php71-posix/Makefile
    trunk/sysutils/php71-posix/files/
    trunk/sysutils/php71-posix/files/patch-posix.c

Modified: trunk/sysutils/Makefile
===================================================================
--- trunk/sysutils/Makefile	2017-06-11 17:59:31 UTC (rev 22468)
+++ trunk/sysutils/Makefile	2017-06-11 18:27:57 UTC (rev 22469)
@@ -90,6 +90,8 @@
 SUBDIR += php56-posix
 SUBDIR += php70-fileinfo
 SUBDIR += php70-posix
+SUBDIR += php71-fileinfo
+SUBDIR += php71-posix
 SUBDIR += policykit
 SUBDIR += policykit-gnome
 SUBDIR += polkit

Added: trunk/sysutils/php71-fileinfo/Makefile
===================================================================
--- trunk/sysutils/php71-fileinfo/Makefile	                        (rev 0)
+++ trunk/sysutils/php71-fileinfo/Makefile	2017-06-11 18:27:57 UTC (rev 22469)
@@ -0,0 +1,10 @@
+# $MidnightBSD$
+# $FreeBSD: head/sysutils/php71-fileinfo/Makefile 432324 2017-01-24 11:54:20Z tz $
+
+CATEGORIES=	sysutils
+
+MASTERDIR=	${.CURDIR}/../../lang/php71
+
+PKGNAMESUFFIX=	-fileinfo
+
+.include "${MASTERDIR}/Makefile"


Property changes on: trunk/sysutils/php71-fileinfo/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/sysutils/php71-fileinfo/files/patch-config.m4
===================================================================
--- trunk/sysutils/php71-fileinfo/files/patch-config.m4	                        (rev 0)
+++ trunk/sysutils/php71-fileinfo/files/patch-config.m4	2017-06-11 18:27:57 UTC (rev 22469)
@@ -0,0 +1,21 @@
+--- config.m4.orig	2010-09-07 15:45:30.000000000 +0200
++++ config.m4	2010-09-07 15:46:50.000000000 +0200
+@@ -4,6 +4,9 @@
+ PHP_ARG_ENABLE(fileinfo, for fileinfo support,
+ [  --disable-fileinfo      Disable fileinfo support], yes)
+ 
++PHP_ARG_WITH(pcre-dir, pcre install prefix,
++[  --with-pcre-dir           FILEINFO: pcre install prefix], no, no)
++
+ if test "$PHP_FILEINFO" != "no"; then
+ 
+   libmagic_sources=" \
+@@ -13,6 +16,8 @@
+     libmagic/is_tar.c libmagic/magic.c libmagic/print.c \
+     libmagic/readcdf.c libmagic/readelf.c libmagic/softmagic.c"
+ 
++  PHP_ADD_INCLUDE($PHP_PCRE_DIR/include)
++
+   PHP_NEW_EXTENSION(fileinfo, fileinfo.c $libmagic_sources, $ext_shared,,-I at ext_srcdir@/libmagic)
+   PHP_ADD_BUILD_DIR($ext_builddir/libmagic)
+ 


Property changes on: trunk/sysutils/php71-fileinfo/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/sysutils/php71-posix/Makefile
===================================================================
--- trunk/sysutils/php71-posix/Makefile	                        (rev 0)
+++ trunk/sysutils/php71-posix/Makefile	2017-06-11 18:27:57 UTC (rev 22469)
@@ -0,0 +1,10 @@
+# $MidnightBSD$
+# $FreeBSD: head/sysutils/php71-posix/Makefile 432324 2017-01-24 11:54:20Z tz $
+
+CATEGORIES=	sysutils
+
+MASTERDIR=	${.CURDIR}/../../lang/php71
+
+PKGNAMESUFFIX=	-posix
+
+.include "${MASTERDIR}/Makefile"


Property changes on: trunk/sysutils/php71-posix/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/sysutils/php71-posix/files/patch-posix.c
===================================================================
--- trunk/sysutils/php71-posix/files/patch-posix.c	                        (rev 0)
+++ trunk/sysutils/php71-posix/files/patch-posix.c	2017-06-11 18:27:57 UTC (rev 22469)
@@ -0,0 +1,38 @@
+--- posix.c.orig	Fri Feb 23 00:40:39 2007
++++ posix.c	Sun May 13 17:52:27 2007
+@@ -838,7 +838,7 @@
+ #if defined(ZTS) && defined(HAVE_GETGRNAM_R) && defined(_SC_GETGR_R_SIZE_MAX)
+ 	buflen = sysconf(_SC_GETGR_R_SIZE_MAX);
+ 	if (buflen < 1) {
+-		RETURN_FALSE;
++		buflen = 1024;
+ 	}
+ 	buf = emalloc(buflen);
+ 	g = &gbuf;
+@@ -888,7 +888,7 @@
+ 	
+ 	grbuflen = sysconf(_SC_GETGR_R_SIZE_MAX);
+ 	if (grbuflen < 1) {
+-		RETURN_FALSE;
++		grbuflen = 1024;
+ 	}
+ 
+ 	grbuf = emalloc(grbuflen);
+@@ -955,7 +955,7 @@
+ #if defined(ZTS) && defined(_SC_GETPW_R_SIZE_MAX) && defined(HAVE_GETPWNAM_R)
+ 	buflen = sysconf(_SC_GETPW_R_SIZE_MAX);
+ 	if (buflen < 1) {
+-		RETURN_FALSE;
++		buflen = 1024;
+ 	}
+ 	buf = emalloc(buflen);
+ 	pw = &pwbuf;
+@@ -1004,7 +1004,7 @@
+ #if defined(ZTS) && defined(_SC_GETPW_R_SIZE_MAX) && defined(HAVE_GETPWUID_R)
+ 	pwbuflen = sysconf(_SC_GETPW_R_SIZE_MAX);
+ 	if (pwbuflen < 1) {
+-		RETURN_FALSE;
++		pwbuflen = 1024;
+ 	}
+ 	pwbuf = emalloc(pwbuflen);
+ 


Property changes on: trunk/sysutils/php71-posix/files/patch-posix.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