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 support for Tokyo Cabinet t...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/e79fb77339cc
branches:  trunk
changeset: 414020:e79fb77339cc
user:      roy <roy%pkgsrc.org@localhost>
date:      Mon Mar 23 17:15:56 2020 +0000

description:
goaccess: Add support for Tokyo Cabinet to persist data

diffstat:

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

diffs (54 lines):

diff -r 46cd8ecf375f -r e79fb77339cc www/goaccess/Makefile
--- a/www/goaccess/Makefile     Mon Mar 23 17:14:42 2020 +0000
+++ b/www/goaccess/Makefile     Mon Mar 23 17:15:56 2020 +0000
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.23 2020/03/22 22:46:27 roy Exp $
+# $NetBSD: Makefile,v 1.24 2020/03/23 17:15:56 roy Exp $
 
 DISTNAME=      goaccess-1.3
-PKGREVISION=   2
+PKGREVISION=   3
 CATEGORIES=    www
 MASTER_SITES=  http://tar.goaccess.io/
 
diff -r 46cd8ecf375f -r e79fb77339cc www/goaccess/distinfo
--- a/www/goaccess/distinfo     Mon Mar 23 17:14:42 2020 +0000
+++ b/www/goaccess/distinfo     Mon Mar 23 17:15:56 2020 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.16 2020/03/22 22:45:00 roy Exp $
+$NetBSD: distinfo,v 1.17 2020/03/23 17:15:56 roy Exp $
 
 SHA1 (goaccess-1.3.tar.gz) = 24e889533e8d7a0fc533e7a0ad1bb303b2bb1af4
 RMD160 (goaccess-1.3.tar.gz) = b4744d1500a86ab56c94ce3612a8121b38cb3a37
@@ -9,3 +9,4 @@
 SHA1 (patch-configure.ac) = 7cf4b8b57e2f335a81cfd81f929aafe7aa41aa79
 SHA1 (patch-src_error.c) = 522ea4010c86914715cdb40c1ac33045d4342daa
 SHA1 (patch-src_json.c) = ab8575a654299a5d08de635ca5bb71093419ca8e
+SHA1 (patch-src_tcbtdb.c) = fb0005899b08f74d0d3e6be4d5947a39fabdf278
diff -r 46cd8ecf375f -r e79fb77339cc www/goaccess/options.mk
--- a/www/goaccess/options.mk   Mon Mar 23 17:14:42 2020 +0000
+++ b/www/goaccess/options.mk   Mon Mar 23 17:15:56 2020 +0000
@@ -1,8 +1,8 @@
-# $NetBSD: options.mk,v 1.4 2020/03/22 22:46:27 roy Exp $
+# $NetBSD: options.mk,v 1.5 2020/03/23 17:15:56 roy Exp $
 
 PKG_OPTIONS_VAR=       PKG_OPTIONS.goaccess
-PKG_SUPPORTED_OPTIONS= geoip wide-curses
-PKG_SUGGESTED_OPTIONS= wide-curses
+PKG_SUPPORTED_OPTIONS= geoip tokyocabinet wide-curses
+PKG_SUGGESTED_OPTIONS= tokyocabinet wide-curses
 
 .include "../../mk/bsd.options.mk"
 
@@ -11,6 +11,11 @@
 CONFIGURE_ARGS+=       --enable-geoip=legacy
 .endif # geoip
 
+.if !empty(PKG_OPTIONS:Mtokyocabinet)
+CONFIGURE_ARGS+=       --enable-tcb=btree
+.  include "../../databases/tokyocabinet/buildlink3.mk"
+.endif #tokyocabinet
+
 .if !empty(PKG_OPTIONS:Mwide-curses)
 CONFIGURE_ARGS+=       --enable-utf8
 .endif



Home | Main Index | Thread Index | Old Index