Package: dokuwiki
Version: 0.0.20061106-4
Severity: normal
Tags: patch

Hi,

>From my understanding of the newer versions of dokuwiki, the creation
of the changes.log file is now unnecessary.

You just have to remove the following lines form the postinst:

----
    # Create initial changelog if one does not exist
    if (! -e "/var/lib/dokuwiki/data/changes.log") {
        open(TMP, "> /var/lib/dokuwiki/data/changes.log")
            or die("Could not create /var/lib/dokuwiki/data/changes.log");
        close(TMP);
    }
    
    # Set appropriate ownership and mode for changelog
    my $wwwuid = getpwnam("www-data");
    my $rootuid = getpwnam("root");
    chown $wwwuid, $rootuid, "/var/lib/dokuwiki/data/changes.log"
        or die "Could not change ownership for 
/var/lib/dokuwiki/data/changes.log";
    chmod 0664, "/var/lib/dokuwiki/data/changes.log"
        or die "Could not change mode for /var/lib/dokuwiki/data/changes.log";
----

Thanks for your work on packaging dokuwiki,
Frédéric Lehobey

-- System Information:
Debian Release: 4.0
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: sparc (sparc64)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-3-sparc64
Locale: [EMAIL PROTECTED], [EMAIL PROTECTED] (charmap=ISO-8859-15)

Versions of packages dokuwiki depends on:
ii  apache2                       2.2.3-3.2  Next generation, scalable, extenda
ii  apache2-mpm-prefork [httpd-cg 2.2.3-3.2  Traditional model for Apache HTTPD
ii  debconf [debconf-2.0]         1.5.11     Debian configuration management sy
ii  php5                          5.2.0-8    server-side, HTML-embedded scripti
ii  ucf                           2.0018.1   Update Configuration File: preserv

Versions of packages dokuwiki recommends:
pn  imagemagick | php4-gd | php5- <none>     (no description available)
pn  php4-cli | php5-cli           <none>     (no description available)

-- debconf information:
* dokuwiki/system/documentroot: /dokuwiki
* dokuwiki/system/accessible: global
  dokuwiki/system/localnet: 10.0.0.0/24
* dokuwiki/webservers: apache2
* dokuwiki/system/purgepages: true

Reply via email to