Created attachment 192808 [details] patch file * Add hash extension to USE_PHP. Without it following runtime error happens when you login the wiki. Fatal error: Uncaught Error: Call to undefined function hash_equals() in /usr/local/www/dokuwiki/inc/PassHash.class.php:94 Stack trace: #0 /usr/local/www/dokuwiki/inc/auth.php(1215): PassHash->verify_hash('XXXXXXXX', 'XXXXXXXX') #1 /usr/local/www/dokuwiki/lib/plugins/authplain/auth.php(69): auth_verifyPassword('XXXXXXXX', 'XXXXXXXX') #2 /usr/local/www/dokuwiki/inc/auth.php(225): auth_plugin_authplain->checkPass('XXXXXXXX', 'XXXXXXXX') #3 /usr/local/www/dokuwiki/inc/auth.php(177): auth_login('XXXXXXXX', 'XXXXXXXX', false, false) #4 /usr/local/www/dokuwiki/inc/events.php(111): auth_login_wrapper(Array) #5 /usr/loc al/www/dokuwiki/inc/events.php(256): Doku_Event->trigger('auth_login_wrap...', true) #6 /usr/local/www/dokuwiki/inc/auth.php(109): trigger_event('AUTH_LOGIN_CHEC...', Array, 'auth_login_wrap...') #7 /usr/local/www/dokuwiki/inc/init.php(215): auth_setup() #8 /usr/local/www/dokuwiki/doku.php(34): require_once('/usr/local/www/...') #9 {main} thrown in /usr/local/www/dokuwiki/inc/PassHash.class.php on line 94 * Bump PORTREVISION because of dependecy change.
I had to add two PHP extensions: 'json' and 'hash'
Created attachment 192956 [details] Dokuwiki patch for adding two extensions Added hash and json extensions
Created attachment 193017 [details] updated patch file (In reply to Horst Kapfenberger from comment #1) Hello Horst, Thank you for feedback. I updated your patch so entries in USE_PHP are sorted.
Created attachment 193046 [details] updated patch file Update patch because new version 2018-04-22a is released. So please commit attached patch instead of previous ones.
A commit references this bug: Author: delphij Date: Sun May 6 04:27:08 UTC 2018 New revision: 469173 URL: https://svnweb.freebsd.org/changeset/ports/469173 Log: - Update to 2018-04-22a - Add hash and json to dependencies PR: 227771 Submitted by: Yasuhiro KIMURA <yasu utahime org> MFH: 2018Q2 Changes: head/www/dokuwiki/Makefile head/www/dokuwiki/distinfo
A commit references this bug: Author: delphij Date: Sun May 6 04:27:56 UTC 2018 New revision: 469174 URL: https://svnweb.freebsd.org/changeset/ports/469174 Log: MFH: r469173 - Update to 2018-04-22a - Add hash and json to dependencies PR: 227771 Submitted by: Yasuhiro KIMURA <yasu utahime org> Approved by: ports-secteam Changes: _U branches/2018Q2/ branches/2018Q2/www/dokuwiki/Makefile branches/2018Q2/www/dokuwiki/distinfo
Committed, thanks!