Package: debian-security-support Version: 1:14+2026.04.30 Severity: important Tags: security X-Debbugs-Cc: Debian Security Team <[email protected]>
Hi dear maintainers, I noticed that debian-security-support does not clean /var/lib/debian-security-support/ on purge. Here is a extra-short that implements this with help from dh-cruft. dh-cruft has been available for many years already so that would not hinder backportability. Greetings Alexandre tchet@quieter:~/deb/debian-security-support$ git diff HEAD~1 --- a/debian/control +++ b/debian/control @@ -6,6 +6,7 @@ Uploaders: Holger Levsen <[email protected]>, Santiago Ruano Rincón <[email protected]>, Build-Depends: debhelper-compat (= 13), asciidoc, + dh-sequence-cruft, gettext, gawk, libfile-slurp-perl, --- /dev/null +++ b/debian/debian-security-support.purge @@ -0,0 +1 @@ +/var/lib/debian-security-support/ PS: here is also the generated .postrm so you can glimpse on it: $ cat debian/debian-security-support/DEBIAN/postrm #!/bin/sh set -e # Automatically added by dh_cruft/0.9.80 if [ "$1" = "purge" ] then # we need to glob, so no quotes rm -rf ${DPKG_ROOT:-}/var/lib/debian-security-support/ fi # End automatically added section # Automatically added by dh_installdebconf/13.31 if [ "$1" = purge ] && [ -e /usr/share/debconf/confmodule ]; then . /usr/share/debconf/confmodule db_purge fi # End automatically added section

