aboutsummaryrefslogtreecommitdiffstats
path: root/www
diff options
context:
space:
mode:
authortz <tz@FreeBSD.org>2017-11-16 18:48:48 +0800
committertz <tz@FreeBSD.org>2017-11-16 18:48:48 +0800
commit9c489fdd6e8643dedbe20c8b8fbcfc2d73c2109c (patch)
treea2ff3d816b255016827738be132f8fc8bff8f5d9 /www
parent27bd51e10cb05bed8f12f0c893e867200727f95c (diff)
downloadfreebsd-ports-gnome-9c489fdd6e8643dedbe20c8b8fbcfc2d73c2109c.tar.gz
freebsd-ports-gnome-9c489fdd6e8643dedbe20c8b8fbcfc2d73c2109c.tar.zst
freebsd-ports-gnome-9c489fdd6e8643dedbe20c8b8fbcfc2d73c2109c.zip
Add PHP 7.2 RC6
Notable changes: - mcrypt module was removed - sodium module was added - sybase_ct artifacts removed Also many PECL ports will not work with this version since some files got renamed. Reviewed by: mat, ale, Rainer Duffner <rainer@ultra-secure.de> Differential Revision: https://reviews.freebsd.org/D12980
Diffstat (limited to 'www')
-rw-r--r--www/Makefile4
-rw-r--r--www/mod_php72/Makefile15
-rw-r--r--www/php72-opcache/Makefile11
-rw-r--r--www/php72-opcache/files/patch-zend__file__cache.c14
-rw-r--r--www/php72-session/Makefile9
-rw-r--r--www/php72-tidy/Makefile9
6 files changed, 62 insertions, 0 deletions
diff --git a/www/Makefile b/www/Makefile
index c10280eaf732..35574e45ef80 100644
--- a/www/Makefile
+++ b/www/Makefile
@@ -482,6 +482,7 @@
SUBDIR += mod_php56
SUBDIR += mod_php70
SUBDIR += mod_php71
+ SUBDIR += mod_php72
SUBDIR += mod_proctitle
SUBDIR += mod_proxy_html
SUBDIR += mod_proxy_uwsgi
@@ -1479,6 +1480,9 @@
SUBDIR += php71-opcache
SUBDIR += php71-session
SUBDIR += php71-tidy
+ SUBDIR += php72-opcache
+ SUBDIR += php72-session
+ SUBDIR += php72-tidy
SUBDIR += phpbb
SUBDIR += phpbb3
SUBDIR += phpgroupware
diff --git a/www/mod_php72/Makefile b/www/mod_php72/Makefile
new file mode 100644
index 000000000000..c60b67628c25
--- /dev/null
+++ b/www/mod_php72/Makefile
@@ -0,0 +1,15 @@
+# $FreeBSD$
+
+CATEGORIES= www devel
+PKGNAMEPREFIX= mod_
+
+MAINTAINER= ports@FreeBSD.org
+
+PHP_PORT= lang/php72
+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/php72-opcache/Makefile b/www/php72-opcache/Makefile
new file mode 100644
index 000000000000..be3994fc4342
--- /dev/null
+++ b/www/php72-opcache/Makefile
@@ -0,0 +1,11 @@
+# $FreeBSD$
+
+CATEGORIES= www
+
+MASTERDIR= ${.CURDIR}/../../lang/php72
+
+PKGNAMESUFFIX= -opcache
+
+USES= php:zend
+
+.include "${MASTERDIR}/Makefile"
diff --git a/www/php72-opcache/files/patch-zend__file__cache.c b/www/php72-opcache/files/patch-zend__file__cache.c
new file mode 100644
index 000000000000..937290216eef
--- /dev/null
+++ b/www/php72-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/php72-session/Makefile b/www/php72-session/Makefile
new file mode 100644
index 000000000000..d4886620ea20
--- /dev/null
+++ b/www/php72-session/Makefile
@@ -0,0 +1,9 @@
+# $FreeBSD$
+
+CATEGORIES= www
+
+MASTERDIR= ${.CURDIR}/../../lang/php72
+
+PKGNAMESUFFIX= -session
+
+.include "${MASTERDIR}/Makefile"
diff --git a/www/php72-tidy/Makefile b/www/php72-tidy/Makefile
new file mode 100644
index 000000000000..c822add61de4
--- /dev/null
+++ b/www/php72-tidy/Makefile
@@ -0,0 +1,9 @@
+# $FreeBSD$
+
+CATEGORIES= www
+
+MASTERDIR= ${.CURDIR}/../../lang/php72
+
+PKGNAMESUFFIX= -tidy
+
+.include "${MASTERDIR}/Makefile"