aboutsummaryrefslogtreecommitdiff
path: root/security
diff options
context:
space:
mode:
Diffstat (limited to 'security')
-rw-r--r--security/Makefile3
-rw-r--r--security/php74-filter/Makefile11
-rw-r--r--security/php74-filter/files/patch-config.m410
-rw-r--r--security/php74-hash/Makefile11
-rw-r--r--security/php74-openssl/Makefile11
-rw-r--r--security/php74-sodium/Makefile11
-rw-r--r--security/php74-sodium/files/patch-config.m417
7 files changed, 74 insertions, 0 deletions
diff --git a/security/Makefile b/security/Makefile
index 659d4488b587..6e15b3f91548 100644
--- a/security/Makefile
+++ b/security/Makefile
@@ -805,6 +805,9 @@
SUBDIR += php73-hash
SUBDIR += php73-openssl
SUBDIR += php73-sodium
+ SUBDIR += php74-filter
+ SUBDIR += php74-openssl
+ SUBDIR += php74-sodium
SUBDIR += phpsecinfo
SUBDIR += picosha2
SUBDIR += pidentd
diff --git a/security/php74-filter/Makefile b/security/php74-filter/Makefile
new file mode 100644
index 000000000000..8ea882b7a152
--- /dev/null
+++ b/security/php74-filter/Makefile
@@ -0,0 +1,11 @@
+# $FreeBSD$
+
+CATEGORIES= security
+
+MASTERDIR= ${.CURDIR}/../../lang/php74
+
+PKGNAMESUFFIX= -filter
+
+TEST_TARGET= test
+
+.include "${MASTERDIR}/Makefile"
diff --git a/security/php74-filter/files/patch-config.m4 b/security/php74-filter/files/patch-config.m4
new file mode 100644
index 000000000000..ab64c6c9d5ad
--- /dev/null
+++ b/security/php74-filter/files/patch-config.m4
@@ -0,0 +1,10 @@
+--- config.m4.orig 2009-03-06 08:25:45.000000000 +0100
++++ config.m4 2009-03-06 08:28:10.000000000 +0100
+@@ -32,6 +32,7 @@
+ #endif
+ ],[
+ PHP_PCRE_REGEX=pecl
++ PHP_ADD_INCLUDE($PHP_PCRE_DIR/include)
+ ],[
+ PHP_PCRE_REGEX=no
+ ])
diff --git a/security/php74-hash/Makefile b/security/php74-hash/Makefile
new file mode 100644
index 000000000000..a48dee402993
--- /dev/null
+++ b/security/php74-hash/Makefile
@@ -0,0 +1,11 @@
+# $FreeBSD$
+
+CATEGORIES= security
+
+MASTERDIR= ${.CURDIR}/../../lang/php74
+
+PKGNAMESUFFIX= -hash
+
+TEST_TARGET= test
+
+.include "${MASTERDIR}/Makefile"
diff --git a/security/php74-openssl/Makefile b/security/php74-openssl/Makefile
new file mode 100644
index 000000000000..1c5e63dcb80a
--- /dev/null
+++ b/security/php74-openssl/Makefile
@@ -0,0 +1,11 @@
+# $FreeBSD$
+
+CATEGORIES= security
+
+MASTERDIR= ${.CURDIR}/../../lang/php74
+
+PKGNAMESUFFIX= -openssl
+
+TEST_TARGET= test
+
+.include "${MASTERDIR}/Makefile"
diff --git a/security/php74-sodium/Makefile b/security/php74-sodium/Makefile
new file mode 100644
index 000000000000..889eb3f3c6f7
--- /dev/null
+++ b/security/php74-sodium/Makefile
@@ -0,0 +1,11 @@
+# $FreeBSD$
+
+CATEGORIES= security
+
+MASTERDIR= ${.CURDIR}/../../lang/php74
+
+PKGNAMESUFFIX= -sodium
+
+TEST_TARGET= test
+
+.include "${MASTERDIR}/Makefile"
diff --git a/security/php74-sodium/files/patch-config.m4 b/security/php74-sodium/files/patch-config.m4
new file mode 100644
index 000000000000..9d328698a487
--- /dev/null
+++ b/security/php74-sodium/files/patch-config.m4
@@ -0,0 +1,17 @@
+--- config.m4.orig 2017-11-03 18:32:08 UTC
++++ config.m4
+@@ -50,14 +50,6 @@ if test "$PHP_SODIUM" != "no"; then
+ PHP_ADD_LIBRARY_WITH_PATH($LIBNAME, $LIBSODIUM_DIR/$PHP_LIBDIR, SODIUM_SHARED_LIBADD)
+ fi
+
+- PHP_CHECK_LIBRARY($LIBNAME,$LIBSYMBOL,
+- [
+- AC_DEFINE(HAVE_LIBSODIUMLIB,1,[ ])
+- ],[
+- AC_MSG_ERROR([wrong libsodium lib version (< 1.0.8) or lib not found])
+- ],[
+- ])
+-
+ PHP_SUBST(SODIUM_SHARED_LIBADD)
+
+ PHP_NEW_EXTENSION(sodium, libsodium.c, $ext_shared)