mirror of
https://git.FreeBSD.org/ports.git
synced 2024-10-20 20:09:11 +00:00
PHP 7.0 and 7.1: switch to devel/oniguruma6
For mbstring extensions switch from devel/oniguruma5 to devel/oniguruma6 to fix security issues covert in Oniguruma 6.4. PHP bundles oniguruma 6.3 but i did some more tests, to make sure nothing breaks. Also add $FreeBSD$ header to Makefile.ext PR: 220598 Submitted by: Trond.Endrestol@ximalas.info MFH: 2017Q3
This commit is contained in:
parent
0c691c9fa0
commit
f0c4814a33
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=445429
@ -3,6 +3,8 @@
|
|||||||
|
|
||||||
CATEGORIES= converters
|
CATEGORIES= converters
|
||||||
|
|
||||||
|
PORTREVISION= 1
|
||||||
|
|
||||||
MASTERDIR= ${.CURDIR}/../../lang/php70
|
MASTERDIR= ${.CURDIR}/../../lang/php70
|
||||||
|
|
||||||
PKGNAMESUFFIX= -mbstring
|
PKGNAMESUFFIX= -mbstring
|
||||||
|
@ -2,6 +2,8 @@
|
|||||||
|
|
||||||
CATEGORIES= converters
|
CATEGORIES= converters
|
||||||
|
|
||||||
|
PORTREVISION= 1
|
||||||
|
|
||||||
MASTERDIR= ${.CURDIR}/../../lang/php71
|
MASTERDIR= ${.CURDIR}/../../lang/php71
|
||||||
|
|
||||||
PKGNAMESUFFIX= -mbstring
|
PKGNAMESUFFIX= -mbstring
|
||||||
|
@ -1,3 +1,5 @@
|
|||||||
|
# $FreeBSD$
|
||||||
|
|
||||||
COMMENT= The ${PHP_MODNAME} shared extension for php
|
COMMENT= The ${PHP_MODNAME} shared extension for php
|
||||||
|
|
||||||
USES+= php:ext
|
USES+= php:ext
|
||||||
|
@ -1,3 +1,5 @@
|
|||||||
|
# $FreeBSD$
|
||||||
|
|
||||||
COMMENT= The ${PHP_MODNAME} shared extension for php
|
COMMENT= The ${PHP_MODNAME} shared extension for php
|
||||||
|
|
||||||
USES+= php:ext
|
USES+= php:ext
|
||||||
@ -532,7 +534,7 @@ LIB_DEPENDS+= libc-client4.so.9:mail/cclient
|
|||||||
|
|
||||||
.if ${PHP_MODNAME} == "mbstring"
|
.if ${PHP_MODNAME} == "mbstring"
|
||||||
. if ${PORT_OPTIONS:MREGEX}
|
. if ${PORT_OPTIONS:MREGEX}
|
||||||
LIB_DEPENDS+= libonig.so:devel/oniguruma5
|
LIB_DEPENDS+= libonig.so:devel/oniguruma6
|
||||||
CONFIGURE_ARGS+=--with-onig=${LOCALBASE}
|
CONFIGURE_ARGS+=--with-onig=${LOCALBASE}
|
||||||
. else
|
. else
|
||||||
CONFIGURE_ARGS+=--disable-mbregex
|
CONFIGURE_ARGS+=--disable-mbregex
|
||||||
|
Loading…
Reference in New Issue
Block a user