summaryrefslogtreecommitdiff
path: root/debian
diff options
context:
space:
mode:
authorAndreas Beckmann <anbe@debian.org>2014-02-15 19:18:56 +0100
committerAndreas Beckmann <anbe@debian.org>2014-02-15 19:18:56 +0100
commitcd833c7b1a8d219166467dc18ab81e7d5456adaa (patch)
treec5c4a7369d228b586e1160c71a8e71f61c84d8a3 /debian
parente062dbd4f41383d57c5437307079baa327b13c11 (diff)
downloadsendmail-cd833c7b1a8d219166467dc18ab81e7d5456adaa.tar.gz
do not mess with conffiles and other shipped files during purge
Diffstat (limited to 'debian')
-rw-r--r--debian/changelog2
-rw-r--r--debian/sendmail-base.dirs.in1
-rw-r--r--debian/sendmail-base.postrm.in9
3 files changed, 2 insertions, 10 deletions
diff --git a/debian/changelog b/debian/changelog
index 07d09fe..5e1a756 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -22,6 +22,8 @@ sendmail (8.14.4-4.2) UNRELEASED; urgency=low
* Let dh_lintian install the overrides.
* Simplify managing generated control files by placing the templates
directly in debian/.
+ * sendmail-base.postrm: Do not mess with conffiles and other shipped files
+ during purge. (Closes: #736982)
* Switch to debhelper compat level 9.
-- Andreas Beckmann <anbe@debian.org> Sat, 19 Oct 2013 02:41:51 +0200
diff --git a/debian/sendmail-base.dirs.in b/debian/sendmail-base.dirs.in
index 951b1a2..bbefa01 100644
--- a/debian/sendmail-base.dirs.in
+++ b/debian/sendmail-base.dirs.in
@@ -8,7 +8,6 @@
.@sysconfdir@/logcheck/ignore.d.server
.@sysconfdir@/logcheck/ignore.d.workstation
.@sysconfdir@/logcheck/violations.ignore.d
-.@sysconfdir@/logrotate.d
.@sysconfdir@/mail
.@sysconfdir@/mail/m4
.@sysconfdir@/mail/peers
diff --git a/debian/sendmail-base.postrm.in b/debian/sendmail-base.postrm.in
index 5a68568..fe0b535 100644
--- a/debian/sendmail-base.postrm.in
+++ b/debian/sendmail-base.postrm.in
@@ -64,13 +64,6 @@ case "$1" in
# Purge those files installed in other package directories
rm -f @libdir@/lib/sasl/Sendmail.conf;
rm -f @sysconfdir@/certs/sendmail.pem;
- rm -f @datadir@/bug/sendmail*;
- rmdir --ignore-fail-on-non-empty @datadir@/bug;
- rm -f @sysconfdir@/logrotate.d/sendmail;
- rmdir --ignore-fail-on-non-empty @sysconfdir@/logrotate.d;
- rm -f @sysconfdir@/logcheck/violations.ignore.d/sendmail;
- rmdir --ignore-fail-on-non-empty @sysconfdir@/logcheck/violations.ignore.d;
- rmdir --ignore-fail-on-non-empty @sysconfdir@/logcheck;
# Can't touch these as they may be included in slapd.conf
#rm -rf @sysconfdir@/ldap/schema/sendmail.schema;
#rm -rf @sysconfdir@/openldap/sendmail.schema;
@@ -88,8 +81,6 @@ case "$1" in
@sysconfdir@/mail/default-auth-info \
@sysconfdir@/mail/access \
;
- rmdir @sysconfdir@/mail/peers 2>/dev/null || true;
- rmdir @sysconfdir@/mail 2>/dev/null || true;
;;