summaryrefslogtreecommitdiff
path: root/www
diff options
context:
space:
mode:
Diffstat (limited to 'www')
-rw-r--r--www/Makefile4
-rw-r--r--www/mod_php74/Makefile15
-rw-r--r--www/php74-opcache/Makefile13
-rw-r--r--www/php74-opcache/files/patch-zend__file__cache.c14
-rw-r--r--www/php74-session/Makefile11
-rw-r--r--www/php74-tidy/Makefile11
6 files changed, 68 insertions, 0 deletions
diff --git a/www/Makefile b/www/Makefile
index b1eb7f70aaab..c6d5fc98b2d8 100644
--- a/www/Makefile
+++ b/www/Makefile
@@ -411,6 +411,7 @@
SUBDIR += mod_php71
SUBDIR += mod_php72
SUBDIR += mod_php73
+ SUBDIR += mod_php74
SUBDIR += mod_proctitle
SUBDIR += mod_proxy_xml
SUBDIR += mod_python35
@@ -1404,6 +1405,9 @@
SUBDIR += php73-opcache
SUBDIR += php73-session
SUBDIR += php73-tidy
+ SUBDIR += php74-opcache
+ SUBDIR += php74-session
+ SUBDIR += php74-tidy
SUBDIR += phpbb
SUBDIR += phpbb3
SUBDIR += phpgroupware
diff --git a/www/mod_php74/Makefile b/www/mod_php74/Makefile
new file mode 100644
index 000000000000..64d364d364d0
--- /dev/null
+++ b/www/mod_php74/Makefile
@@ -0,0 +1,15 @@
+# $FreeBSD$
+
+CATEGORIES= www devel
+PKGNAMEPREFIX= mod_
+
+MAINTAINER= ports@FreeBSD.org
+
+PHP_PORT= lang/php74
+MASTERDIR= ${.CURDIR}/../../${PHP_PORT}
+
+OPTIONS_DEFINE= AP2FILTER
+AP2FILTER_DESC= Use Apache 2.x filter interface (experimental)
+OPTIONS_EXCLUDE=CGI CLI FPM EMBED
+
+.include "${MASTERDIR}/Makefile"
diff --git a/www/php74-opcache/Makefile b/www/php74-opcache/Makefile
new file mode 100644
index 000000000000..1f4b3cd2e3fe
--- /dev/null
+++ b/www/php74-opcache/Makefile
@@ -0,0 +1,13 @@
+# $FreeBSD$
+
+CATEGORIES= www
+
+MASTERDIR= ${.CURDIR}/../../lang/php74
+
+PKGNAMESUFFIX= -opcache
+
+TEST_TARGET= test
+
+USES= php:zend,noflavors
+
+.include "${MASTERDIR}/Makefile"
diff --git a/www/php74-opcache/files/patch-zend__file__cache.c b/www/php74-opcache/files/patch-zend__file__cache.c
new file mode 100644
index 000000000000..937290216eef
--- /dev/null
+++ b/www/php74-opcache/files/patch-zend__file__cache.c
@@ -0,0 +1,14 @@
+--- zend_file_cache.c.orig 2017-07-05 13:48:27 UTC
++++ zend_file_cache.c
+@@ -24,9 +24,10 @@
+
+ #include "php.h"
+
++#include "ZendAccelerator.h"
++
+ #ifdef HAVE_OPCACHE_FILE_CACHE
+
+-#include "ZendAccelerator.h"
+ #include "zend_file_cache.h"
+ #include "zend_shared_alloc.h"
+ #include "zend_accelerator_util_funcs.h"
diff --git a/www/php74-session/Makefile b/www/php74-session/Makefile
new file mode 100644
index 000000000000..cc926a5a0a12
--- /dev/null
+++ b/www/php74-session/Makefile
@@ -0,0 +1,11 @@
+# $FreeBSD$
+
+CATEGORIES= www
+
+MASTERDIR= ${.CURDIR}/../../lang/php74
+
+PKGNAMESUFFIX= -session
+
+TEST_TARGET= test
+
+.include "${MASTERDIR}/Makefile"
diff --git a/www/php74-tidy/Makefile b/www/php74-tidy/Makefile
new file mode 100644
index 000000000000..2a850adf6eee
--- /dev/null
+++ b/www/php74-tidy/Makefile
@@ -0,0 +1,11 @@
+# $FreeBSD$
+
+CATEGORIES= www
+
+MASTERDIR= ${.CURDIR}/../../lang/php74
+
+PKGNAMESUFFIX= -tidy
+
+TEST_TARGET= test
+
+.include "${MASTERDIR}/Makefile"