Please consider this a request to update www/foswiki to 2.1.6. I am getting minor Perl errors when running tools/mailnotify daily. This started after updating perl5-5.24 to perl5-5.26. The foswiki devs have assured me these were fixed in version 2.1.6. ~Doug
Created attachment 192831 [details] patch-to-2.1.6 Please check attached patch if it works for you
Gah! Sorry for the delay. I'm a bit behind because $WORK$ is busting my hump. :( Anyway. Thanks for stepping up, Kurt! Your svn diff looks good. Unless anyone says otherwise, please commit. Thanks again! --Chris
A commit references this bug: Author: pi Date: Thu Apr 26 20:29:06 UTC 2018 New revision: 468382 URL: https://svnweb.freebsd.org/changeset/ports/468382 Log: www/foswiki: update 2.1.3 -> 2.1.6 PR: 227796 Requested by: Doug Sampson <dougs@dawnsign.com> Submitted by: pi Approved by: Chris Hutchinson <portmaster@bsdforge.com> (maintainer) Relnotes: http://foswiki.org/System/ReleaseNotes02x01 Security: CVE-2018-7446 Changes: head/www/foswiki/Makefile head/www/foswiki/distinfo head/www/foswiki/pkg-plist
(In reply to Kurt Jaeger from comment #1) I applied the patch and used portmaster to rebuild the foswiki port. But I'm still getting the same error message when running tools/mailnotify as follows: root@aries:/usr/local/www/foswiki # /usr/local/bin/perl -I /usr/local/www/foswiki/bin /usr/local/www/foswiki/tools/mailnotify Unescaped left brace in regex is deprecated here (and will be fatal in Perl 5.30), passed through in regex; marked by <-- HERE in m/(\%)(SEARCH){ <-- HERE / at /usr/local/www/foswiki/lib/Foswiki/Render.pm line 673. Unescaped left brace in regex is deprecated here (and will be fatal in Perl 5.30), passed through in regex; marked by <-- HERE in m/^(%META:(TOPICINFO){ <-- HERE (.*)}%\n)/ at /usr/local/www/foswiki/lib/Foswiki/Serialise/Embedded.pm line 70. Unescaped left brace in regex is deprecated here (and will be fatal in Perl 5.30), passed through in regex; marked by <-- HERE in m/^%META:([^{]+){ <-- HERE (.*)}%\n/ at /usr/local/www/foswiki/lib/Foswiki/Serialise/Embedded.pm line 104. Unescaped left brace in regex is deprecated here (and will be fatal in Perl 5.30), passed through in regex; marked by <-- HERE in m/^(%META:([^{]+){ <-- HERE (.*)}%\n)/ at /usr/local/www/foswiki/lib/Foswiki/Serialise/Embedded.pm line 112. Processing Accounting Accounting has no subscribers Processing BldgMaintenance BldgMaintenance has no subscribers ... ... I'm not sure where to go from here. This is my first post to bugzilla! ~Doug
Never mind, the patch worked. I didn't verify that the patch was correctly applied in the first place. Thank you! ~Doug
A commit references this bug: Author: pi Date: Sat May 5 21:04:32 UTC 2018 New revision: 469167 URL: https://svnweb.freebsd.org/changeset/ports/469167 Log: www/foswiki: fix build with APACHE=off PR: 227796 Pointy hat: pi Reported by: antoine Changes: head/www/foswiki/Makefile head/www/foswiki/pkg-plist
New quarterly comes in a month, good enough...