summaryrefslogtreecommitdiff
path: root/debian/adjust-openssl-dependencies
diff options
context:
space:
mode:
authorColin Watson <cjwatson@debian.org>2017-04-08 15:41:08 +0100
committerColin Watson <cjwatson@debian.org>2017-04-08 15:41:08 +0100
commit50a7f434b3dbf64265ba8ba28b49ef01e346fb8a (patch)
tree71266e7429726e418ba2c5e2570c8195d1b9f554 /debian/adjust-openssl-dependencies
parent4a1f57fc5a6c8acd1dcd20efb866b623ff403ff9 (diff)
Adjust OpenSSL dependencies for openssh-client-ssh1 too.
Diffstat (limited to 'debian/adjust-openssl-dependencies')
-rwxr-xr-xdebian/adjust-openssl-dependencies2
1 files changed, 2 insertions, 0 deletions
diff --git a/debian/adjust-openssl-dependencies b/debian/adjust-openssl-dependencies
index 5113ac164..b9799c410 100755
--- a/debian/adjust-openssl-dependencies
+++ b/debian/adjust-openssl-dependencies
@@ -3,6 +3,7 @@
3# Must be run after dpkg-shlibdeps. 3# Must be run after dpkg-shlibdeps.
4 4
5client=debian/openssh-client.substvars 5client=debian/openssh-client.substvars
6client_ssh1=debian/openssh-client-ssh1.substvars
6server=debian/openssh-server.substvars 7server=debian/openssh-server.substvars
7 8
8libssl_version="$(dpkg-query -W libssl1.0-dev 2>/dev/null | cut -f2)" 9libssl_version="$(dpkg-query -W libssl1.0-dev 2>/dev/null | cut -f2)"
@@ -19,6 +20,7 @@ libssl_package="$(sed -n 's/.*[= ]\(libssl[0-9][a-z0-9+.-]*\).*/\1/p' "$client")
19if [ "$libssl_package" ]; then 20if [ "$libssl_package" ]; then
20 new_dep="$libssl_package (>= $libssl_version)" 21 new_dep="$libssl_package (>= $libssl_version)"
21 sed -i "/^shlibs:Depends=/s/\$/, $new_dep/" "$client" 22 sed -i "/^shlibs:Depends=/s/\$/, $new_dep/" "$client"
23 sed -i "/^shlibs:Depends=/s/\$/, $new_dep/" "$client_ssh1"
22 sed -i "/^shlibs:Depends=/s/\$/, $new_dep/" "$server" 24 sed -i "/^shlibs:Depends=/s/\$/, $new_dep/" "$server"
23fi 25fi
24 26