Commit graph

66 commits

Author SHA1 Message Date
Torsten Zuehlsdorff
735a9c45bb Update PHP 7 from 7.0.21 to 7.0.22
Changelog: http://www.php.net/ChangeLog-7.php#7.0.22

MFH: 2017Q3
2017-08-03 11:33:00 +00:00
Torsten Zuehlsdorff
fb49cb8d3b lang/php70: switch to devel/oniguruma6
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
2017-07-10 12:11:44 +00:00
Torsten Zuehlsdorff
f0c4814a33 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
2017-07-10 11:40:48 +00:00
Torsten Zuehlsdorff
9e8fd3409f Update PHP 7 from 7.0.20 to 7.0.21
Changelog: http://www.php.net/ChangeLog-7.php#7.0.21

Also:
- Remove patch "patch-main_php__ini.c", has been patched upstream
- Remove CONFIGURE_ARGS for "--with-regex=*" and "--with-zend-vm=*", they are not supported anymore

PR:           220531
Submitted by: Dani <i.dani@outlook.com>
Reported by:  Fabiano Sidler <fabianosidler@swissonline.ch>
MFH:          2017Q3
Security:     CVE-2017-9224
Security:     CVE-2017-9226
Security:     CVE-2017-9227
Security:     CVE-2017-9228
Security:     CVE-2017-9229
Differential Revision: https://reviews.freebsd.org/D11515
2017-07-07 09:58:35 +00:00
Torsten Zuehlsdorff
2a9f11b5c0 lang/php70 and lang/php71: Add umask to php-fpm rc script
PR:           212911
Submitted by: Robert Kánia <rk@redb.cz>
2017-06-28 09:40:58 +00:00
Torsten Zuehlsdorff
8e9dc2a0d1 lang/php70 and lang/php71: Parse multiple [PATH=] and [HOST=] sections properly
Adding a patch to fix bug #74738 in PHP 7.0 and 7.1:
https://bugs.php.net/bug.php?id=74738

Reported by: Philip Jocks <pj@netzkommune.de>
MFH:         2017Q2
2017-06-16 14:54:36 +00:00
Torsten Zuehlsdorff
ebb0a805d0 Update PHP 7 from 7.0.19 to 7.0.20
Changelog: http://www.php.net/ChangeLog-7.php#7.0.20

MFH: 2017Q2
2017-06-12 10:32:30 +00:00
Torsten Zuehlsdorff
4e51227dfb graphics/php70-gd: remove options T1LIB and VPX, add option WEBP
Support for T1LIB and VPX was removed in PHP 7.0
Support for WebP support was added in PHP 7.0

PR:           219837
Submitted by: Dani <i.dani@outlook.com>
2017-06-09 09:43:51 +00:00
Torsten Zuehlsdorff
c49616fbf4 Update PHP 7 from 7.0.18 to 7.0.19
Changelog: http://www.php.net/ChangeLog-7.php#7.0.19

Also remove the patch from devel/php70-gettext
which isn't needed anymore.

MFH:          2017Q2
2017-05-15 09:59:27 +00:00
Torsten Zuehlsdorff
7eca19f005 Update PHP 7 from 7.0.17 to 7.0.18
Changelog: http://www.php.net/ChangeLog-7.php#7.0.18

PR:           218589
Submitted by: Jochen Neumeister <joneum@bsdproject.de>
MFH:          2017Q2
Differential Revision: https://reviews.freebsd.org/D10373
2017-04-18 09:00:05 +00:00
Torsten Zuehlsdorff
d2c3fd7576 Update PHP 7 from 7.0.16 to 7.0.17
Changelog: http://www.php.net/ChangeLog-7.php#7.0.17

PR:           217800
Submitted by: Jochen Neumeister <joneum@bsdproject.de>
MFH:          2017Q1
2017-03-16 13:04:32 +00:00
Mathieu Arnold
a28f0f7f7f Remove all USE_OPENSSL occurrences.
Sponsored by:	Absolight
2017-03-15 14:45:30 +00:00
Torsten Zuehlsdorff
9fc6570b38 Update PHP 7 from 7.0.15 to 7.0.16
Changelog: http://www.php.net/ChangeLog-7.php#7.0.16

PR:           217109
Submitted by: Jochen Neumeister <joneum@bsdproject.de>
MFH:          2017Q1
2017-02-23 13:38:03 +00:00
Torsten Zuehlsdorff
24e76ab8f9 lang/php70 & lang/php71: revert moving of LIB_DEPENDS
The former commit should pet portlint, but accidently made
deve/pcre a LIB_DEPEND for all php modules.

Pointy hat: tz
2017-02-03 10:20:03 +00:00
Torsten Zuehlsdorff
eab6eb99bb lang/php70: pet portlint by moving LIB_DEPENDS up
PR:           216653
Submitted by: linimon
2017-02-01 16:24:56 +00:00
Jan Beich
3cb5060a02 lang/php70: temporarily hide DTRACE option on aarch64
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
2017-01-20 14:31:27 +00:00
Torsten Zuehlsdorff
51ae5494c5 Update PHP 7 from 7.0.14 to 7.0.15
Changelog: http://www.php.net/ChangeLog-7.php#7.0.15

PR:           216210
Submitted by: Jochen Neumeister <joneum@bsdproject.de>
MFH:          2017Q1
Security:     https://vuxml.freebsd.org/freebsd/709e025a-de8b-11e6-a9a5-b499baebfeaf.html
2017-01-20 09:40:39 +00:00
Sunpoet Po-Chuan Hsieh
5e8adb6941 Remove OPTIONS_EXCLUDE_FreeBSD_9
Approved by:	portmgr (blanket)
2017-01-03 19:10:47 +00:00
Torsten Zuehlsdorff
78c3486d07 lang/php70: add notice for poudriere build when ZTS is enabled
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)
2016-12-21 10:10:57 +00:00
Mathieu Arnold
353bd5528b Remove emulation of OPTIONS_EXCLUDE_${OPSYS}_${OSREL:R}, it is a thing
now.

Sponsored by:	Absolight
2016-12-20 17:56:40 +00:00
Torsten Zuehlsdorff
09256983f9 Update PHP 7 from 7.0.13 to 7.0.14
Changelog: http://www.php.net/ChangeLog-7.php#7.0.14

MFH:         2016Q4
Approved by: mentors (implicit)
2016-12-08 14:30:48 +00:00
John Marino
10c8a35b90 lang/php70: DTRACE option is not valid on DragonFly
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
2016-12-07 16:45:15 +00:00
Steve Wills
4878edd9cd lang/php70: enabled DTRACE option by default where possible
Approved by:	tz (maintainer)
2016-12-01 13:18:30 +00:00
Baptiste Daroussin
8d37b70b5f Use @preunexec rather than @postunexec
Reported by:	antoine
2016-11-20 13:10:18 +00:00
Baptiste Daroussin
058ae47056 Use predictable execution for apxs 2016-11-20 12:55:52 +00:00
Baptiste Daroussin
49044bf298 Use @post*exec instead of deprecated @exec 2016-11-20 12:53:51 +00:00
Torsten Zuehlsdorff
1493c1a463 Update PHP 7 from 7.0.12 to 7.0.13
Changes: http://www.php.net/ChangeLog-7.php#7.0.13

MFH:         2016Q4
Approved by: pi (mentor)
2016-11-16 15:39:01 +00:00
Alexey Dokuchaev
3c8a36012b - Remove redundant definitions of IPV6_DESC and [OPEN]SSL_DESC when closely
matching standard ones from `Mk/bsd.options.desc.mk'
- Rename couple of options to standard name or the one that better reflects
  their usage
2016-11-14 03:15:03 +00:00
Mathieu Arnold
cb15e80656 Remove obsolete PHP versions checks.
Sponsored by:	Absolight
2016-10-27 09:29:23 +00:00
Torsten Zuehlsdorff
f55fd3cef9 Update PHP 7 from 7.0.11 to 7.0.12
Changes: http://www.php.net/ChangeLog-7.php#7.0.12

MFH:         2016Q4
Approved by: pi (mentor)
2016-10-19 13:34:18 +00:00
Torsten Zuehlsdorff
ad86e61f50 lang/php70: Update from 7.0.10 to 7.0.11
Security:    CVE-2016-7416
Security:    CVE-2016-7412
Security:    CVE-2016-7414
Security:    CVE-2016-7417
Security:    CVE-2016-7413
Security:    CVE-2016-7418

MFH:         2016Q3
Approved by: pi (mentor)
2016-09-21 15:43:47 +00:00
Steve Wills
149ba7338a Unmark broken on powerpc64
These ports built successfully
2016-09-15 01:41:28 +00:00
Mathieu Arnold
870fd9b8fa Fix running make test for php extensions (and maybe php itself)
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
2016-09-01 14:14:44 +00:00
Dmitry Marakasov
63dc8aecfe - Add enchant php55/php56/php70 extension
PR:		208828
Submitted by:	daniel@blodan.se
Approved by:	maintainer timeout (ale, 4 months)
2016-08-23 10:54:49 +00:00
Torsten Zuehlsdorff
aa7eab0e85 lang/php70: Upgrade from 7.0.9 to 7.0.10
Changes: https://php.net/ChangeLog-7.php#7.0.10

Approved by: junovitch (mentor)
MFH:         2016Q3
2016-08-22 08:48:14 +00:00
Mathieu Arnold
81324366be Change www/php*-session's priority to be loaded before most other PHP extensions.
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
2016-08-09 14:29:13 +00:00
Mathieu Arnold
f037e39601 USE_BDB cleanup.
- USE_BDB=4x+ -> USES=bdb.
- USE_BDB=yes -> USES=bdb.
- USE_BDB=xx  -> USES=bdb:xx.

Other modernisations when I see them.

PR:		209183
Sponsored by:	Absolight
2016-08-08 13:46:50 +00:00
Torsten Zuehlsdorff
b5a6d6702e lang/php70: switch distfiles from bzip2 to xz
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)
2016-08-08 08:13:57 +00:00
Mathieu Arnold
aef5a66670 Don't use extension.ini any more, and have each extension install in its
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
2016-08-03 12:47:05 +00:00
Torsten Zuehlsdorff
cc0fb069eb lang/php70: Update from 7.0.8 to 7.0.9
Changelog: http://www.php.net/ChangeLog-7.php#7.0.9

- take maintainer

PR:           211251
Reported by:  Markus Kohlmeyer <rootservice@gmail.com>
Sponsored by: anyMOTION GRAPHICS GmbH
Approved by:  pi (mentor)
MFH:          2016Q3
2016-07-26 16:05:55 +00:00
Rene Ladan
78450f0a5d Reset miwi@'s ports, he stepped down from the Ports Team.
With hat:	portmgr-secretary
2016-07-25 20:01:02 +00:00
Bryan Drewery
bb82b92626 If DEFAULT_VERSIONS=php=* is set, then PHP_DEFAULT will be overridden
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.
2016-07-20 20:04:50 +00:00
Mathieu Arnold
d25ea0446c Fix the opcache ports, the fact that they are zend extensions was ignored.
MFH:		2016Q3
Sponsored by:	Absolight
2016-07-06 20:04:00 +00:00
Pietro Cerutti
a32c042bc8 devel/icu: bump PORTREVISION on missing dependent ports
Reported by:	rakuco
2016-07-06 11:19:56 +00:00
Mathieu Arnold
dca255c3ce Convert USE_PHP*=yes into USES=php*
PR:		210529
Submitted by:	mat
Exp-run by:	antoine
Sponsored by:	Absolight
Differential Revision:	https://reviews.freebsd.org/D6936
2016-06-28 14:00:45 +00:00
Jason Unovitch
6e3401c2ab lang/php70: update 7.0.7 -> 7.0.8
PR:		210491
Reported by:	Vladimir Krstulja <vlad-fbsd@acheronmedia.com>
Submitted by:	Philip Jocks <freebsdbugs@filis.org>
Approved by:	ports-secteam (with hat)
Security:	CVE-2015-8874
Security:	CVE-2016-5766
Security:	CVE-2016-5767
Security:	CVE-2016-5768
Security:	CVE-2016-5769
Security:	CVE-2016-5770
Security:	CVE-2016-5771
Security:	CVE-2016-5772
Security:	CVE-2016-5773
Security:	https://vuxml.FreeBSD.org/freebsd/66d77c58-3b1d-11e6-8e82-002590263bf5.html
MFH:		2016Q2
2016-06-25 22:20:31 +00:00
Mathieu Arnold
11ca07f4fc Move bsd.php.mk to Uses/php.mk
PR:		210323
Submitted by:	mat
Exp-run by:	antoine
Sponsored by:	Absolight
Differential Revision:	https://reviews.freebsd.org/D6867
2016-06-23 13:19:17 +00:00
Jason Unovitch
9cc93e792e lang/php70: update 7.0.6 -> 7.0.7
Approved by:	ports-secteam (with hat)
Security:	CVE-2013-7456
Security:	CVE-2016-5093
Security:	https://vuxml.FreeBSD.org/freebsd/6b110175-246d-11e6-8dd3-002590263bf5.html
MFH:		2016Q2
2016-05-28 01:41:13 +00:00
Baptiste Daroussin
cd130b1749 Simplify plist by using @sample 2016-05-24 23:02:05 +00:00
Dmitry Marakasov
c86e9d9724 Remove NLS, DOCS, EXAMPLES and IPV6 from OPTIONS_DEFAULT, they are enabled by default anyway and don't need to be listed
Approved by:	portmgr blanket
2016-05-23 20:35:01 +00:00