1
0
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:
Torsten Zuehlsdorff 2017-07-10 11:40:48 +00:00
parent 0c691c9fa0
commit f0c4814a33
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=445429
4 changed files with 9 additions and 1 deletions

View File

@ -3,6 +3,8 @@
CATEGORIES= converters CATEGORIES= converters
PORTREVISION= 1
MASTERDIR= ${.CURDIR}/../../lang/php70 MASTERDIR= ${.CURDIR}/../../lang/php70
PKGNAMESUFFIX= -mbstring PKGNAMESUFFIX= -mbstring

View File

@ -2,6 +2,8 @@
CATEGORIES= converters CATEGORIES= converters
PORTREVISION= 1
MASTERDIR= ${.CURDIR}/../../lang/php71 MASTERDIR= ${.CURDIR}/../../lang/php71
PKGNAMESUFFIX= -mbstring PKGNAMESUFFIX= -mbstring

View File

@ -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

View File

@ -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