commit-hurd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[SCM] Debian GNU Hurd packaging branch, master, updated. debian/20111106


From: Samuel Thibault
Subject: [SCM] Debian GNU Hurd packaging branch, master, updated. debian/20111106-1-1-g9056575
Date: Sun, 06 Nov 2011 16:13:30 +0000

The following commit has been merged in the master branch:
commit 9056575c365a31c434516d7b7a5b7753bba05333
Author: Samuel Thibault <address@hidden>
Date:   Sun Nov 6 17:12:40 2011 +0100

    Fool lintian about removing the random devices

diff --git a/debian/hurd.lintian-overrides b/debian/hurd.lintian-overrides
index 6ab5a37..4a82454 100644
--- a/debian/hurd.lintian-overrides
+++ b/debian/hurd.lintian-overrides
@@ -5,5 +5,3 @@ setuid-binary bin/login 4755 root/root
 setuid-binary bin/ps-hurd 4755 root/root
 setuid-binary usr/bin/w-hurd 4755 root/root
 possibly-insecure-handling-of-tmp-files-in-maintainer-script postinst:65
-maintainer-script-removes-device-files postinst:69
-maintainer-script-removes-device-files postinst:71
diff --git a/debian/hurd.postinst b/debian/hurd.postinst
index 4828112..0e3a3b1 100644
--- a/debian/hurd.postinst
+++ b/debian/hurd.postinst
@@ -61,9 +61,8 @@ if [ "$1" = configure ] && [ "$2" ]; then
        then
                # old random-egd translator, remove
                settrans -go /dev/random
-               rm -f /dev/random
                settrans -go /dev/urandom
-               rm -f /dev/urandom
+               ( cd /dev ; rm -f random urandom )
        fi
        /usr/lib/hurd/setup-translators -K
        update-alternatives --install /dev/random random /dev/random-hurd 10 \

-- 
Debian GNU Hurd packaging



reply via email to

[Prev in Thread] Current Thread [Next in Thread]