diff options
author | Jason Duerstock <jason.duerstock@gmail.com> | 2017-12-12 12:19:53 +0000 |
---|---|---|
committer | Colin Watson <cjwatson@debian.org> | 2017-12-12 12:20:00 +0000 |
commit | 182629327017f8f9d03eacdb0b621504a01189f0 (patch) | |
tree | eed9cceadad573f181a7a671ccc1f8c69cfd809e | |
parent | a0e1fc2a252c15aec734cd9f2208cfe6792b61b6 (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/changelog | 5 | ||||
-rw-r--r-- | debian/control | 3 | ||||
-rwxr-xr-x | debian/rules | 2 |
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 | ||
14 | openssh (1:7.6p1-2) unstable; urgency=medium | 19 | openssh (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 | ||
167 | Package: ssh-askpass-gnome | 167 | Package: ssh-askpass-gnome |
168 | Build-Profiles: <!pkg.openssh.nognome> | ||
168 | Section: gnome | 169 | Section: gnome |
169 | Priority: optional | 170 | Priority: optional |
170 | Architecture: any | 171 | Architecture: 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 | ||
147 | ifeq ($(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) |
149 | endif | ||
148 | 150 | ||
149 | override_dh_auto_build-indep: | 151 | override_dh_auto_build-indep: |
150 | 152 | ||