summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJason Duerstock <jason.duerstock@gmail.com>2017-12-12 12:19:53 +0000
committerColin Watson <cjwatson@debian.org>2017-12-12 12:20:00 +0000
commit182629327017f8f9d03eacdb0b621504a01189f0 (patch)
treeeed9cceadad573f181a7a671ccc1f8c69cfd809e
parenta0e1fc2a252c15aec734cd9f2208cfe6792b61b6 (diff)
Add a "pkg.openssh.nognome" build profile
This disables building the ssh-askpass-gnome binary package and avoids the build-dependency on libgtk-3-dev (closes: #883819).
-rw-r--r--debian/changelog5
-rw-r--r--debian/control3
-rwxr-xr-xdebian/rules2
3 files changed, 9 insertions, 1 deletions
diff --git a/debian/changelog b/debian/changelog
index 48d9df642..0ac214383 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -9,6 +9,11 @@ openssh (1:7.6p1-3) UNRELEASED; urgency=medium
9 [ Anders Kaseorg ] 9 [ Anders Kaseorg ]
10 * debian/systemd/ssh-agent.service: Add missing dbus dependency. 10 * debian/systemd/ssh-agent.service: Add missing dbus dependency.
11 11
12 [ Jason Duerstock ]
13 * Add a "pkg.openssh.nognome" build profile, which disables building the
14 ssh-askpass-gnome binary package and avoids the build-dependency on
15 libgtk-3-dev (closes: #883819).
16
12 -- Colin Watson <cjwatson@debian.org> Mon, 16 Oct 2017 10:30:50 +0100 17 -- Colin Watson <cjwatson@debian.org> Mon, 16 Oct 2017 10:30:50 +0100
13 18
14openssh (1:7.6p1-2) unstable; urgency=medium 19openssh (1:7.6p1-2) unstable; urgency=medium
diff --git a/debian/control b/debian/control
index 568080c74..19023eae3 100644
--- a/debian/control
+++ b/debian/control
@@ -9,7 +9,7 @@ Build-Depends: autotools-dev,
9 dpkg-dev (>= 1.16.1~), 9 dpkg-dev (>= 1.16.1~),
10 libaudit-dev [linux-any], 10 libaudit-dev [linux-any],
11 libedit-dev, 11 libedit-dev,
12 libgtk-3-dev, 12 libgtk-3-dev <!pkg.openssh.nognome>,
13 libkrb5-dev | heimdal-dev, 13 libkrb5-dev | heimdal-dev,
14 libpam0g-dev | libpam-dev, 14 libpam0g-dev | libpam-dev,
15 libselinux1-dev [linux-any], 15 libselinux1-dev [linux-any],
@@ -165,6 +165,7 @@ Description: secure shell client and server (metapackage)
165 may remove it if nothing depends on it. 165 may remove it if nothing depends on it.
166 166
167Package: ssh-askpass-gnome 167Package: ssh-askpass-gnome
168Build-Profiles: <!pkg.openssh.nognome>
168Section: gnome 169Section: gnome
169Priority: optional 170Priority: optional
170Architecture: any 171Architecture: any
diff --git a/debian/rules b/debian/rules
index 9201dbd5a..734ab9c5b 100755
--- a/debian/rules
+++ b/debian/rules
@@ -144,7 +144,9 @@ override_dh_auto_build-arch:
144 $(MAKE) -C debian/build-deb $(PARALLEL) ASKPASS_PROGRAM='/usr/bin/ssh-askpass' 144 $(MAKE) -C debian/build-deb $(PARALLEL) ASKPASS_PROGRAM='/usr/bin/ssh-askpass'
145 $(MAKE) -C debian/build-udeb $(PARALLEL) ASKPASS_PROGRAM='/usr/bin/ssh-askpass' ssh scp sftp sshd ssh-keygen 145 $(MAKE) -C debian/build-udeb $(PARALLEL) ASKPASS_PROGRAM='/usr/bin/ssh-askpass' ssh scp sftp sshd ssh-keygen
146 146
147ifeq ($(filter pkg.openssh.nognome,$(DEB_BUILD_PROFILES)),)
147 $(MAKE) -C contrib gnome-ssh-askpass3 CC='$(CC) $(CPPFLAGS) $(CFLAGS) -Wall -Wl,--as-needed $(LDFLAGS)' PKG_CONFIG=$(PKG_CONFIG) 148 $(MAKE) -C contrib gnome-ssh-askpass3 CC='$(CC) $(CPPFLAGS) $(CFLAGS) -Wall -Wl,--as-needed $(LDFLAGS)' PKG_CONFIG=$(PKG_CONFIG)
149endif
148 150
149override_dh_auto_build-indep: 151override_dh_auto_build-indep:
150 152