summaryrefslogtreecommitdiff
path: root/debian/adjust-openssl-dependencies
diff options
context:
space:
mode:
authorColin Watson <cjwatson@debian.org>2018-01-02 00:59:19 +0000
committerColin Watson <cjwatson@debian.org>2018-01-02 00:59:19 +0000
commitf7234c24c90a60598018fbaa020f15a5ca3c82f0 (patch)
tree8abf1a25885c8691cd0ed5c084c220ab8eab87ae /debian/adjust-openssl-dependencies
parent182629327017f8f9d03eacdb0b621504a01189f0 (diff)
Support the "noudeb" build profile.
Diffstat (limited to 'debian/adjust-openssl-dependencies')
-rwxr-xr-xdebian/adjust-openssl-dependencies8
1 files changed, 6 insertions, 2 deletions
diff --git a/debian/adjust-openssl-dependencies b/debian/adjust-openssl-dependencies
index 5113ac164..cd740a8e1 100755
--- a/debian/adjust-openssl-dependencies
+++ b/debian/adjust-openssl-dependencies
@@ -28,8 +28,12 @@ server_udeb=debian/openssh-server-udeb.substvars
28libcrypto_package="$(sed -n 's/.*[= ]\(libcrypto[0-9][a-z0-9+.-]*\).*/\1/p' "$client_udeb")" 28libcrypto_package="$(sed -n 's/.*[= ]\(libcrypto[0-9][a-z0-9+.-]*\).*/\1/p' "$client_udeb")"
29if [ "$libcrypto_package" ]; then 29if [ "$libcrypto_package" ]; then
30 new_dep="$libcrypto_package (>= $libssl_version)" 30 new_dep="$libcrypto_package (>= $libssl_version)"
31 sed -i "/^shlibs:Depends=/s/\$/, $new_dep/" "$client_udeb" 31 if [ -e "$client_udeb" ]; then
32 sed -i "/^shlibs:Depends=/s/\$/, $new_dep/" "$server_udeb" 32 sed -i "/^shlibs:Depends=/s/\$/, $new_dep/" "$client_udeb"
33 fi
34 if [ -e "$server_udeb" ]; then
35 sed -i "/^shlibs:Depends=/s/\$/, $new_dep/" "$server_udeb"
36 fi
33fi 37fi
34 38
35exit 0 39exit 0