summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorColin Watson <cjwatson@debian.org>2007-12-24 12:19:49 +0000
committerColin Watson <cjwatson@debian.org>2007-12-24 12:19:49 +0000
commit497c12ab0b0a79830eca44dc67bcbbb865166ef6 (patch)
treeed057eea2fea9b2253308db71f2d49392603405f
parente199488776ccc97508eb9780e77f30fef6f5689b (diff)
* Remove the hideously old /etc/ssh/primes on upgrade (closes: #123013).
-rw-r--r--debian/changelog1
-rw-r--r--debian/openssh-server.postinst4
2 files changed, 5 insertions, 0 deletions
diff --git a/debian/changelog b/debian/changelog
index 359f28bb1..b80418653 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -48,6 +48,7 @@ openssh (1:4.7p1-1) UNRELEASED; urgency=low
48 * Fix "overriden" typo in ssh(1) (thanks, A. Costa; closes: #390699). 48 * Fix "overriden" typo in ssh(1) (thanks, A. Costa; closes: #390699).
49 * Refactor debian/rules configure and make invocations to make development 49 * Refactor debian/rules configure and make invocations to make development
50 easier. 50 easier.
51 * Remove the hideously old /etc/ssh/primes on upgrade (closes: #123013).
51 52
52 -- Colin Watson <cjwatson@debian.org> Sun, 23 Dec 2007 12:53:46 +0000 53 -- Colin Watson <cjwatson@debian.org> Sun, 23 Dec 2007 12:53:46 +0000
53 54
diff --git a/debian/openssh-server.postinst b/debian/openssh-server.postinst
index e73d3957c..61d34d281 100644
--- a/debian/openssh-server.postinst
+++ b/debian/openssh-server.postinst
@@ -392,6 +392,10 @@ setup_init
392commit_transfer_conffile /etc/default/ssh 392commit_transfer_conffile /etc/default/ssh
393commit_transfer_conffile /etc/init.d/ssh 393commit_transfer_conffile /etc/init.d/ssh
394commit_transfer_conffile /etc/pam.d/ssh 394commit_transfer_conffile /etc/pam.d/ssh
395# Renamed to /etc/ssh/moduli in 2.9.9 (!)
396if dpkg --compare-versions "$2" lt 1:4.7p1-1; then
397 rm -f /etc/ssh/primes
398fi
395 399
396 400
397db_stop 401db_stop