Package: dokuwiki
Version: 0.0.20091225c-7
Severity: important
Tags: patch

Dear myself,

Due to a mistake in the postinst, the plugins location change from Lenny is not
properly handled: as a consequence, all plugins become unavailable. That
includes the configuration editor, the ACL editor, and the plugin installer
itself, as they are provided as embedded plugins.

Here is what happens:
1. the plugins get moved from /usr/share/dokuwiki/lib/plugins/ to
   /var/lib/dokuwiki/lib/plugins/ as expected;
2. /usr/share/dokuwiki/lib/plugins/ is removed and replaced by a symlink to
   /var/lib/dokuwiki/plugins, that does not exist!
Instead, the symlink should point to /var/lib/dokuwiki/lib/plugins.

See the attached patch for the correction of that mistake.

Regards,

-- 
Tanguy

-- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'stable'), (50, 'unstable'), (1, 
'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.32-trunk-686 (SMP w/1 CPU core)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages dokuwiki depends on:
ii  debconf [debconf-2.0]         1.5.33     Debian configuration management sy
ii  libphp-simplepie              1.2-1      RSS and Atom feed parsing in PHP
ii  php-geshi                     1.0.8.4-1  Generic Syntax Highlighter
ii  php5                          5.3.2-1    server-side, HTML-embedded scripti
ii  ucf                           3.0025     Update Configuration File: preserv

Versions of packages dokuwiki recommends:
ii  imagemagick                8:6.6.0.4-2.1 image manipulation programs
ii  php5-cli                   5.3.2-1       command-line interpreter for the p
ii  php5-gd                    5.3.2-1       GD module for php5

dokuwiki suggests no packages.

-- debconf information:
* dokuwiki/system/configure-webserver: apache2
* dokuwiki/system/restart-webserver: true
  dokuwiki/wiki/policy: public
* dokuwiki/system/writeplugins: true
  dokuwiki/wiki/fullname: DokuWiki Administrator
* dokuwiki/system/documentroot: /dokuwiki
* dokuwiki/system/accessible: localhost only
* dokuwiki/wiki/title: Debian DokuWiki
  dokuwiki/system/localnet: 10.0.0.0/24
  dokuwiki/wiki/superuser: admin
  dokuwiki/wiki/email: webmas...@localhost
  dokuwiki/wiki/failpass:
* dokuwiki/wiki/acl: true
* dokuwiki/system/writeconf: true
* dokuwiki/webservers: apache2
* dokuwiki/system/purgepages: true
--- postinst.old	2010-08-11 21:41:18.221497943 +0200
+++ postinst	2010-08-11 21:43:12.478148710 +0200
@@ -421,7 +421,7 @@
             echo "please check them and consider removing them." >/dev/stderr
             mv /usr/share/dokuwiki/lib/plugins /usr/share/dokuwiki/lib/plugins.old
         fi
-        ln -s /var/lib/dokuwiki/plugins /usr/share/dokuwiki/lib/
+        ln -s /var/lib/dokuwiki/lib/plugins /usr/share/dokuwiki/lib/
         echo "[done]" >/dev/stderr
     fi
     # Possible cases for /var/lib/dokuwiki/plugins:

Attachment: signature.asc
Description: Digital signature

Reply via email to