FreeBSD-12.2p10 apache-2.4.51 (FBSD 1202000) mod_php80-8.0.11 php80-8.0.11 squirrelmail-php80-20200422 Squirrelmail-PHP80 fails to load and raises the following error: [php:error] [pid 13492] [client 192.168.216.41:15698] PHP Fatal error: Array and string offset access syntax with curly braces is no longer supported in /usr/local/www/squirrelmail/functions/strings.php on line 634
I noticed bug 259172 too, but I didn't have time previous week. I'm working on it now.
Created attachment 229004 [details] patch to 20211024
Take.
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=f0d7d1d5682418487961eb0565d4f212e5b20b75 commit f0d7d1d5682418487961eb0565d4f212e5b20b75 Author: Zsolt Udvari <uzsolt@uzsolt.hu> AuthorDate: 2021-11-08 00:03:29 +0000 Commit: Yasuhiro Kimura <yasu@FreeBSD.org> CommitDate: 2021-11-08 00:15:24 +0000 mail/squirrelmail: Update to 20211024 While here, * Switch to DISTVERSION * Pet portclippy * Re-format Makefile with portfmt PR: 259405 Reported by: James B. Byrne mail/squirrelmail/Makefile | 35 +++++------ mail/squirrelmail/distinfo | 6 +- .../files/patch-functions__i18n.php (gone) | 32 ---------- .../files/patch-functions_strings.php (gone) | 71 ---------------------- 4 files changed, 21 insertions(+), 123 deletions(-)
Committed with some refinements. Thanks!