Commit Graph

548 Commits

Author SHA1 Message Date
sthen
e8f49ccea7 update to php-8.0.14 2021-12-18 22:28:16 +00:00
sthen
b9294fbdcc update to php-7.4.27 2021-12-18 22:27:45 +00:00
sthen
4f28e0718b unbreak php-embed configure if libzip is not installed, reported by aja@ naddy@ 2021-11-21 00:41:13 +00:00
sthen
f45382eec9 De-conflict php-apache and php-embed which had the same libphpX.so filename
and directory.

This moves the module for Apache httpd from lib/php-X.Y/libphpX.so to
lib/apache2/php-X.Y/libphpX.so.

The installed /var/www/conf/modules.sample/php-X.Y.conf is of course updated
to reflect the change, however if anyone uses php-apache and doesn't follow
the recommended config symlink they will need to adapt their config.
2021-11-19 12:46:59 +00:00
sthen
037fc0eb59 tidy CONFIGURE_ARGS, --enable-inline-optimization is only for 7.4 2021-11-19 11:29:04 +00:00
sthen
7f1dd62864 fix non-embed build 2021-11-19 11:26:47 +00:00
sthen
659b82dace sort PLISTs 2021-11-19 10:31:13 +00:00
sthen
34bf422665 shrink the php build for the embed FLAVOR, no need to build extensions
and other SAPIs with this
2021-11-19 09:57:05 +00:00
sthen
0e5d7c916e update to php-7.4.26p0 2021-11-19 09:56:32 +00:00
sthen
e218ecebe2 update to php-8.0.13 2021-11-19 09:56:25 +00:00
ajacoutot
31ba6ffd2f Unbreak with ICU >= 70.1 2021-10-30 06:17:45 +00:00
sthen
2a7143288b add some more bits about living with chroot 2021-10-26 15:11:13 +00:00
sthen
997adf2743 missed bump when I adjusted plists to merge 7.3 into 7.4, thanks aja@ 2021-10-26 11:15:39 +00:00
sthen
1645c2e515 remove php73 from FLAVORS list 2021-10-25 15:04:03 +00:00
sthen
f611d84e40 drop php 7.3 from -current, although it is still officially in
security support it appears this is not really the case any more
https://bugs.php.net/bug.php?id=81026

add @pkgpaths to merge pecl-* etc across
mark www/syweb broken, it was marked 7.3-only so looks like it needs more work
other php-ish ports have a RDEP on either 7.4 (default version) or 8.0
2021-10-25 12:33:18 +00:00
sthen
955387a5de update to php-7.4.25, including a fix for https://bugs.php.net/bug.php?id=81026
PHP-FPM oob R/W in root process leading to privilege escalation
2021-10-23 08:37:23 +00:00
sthen
e208740827 update to php-8.0.12, including a fix for https://bugs.php.net/bug.php?id=81026
PHP-FPM oob R/W in root process leading to privilege escalation

(new releases for previous branches not yet available but they're all affected)
2021-10-22 09:00:41 +00:00
sthen
5e04194ebb with the last commit, dpb no longer _disliked_ what i was doing to handle
apache/embed subpackages, but it didn't really like it either because it
was getting removed by the BUILD_ONCE logic. instead use "embed" as a
pseudo flavour to switch it instead of "no_apache". ("bootstrap" doesn't
seem appropriate here as it's either/or rather than a bootstrap as such).
2021-10-22 08:42:01 +00:00
sthen
da8ddcdd5c dpb didn't like what i was trying to do with the embed and apache subpackages 2021-10-20 21:55:59 +00:00
sthen
a033b2fb2c rearrange the php ports a little so that the embedded SAPI modules
can be built (needed if we want to add nginx unit with php support).

while there patch to tweak a "minimum number of bits" check done for
openssl_pkey_new which A) only looks at openssl.cnf settings and PHP
code, ignoring that the TLS library sets a default length internally,
and B) also checks this when generating named curve EC keys,
resulting in a confusing bogus error message.
2021-10-20 20:45:58 +00:00
sthen
1865608762 update to php-8.0.11 2021-10-03 20:03:19 +00:00
sthen
a510aa9fc2 update to php-7.4.24 2021-10-03 20:03:15 +00:00
sthen
42eaccd54f update to php-7.3.31 2021-10-03 20:03:11 +00:00
sthen
5f331400d3 update to php-7.3.30 2021-08-27 08:51:28 +00:00
sthen
37048b67a4 update to php-8.0.10 2021-08-27 08:51:22 +00:00
sthen
51ec44be89 update to php-7.4.23 2021-08-27 08:51:18 +00:00
sthen
139c7986a1 update to php-7.4.22/php-8.0.9
patch for ASN1_INTEGER_set_int64 (openssl 1.1.0 API)
2021-07-31 10:24:31 +00:00
sthen
31898e51e7 update to PHP 8.0.8 2021-07-02 13:53:12 +00:00
sthen
5596d29555 update to PHP 7.4.21 2021-07-02 13:53:08 +00:00
sthen
5e9008f194 update to PHP 7.3.29 2021-07-02 13:53:04 +00:00
sthen
f22d116330 update to php-7.4.20 2021-06-05 20:30:14 +00:00
sthen
4d54287c75 update to php-8.0.7 2021-06-05 20:29:55 +00:00
sthen
a5d53af29a update to php-8.0.6 2021-05-08 08:39:21 +00:00
sthen
855d864d81 update to php-7.4.19 2021-05-07 19:28:55 +00:00
sthen
6749dca4c9 ensure php revisions in -current are above -stable 2021-05-02 14:47:12 +00:00
sthen
3702aa3ee6 tweak (noop) 2021-04-30 18:20:59 +00:00
sthen
3143d9f50a drop php-7.2 and set pkgpath markers to update, it stopped getting
security fixes at the end of November 2020

update other PHP versions to 7.3.28, 7.4.18, 8.0.5
2021-04-30 17:00:26 +00:00
sthen
29f86dfe2b remove php 7.2 scaffolding from MODULES=lang/php/pecl 2021-04-30 16:39:31 +00:00
kmos
7a2f0dfda4 Add "-L${X11BASE}/lib" to the LDFLAGS of CONFIGURE_ENV in order
to fix the build of 7.4 and 8.0 on sparc64, which otherwise fails
during configure because it cannot find several X11 libs that
libgd depends upon.

ok sthen
2021-03-08 15:10:42 +00:00
sthen
4502fa3acd update to php-8.0.3 2021-03-05 15:17:19 +00:00
sthen
06728f8b08 update to php-7.4.16 2021-03-05 15:13:55 +00:00
sthen
a6a3a0fc82 tweak sample php configs, expose_php off by default 2021-02-25 11:42:33 +00:00
sthen
3903633b65 php: use the same patch to disable ifuncs on 7.3 and 7.4 as I used on 8.0
(i am not convinced the optimized code is actually faster but it's closer
to the build on other OS this way)
2021-02-24 23:04:57 +00:00
sthen
0e759f8ebf turns out the segfault problem with sse/avx isn't due to the code,
it's due to php trying to resolve functions via ifunc (presumably to
optimize calls to them slightly?). disable use of ifuncs instead.
2021-02-24 22:18:57 +00:00
sthen
9b64714929 build php-8.0 versions of the pecl ports which support it 2021-02-24 21:23:15 +00:00
sthen
eb89eac889 hook php/8.0 to the build 2021-02-24 20:56:36 +00:00
sthen
390df21cbe php/8.0: neuter the __builtin_cpu_supports autoconf checks so that it doesn't
detect sse/avx2/etc, fixing things so you can do base64 without segfaulting

test case:  php-8.0 -r "print(base64_encode('abcdef').PHP_EOL);"
2021-02-24 20:56:22 +00:00
sthen
51be17e426 add initial php 8.0 bits, not linked to the build yet until i can figure
out how to disable or fix the broken SSE/AVX code (7.4 had the same problem
but was easier to disable)
2021-02-24 19:14:11 +00:00
sthen
320651ac24 add initial php 8.0 bits, not linked to the build yet until i can figure
out how to disable or fix the broken SSE/AVX code (7.4 had the same problem
but was easier to disable)
2021-02-24 19:13:50 +00:00
sthen
5d4e1cf8d0 switch php-7.4 to external libgd 2021-02-24 18:00:45 +00:00