This change should have been part of r445429.
Changelog was:
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.
PR: 220598
Submitted by: Trond.Endrestol@ximalas.info
MFH: 2017Q3
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
ld: Zend/zend_dtrace.d.o.h0Xec8: Relocations in generic ELF (EM: 0)
Zend/zend_dtrace.d.o.h0Xec8: error adding symbols: File in wrong format
dtrace: failed to link script /wrkdirs/usr/ports/lang/php70/work/php-7.0.14/Zend/zend_dtrace.d: failed to link Zend/zend_dtrace.d.o: ld exited with status 1
dt_modtext:/usr/src/cddl/lib/libdtrace/../../../cddl/contrib/opensolaris/lib/libdtrace/common/dt_link.c(841): DOODAD
dt_modtext:/usr/src/cddl/lib/libdtrace/../../../cddl/contrib/opensolaris/lib/libdtrace/common/dt_link.c(841): DOODAD
[...]
PR: 214556
Reported by: pkg-fallout
Without adding WITH_MPM=event into make.conf the build will fail
when using poudriere. This is currently documentend in /Mk/Uses/php.mk.
Since users do not investigate the framework code, we add the
notice to avoid future confusion.
PR: 214943
Reported by: rainer@ultra-secure.de, ohartmann@walstatt.org
Approved by: mentors (implicit)
Note that following the OPTIONS_EXCLUDE+= line appears to redundant
and could be removed, and the OPTIONS_EXCLUDE_FreeBSD_9 line should
be "=" operator, not "+=", from what I can tell.
Approved by: DF support blanket
With the default configuration, all the directives are removed from with
egrep. Then, egrep, seeing that it does not output any line, will
exit(1).
With hat: portmgr
Sponsored by: Absolight
Many PHP extensions were adding a build dependency on session, so that
it was loaded first. This is now no longer needed, we have a nice
framework handle the extensions ordering.
PR: 203741
Sponsored by: Absolight
While here also:
- regenerate patches with make makepatch
- replace "sed" with proper ${SED}
- no longer mute ${INSTALL_DATA}
PR: 209881
Reported by: Piotr Kubaj <pkubaj@anongoth.pl>
Approved by: pi (mentor)
file, so the order remains the same.
Every PHP (or Zend) extension now installs its own .ini file in
/usr/local/etc/php. A PHP extension will be automatically activated
when installed. The order into which extensions are loaded is
automatically guessed. In some very rare cases, the guess will be
wrong, and PHP_MOD_PRIO will need to be set. Refer to the USES=php
section of the Porter's Handbook for more information.
Convert ports touching etc/php/extensions.ini manually, or telling the
OP to do it.
And finally, bump PORTREVISION for all php extensions.
PR: 210697
Submitted by: mat
Sponsored by: Absolight
Differential Revision: https://reviews.freebsd.org/D7022
in bsd.default-versions.mk later, and the value from the Makefile will
not be used at all. We would change bsd.default-versions.mk, but really
these ports should not be changing what the "default" it. Change to
modifying what the "current" version is as PHP_VER.
This fixes some cases of 'make check-sanity' not passing for php extension
ports in Poudriere where there is no LOCALBASE/etc/php.conf to set a proper
PHP_VER. In these cases the PHP_DEFAULT value (of 5.6) is used rather than
the version set by the extension Makefile and the later checks for
whether that version has that extension may incorrectly error.