[package] lighttpd: configure with OpenSSL support only if the user asks for it
authorflorian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Tue, 27 Mar 2012 19:20:26 +0000 (19:20 +0000)
committerflorian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Tue, 27 Mar 2012 19:20:26 +0000 (19:20 +0000)
commitf0cb47e731ec24df58e3e1caa1a356afbb82f4fb
tree87682f7b800f7746df6ac2b3937a47b8314da834
parent824e3a70dbe0a25847c510cb1da4805b4bbbbe9e
[package] lighttpd: configure with OpenSSL support only if the user asks for it

SSL support adds a quite large dependency to lighttpd when compiled
in. On a 32 bit platform, libcrypto is roughly 1MB, to which one must
add the size of libssl (roughly 250KB). This is 2 to 5 times the size
of a typical lighttpd embedded installation.

SSL support is only needed if one enables the SSL engine in the
lighttpd.conf configuration file.

This patch introduces a configuration option that allows the user to
choose whether or not he wants to compile SSL support in. It defaults
to 'y' only if libopenssl is already selected (either by active
selection or because libopenssl is a dependency of another package).

Signed-off-by: Emmanuel Deloget <logout@free.fr>
git-svn-id: svn://svn.openwrt.org/openwrt/packages@31097 3c298f89-4303-0410-b956-a3cf2f4a3e73
net/lighttpd/Makefile