Use mbedTLS with standard CA certificate location (Closes: #927889)

Specify mbedTLS for https for both builds and pass in the standard
certificate location since it otherwise fails to set a certificate
path if openssl and ca-certificates are not installed at build time.
This commit is contained in:
Dan Nicholson 2020-03-12 12:58:10 -04:00 committed by Daniel Kahn Gillmor
parent bcd6925ae8
commit 1f5366ed75

3
debian/rules vendored
View File

@ -18,6 +18,8 @@ override_dh_auto_configure:
dh_auto_configure --builddirectory=build-debian-release -- \
-DCMAKE_BUILD_TYPE:STRING=RelWithDebInfo \
-DUSE_OPENSSL:BOOL=OFF \
-DUSE_HTTPS=mbedTLS \
-DCERT_LOCATION=/etc/ssl/certs/ca-certificates.crt \
-DUSE_CURL_SSL:BOOL=ON \
-DUSE_GSSAPI:BOOL=ON \
-DTHREADSAFE:BOOL=ON \
@ -28,6 +30,7 @@ override_dh_auto_configure:
-DCMAKE_BUILD_TYPE:STRING=Release \
-DTHREADSAFE:BOOL=ON \
-DUSE_HTTPS=mbedTLS \
-DCERT_LOCATION=/etc/ssl/certs/ca-certificates.crt \
-DUSE_CURL_SSL:BOOL=ON \
-DUSE_GSSAPI:BOOL=ON \
-DBUILD_CLAR:BOOL=OFF \