diff options
Diffstat (limited to 'security')
-rw-r--r-- | security/Makefile | 4 | ||||
-rw-r--r-- | security/php72-filter/Makefile | 9 | ||||
-rw-r--r-- | security/php72-filter/files/patch-config.m4 | 10 | ||||
-rw-r--r-- | security/php72-filter/php71-filter/Makefile | 9 | ||||
-rw-r--r-- | security/php72-filter/php71-filter/files/patch-config.m4 | 10 | ||||
-rw-r--r-- | security/php72-hash/Makefile | 9 | ||||
-rw-r--r-- | security/php72-hash/php71-hash/Makefile | 9 | ||||
-rw-r--r-- | security/php72-openssl/Makefile | 9 | ||||
-rw-r--r-- | security/php72-openssl/php71-openssl/Makefile | 9 | ||||
-rw-r--r-- | security/php72-sodium/Makefile | 9 | ||||
-rw-r--r-- | security/php72-sodium/files/patch-config.m4 | 17 |
11 files changed, 104 insertions, 0 deletions
diff --git a/security/Makefile b/security/Makefile index e98138c5eaca..58b65362da79 100644 --- a/security/Makefile +++ b/security/Makefile @@ -818,6 +818,10 @@ SUBDIR += php71-hash SUBDIR += php71-mcrypt SUBDIR += php71-openssl + SUBDIR += php72-filter + SUBDIR += php72-hash + SUBDIR += php72-openssl + SUBDIR += php72-sodium SUBDIR += phpdeadlock SUBDIR += phpsecinfo SUBDIR += pidentd diff --git a/security/php72-filter/Makefile b/security/php72-filter/Makefile new file mode 100644 index 000000000000..12d6c66e2c88 --- /dev/null +++ b/security/php72-filter/Makefile @@ -0,0 +1,9 @@ +# $FreeBSD$ + +CATEGORIES= security + +MASTERDIR= ${.CURDIR}/../../lang/php72 + +PKGNAMESUFFIX= -filter + +.include "${MASTERDIR}/Makefile" diff --git a/security/php72-filter/files/patch-config.m4 b/security/php72-filter/files/patch-config.m4 new file mode 100644 index 000000000000..ab64c6c9d5ad --- /dev/null +++ b/security/php72-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/php72-filter/php71-filter/Makefile b/security/php72-filter/php71-filter/Makefile new file mode 100644 index 000000000000..8be3655c9d5e --- /dev/null +++ b/security/php72-filter/php71-filter/Makefile @@ -0,0 +1,9 @@ +# $FreeBSD$ + +CATEGORIES= security + +MASTERDIR= ${.CURDIR}/../../lang/php71 + +PKGNAMESUFFIX= -filter + +.include "${MASTERDIR}/Makefile" diff --git a/security/php72-filter/php71-filter/files/patch-config.m4 b/security/php72-filter/php71-filter/files/patch-config.m4 new file mode 100644 index 000000000000..ab64c6c9d5ad --- /dev/null +++ b/security/php72-filter/php71-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/php72-hash/Makefile b/security/php72-hash/Makefile new file mode 100644 index 000000000000..33c6d4107b4b --- /dev/null +++ b/security/php72-hash/Makefile @@ -0,0 +1,9 @@ +# $FreeBSD$ + +CATEGORIES= security + +MASTERDIR= ${.CURDIR}/../../lang/php72 + +PKGNAMESUFFIX= -hash + +.include "${MASTERDIR}/Makefile" diff --git a/security/php72-hash/php71-hash/Makefile b/security/php72-hash/php71-hash/Makefile new file mode 100644 index 000000000000..ee41b199dc0b --- /dev/null +++ b/security/php72-hash/php71-hash/Makefile @@ -0,0 +1,9 @@ +# $FreeBSD$ + +CATEGORIES= security + +MASTERDIR= ${.CURDIR}/../../lang/php71 + +PKGNAMESUFFIX= -hash + +.include "${MASTERDIR}/Makefile" diff --git a/security/php72-openssl/Makefile b/security/php72-openssl/Makefile new file mode 100644 index 000000000000..b22bdfefe348 --- /dev/null +++ b/security/php72-openssl/Makefile @@ -0,0 +1,9 @@ +# $FreeBSD$ + +CATEGORIES= security + +MASTERDIR= ${.CURDIR}/../../lang/php72 + +PKGNAMESUFFIX= -openssl + +.include "${MASTERDIR}/Makefile" diff --git a/security/php72-openssl/php71-openssl/Makefile b/security/php72-openssl/php71-openssl/Makefile new file mode 100644 index 000000000000..d488d29c194b --- /dev/null +++ b/security/php72-openssl/php71-openssl/Makefile @@ -0,0 +1,9 @@ +# $FreeBSD$ + +CATEGORIES= security + +MASTERDIR= ${.CURDIR}/../../lang/php71 + +PKGNAMESUFFIX= -openssl + +.include "${MASTERDIR}/Makefile" diff --git a/security/php72-sodium/Makefile b/security/php72-sodium/Makefile new file mode 100644 index 000000000000..2399cf8d3572 --- /dev/null +++ b/security/php72-sodium/Makefile @@ -0,0 +1,9 @@ +# $FreeBSD$ + +CATEGORIES= security + +MASTERDIR= ${.CURDIR}/../../lang/php72 + +PKGNAMESUFFIX= -sodium + +.include "${MASTERDIR}/Makefile" diff --git a/security/php72-sodium/files/patch-config.m4 b/security/php72-sodium/files/patch-config.m4 new file mode 100644 index 000000000000..9d328698a487 --- /dev/null +++ b/security/php72-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) |