Ticket #23636 (closed update: fixed)
Patch to update dokuwiki from @2004-11-02 to @2009-12-25c
|Reported by:||steve@…||Owned by:||macports-tickets@…|
The update to the latest version of DokuWiki seems straightforward, despite the jump from PHP4 to PHP5. Will attach Portfile.diff.
One minor problem with the version numbers: their tarball (2009-12-25c.tgz) doesn't unpack to the same name (the name of the unpacked directory omits the 'c'). Not sure how to best represent this.
One warning on build:
Warning: violation by /opt/local/apache2 Warning: dokuwiki violates the layout of the ports-filesystems! Warning: Please fix or indicate this misbehavior (if it is intended), it will be an error in future releases!
Otherwise built successfully under MacPorts 1.8.2 on 10.6.2 running on both a MacBook Pro and an iMac (i7).
Aside from updating to the new DokuWiki directory structure (the 'attic' and 'media' directories are now under 'data'), the only line I added was to effectively do this:
sudo chown -R www:www /opt/local/share/dokuwiki/conf
in order that DokuWiki can be configured using its http://localhost/dokuwiki/install.php page.