summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Shuler <michael@pbandjelly.org>2012-07-21 14:01:49 -0500
committerMichael Shuler <michael@pbandjelly.org>2012-07-21 14:01:49 -0500
commitc210eaafbe64185a2bf258681889984becbd8141 (patch)
tree202fe8a452c1170f4baaaf5c4d570cc22e069a27
parent994dff4bcd0e291bd1fb39286812c48014822664 (diff)
downloadca-certificates-c210eaafbe64185a2bf258681889984becbd8141.tar.gz
Correct piuparts package remove/purge behavior Closes: #682125
- Remove deletes of /etc/ssl{,/certs} from debian/postrm - Add etc/ssl to debian/dirs
-rw-r--r--debian/changelog7
-rw-r--r--debian/dirs1
-rw-r--r--debian/postrm6
3 files changed, 6 insertions, 8 deletions
diff --git a/debian/changelog b/debian/changelog
index 7736538..89d7d03 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,4 +1,4 @@
-ca-certificates (20120710) UNRELEASED; urgency=low
+ca-certificates (20120721) UNRELEASED; urgency=low
* Update mozilla/certdata.txt to version 1.85
Certificates added (+) (none removed):
@@ -8,8 +8,11 @@ ca-certificates (20120710) UNRELEASED; urgency=low
+ "StartCom Certification Authority G2"
+ "Buypass Class 2 Root CA"
+ "Buypass Class 3 Root CA"
+ * Correct piuparts package remove/purge behavior Closes: #682125
+ - Remove deletes of /etc/ssl{,/certs} from debian/postrm
+ - Add etc/ssl to debian/dirs
- -- Michael Shuler <michael@pbandjelly.org> Tue, 10 Jul 2012 14:05:27 -0500
+ -- Michael Shuler <michael@pbandjelly.org> Sat, 21 Jul 2012 09:54:25 -0500
ca-certificates (20120623) unstable; urgency=low
diff --git a/debian/dirs b/debian/dirs
index b64bbd3..840b840 100644
--- a/debian/dirs
+++ b/debian/dirs
@@ -1,3 +1,4 @@
+etc/ssl
etc/ssl/certs
usr/sbin
usr/share/ca-certificates/
diff --git a/debian/postrm b/debian/postrm
index 9b3c29c..11759fe 100644
--- a/debian/postrm
+++ b/debian/postrm
@@ -46,12 +46,6 @@ case "$1" in
purge)
rm -f /etc/ssl/certs/ca-certificates.crt
remove_dangling_symlinks
-
- # Clean up even if openssl is removed before ca-certificates.
- # (Which is what piuparts does.)
- [ -d /etc/ssl/certs ] && rmdir --ignore-fail-on-non-empty /etc/ssl/certs
- [ -d /etc/ssl ] && rmdir --ignore-fail-on-non-empty /etc/ssl
-
rm -f /etc/ca-certificates.conf*
;;