summaryrefslogtreecommitdiff
path: root/debian
diff options
context:
space:
mode:
Diffstat (limited to 'debian')
-rw-r--r--debian/changelog2
-rw-r--r--debian/openssh-client.postinst3
-rw-r--r--debian/openssh-server.postinst6
3 files changed, 5 insertions, 6 deletions
diff --git a/debian/changelog b/debian/changelog
index 0b2c19fb5..484251596 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -2,6 +2,8 @@ openssh (1:6.7p1-3) UNRELEASED; urgency=medium
2 2
3 * Debconf translations: 3 * Debconf translations:
4 - Dutch (thanks, Frans Spiesschaert; closes: #765851). 4 - Dutch (thanks, Frans Spiesschaert; closes: #765851).
5 * Assume that dpkg-statoverride exists and drop the test for an obsolete
6 compatibility path.
5 7
6 -- Colin Watson <cjwatson@debian.org> Sun, 19 Oct 2014 06:07:21 +0100 8 -- Colin Watson <cjwatson@debian.org> Sun, 19 Oct 2014 06:07:21 +0100
7 9
diff --git a/debian/openssh-client.postinst b/debian/openssh-client.postinst
index 978b04a9b..ec0ad2b2b 100644
--- a/debian/openssh-client.postinst
+++ b/debian/openssh-client.postinst
@@ -28,8 +28,7 @@ set_ssh_agent_permissions() {
28 if ! getent group ssh >/dev/null; then 28 if ! getent group ssh >/dev/null; then
29 addgroup --system --quiet ssh 29 addgroup --system --quiet ssh
30 fi 30 fi
31 if ! [ -x /usr/sbin/dpkg-statoverride ] || \ 31 if ! dpkg-statoverride --list /usr/bin/ssh-agent >/dev/null; then
32 ! dpkg-statoverride --list /usr/bin/ssh-agent >/dev/null ; then
33 chgrp ssh /usr/bin/ssh-agent 32 chgrp ssh /usr/bin/ssh-agent
34 chmod 2755 /usr/bin/ssh-agent 33 chmod 2755 /usr/bin/ssh-agent
35 fi 34 fi
diff --git a/debian/openssh-server.postinst b/debian/openssh-server.postinst
index cf6e312fe..5131b2647 100644
--- a/debian/openssh-server.postinst
+++ b/debian/openssh-server.postinst
@@ -265,10 +265,8 @@ EOF
265 265
266fix_statoverride() { 266fix_statoverride() {
267# Remove an erronous override for sshd (we should have overridden ssh) 267# Remove an erronous override for sshd (we should have overridden ssh)
268 if [ -x /usr/sbin/dpkg-statoverride ]; then 268 if dpkg-statoverride --list /usr/sbin/sshd >/dev/null; then
269 if dpkg-statoverride --list /usr/sbin/sshd >/dev/null ; then 269 dpkg-statoverride --remove /usr/sbin/sshd
270 dpkg-statoverride --remove /usr/sbin/sshd
271 fi
272 fi 270 fi
273} 271}
274 272