From bd29c75d6e3a4b134bc0a045c0cf606dba9a4e4b Mon Sep 17 00:00:00 2001
From: Amin Bandali <amin.bandali@savoirfairelinux.com>
Date: Wed, 27 Jan 2021 13:42:12 -0500
Subject: [PATCH] snap: fix username lookup over https and likely some other
 tls uses

Without libssl-dev available in build time, we would fall back on
building our own from a locally-built libressl, which would have
incorrect paths for location of certificates: the resulting snap
would incorrectly try to look for certificates under
parts/jami/build/daemon/contrib/x86_64-linux-gnu/etc/ssl, which is
not available after build, instead of a more sensible /etc/ssl.

Change-Id: I76cb847d18561e29250d4b9d39d1993dabc9a864
---
 packaging/rules/snap/snapcraft.yaml | 1 +
 1 file changed, 1 insertion(+)

diff --git a/packaging/rules/snap/snapcraft.yaml b/packaging/rules/snap/snapcraft.yaml
index 0c9f5b0f..9d1b3d4e 100644
--- a/packaging/rules/snap/snapcraft.yaml
+++ b/packaging/rules/snap/snapcraft.yaml
@@ -302,6 +302,7 @@ parts:
     - libspeex-dev
     - libspeexdsp-dev
     - libsrtp0-dev
+    - libssl-dev
     - libswscale-dev
     - libtool
     - libudev-dev
-- 
GitLab