From ace669aead7db3fb67bd4663e8040ebfca95c1ac Mon Sep 17 00:00:00 2001
From: David Trattnig <david.trattnig@o94.at>
Date: Sat, 9 May 2020 11:10:33 +0200
Subject: [PATCH] SSL support for Liquidsoap.

---
 .gitlab-ci.yml                   | 4 ++--
 Dockerfile                       | 4 ++--
 docs/installation-development.md | 3 ++-
 docs/installation-production.md  | 3 ++-
 script/install-opam-packages.sh  | 4 ++--
 5 files changed, 10 insertions(+), 8 deletions(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 6a09f8c3..41412217 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -13,8 +13,8 @@ before_script:
   # - opam switch create 4.08.0
   # - opam update -y
   # - opam install depext -y
-  # - opam depext taglib mad lame vorbis flac opus cry samplerate pulseaudio bjack alsa liquidsoap -y
-  # - opam install taglib mad lame vorbis flac opus cry samplerate pulseaudio bjack alsa liquidsoap -y
+  # - opam depext taglib mad lame vorbis flac opus cry samplerate pulseaudio bjack alsa ssl liquidsoap -y
+  # - opam install taglib mad lame vorbis flac opus cry samplerate pulseaudio bjack alsa ssl liquidsoap -y
   # - eval $(opam env)
   - python3 -V
   - pip3 install -r requirements.txt
diff --git a/Dockerfile b/Dockerfile
index 9dc518b9..ddc49170 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -44,6 +44,6 @@ RUN opam init --disable-sandboxing -y
 RUN opam switch create 4.08.0
 RUN opam update -y
 RUN opam install depext -y
-RUN opam depext taglib mad lame vorbis flac opus cry samplerate pulseaudio bjack alsa liquidsoap -y 
-RUN opam install taglib mad lame vorbis flac opus cry samplerate pulseaudio bjack alsa liquidsoap -y
+RUN opam depext taglib mad lame vorbis flac opus cry samplerate pulseaudio bjack alsa ssl liquidsoap -y 
+RUN opam install taglib mad lame vorbis flac opus cry samplerate pulseaudio bjack alsa ssl liquidsoap -y
 RUN eval $(opam env)
\ No newline at end of file
diff --git a/docs/installation-development.md b/docs/installation-development.md
index 508c68fa..eb62b86a 100644
--- a/docs/installation-development.md
+++ b/docs/installation-development.md
@@ -31,7 +31,8 @@ sudo apt-get install \
     ffmpeg \
     quelcom \
     python3-pip \
-    virtualenv
+    virtualenv \
+    libssl-dev
 ```
 
 Depending on the database management system you gonna use, you'll also need to install those packages.
diff --git a/docs/installation-production.md b/docs/installation-production.md
index 5b831f4b..e93c4ddd 100644
--- a/docs/installation-production.md
+++ b/docs/installation-production.md
@@ -33,7 +33,8 @@ sudo apt-get install \
     ffmpeg \
     quelcom \
     python3-pip \
-    virtualenv
+    virtualenv \
+    libssl-dev
 ```
 
 
diff --git a/script/install-opam-packages.sh b/script/install-opam-packages.sh
index 4304b6d6..e0341fe1 100755
--- a/script/install-opam-packages.sh
+++ b/script/install-opam-packages.sh
@@ -4,6 +4,6 @@ opam update -y
 opam init -y
 opam switch create 4.08.0
 opam install depext -y
-opam depext taglib mad lame vorbis flac opus cry samplerate pulseaudio bjack alsa liquidsoap -y
-opam install taglib mad lame vorbis flac opus cry samplerate pulseaudio bjack alsa liquidsoap -y
+opam depext taglib mad lame vorbis flac opus cry samplerate pulseaudio bjack alsa ssl liquidsoap -y
+opam install taglib mad lame vorbis flac opus cry samplerate pulseaudio bjack alsa ssl liquidsoap -y
 eval $(opam env)
-- 
GitLab