mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-09-26 20:10:35 -09:00
package/apache: add config option to enable mod_md
mod_md allows Apache httpd to automatically provision certificates for HTTPS via the ACME protocol (e.g. from Let's Encrypt), if configured to do so. The additional dependencies are non-obvious, so add a config option instead of only enabling the module if dependencies are met. Signed-off-by: Fiona Klute <fiona.klute@gmx.de> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
committed by
Thomas Petazzoni
parent
fe06ad0d9d
commit
b11c90e145
@@ -41,6 +41,18 @@ config BR2_PACKAGE_APACHE_MPM_WORKER
|
||||
|
||||
endchoice
|
||||
|
||||
config BR2_PACKAGE_APACHE_MOD_MD
|
||||
bool "mod_md"
|
||||
select BR2_PACKAGE_JANSSON
|
||||
select BR2_PACKAGE_LIBCURL
|
||||
select BR2_PACKAGE_LIBCURL_FORCE_TLS
|
||||
select BR2_PACKAGE_OPENSSL
|
||||
help
|
||||
Enable mod_md, which handles TLS certificate provisioning
|
||||
via the ACME protocol, and OCSP stapling.
|
||||
|
||||
https://httpd.apache.org/docs/current/mod/mod_md.html
|
||||
|
||||
endif
|
||||
|
||||
comment "apache needs a toolchain w/ dynamic library, threads"
|
||||
|
||||
@@ -91,6 +91,15 @@ else
|
||||
APACHE_CONF_OPTS += --disable-ssl
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_APACHE_MOD_MD),y)
|
||||
APACHE_CONF_OPTS += --enable-md
|
||||
# BR2_PACKAGE_APACHE_MOD_MD selects BR2_PACKAGE_OPENSSL, so openssl is
|
||||
# added above
|
||||
APACHE_DEPENDENCIES += jansson libcurl
|
||||
else
|
||||
APACHE_CONF_OPTS += --disable-md
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_ZLIB),y)
|
||||
APACHE_DEPENDENCIES += zlib
|
||||
APACHE_CONF_OPTS += \
|
||||
|
||||
Reference in New Issue
Block a user