summaryrefslogtreecommitdiffstats
path: root/debian
diff options
context:
space:
mode:
Diffstat (limited to 'debian')
-rw-r--r--debian/changelog7
-rw-r--r--debian/util-linux-extra.lintian-overrides2
-rw-r--r--debian/util-linux-extra.postrm8
-rwxr-xr-xdebian/util-linux-extra.preinst8
4 files changed, 13 insertions, 12 deletions
diff --git a/debian/changelog b/debian/changelog
index 450fea1..f03fb74 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,10 @@
+util-linux (2.40-8) unstable; urgency=medium
+
+ [ Helmut Grohne ]
+ * Also cover ctrlaltdel in /usr-move mitigation (Closes: #1069923)
+
+ -- Chris Hofstaedtler <zeha@debian.org> Sat, 27 Apr 2024 14:23:31 +0200
+
util-linux (2.40-7) unstable; urgency=medium
[ Chris Hofstaedtler ]
diff --git a/debian/util-linux-extra.lintian-overrides b/debian/util-linux-extra.lintian-overrides
deleted file mode 100644
index d970402..0000000
--- a/debian/util-linux-extra.lintian-overrides
+++ /dev/null
@@ -1,2 +0,0 @@
-# DEP17 P1 mitigation
-diversion-for-unknown-file sbin/* [preinst:*]
diff --git a/debian/util-linux-extra.postrm b/debian/util-linux-extra.postrm
index 3e01a3a..ba30c67 100644
--- a/debian/util-linux-extra.postrm
+++ b/debian/util-linux-extra.postrm
@@ -3,11 +3,9 @@
set -e
if test "$1" = remove || test "$1" = disappear; then
- dpkg-divert --no-rename --package util-linux-extra --divert /sbin/fsck.cramfs.usr-is-merged --remove /sbin/fsck.cramfs
- dpkg-divert --no-rename --package util-linux-extra --divert /sbin/fsck.minix.usr-is-merged --remove /sbin/fsck.minix
- dpkg-divert --no-rename --package util-linux-extra --divert /sbin/mkfs.bfs.usr-is-merged --remove /sbin/mkfs.bfs
- dpkg-divert --no-rename --package util-linux-extra --divert /sbin/mkfs.cramfs.usr-is-merged --remove /sbin/mkfs.cramfs
- dpkg-divert --no-rename --package util-linux-extra --divert /sbin/mkfs.minix.usr-is-merged --remove /sbin/mkfs.minix
+ for f in ctrlaltdel fsck.cramfs fsck.minix mkfs.bfs mkfs.cramfs mkfs.minix; do
+ dpkg-divert --no-rename --package util-linux-extra --divert "/sbin/$f.usr-is-merged" --remove "/sbin/$f"
+ done
fi
#DEBHELPER#
diff --git a/debian/util-linux-extra.preinst b/debian/util-linux-extra.preinst
index 0d9e13a..0d5abc5 100755
--- a/debian/util-linux-extra.preinst
+++ b/debian/util-linux-extra.preinst
@@ -3,11 +3,9 @@
set -e
if test "$1" = upgrade || test "$1" = install; then
- dpkg-divert --no-rename --package util-linux-extra --divert /sbin/fsck.cramfs.usr-is-merged --add /sbin/fsck.cramfs
- dpkg-divert --no-rename --package util-linux-extra --divert /sbin/fsck.minix.usr-is-merged --add /sbin/fsck.minix
- dpkg-divert --no-rename --package util-linux-extra --divert /sbin/mkfs.bfs.usr-is-merged --add /sbin/mkfs.bfs
- dpkg-divert --no-rename --package util-linux-extra --divert /sbin/mkfs.cramfs.usr-is-merged --add /sbin/mkfs.cramfs
- dpkg-divert --no-rename --package util-linux-extra --divert /sbin/mkfs.minix.usr-is-merged --add /sbin/mkfs.minix
+ for f in ctrlaltdel fsck.cramfs fsck.minix mkfs.bfs mkfs.cramfs mkfs.minix; do
+ dpkg-divert --no-rename --package util-linux-extra --divert "/sbin/$f.usr-is-merged" --add "/sbin/$f"
+ done
fi
#DEBHELPER#