summaryrefslogtreecommitdiff
path: root/www
diff options
context:
space:
mode:
authorroy <roy@pkgsrc.org>2020-03-24 11:50:10 +0000
committerroy <roy@pkgsrc.org>2020-03-24 11:50:10 +0000
commit610877c515646689d629cc73da86227f6246c2be (patch)
tree21cd1990b77265f4a742cabb0ecbba9a0995b6f7 /www
parent798a485e9d2415ba7636b5ea98ae89c68a7435e0 (diff)
downloadpkgsrc-610877c515646689d629cc73da86227f6246c2be.tar.gz
goaccess: Add an option for ssl support.
Diffstat (limited to 'www')
-rw-r--r--www/goaccess/Makefile4
-rw-r--r--www/goaccess/options.mk13
2 files changed, 11 insertions, 6 deletions
diff --git a/www/goaccess/Makefile b/www/goaccess/Makefile
index df5e6cdb611..d984c3b9f36 100644
--- a/www/goaccess/Makefile
+++ b/www/goaccess/Makefile
@@ -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 --git a/www/goaccess/options.mk b/www/goaccess/options.mk
index baf13b552ad..80074863aa9 100644
--- a/www/goaccess/options.mk
+++ b/www/goaccess/options.mk
@@ -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 @@ PKG_SUGGESTED_OPTIONS= tokyocabinet wide-curses
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 @@ CONFIGURE_ARGS+= --enable-tcb=btree
.if !empty(PKG_OPTIONS:Mwide-curses)
CONFIGURE_ARGS+= --enable-utf8
-.endif
+.endif #wide-curses