[Midnightbsd-cvs] mports [21212] trunk/sysutils: add sysutils php 7
laffer1 at midnightbsd.org
laffer1 at midnightbsd.org
Thu Mar 17 20:55:56 EDT 2016
Revision: 21212
http://svnweb.midnightbsd.org/mports/?rev=21212
Author: laffer1
Date: 2016-03-17 20:55:56 -0400 (Thu, 17 Mar 2016)
Log Message:
-----------
add sysutils php 7
Added Paths:
-----------
trunk/sysutils/php70-fileinfo/
trunk/sysutils/php70-fileinfo/Makefile
trunk/sysutils/php70-fileinfo/files/
trunk/sysutils/php70-fileinfo/files/patch-config.m4
trunk/sysutils/php70-posix/
trunk/sysutils/php70-posix/Makefile
trunk/sysutils/php70-posix/files/
trunk/sysutils/php70-posix/files/patch-posix.c
Added: trunk/sysutils/php70-fileinfo/Makefile
===================================================================
--- trunk/sysutils/php70-fileinfo/Makefile (rev 0)
+++ trunk/sysutils/php70-fileinfo/Makefile 2016-03-18 00:55:56 UTC (rev 21212)
@@ -0,0 +1,11 @@
+# Created by: Alex Dupre <ale at FreeBSD.org>
+# $FreeBSD: head/sysutils/php70-fileinfo/Makefile 408932 2016-02-15 14:34:26Z miwi $
+# $MidnightBSD$
+
+CATEGORIES= sysutils
+
+MASTERDIR= ${.CURDIR}/../../lang/php70
+
+PKGNAMESUFFIX= -fileinfo
+
+.include "${MASTERDIR}/Makefile"
Property changes on: trunk/sysutils/php70-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/php70-fileinfo/files/patch-config.m4
===================================================================
--- trunk/sysutils/php70-fileinfo/files/patch-config.m4 (rev 0)
+++ trunk/sysutils/php70-fileinfo/files/patch-config.m4 2016-03-18 00:55:56 UTC (rev 21212)
@@ -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/php70-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/php70-posix/Makefile
===================================================================
--- trunk/sysutils/php70-posix/Makefile (rev 0)
+++ trunk/sysutils/php70-posix/Makefile 2016-03-18 00:55:56 UTC (rev 21212)
@@ -0,0 +1,11 @@
+# Created by: Alex Dupre <ale at FreeBSD.org>
+# $FreeBSD: head/sysutils/php70-posix/Makefile 408932 2016-02-15 14:34:26Z miwi $
+# $MidnightBSD$
+
+CATEGORIES= sysutils
+
+MASTERDIR= ${.CURDIR}/../../lang/php70
+
+PKGNAMESUFFIX= -posix
+
+.include "${MASTERDIR}/Makefile"
Property changes on: trunk/sysutils/php70-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/php70-posix/files/patch-posix.c
===================================================================
--- trunk/sysutils/php70-posix/files/patch-posix.c (rev 0)
+++ trunk/sysutils/php70-posix/files/patch-posix.c 2016-03-18 00:55:56 UTC (rev 21212)
@@ -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/php70-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