Bug 265709 - www/dokuwiki: missing php module filter
Summary: www/dokuwiki: missing php module filter
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Some People
Assignee: Xin LI
URL:
Keywords:
: 265748 265779 (view as bug list)
Depends on:
Blocks:
 
Reported: 2022-08-08 10:32 UTC by Dirk Meyer
Modified: 2022-08-11 20:51 UTC (History)
2 users (show)

See Also:
delphij: maintainer-feedback+


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dirk Meyer freebsd_committer freebsd_triage 2022-08-08 10:32:33 UTC
www/dokuwiki: missing php module filter

after Upgrade/Install

/usr/local/www/dokuwiki/inc/common.php(796)     Error: Call to undefined function filter_var()
  #0 /usr/local/www/dokuwiki/inc/common.php(177): clientIP(true)
  #1 /usr/local/www/dokuwiki/inc/common.php(206): basicinfo('start')
  #2 /usr/local/www/dokuwiki/doku.php(97): pageinfo()
  #3 {main}

Both with PHP 7.4 and PHP 8.0:

My Workaround:
Makefile.local with
USE_PHP+= filt

Suggested fix:
Please add "filter" to USE_PHP and bump PORTREVISION
Comment 1 commit-hook freebsd_committer freebsd_triage 2022-08-09 04:02:37 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=30af7d897b8a518a4803e0ea28c1f4fdd9bec080

commit 30af7d897b8a518a4803e0ea28c1f4fdd9bec080
Author:     Dirk Meyer <dinoex@FreeBSD.org>
AuthorDate: 2022-08-09 04:01:31 +0000
Commit:     Xin LI <delphij@FreeBSD.org>
CommitDate: 2022-08-09 04:01:31 +0000

    www/dokuwiki: Require PHP filter module.

    PR:     ports/265709
    MFH:    2022Q3

 www/dokuwiki/Makefile | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
Comment 2 commit-hook freebsd_committer freebsd_triage 2022-08-09 04:02:38 UTC
A commit in branch 2022Q3 references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=4af4a20d09f0052860063a576c3b1bc0225824ef

commit 4af4a20d09f0052860063a576c3b1bc0225824ef
Author:     Dirk Meyer <dinoex@FreeBSD.org>
AuthorDate: 2022-08-09 04:01:31 +0000
Commit:     Xin LI <delphij@FreeBSD.org>
CommitDate: 2022-08-09 04:02:11 +0000

    www/dokuwiki: Require PHP filter module.

    PR:     ports/265709
    MFH:    2022Q3
    (cherry picked from commit 30af7d897b8a518a4803e0ea28c1f4fdd9bec080)

 www/dokuwiki/Makefile | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
Comment 3 Xin LI freebsd_committer freebsd_triage 2022-08-09 04:03:12 UTC
Committed, thanks!
Comment 4 Xin LI freebsd_committer freebsd_triage 2022-08-10 20:51:58 UTC
*** Bug 265748 has been marked as a duplicate of this bug. ***
Comment 5 Xin LI freebsd_committer freebsd_triage 2022-08-11 20:51:15 UTC
*** Bug 265779 has been marked as a duplicate of this bug. ***