diff options
author | Colin Watson <cjwatson@debian.org> | 2017-04-08 15:41:08 +0100 |
---|---|---|
committer | Colin Watson <cjwatson@debian.org> | 2017-04-08 15:41:08 +0100 |
commit | 50a7f434b3dbf64265ba8ba28b49ef01e346fb8a (patch) | |
tree | 71266e7429726e418ba2c5e2570c8195d1b9f554 /debian/adjust-openssl-dependencies | |
parent | 4a1f57fc5a6c8acd1dcd20efb866b623ff403ff9 (diff) |
Adjust OpenSSL dependencies for openssh-client-ssh1 too.
Diffstat (limited to 'debian/adjust-openssl-dependencies')
-rwxr-xr-x | debian/adjust-openssl-dependencies | 2 |
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 | ||
5 | client=debian/openssh-client.substvars | 5 | client=debian/openssh-client.substvars |
6 | client_ssh1=debian/openssh-client-ssh1.substvars | ||
6 | server=debian/openssh-server.substvars | 7 | server=debian/openssh-server.substvars |
7 | 8 | ||
8 | libssl_version="$(dpkg-query -W libssl1.0-dev 2>/dev/null | cut -f2)" | 9 | libssl_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") | |||
19 | if [ "$libssl_package" ]; then | 20 | if [ "$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" |
23 | fi | 25 | fi |
24 | 26 | ||