pkgsrc-Changes archive

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

CVS commit: pkgsrc/www/goaccess



Module Name:    pkgsrc
Committed By:   schmonz
Date:           Wed Jan 27 08:17:31 UTC 2021

Modified Files:
        pkgsrc/www/goaccess: Makefile PLIST distinfo options.mk
        pkgsrc/www/goaccess/patches: patch-Makefile.am
Added Files:
        pkgsrc/www/goaccess/patches: patch-src_parser.c
Removed Files:
        pkgsrc/www/goaccess/patches: patch-src_error.c patch-src_json.c
            patch-src_tcbtdb.c patch-username

Log Message:
Update to 1.4. From the changelog:

- Added a caching storage mechanism to improve parsing raw data and data
  rendering.
- Added a mechanism to avoid counting duplicate data when restoring persisted
  data from disk.
- Added additional option to the HTML report to set a maximum number of items
  per page to 3.
- Added a list of podcast-related user agents under '%sysconfdir%'.
- Added 'Android 10' to the list of Android codenames.
- Added a 'widescreen' layout to the HTML report (e.g., 4K TV/KPI Dashboard).
- Added 'Beaker', 'Brave', and 'Firefox Focus' to the list of browsers
- Added command line option --user-name=username to avoid running GoAccess as
  root when outputting a real-time report.
- Added 'DuckDuckGo' and 'MSNBot' browsers to the browsers.list.
- Added 'facebookexternalhit' to the default crawler list.
- Added German translation (DE).
- Added Kubernetes Nginx Ingress Log Format to the default config file.
- Added 'macOS Catalina' to the list of OSX codenames.
- Added minor CSS updates to HTML report.
- Added missing header '<sys/socket.h>' to fix FreeBSD build
- Added new 'Edg' token to the list of browsers.
- Added '--no-ip-validation' command line to disable client IP validation
- Added '--persist' and '--restore' options to persist to disk and restore a
  dump from disk.
- Added Portuguese translation (pt-BR)
- Added Swedish translation (SV)
- Added the ability to parse server cache status and a new panel to display
  those metrics.
- Changed accumulated time to work by default on '--persist' and '--restore'.
- Changed back how the hits and visitors percentage is calculated to be more
  intuitive.
- Changed Geo Location panel display default to show only if database file is
  provided ('LIBMAXMINDDB').
- Changed initial processing time from secs to HH:MM:SS in HTML output.
- Changed '--max-items' for the static HTML report to allow no limit on
  output entries.
- Changed required 'gettext' version to 0.19
- Changed to ignore 'SIGPIPE' with 'SIG_IGN'
- Changed version to 10.15 for 'macOS Catalina'.
- Ensure proper escaping on default AWSELB log format.
- Ensure valid requests counter is not affected on duplicate entries when
  restoring data.
- Fixed issue preventing Ctrl-C (SIGINT) for the curses interface to stop the
  program.
- Fixed issue where HTML report wouldn't update the tables when changing per
  page option.
- Fixed issue where it wouldn't find either the user's or global config file.
- Fixed issue where changing the number of items per page in the HTML report
  would not automatically refresh the tables.
- Fixed issue where last updated label was not updated in real-time.
- Fixed issue where overall date range wasn't showing the right start/end parse
  dates.
- Fixed issue where tailing a file could potentially re-parse part of the log.
- Fixed memory leak when fetching country/continent while using 'LIBMAXMINDDB'.
- Fixed several '-Wcast-qual' warnings.
- Fixed unwanted added characters to the HTML output.
- Fixed websocket issue returning a 400 due to request header size.
- Increased 'MAX_LINE_CONF' so a JSON string can be properly parsed from the
  config file.
- Removed deprecated option '--geoip-city-data' from config file.
- Removed unnecessary dependency from snapcraft.yaml.
- Removed some old browsers from the default curated list.
- Replaced TokyoCabinet storage for a non-dependency in-memory persistent
  storage.

pkgsrc changes:

- Remove 'tokyocabinet' option, no longer needed
- Switch 'geoip' option to libmaxminddb


To generate a diff of this commit:
cvs rdiff -u -r1.28 -r1.29 pkgsrc/www/goaccess/Makefile
cvs rdiff -u -r1.4 -r1.5 pkgsrc/www/goaccess/PLIST
cvs rdiff -u -r1.18 -r1.19 pkgsrc/www/goaccess/distinfo
cvs rdiff -u -r1.6 -r1.7 pkgsrc/www/goaccess/options.mk
cvs rdiff -u -r1.4 -r1.5 pkgsrc/www/goaccess/patches/patch-Makefile.am
cvs rdiff -u -r1.1 -r0 pkgsrc/www/goaccess/patches/patch-src_error.c \
    pkgsrc/www/goaccess/patches/patch-src_json.c \
    pkgsrc/www/goaccess/patches/patch-src_tcbtdb.c \
    pkgsrc/www/goaccess/patches/patch-username
cvs rdiff -u -r0 -r1.1 pkgsrc/www/goaccess/patches/patch-src_parser.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/www/goaccess/Makefile
diff -u pkgsrc/www/goaccess/Makefile:1.28 pkgsrc/www/goaccess/Makefile:1.29
--- pkgsrc/www/goaccess/Makefile:1.28   Sat Apr 25 20:02:35 2020
+++ pkgsrc/www/goaccess/Makefile        Wed Jan 27 08:17:31 2021
@@ -1,13 +1,12 @@
-# $NetBSD: Makefile,v 1.28 2020/04/25 20:02:35 schmonz Exp $
+# $NetBSD: Makefile,v 1.29 2021/01/27 08:17:31 schmonz Exp $
 
-DISTNAME=      goaccess-1.3
-PKGREVISION=   6
+DISTNAME=      goaccess-1.4
 CATEGORIES=    www
 MASTER_SITES=  http://tar.goaccess.io/
 
 MAINTAINER=    wiedi%frubar.net@localhost
-HOMEPAGE=      http://goaccess.prosoftcorp.com/
-COMMENT=       Real-time web log analyzer
+HOMEPAGE=      https://goaccess.io/
+COMMENT=       Real-time web log analyzer and viewer
 LICENSE=       gnu-gpl-v2
 
 TOOL_DEPENDS+= gettext-tools-[0-9]*:../../devel/gettext-tools

Index: pkgsrc/www/goaccess/PLIST
diff -u pkgsrc/www/goaccess/PLIST:1.4 pkgsrc/www/goaccess/PLIST:1.5
--- pkgsrc/www/goaccess/PLIST:1.4       Fri Aug 23 01:48:00 2019
+++ pkgsrc/www/goaccess/PLIST   Wed Jan 27 08:17:31 2021
@@ -1,9 +1,13 @@
-@comment $NetBSD: PLIST,v 1.4 2019/08/23 01:48:00 schmonz Exp $
+@comment $NetBSD: PLIST,v 1.5 2021/01/27 08:17:31 schmonz Exp $
 bin/goaccess
 man/man1/goaccess.1
 share/examples/goaccess/browsers.list
 share/examples/goaccess/goaccess.conf
+share/examples/goaccess/podcast.list
+share/locale/de/LC_MESSAGES/goaccess.mo
 share/locale/es/LC_MESSAGES/goaccess.mo
 share/locale/fr/LC_MESSAGES/goaccess.mo
 share/locale/ja/LC_MESSAGES/goaccess.mo
+share/locale/pt_BR/LC_MESSAGES/goaccess.mo
+share/locale/sv/LC_MESSAGES/goaccess.mo
 share/locale/zh_CN/LC_MESSAGES/goaccess.mo

Index: pkgsrc/www/goaccess/distinfo
diff -u pkgsrc/www/goaccess/distinfo:1.18 pkgsrc/www/goaccess/distinfo:1.19
--- pkgsrc/www/goaccess/distinfo:1.18   Mon Mar 30 11:31:25 2020
+++ pkgsrc/www/goaccess/distinfo        Wed Jan 27 08:17:31 2021
@@ -1,13 +1,10 @@
-$NetBSD: distinfo,v 1.18 2020/03/30 11:31:25 roy Exp $
+$NetBSD: distinfo,v 1.19 2021/01/27 08:17:31 schmonz Exp $
 
-SHA1 (goaccess-1.3.tar.gz) = 24e889533e8d7a0fc533e7a0ad1bb303b2bb1af4
-RMD160 (goaccess-1.3.tar.gz) = b4744d1500a86ab56c94ce3612a8121b38cb3a37
-SHA512 (goaccess-1.3.tar.gz) = 7ab8a42670c2009459eee6979cb14e32e7e776e89912077882652631d0ce6ff801fba46d91ab5c23af1229f000e220863e9b70336fcd9fe11521d0ae1fd3bde1
-Size (goaccess-1.3.tar.gz) = 541374 bytes
-SHA1 (patch-Makefile.am) = f0fb958f91856fa8996c4e6691207c77a47af6d0
+SHA1 (goaccess-1.4.tar.gz) = ace27f1d6426afa7f758bf8ae35efee9f8710067
+RMD160 (goaccess-1.4.tar.gz) = a5e53bbd9eab3f3b6a5c9639a8bb5fb7fd0df0bc
+SHA512 (goaccess-1.4.tar.gz) = de5f6759a10193a625efb1f70a7aeed68f6bac3c6977f8a34f67c0320eeb995c2e063df9e6f5196de2dd5aaf42b7a90f3e9599a20ecdbc67d0f89c87f1ba852c
+Size (goaccess-1.4.tar.gz) = 595264 bytes
+SHA1 (patch-Makefile.am) = e72d4ac63fd2f9f236ce1feae9b021db2128b725
 SHA1 (patch-configure) = 5ecf98e50dbbbb2a435b70fb8194f6a039c5c99e
 SHA1 (patch-configure.ac) = 7cf4b8b57e2f335a81cfd81f929aafe7aa41aa79
-SHA1 (patch-src_error.c) = 522ea4010c86914715cdb40c1ac33045d4342daa
-SHA1 (patch-src_json.c) = ab8575a654299a5d08de635ca5bb71093419ca8e
-SHA1 (patch-src_tcbtdb.c) = fb0005899b08f74d0d3e6be4d5947a39fabdf278
-SHA1 (patch-username) = 6ac114fac0f86d9a3387edd93b40f12e4222be8f
+SHA1 (patch-src_parser.c) = b796554dfeafb4f07ba205fbb47252faf4358109

Index: pkgsrc/www/goaccess/options.mk
diff -u pkgsrc/www/goaccess/options.mk:1.6 pkgsrc/www/goaccess/options.mk:1.7
--- pkgsrc/www/goaccess/options.mk:1.6  Tue Mar 24 11:50:10 2020
+++ pkgsrc/www/goaccess/options.mk      Wed Jan 27 08:17:31 2021
@@ -1,14 +1,14 @@
-# $NetBSD: options.mk,v 1.6 2020/03/24 11:50:10 roy Exp $
+# $NetBSD: options.mk,v 1.7 2021/01/27 08:17:31 schmonz Exp $
 
 PKG_OPTIONS_VAR=       PKG_OPTIONS.goaccess
-PKG_SUPPORTED_OPTIONS= geoip ssl tokyocabinet wide-curses
-PKG_SUGGESTED_OPTIONS= ssl tokyocabinet wide-curses
+PKG_SUPPORTED_OPTIONS= geoip ssl wide-curses
+PKG_SUGGESTED_OPTIONS= ssl wide-curses
 
 .include "../../mk/bsd.options.mk"
 
 .if !empty(PKG_OPTIONS:Mgeoip)
-.  include "../../net/GeoIP/buildlink3.mk"
-CONFIGURE_ARGS+=       --enable-geoip=legacy
+.  include "../../geography/libmaxminddb/buildlink3.mk"
+CONFIGURE_ARGS+=       --enable-geoip=mmdb
 .endif # geoip
 
 .if !empty(PKG_OPTIONS:Mssl)
@@ -16,11 +16,6 @@ CONFIGURE_ARGS+=     --enable-geoip=legacy
 CONFIGURE_ARGS+=       --with-openssl
 .endif # ssl
 
-.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 #wide-curses

Index: pkgsrc/www/goaccess/patches/patch-Makefile.am
diff -u pkgsrc/www/goaccess/patches/patch-Makefile.am:1.4 pkgsrc/www/goaccess/patches/patch-Makefile.am:1.5
--- pkgsrc/www/goaccess/patches/patch-Makefile.am:1.4   Fri Aug 23 01:48:00 2019
+++ pkgsrc/www/goaccess/patches/patch-Makefile.am       Wed Jan 27 08:17:31 2021
@@ -1,15 +1,15 @@
-$NetBSD: patch-Makefile.am,v 1.4 2019/08/23 01:48:00 schmonz Exp $
+$NetBSD: patch-Makefile.am,v 1.5 2021/01/27 08:17:31 schmonz Exp $
 
 Deploy example config in the correct place.
 
---- Makefile.am.orig   2018-11-23 05:35:46.000000000 +0000
+--- Makefile.am.orig   2020-05-17 12:34:51.000000000 +0000
 +++ Makefile.am
-@@ -108,7 +108,7 @@ else
-       ./bin2c resources/js/app.js src/appjs.h app_js
+@@ -114,7 +114,7 @@ if DEBUG
+       ./bin2c $(srcdir)/resources/js/app.js src/appjs.h app_js
  endif
  
 -confdir = $(sysconfdir)/goaccess
 +confdir = $(PREFIX)/share/examples/goaccess
  dist_conf_DATA = config/goaccess.conf
  dist_conf_DATA += config/browsers.list
- 
+ dist_conf_DATA += config/podcast.list

Added files:

Index: pkgsrc/www/goaccess/patches/patch-src_parser.c
diff -u /dev/null pkgsrc/www/goaccess/patches/patch-src_parser.c:1.1
--- /dev/null   Wed Jan 27 08:17:31 2021
+++ pkgsrc/www/goaccess/patches/patch-src_parser.c      Wed Jan 27 08:17:31 2021
@@ -0,0 +1,14 @@
+$NetBSD: patch-src_parser.c,v 1.1 2021/01/27 08:17:31 schmonz Exp $
+
+Remove non-portable include.
+
+--- src/parser.c.orig  2020-05-17 15:46:01.000000000 +0000
++++ src/parser.c
+@@ -54,7 +54,6 @@
+ #include <sys/stat.h>
+ #include <sys/types.h>
+ #include <unistd.h>
+-#include <malloc.h>
+ 
+ #include "gkhash.h"
+ 



Home | Main Index | Thread Index | Old Index