Compile lighttpd with ssl
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user