From d4b7514c3d49d212162cec5fe2ab4e2d2e1bd836 Mon Sep 17 00:00:00 2001 From: Rik Veenboer Date: Sat, 26 Mar 2016 21:32:36 +0100 Subject: [PATCH] Compile lighttpd with ssl --- build/scripts/lighttpd.sh | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/build/scripts/lighttpd.sh b/build/scripts/lighttpd.sh index d36aa5b..2f905d3 100644 --- a/build/scripts/lighttpd.sh +++ b/build/scripts/lighttpd.sh @@ -10,9 +10,12 @@ export_env LIGHTTPD_VERSION $LIGHTTPD_VERSION_MAJOR.$LIGHTTPD_VERSION_MINOR export_env LIGHTTPD_CONFIG /etc/lighttpd/lighttpd.conf export_env LIGHTTPD_LOG /host/var/log/lighttpd/error.log +## SSL +apt_install_permanent libssl-dev + ## Lighthttpd apt_install_permanent lighttpd -apt build-dep -y lighttpd +apt-get build-dep -y lighttpd apt_install_temporary automake cd /opt wget http://download.lighttpd.net/lighttpd/releases-$LIGHTTPD_VERSION_MAJOR.x/lighttpd-$LIGHTTPD_VERSION.tar.gz @@ -21,7 +24,7 @@ cd lighttpd-$LIGHTTPD_VERSION/src sed -i "s,\(pwd->pw_uid\s==\s\)0,\1-1," server.c sed -i "s,\(grp->gr_gid\s==\s\)0,\1-1," server.c cd .. -./configure +./configure --with-openssl make make install