diff options
author | ryoon <ryoon@pkgsrc.org> | 2020-06-29 13:58:53 +0000 |
---|---|---|
committer | ryoon <ryoon@pkgsrc.org> | 2020-06-29 13:58:53 +0000 |
commit | 5c3937be95a062d5aa05aed49d68aa4dc6eb3e30 (patch) | |
tree | 5c84bef1a8bd4f27e0c425a03d1c2d98656a2a82 | |
parent | 84b0f3742606a29c0f7a1436ff6ee7a960410678 (diff) | |
download | pkgsrc-5c3937be95a062d5aa05aed49d68aa4dc6eb3e30.tar.gz |
apache24: Add mod_md option
* Suggested by Jesus Cea.
* mod_md is disabled by default.
-rw-r--r-- | www/apache24/PLIST | 3 | ||||
-rw-r--r-- | www/apache24/options.mk | 12 |
2 files changed, 12 insertions, 3 deletions
diff --git a/www/apache24/PLIST b/www/apache24/PLIST index cfbce9bfbea..d48d85c63fd 100644 --- a/www/apache24/PLIST +++ b/www/apache24/PLIST @@ -1,4 +1,4 @@ -@comment $NetBSD: PLIST,v 1.32 2020/04/06 08:27:26 wiz Exp $ +@comment $NetBSD: PLIST,v 1.33 2020/06/29 13:58:53 ryoon Exp $ bin/ab bin/apxs bin/dbmmanage @@ -135,6 +135,7 @@ lib/httpd/mod_log_forensic.so lib/httpd/mod_logio.so ${PLIST.lua}lib/httpd/mod_lua.so lib/httpd/mod_macro.so +${PLIST.md}lib/httpd/mod_md.so lib/httpd/mod_mime.so lib/httpd/mod_mime_magic.so ${PLIST.event}lib/httpd/mod_mpm_event.so diff --git a/www/apache24/options.mk b/www/apache24/options.mk index 74854e0951d..b9b0038ebdf 100644 --- a/www/apache24/options.mk +++ b/www/apache24/options.mk @@ -1,7 +1,8 @@ -# $NetBSD: options.mk,v 1.16 2019/11/04 22:09:51 rillig Exp $ +# $NetBSD: options.mk,v 1.17 2020/06/29 13:58:53 ryoon Exp $ PKG_OPTIONS_VAR= PKG_OPTIONS.apache PKG_SUPPORTED_OPTIONS= apache-mpm-event apache-mpm-prefork apache-mpm-worker \ + apache-managed-domain-handling \ brotli lua http2 suexec xml PKG_SUGGESTED_OPTIONS= apache-mpm-event apache-mpm-prefork \ apache-mpm-worker brotli http2 xml @@ -25,7 +26,7 @@ PKG_SUPPORTED_OPTIONS+= privileges # worker hybrid multi-threaded multi-process web server # PLIST_VARS+= worker prefork event only-prefork not-only-prefork -PLIST_VARS+= brotli http2 lua privileges suexec xml +PLIST_VARS+= brotli http2 lua md privileges suexec xml .if !empty(PKG_OPTIONS:Mapache-mpm-event) MPMS+= event @@ -127,3 +128,10 @@ PLIST.brotli= yes #.if !empty(PKG_OPTIONS:Mdtrace) #CONFIGURE_ARGS+= --enable-dtrace #.endif + +.if !empty(PKG_OPTIONS:Mapache-managed-domain-handling) +.include "../../www/curl/buildlink3.mk" +.include "../../textproc/jansson/buildlink3.mk" +CONFIGURE_ARGS+= --enable-md +PLIST.md= yes +.endif |