1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-20 20:09:11 +00:00
Commit Graph

98 Commits

Author SHA1 Message Date
Jochen Neumeister
9c2c46c831 Security Support for PHP 7.0 ends on 3 Dec 2018
http://php.net/supported-versions.php

PR:		232398
Approved by:	tz (implicit)
Sponsored by:	Netzkommune GmbH
2018-10-21 14:34:39 +00:00
Antoine Brodin
a282a908fa Ignore some ports with some versions of php
PR:		232398
2018-10-21 11:17:12 +00:00
Torsten Zuehlsdorff
3a5533b48d Add PHP 7.3 RC2 to the ports-tree.
Notable changes:
- Switch from PCRE to PCRE2
- Many modules now require PCRE2 for building
- graphics/php73-gd: X11 option is no longer default

Changes to Mk/Uses/php.mk approved by ale
2018-10-08 08:52:51 +00:00
Ed Maste
2371ee22c7 lang/php*: link with -znotext on i386
This port links some non-PIC code, which fails with lld as it defaults
to disallowing relocations against read-only segments. For i386 we can
just add -znotext unconditionally: for GNU BFD ld it just affirms BFD's
existing default.

PR:		214864, 230207
Approved by:	bapt
Sponsored by:	The FreeBSD Foundation
Differential Revision:	https://reviews.freebsd.org/D17193
2018-09-18 16:08:00 +00:00
Jochen Neumeister
587865e3bd Update to 7.0.32
Changelog: http://www.php.net/ChangeLog-7.php#7.0.32

Approved by:	tz (implicit)
MFH:		2018Q3
2018-09-13 17:11:20 +00:00
Torsten Zuehlsdorff
985792904b graphics/php70-gd: Switch from bundled libgd to graphics/gd
Currently the gd-module uses a bundled libgd, while most systems
already provide the same library via graphics/gd.
Therefore instead of adding the bundled library we use the
port instead.

PR:		217222
Submitted by:	Mikhail Teterin  <mi@FreeBSD.org>
2018-07-31 08:42:19 +00:00
Jochen Neumeister
e409c6a32f revert php-7.0.x-mail-header.patch into distinfo
Point hat: joneum
2018-07-20 17:14:56 +00:00
Jochen Neumeister
203301d471 Update to 7.0.31
Changelog: http://www.php.net/ChangeLog-7.php#7.0.31

Approved by:	tz (implicit)
2018-07-20 17:12:19 +00:00
Torsten Zuehlsdorff
c1bbe38b42 lang/php70: Update from 7.0.29 to 7.0.30
Changelog: http://www.php.net/ChangeLog-7.php#7.0.30

MFH:		2018Q2
Security:	CVE-2018-5712
2018-04-26 14:47:42 +00:00
Torsten Zuehlsdorff
71f28a14b8 lang/php70: Update from 7.0.28 to 7.0.29
Changelog: http://www.php.net/ChangeLog-7.php#7.0.29
2018-03-29 13:09:46 +00:00
Yuri Victorovich
7ca8c2691e devel/oniguruma: Update to 6.8.1
Only changed the shared object version (forgotten on the previous release).
2018-03-19 06:03:16 +00:00
Mark Linimon
42fcb49869 Turn off DTRACE option by default for mips. It fails the exact same way
that armvX do.

While here, remove duplicate OPTIONS_EXCLUDE_aarch64 line, and sort.

Approved by:	portmgr (tier-2 blanket)
2018-03-17 21:42:48 +00:00
Yuri Victorovich
ecda380b8d devel/oniguruma: Update to 6.8.0
Changelog:
https://github.com/kkos/oniguruma/releases/tag/v6.8.0

Bumping 9 depending ports because oniguruma's interface
actually changed in an incompatible way,
see https://github.com/kkos/oniguruma/issues/79 ,
while the shared library lib/libonig.so.4.0.0 didn't change
the revision number. This is a bug in the upstream release.
2018-03-17 20:31:20 +00:00
Torsten Zuehlsdorff
fa2e282d74 lang/php70: Update from 7.0.27 to 7.0.28
Changelog: http://www.php.net/ChangeLog-7.php#7.0.28

MFH:      2018Q1
2018-03-15 16:00:04 +00:00
Bernard Spil
f0229aab54 Migrate USE_APACHE to USES= apache
- Following migration of Mk/bsd.apache.mk to Mk/Uses/apache.mk

With hat:	apache
2018-03-11 18:36:16 +00:00
Bernard Spil
a80b8e64ed Mk/Uses/apache.mk: Migrate Mk/bsd.apache.mk to Uses
- Chase required changes in framework (bsd.sanity.mk, bsd.port.mk)
 - Chase required changes in ports (version checks)
 - Chase required changes in PHP ports (include bsd.apache.mk)
 - exp-run by antoine, brnrd, joneum

PR:             223691 (exp-run)
Reviewed by:    joneum (hat apache), mat (portmgr), antoine (portmgr)
Approved by:    joneum (hat apache)
Approved by:	portmgr
With hat:       apache
2018-03-11 14:23:28 +00:00
Mark Linimon
85d0e8ddf5 Disable dtrace usdt on armv6, armv7 and aarch64, for lang/php* ports.
Tested for no regression on amd64.

PR:		224271
Approved by:	tz (maintainer)
2018-03-11 06:37:14 +00:00
Mathieu Arnold
a1993564e0 Introduce PHP flavors.
Ports using USES=php:phpize, php:ext, php:zend, and php:pecl are now
  flavored.  They will automatically get flavors (php56, php70, php71, php72)
  depending of the versions they support (set with IGNORE_WITH_PHP).  As a
  consequence, ports using USES=pear and USES=horde are also flavored.

PR:		226242
Submitted by:	mat
Exp-run by:	antoine
Approved by:	portmgr
Sponsored by:	Absolight
Differential Revision:	https://reviews.freebsd.org/D14208
2018-03-08 19:48:41 +00:00
Tijl Coosemans
8c60cffc90 - Replace USE_AUTOTOOLS with USES=autoreconf:build and run an upstream
script in pre-configure to regenerate configure scripts.  Because this
  regenerates php_config.h.in, merge a patch for that file into the patch
  for configure.in.
- Remove redundant --localstatedir=/var (added by bsd.port.mk).
2018-01-12 12:57:18 +00:00
Torsten Zuehlsdorff
cb787abbae lang/php70: Update from 7.0.26 to 7.0.27
Changelog: http://www.php.net/ChangeLog-7.php#7.0.27

MFH:      2018Q1
2018-01-10 16:01:51 +00:00
Li-Wen Hsu
86d4a95570 Add an upstream patch:
http://git.php.net/?p=php-src.git;a=commit;h=72ec23d8233ac9a2071f991752cff55febb167d5

This eliminate a warning while building with clang on 32-bit system and enable
other programs' configure scripts test PHP feature with `-Werror`

Approved by:	tz (maintainer)
2017-12-17 10:19:10 +00:00
Li-Wen Hsu
f48968dd3e - Add EMBED to default on options
This is required for the php module of www/unit

Approved by:	ale, tz (maintainers)
2017-12-05 08:00:12 +00:00
Gerald Pfeifer
ddfec268c3 Remove DTRACE_DESC in favor of the default description.
Approved by:	tz
2017-11-29 18:46:30 +00:00
Gerald Pfeifer
24f8089a52 Remove DEBUG_DESC in favor of the default one.
Approved by:	tz
2017-11-27 21:38:06 +00:00
Torsten Zuehlsdorff
ffed87071b lang/php70: Update from 7.0.25 to 7.0.26
Changelog: http://www.php.net/ChangeLog-7.php#7.0.26

MFH:      2017Q4
2017-11-24 10:12:32 +00:00
Torsten Zuehlsdorff
ca8cbf9639 lang/php70 and lang/php71: Add mail header patch
While here to some improvements:
- Remove CONFLICTS of no longer existing PHP 5.5
- Add CONFLICTS to PHP 7.2
- Remove IPV6_DESC in order to use default one

PR:           219321
Submitted by: Karsten Schmidt <bsd@guggemand.dk>
2017-11-23 11:38:59 +00:00
Antoine Brodin
3485652593 Remove nops, setting USES after bsd.port.pre.mk doesn't do anything
With hat:	portmgr
2017-11-19 21:30:42 +00:00
Thomas Zander
dae8dbb3c7 Chase renaming of devel/oniguruma6 to devel/oniguruma
PR:		222869
Reported by:	m.bueker@berlin.de
2017-11-12 14:00:48 +00:00
Torsten Zuehlsdorff
8688382c5c lang/php70: Update from 7.0.24 to 7.0.25
Changelog: http://www.php.net/ChangeLog-7.php#7.0.25

MFH:      2017Q4
Security: CVE-2016-1283
2017-10-26 15:21:23 +00:00
Torsten Zuehlsdorff
ecc5bebd75 lang/php70: Update from 7.0.23 to 7.0.24
Changelog: http://www.php.net/ChangeLog-7.php#7.0.24

MFH: 2017Q3
2017-09-28 13:03:54 +00:00
Torsten Zuehlsdorff
cfce0888b9 lang/php70 and lang/php71: enable to build on sparc64
Disabling DTRACE for sparc64 allows to build the port on it

PR:           221761
Submitted by: Mark Linimon <linimon@FreeBSD.org>
2017-09-15 10:26:14 +00:00
Torsten Zuehlsdorff
bd2eab5a31 Update PHP 7 from 7.0.22 to 7.0.23
Changelog: http://www.php.net/ChangeLog-7.php#7.0.23

MFH: 2017Q3
2017-08-31 13:56:20 +00:00
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