pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/www/goaccess goaccess: Add an option for ssl support.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/585137747abf
branches:  trunk
changeset: 425837:585137747abf
user:      roy <roy%pkgsrc.org@localhost>
date:      Tue Mar 24 11:50:10 2020 +0000

description:
goaccess: Add an option for ssl support.

diffstat:

 www/goaccess/Makefile   |   4 ++--
 www/goaccess/options.mk |  13 +++++++++----
 2 files changed, 11 insertions(+), 6 deletions(-)

diffs (46 lines):

diff -r 2caac1bd5c3f -r 585137747abf www/goaccess/Makefile
--- a/www/goaccess/Makefile     Tue Mar 24 07:04:37 2020 +0000
+++ b/www/goaccess/Makefile     Tue Mar 24 11:50:10 2020 +0000
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.24 2020/03/23 17:15:56 roy Exp $
+# $NetBSD: Makefile,v 1.25 2020/03/24 11:50:10 roy Exp $
 
 DISTNAME=      goaccess-1.3
-PKGREVISION=   3
+PKGREVISION=   4
 CATEGORIES=    www
 MASTER_SITES=  http://tar.goaccess.io/
 
diff -r 2caac1bd5c3f -r 585137747abf www/goaccess/options.mk
--- a/www/goaccess/options.mk   Tue Mar 24 07:04:37 2020 +0000
+++ b/www/goaccess/options.mk   Tue Mar 24 11:50:10 2020 +0000
@@ -1,8 +1,8 @@
-# $NetBSD: options.mk,v 1.5 2020/03/23 17:15:56 roy Exp $
+# $NetBSD: options.mk,v 1.6 2020/03/24 11:50:10 roy Exp $
 
 PKG_OPTIONS_VAR=       PKG_OPTIONS.goaccess
-PKG_SUPPORTED_OPTIONS= geoip tokyocabinet wide-curses
-PKG_SUGGESTED_OPTIONS= tokyocabinet wide-curses
+PKG_SUPPORTED_OPTIONS= geoip ssl tokyocabinet wide-curses
+PKG_SUGGESTED_OPTIONS= ssl tokyocabinet wide-curses
 
 .include "../../mk/bsd.options.mk"
 
@@ -11,6 +11,11 @@
 CONFIGURE_ARGS+=       --enable-geoip=legacy
 .endif # geoip
 
+.if !empty(PKG_OPTIONS:Mssl)
+.  include "../../security/openssl/buildlink3.mk"
+CONFIGURE_ARGS+=       --with-openssl
+.endif # ssl
+
 .if !empty(PKG_OPTIONS:Mtokyocabinet)
 CONFIGURE_ARGS+=       --enable-tcb=btree
 .  include "../../databases/tokyocabinet/buildlink3.mk"
@@ -18,4 +23,4 @@
 
 .if !empty(PKG_OPTIONS:Mwide-curses)
 CONFIGURE_ARGS+=       --enable-utf8
-.endif
+.endif #wide-curses



Home | Main Index | Thread Index | Old Index