summaryrefslogtreecommitdiff
path: root/debian
diff options
context:
space:
mode:
Diffstat (limited to 'debian')
-rw-r--r--debian/changelog3
-rwxr-xr-xdebian/rules2
2 files changed, 4 insertions, 1 deletions
diff --git a/debian/changelog b/debian/changelog
index 5c8edd737..8c9deaf37 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,6 +1,9 @@
1openssh (1:5.8p1-7) UNRELEASED; urgency=low 1openssh (1:5.8p1-7) UNRELEASED; urgency=low
2 2
3 * Only recommend ssh-import-id when built on Ubuntu (closes: #635887). 3 * Only recommend ssh-import-id when built on Ubuntu (closes: #635887).
4 * Use 'dpkg-vendor --derives-from Ubuntu' to detect Ubuntu systems rather
5 than 'lsb_release -is' so that Ubuntu derivatives behave the same way as
6 Ubuntu itself.
4 7
5 -- Colin Watson <cjwatson@debian.org> Fri, 29 Jul 2011 13:51:26 +0100 8 -- Colin Watson <cjwatson@debian.org> Fri, 29 Jul 2011 13:51:26 +0100
6 9
diff --git a/debian/rules b/debian/rules
index 9731c320b..eb895e0c3 100755
--- a/debian/rules
+++ b/debian/rules
@@ -58,7 +58,7 @@ endif
58# Change the version string to include the Debian version 58# Change the version string to include the Debian version
59SSH_EXTRAVERSION := Debian-$(shell dpkg-parsechangelog | sed -n -e '/^Version:/s/Version: //p' | sed -e 's/[^-]*-//') 59SSH_EXTRAVERSION := Debian-$(shell dpkg-parsechangelog | sed -n -e '/^Version:/s/Version: //p' | sed -e 's/[^-]*-//')
60 60
61DISTRIBUTOR := $(shell lsb_release -is 2>/dev/null || echo Debian) 61DISTRIBUTOR := $(shell dpkg-vendor --derives-from Ubuntu 2>/dev/null && echo Ubuntu)
62ifeq ($(DISTRIBUTOR),Ubuntu) 62ifeq ($(DISTRIBUTOR),Ubuntu)
63DEFAULT_PATH := /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/bin/X11:/usr/games 63DEFAULT_PATH := /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/bin/X11:/usr/games
64else 64else