Mathieu Arnold
072325a1b1
Put back the php extension installation message, now that it can be
...
shown on installation only.
Differential Revision: https://reviews.freebsd.org/D20510
2019-06-06 11:46:06 +00:00
Tobias Kortkamp
a7ed1f0480
Mk/Uses/php.mk: Drop unused mysql_DEPENDS
...
PR: 235942
Submitted by: Miroslav Lachman <000.fbsd@quip.cz>
Approved by: ale (maintainer)
2019-05-24 15:24:19 +00:00
Tobias Kortkamp
db738ec122
Mk/Uses/php.mk: Flag invalid args
...
Approved by: ale (maintainer)
Differential Revision: https://reviews.freebsd.org/D19750
2019-03-30 18:36:30 +00:00
Rene Ladan
d0af725706
Remove references to PHP 5.6 from Mk/Uses/php.mk
2019-01-01 13:29:57 +00:00
Rene Ladan
a873d4b4ac
Unregister PHP 5.6 which expired today.
2019-01-01 13:19:23 +00:00
Rene Ladan
49a13c2c96
Re-sync the value of PHP_EXT_DIR with the default version in the else clause.
2018-12-05 13:59:36 +00:00
Rene Ladan
4c96f36032
Unregister PHP 7.0, it has reached its end-of-life on 2018-12-04.
2018-12-05 13:57:58 +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
Mathieu Arnold
d83e709426
Typo.
2018-08-27 10:05:44 +00:00
Luca Pizzamiglio
a011463743
Mk/Uses/php.mk: small clean-up
...
Remove not existing extensions
Improve uniformity
Reviewed by: ale
Sponsored by: trivago N.V.
Differential Revision: https://reviews.freebsd.org/D15807
2018-06-15 14:43:10 +00:00
Bernard Spil
11a52e7dd1
Mk/Uses/php.mk: Drop support for WANT_ and USE_ PHP vars
...
Approved by: portmgr (rene)
Differential Revision: https://reviews.freebsd.org/D15014
2018-05-07 18:18:17 +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
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
9ffee5aea6
Replace USE_AUTOTOOLS with a plain BUILD_DEPENDS.
2018-01-11 18:39:40 +00:00
Sunpoet Po-Chuan Hsieh
ea09c16374
Add USE_PHP=mcrypt for PHP 7.2
2018-01-10 06:40:25 +00:00
Torsten Zuehlsdorff
04538b6c99
Uses/php.mk: add missing sodium dependency
...
The issue becomes apparent when trying to build lang/php72-extensions
with sodium checked.
PR: 223811
Submitted by: Daniel Ylitalo <daniel@blodan.se>
Approved by: ale
2017-12-07 16:40:20 +00:00
Torsten Zuehlsdorff
687591dd75
Add PHP 7.2 RC6
...
Notable changes:
- mcrypt module was removed
- sodium module was added
- sybase_ct artifacts removed
Also many PECL ports will not work with this version
since some files got renamed.
Reviewed by: mat, ale, Rainer Duffner <rainer@ultra-secure.de>
Differential Revision: https://reviews.freebsd.org/D12980
2017-11-16 10:48:48 +00:00
Mathieu Arnold
f1f2ed2d14
Remove the php extensions pkg-message, it is more annoying than not.
...
Approved by: bapt, adamw
Sponsored by: Absolight
Differential Revision: https://reviews.freebsd.org/D13001
2017-11-09 18:05:11 +00:00
Jochen Neumeister
fb672379f8
When "USES= php:ext" is set into the Makefile, there is a following
...
warning:"@exec is deprecated, please use @[pre|post][un]exec" [1][2]
After change exec and unexec to post* it works again correctly
[1] https://github.com/freebsd/freebsd-ports/blob/master/CHANGES#L407
[2] https://www.freebsd.org/doc/en/books/porters-handbook/book.html#plist-keywords-base-exec
Approved by: portmgr (mat)
Approved my: rene (mentor)
Differential Revision: https://reviews.freebsd.org/D12215
2017-09-09 16:49:29 +00:00
Mathieu Arnold
2c5242ce18
Introduces USES=php:pecl.
...
It sets sane defaults when fetching from http://pecl.php.net/ .
Sponsored by: Absolight
Differential Revision: https://reviews.freebsd.org/D10281
2017-04-10 15:08:12 +00:00
Sunpoet Po-Chuan Hsieh
05b4ac5a2e
Add USE_PHP=memcached
2017-02-19 20:25:58 +00:00
Sunpoet Po-Chuan Hsieh
8c721ca46d
Fix USE_PHP=redis
...
PR: 217133
Reported by: Jonas Palm <jonaspalm@posteo.de>
2017-02-16 12:31:16 +00:00
Mathieu Arnold
ac5a807ae0
Make USES=php behaves a bit more nicely with PHP 7.0 and 7.1 for ports
...
where USE_PHP includes modules that are 5.6 only (like mysql).
Sponsored by: Absolight
2017-02-07 12:27:02 +00:00
Sunpoet Po-Chuan Hsieh
3b527e4755
Fix memcache_DEPENDS
...
MFH: 2017Q1
2017-01-25 18:42:26 +00:00
Torsten Zuehlsdorff
fcf2c626ed
Add support for PHP 7.1
...
Reviewed by: ale, pi, martin@waschbuesch.de , franco@opnsense.org
Approved by: ale
2017-01-24 11:31:30 +00:00
Raphael Kubo da Costa
6da929d283
Uses/php.mk: Use EGREP instead of GREP when parsing config.h
...
Using ${GREP} was failing when grep was built with the WITHOUT_GNU_GREP_COMPAT
knob in src.conf. According to POSIX, | only works for alternation in extended
regular expressions (grep -E), although GNU grep disregards the difference.
The new syntax with ${EGREP} and no escaping of special characters works with
both BSD grep (without WITHOUT_GNU_GREP_COMPAT) as well as GNU grep.
Approved by: mat
Differential Revision: https://reviews.freebsd.org/D8663
2016-11-28 17:22:29 +00:00
Mathieu Arnold
671b266f00
Fix depend on mod_php70.
...
PR: 214166
Reported by: Vick Khera
Sponsored by: Absolight
2016-11-03 14:49:07 +00:00
Mathieu Arnold
eabbfd75e3
${RM} already has -f.
...
PR: 213570
Submitted by: mat
Exp-run by: antoine
Sponsored by: Absolight
2016-10-21 12:51:40 +00:00
Rene Ladan
014608af5c
Unregister PHP 5.5, it expired on 2016-10-20
...
Submitted by: rene
Reviewed by: portmgr (mat)
Differential Revision: https://reviews.freebsd.org/D8305
2016-10-21 07:16:25 +00:00
Mathieu Arnold
22108b5cc6
Add redis to the USE_PHP list of possible modules.
...
PR: 210171
Submitted by: mat
Sponsored by: Absolight
2016-09-07 07:17:37 +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
Mathieu Arnold
2d4f2b9c75
Remove www/pecl-APC, it doesn't work with PHP 5.5+.
...
PR: 211344
Submitted by: rene
Sponsored by: Absolight
2016-08-15 15:28:03 +00:00
Mathieu Arnold
b21d580983
Prefix the PKGMESSAGES variable with an _ to show it is private.
...
Sponsored by: Absolight
2016-08-03 12:48:59 +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
Mathieu Arnold
0761532ec5
Always include bsd.default-versions.mk in bsd.port.mk.
...
The variable defined in it are now always available after including
bsd.port.pre.mk.
PR: 210666
Submitted by: mat
Exp-run by: antoine
Sponsored by: Absolight
Differential Revision: https://reviews.freebsd.org/D6933
2016-08-03 12:09:37 +00:00
Bryan Drewery
5f4c47a499
Fix display of 7.0 for IGNORE
2016-07-20 20:29:07 +00:00
Mathieu Arnold
d51e60ebb9
For some reason, != "" and == "" don't work the same with make and
...
fmake, but, empty does.
Pointy hat to: mat, or make(1) pick one.
Sponsored by: Absolight
2016-06-29 13:31:35 +00:00
Mathieu Arnold
0600ac5008
Move USE_PHPEXT, USE_PHP_BUILD and USE_ZENDEXT to unsupported, now that
...
they have been removed from the ports tree.
Sponsored by: Absolight
2016-06-28 14:00:58 +00:00
Mathieu Arnold
4973e5b396
Add support for USE_PHP=ext:build to add a build dependency on the extension.
...
PR: 210529
Submitted by: mat
Exp-run by: antoine
Sponsored by: Absolight
Differential Revision: https://reviews.freebsd.org/D6936
2016-06-28 13:57:43 +00:00
Mathieu Arnold
d2c4c14627
USEify USES=php.
...
The following variables have been folded into arguments:
- USE_PHPIZE -> USES=php:phpize
- USE_PHPEXT -> USES=php:ext
- USE_ZENDEXT -> USES=php:zend
- USE_PHP_BUILD -> USES=php:build
- WANT_PHP_CLI -> USES=php:cli
- WANT_PHP_CGI -> USES=php:cgi
- WANT_PHP_MOD -> USES=php:mod
- WANT_PHP_WEB -> USES=php:web
- WANT_PHP_EMB -> USES=php:embed
PR: 210529
Submitted by: mat
Exp-run by: antoine
Sponsored by: Absolight
Differential Revision: https://reviews.freebsd.org/D6936
2016-06-28 13:57:37 +00:00
Olli Hauer
9a088b624c
- fix detection of threaded httpd
...
Approved by: mat@
2016-06-23 18:46:00 +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