Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/www/apache24 apache24: Add mod_md option



details:   https://anonhg.NetBSD.org/pkgsrc/rev/bcb3e910c5aa
branches:  trunk
changeset: 435022:bcb3e910c5aa
user:      ryoon <ryoon%pkgsrc.org@localhost>
date:      Mon Jun 29 13:58:53 2020 +0000

description:
apache24: Add mod_md option

* Suggested by Jesus Cea.
* mod_md is disabled by default.

diffstat:

 www/apache24/PLIST      |   3 ++-
 www/apache24/options.mk |  12 ++++++++++--
 2 files changed, 12 insertions(+), 3 deletions(-)

diffs (50 lines):

diff -r 87e86e9079d0 -r bcb3e910c5aa www/apache24/PLIST
--- a/www/apache24/PLIST        Mon Jun 29 13:52:19 2020 +0000
+++ b/www/apache24/PLIST        Mon Jun 29 13:58:53 2020 +0000
@@ -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_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 -r 87e86e9079d0 -r bcb3e910c5aa www/apache24/options.mk
--- a/www/apache24/options.mk   Mon Jun 29 13:52:19 2020 +0000
+++ b/www/apache24/options.mk   Mon Jun 29 13:58:53 2020 +0000
@@ -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 @@
 #      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 @@
 #.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



Home | Main Index | Thread Index | Old Index