[PATCH 1/9] ci: Build and test the SSH transport on Debian systems

Bart Van Assche <[email protected]>
Newsgroups gmane.network.net-snmp.devel
Message-ID <[email protected]>
---
 .travis.yml           | 2 +-
 ci/net-snmp-configure | 3 ++-
 2 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/.travis.yml b/.travis.yml
index dc5c7d9a213f..ef5d809b148d 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -19,7 +19,7 @@ addons:
       - libatm-dev
       - libperl-dev
       - libsensors4-dev
-      - libssh-dev
+      - libssh2-1-dev
       - libssl-dev
       - make
       - perl-modules
diff --git a/ci/net-snmp-configure b/ci/net-snmp-configure
index 22231125b184..bae605e80930 100755
--- a/ci/net-snmp-configure
+++ b/ci/net-snmp-configure
@@ -27,7 +27,8 @@ opensshver="$({
     rpm -q openssh-devel;
     rpm -q libssh2-devel;
     rpm -q libssh-devel; } 2>/dev/null |
-    sed -n 's/^.*ssh[0-9]*-devel-\([0-9a-z.]*\)-.*$/\1/p' | head -n1)"
+    sed -n 's/^.*ssh[0-9]*-devel-\([0-9a-z.]*\)-.*$/\1/p' | head -n1;
+    dpkg-query --show -f '${Version}\n' libssh2-1-dev 2>/dev/null)"
 
 options=()
 options+=(--enable-developer)
-- 
2.17.1


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.