Package: sysklogd
Version: 1.4.1-17
Severity: normal
Tags: patch

Hi,

sysklogd and klogd still put symlinks in /usr/doc, whereas this is now
deprecated. Please apply the attached patch, which removes the symlink
creation code from the packages' postinsts.

Thanks,
Julien Cristau


-- System Information:
Debian Release: testing/unstable
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable'), (500, 'stable'), (1, 
'experimental')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/dash
Kernel: Linux 2.6.10
Locale: LANG=C, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)

Versions of packages sysklogd depends on:
ii  klogd [linux-kernel-log-dae 1.4.1-17     Kernel Logging Daemon
ii  libc6                       2.3.2.ds1-22 GNU C Library: Shared libraries an

sysklogd recommends no packages.

-- no debconf information
diff -Nur sysklogd-1.4.1/debian/postinst sysklogd-1.4.1.new/debian/postinst
--- sysklogd-1.4.1/debian/postinst      2005-08-12 20:36:13.887031603 +0200
+++ sysklogd-1.4.1.new/debian/postinst  2005-08-12 20:35:10.188762098 +0200
@@ -20,7 +20,7 @@
 The default behaviour of syslogd has altered from 1.2 to 1.3.  By default
 *no* messages from the UDP port are accepted.
 
-Read the documentation in /usr/doc/sysklogd carefully.  Some important
+Read the documentation in /usr/share/doc/sysklogd carefully.  Some important
 things have been changed!
 
 Press [Enter] to continue
@@ -74,15 +74,6 @@
        fi
        set -e
     fi
-
-    # Maintain transition to FHS
-    if [ "$1" = "configure" ]
-    then
-       if [ -d /usr/doc -a ! -e /usr/doc/sysklogd -a -d 
/usr/share/doc/sysklogd ]
-       then
-           ln -sf ../share/doc/sysklogd /usr/doc/sysklogd
-       fi
-    fi
 fi
 
 
diff -Nur sysklogd-1.4.1/debian/postinst.klogd 
sysklogd-1.4.1.new/debian/postinst.klogd
--- sysklogd-1.4.1/debian/postinst.klogd        2005-08-12 20:36:13.888031419 
+0200
+++ sysklogd-1.4.1.new/debian/postinst.klogd    2005-08-12 20:36:45.110281617 
+0200
@@ -26,15 +26,6 @@
        fi
        set -e
     fi
-
-    # Maintain transition to FHS
-    if [ "$1" = "configure" ]
-    then
-       if [ -d /usr/doc -a ! -e /usr/doc/klogd -a -d /usr/share/doc/klogd ]
-       then
-           ln -sf ../share/doc/klogd /usr/doc/klogd
-       fi
-    fi
 fi
 
 exit 0

Attachment: signature.asc
Description: Digital signature

Reply via email to