summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorColin Watson <cjwatson@debian.org>2003-09-01 02:13:14 +0000
committerColin Watson <cjwatson@debian.org>2003-09-01 02:13:14 +0000
commit2b89c091812295ccae1542bdf2c58b7128975192 (patch)
tree7732f136a05d3d15c6e38e85ff159785f894222e
parent6d5a72bc1d98a42ba42f082e50a22e911c1d82d3 (diff)
Debian release 3.5p1-2.
-rw-r--r--debian/changelog8
-rw-r--r--debian/control2
-rw-r--r--debian/postinst12
3 files changed, 21 insertions, 1 deletions
diff --git a/debian/changelog b/debian/changelog
index 6a6a6eb0c..7f7fc33eb 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,11 @@
1openssh (1:3.5p1-2) unstable; urgency=low
2
3 * Mention in the ssh package description that it provides both ssh and
4 sshd (closes: #99680).
5 * Create a system group for ssh-agent, not a user group (closes: #167669).
6
7 -- Colin Watson <cjwatson@debian.org> Mon, 4 Nov 2002 13:43:53 +0000
8
1openssh (1:3.5p1-1) unstable; urgency=low 9openssh (1:3.5p1-1) unstable; urgency=low
2 10
3 * New upstream release. 11 * New upstream release.
diff --git a/debian/control b/debian/control
index 2fe062623..cb25d58ba 100644
--- a/debian/control
+++ b/debian/control
@@ -25,6 +25,8 @@ Description: Secure rlogin/rsh/rcp replacement (OpenSSH)
25 It is intended as a replacement for rlogin, rsh and rcp, and can be 25 It is intended as a replacement for rlogin, rsh and rcp, and can be
26 used to provide applications with a secure communication channel. 26 used to provide applications with a secure communication channel.
27 . 27 .
28 This package provides both the ssh client and the sshd server.
29 .
28 -------------------------------------------------------------------- 30 --------------------------------------------------------------------
29 . 31 .
30 In some countries, particularly Russia, Iraq, and Pakistan, it may 32 In some countries, particularly Russia, Iraq, and Pakistan, it may
diff --git a/debian/postinst b/debian/postinst
index 1b741c203..41221b9d6 100644
--- a/debian/postinst
+++ b/debian/postinst
@@ -280,9 +280,18 @@ set_sshd_permissions() {
280} 280}
281 281
282 282
283fix_ssh_group() {
284 # Try to remove non-system group mistakenly created by 1:3.5p1-1.
285 # set_ssh_agent_permissions() below will re-create it properly.
286 if getent group | grep -q '^ssh:'; then
287 delgroup --quiet ssh || true
288 fi
289}
290
291
283set_ssh_agent_permissions() { 292set_ssh_agent_permissions() {
284 if ! getent group | grep -q '^ssh:'; then 293 if ! getent group | grep -q '^ssh:'; then
285 addgroup --quiet ssh 294 addgroup --system --quiet ssh
286 fi 295 fi
287 if ! [ -x /usr/sbin/dpkg-statoverride ] || \ 296 if ! [ -x /usr/sbin/dpkg-statoverride ] || \
288 ! dpkg-statoverride --list /usr/bin/ssh-agent >/dev/null ; then 297 ! dpkg-statoverride --list /usr/bin/ssh-agent >/dev/null ; then
@@ -323,6 +332,7 @@ fix_statoverride
323create_alternatives 332create_alternatives
324setup_sshd_user 333setup_sshd_user
325set_sshd_permissions 334set_sshd_permissions
335if [ "$2" = "1:3.5p1-1" ]; then fix_ssh_group; fi
326set_ssh_agent_permissions 336set_ssh_agent_permissions
327setup_startup 337setup_startup
328setup_init 338setup_init