Update to 1.3. From the changelog: - Added ability to store accumulated processing time into DB_GEN_STATS tcb file via '--accumulated-time' command line option. - Added additional Apache status codes to the list. - Added a few feed readers to the list. - Added 'Android 8 Oreo' to the list of OSs. - Added 'Android Pie 9' to the list of OSs. - Added --anonymize-ip command line option to anonymize ip addresses. - Added --browsers-file command line option to load a list of crawlers from a text file. - Added byte unit (PiB) to C formatter and refactored code. - Added byte unit (PiB) to JS formatter. - Added Chinese translation (i18n). - Added French translation (i18n). - Added '%h' date specifier to the allowed date character specifiers. - Added "HeadlessChrome" to the list of browsers. - Added --hide-referer command line option to hide referers from report. - Added HTTP status code 429 (TOO MANY REQUESTS). - Added IGNORE_LEVEL_PANEL and IGNORE_LEVEL_REQ definitions. - Added --ignore-referer-report command line option to hide referers from output. - Added Japanese translation (i18n). - Added macOS 10.14 Mojave to the list of OSs. - Added "Mastodon" user-agent to the list of crawlers/unix-like. - Added new fontawesome icons and use angle arrows in HTML paging. - Added new purple theme to HTML report and default to it. - Added --no-parsing-spinner command line option to switch off parsing spinner. - Added .ogv and ogg static file extension (ogg video, Ogg Vorbis audio). - Added OS X version numbers when outputting with --real-os. - Added parsing mechanism in an attempt capture more bots and to include unspecified bots/crawlers. - Added --pidfile command line option to the default config file. - Added Spanish translation (i18n). - Added SSL support for Docker goaccess build. - Added support to the WebSocket server for openssl-1.1*. - Added the ability to show/hide a chart per panel in the HTML report. - Added transparency to the navigation bar of the HTML report. - Added "WhatsApp" user-agent to the list of crawlers. - Changed default db folder so it adds the process id (PID). --db-path is required now when using --load-from-disk. - Changed Dockerfile to build from the current source. - Changed 'hits' to be right-aligned on TUI. - Changed to use faster slide animations on HTML report. - Changed wording from 'Bandwidth' to the proper term 'Tx. Amount'. - Ensure database filenames used by btree are less predictable. - Ensure HTML templates, CSS and JS files are minified when outputting report. - Ensure key phrases from Google are added even when https is used. - Ensure live report updates data & charts if tab/document has focus. - Ensure multiple 'Yandex' crawlers are properly parsed. - Ensure Safari has priority over most crawlers except the ones that are known to have it. - Ensure the request protocol on its own is properly parsed. - Ensure the right number of tests are performed against the given log. - Ensure user configuration is parsed first when available. - Ensure wss:// is used when connecting via HTTPS. - Ensure XFF parser takes into account escaped braces. - Fixed a regression where fifo-in/out would fail with ENXIO. - Fixed a regression where it would return EXIT_FAILURE on an empty log. - Fixed a (ssh) pipeline problem with fgetline()/fgets() when there is a race for data on stdin. - Fixed broken X-Forwarded-For (XFF) %~ specifier in certain parsing cases. - Fixed conf.filenames duplication problem if logs are via pipe. - Fixed float percent value on JSON/HTML output for locales using decimal comma. - Fixed issue where it was not possible to establish a Web Socket connection when attempting to parse and extract HTTP method. - Fixed issue where log formats with pipe delimiter were not propely parsed. - Fixed memory leak after config file path has been set (housekeeping). - Fixed memory leak when adding host to holder introduced in c052d1ea. - Fixed possible memory leak when hiding specific referrers. - Fixed several JS jshint warnings. - Fixed sudo installs on TravisCI. - Fixed UNDEFINED time range in HTML report when VISITORS panel was ignored. - Fixed unnecessary closing span tags from template. - Fixed use-after-free when two color items were found on color_list.diff -r1.17 -r1.18 pkgsrc/www/goaccess/Makefile
(schmonz)
@@ -1,16 +1,16 @@ | @@ -1,16 +1,16 @@ | |||
1 | # $NetBSD: Makefile,v 1.17 2017/09/22 22:18:01 wiedi Exp $ | 1 | # $NetBSD: Makefile,v 1.18 2019/08/23 01:48:00 schmonz Exp $ | |
2 | 2 | |||
3 | DISTNAME= goaccess-1.2 | 3 | DISTNAME= goaccess-1.3 | |
4 | CATEGORIES= www | 4 | CATEGORIES= www | |
5 | MASTER_SITES= http://tar.goaccess.io/ | 5 | MASTER_SITES= http://tar.goaccess.io/ | |
6 | 6 | |||
7 | MAINTAINER= wiedi@frubar.net | 7 | MAINTAINER= wiedi@frubar.net | |
8 | HOMEPAGE= http://goaccess.prosoftcorp.com/ | 8 | HOMEPAGE= http://goaccess.prosoftcorp.com/ | |
9 | COMMENT= Real-time web log analyzer | 9 | COMMENT= Real-time web log analyzer | |
10 | LICENSE= gnu-gpl-v2 | 10 | LICENSE= gnu-gpl-v2 | |
11 | 11 | |||
12 | GNU_CONFIGURE= yes | 12 | GNU_CONFIGURE= yes | |
13 | 13 | |||
14 | USE_LANGUAGES= c99 | 14 | USE_LANGUAGES= c99 | |
15 | USE_TOOLS+= pkg-config aclocal autoconf automake | 15 | USE_TOOLS+= pkg-config aclocal autoconf automake | |
16 | USE_NCURSES= yes | 16 | USE_NCURSES= yes |
@@ -1,12 +1,9 @@ | @@ -1,12 +1,9 @@ | |||
1 | @comment $NetBSD: PLIST,v 1.3 2016/11/17 22:33:54 wiedi Exp $ | 1 | @comment $NetBSD: PLIST,v 1.4 2019/08/23 01:48:00 schmonz Exp $ | |
2 | bin/goaccess | 2 | bin/goaccess | |
3 | man/man1/goaccess.1 | 3 | man/man1/goaccess.1 | |
4 | share/doc/goaccess/app.css | 4 | share/examples/goaccess/browsers.list | |
5 | share/doc/goaccess/app.js | |||
6 | share/doc/goaccess/bootstrap.min.css | |||
7 | share/doc/goaccess/charts.js | |||
8 | share/doc/goaccess/d3.v3.min.js | |||
9 | share/doc/goaccess/fa.min.css | |||
10 | share/doc/goaccess/hogan.min.js | |||
11 | share/doc/goaccess/tpls.html | |||
12 | share/examples/goaccess/goaccess.conf | 5 | share/examples/goaccess/goaccess.conf | |
6 | share/locale/es/LC_MESSAGES/goaccess.mo | |||
7 | share/locale/fr/LC_MESSAGES/goaccess.mo | |||
8 | share/locale/ja/LC_MESSAGES/goaccess.mo | |||
9 | share/locale/zh_CN/LC_MESSAGES/goaccess.mo |
@@ -1,8 +1,9 @@ | @@ -1,8 +1,9 @@ | |||
1 | $NetBSD: distinfo,v 1.14 2017/06/10 16:17:07 wiedi Exp $ | 1 | $NetBSD: distinfo,v 1.15 2019/08/23 01:48:00 schmonz Exp $ | |
2 | 2 | |||
3 | SHA1 (goaccess-1.2.tar.gz) = 4c12796ff5afd14f359b1f638fc51c4007db1e3c | 3 | SHA1 (goaccess-1.3.tar.gz) = 24e889533e8d7a0fc533e7a0ad1bb303b2bb1af4 | |
4 | RMD160 (goaccess-1.2.tar.gz) = 79db6509d6e10a4ecb5199e637b8e1663cd7e599 | 4 | RMD160 (goaccess-1.3.tar.gz) = b4744d1500a86ab56c94ce3612a8121b38cb3a37 | |
5 | SHA512 (goaccess-1.2.tar.gz) = bc31ef1e4c92608635856fa73e69b58267c161a7e3c6f2e3ca8860b862ed1c47575b93943dd975a5f8503774ee90ee0649d380563639e30908d876416638f889 | 5 | SHA512 (goaccess-1.3.tar.gz) = 7ab8a42670c2009459eee6979cb14e32e7e776e89912077882652631d0ce6ff801fba46d91ab5c23af1229f000e220863e9b70336fcd9fe11521d0ae1fd3bde1 | |
6 | Size (goaccess-1.2.tar.gz) = 423103 bytes | 6 | Size (goaccess-1.3.tar.gz) = 541374 bytes | |
7 | SHA1 (patch-Makefile.am) = 780091c644a7d4d6e8311f0cbdef0146796df602 | 7 | SHA1 (patch-Makefile.am) = f0fb958f91856fa8996c4e6691207c77a47af6d0 | |
8 | SHA1 (patch-configure.ac) = e9e6c47f579c11bb03a625b2854c6540f2fb877b | 8 | SHA1 (patch-configure) = 5ecf98e50dbbbb2a435b70fb8194f6a039c5c99e | |
9 | SHA1 (patch-configure.ac) = 7cf4b8b57e2f335a81cfd81f929aafe7aa41aa79 |
@@ -1,19 +1,19 @@ | @@ -1,19 +1,19 @@ | |||
1 | # $NetBSD: options.mk,v 1.1 2014/01/27 21:40:38 wiedi Exp $ | 1 | # $NetBSD: options.mk,v 1.2 2019/08/23 01:48:00 schmonz Exp $ | |
2 | 2 | |||
3 | PKG_OPTIONS_VAR= PKG_OPTIONS.goaccess | 3 | PKG_OPTIONS_VAR= PKG_OPTIONS.goaccess | |
4 | PKG_SUPPORTED_OPTIONS= geoip wide-curses | 4 | PKG_SUPPORTED_OPTIONS= geoip wide-curses | |
5 | PKG_SUGGESTED_OPTIONS= wide-curses | 5 | PKG_SUGGESTED_OPTIONS= wide-curses | |
6 | 6 | |||
7 | .include "../../mk/bsd.options.mk" | 7 | .include "../../mk/bsd.options.mk" | |
8 | 8 | |||
9 | .if !empty(PKG_OPTIONS:Mgeoip) | 9 | .if !empty(PKG_OPTIONS:Mgeoip) | |
10 | . include "../../net/GeoIP/buildlink3.mk" | 10 | . include "../../net/GeoIP/buildlink3.mk" | |
11 | CONFIGURE_ARGS+= --enable-geoip | 11 | CONFIGURE_ARGS+= --enable-geoip=legacy | |
12 | .endif # option geoip | 12 | .endif # geoip | |
13 | 13 | |||
14 | .if !empty(PKG_OPTIONS:Mwide-curses) | 14 | .if !empty(PKG_OPTIONS:Mwide-curses) | |
15 | . include "../../devel/ncursesw/buildlink3.mk" | 15 | . include "../../devel/ncursesw/buildlink3.mk" | |
16 | CONFIGURE_ARGS+= --enable-utf8 | 16 | CONFIGURE_ARGS+= --enable-utf8 | |
17 | .else | 17 | .else | |
18 | . include "../../devel/ncurses/buildlink3.mk" | 18 | . include "../../devel/ncurses/buildlink3.mk" | |
19 | .endif # option wide-curses | 19 | .endif # wide-curses |
@@ -1,14 +1,15 @@ | @@ -1,14 +1,15 @@ | |||
1 | $NetBSD: patch-Makefile.am,v 1.3 2016/11/17 22:33:54 wiedi Exp $ | 1 | $NetBSD: patch-Makefile.am,v 1.4 2019/08/23 01:48:00 schmonz Exp $ | |
2 | 2 | |||
3 | deploy example config in the correct place | 3 | Deploy example config in the correct place. | |
4 | --- Makefile.am.orig 2016-09-30 02:28:08.000000000 +0000 | 4 | ||
5 | --- Makefile.am.orig 2018-11-23 05:35:46.000000000 +0000 | |||
5 | +++ Makefile.am | 6 | +++ Makefile.am | |
6 | @@ -60,7 +60,7 @@ chartsjs.h: bin2c$(EXEEXT) resources/js/ | 7 | @@ -108,7 +108,7 @@ else | |
7 | appjs.h: bin2c$(EXEEXT) resources/js/app.js | |||
8 | ./bin2c resources/js/app.js src/appjs.h app_js | 8 | ./bin2c resources/js/app.js src/appjs.h app_js | |
9 | endif | |||
9 | 10 | |||
10 | -confdir = $(sysconfdir) | 11 | -confdir = $(sysconfdir)/goaccess | |
11 | +confdir = $(PREFIX)/share/examples/goaccess | 12 | +confdir = $(PREFIX)/share/examples/goaccess | |
12 | dist_conf_DATA = config/goaccess.conf | 13 | dist_conf_DATA = config/goaccess.conf | |
14 | dist_conf_DATA += config/browsers.list | |||
13 | 15 | |||
14 | goaccess_SOURCES = \ |
$NetBSD: patch-configure,v 1.1 2019/08/23 01:48:00 schmonz Exp $
Use portable shell string-equality test.
--- configure.orig 2019-08-23 01:18:52.000000000 +0000
+++ configure
@@ -7424,7 +7424,7 @@ $as_echo "no" >&6; }
fi
-if test x"$SED_CHECK" == x"yes" ; then
+if test x"$SED_CHECK" = x"yes" ; then
# Extract the first word of "tr", so it can be a program name with args.
set dummy tr; ac_word=$2
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
@@ -7463,7 +7463,7 @@ $as_echo "no" >&6; }
fi
- if test x"$TR_CHECK" == x"yes" ; then
+ if test x"$TR_CHECK" = x"yes" ; then
HAS_SEDTR=yes
fi
fi
@@ -1,18 +1,31 @@ | @@ -1,18 +1,31 @@ | |||
1 | $NetBSD: patch-configure.ac,v 1.1 2016/11/17 22:33:54 wiedi Exp $ | 1 | $NetBSD: patch-configure.ac,v 1.2 2019/08/23 01:48:00 schmonz Exp $ | |
2 | 2 | |||
3 | remove ncursesw hack which actually breaks osx | 3 | Remove ncursesw hack which actually breaks macOS. | |
4 | Use portable shell string-equality test. | |||
4 | 5 | |||
5 | --- configure.ac.orig 2016-11-08 01:35:09.000000000 +0000 | 6 | --- configure.ac.orig 2018-11-23 02:26:09.000000000 +0000 | |
6 | +++ configure.ac | 7 | +++ configure.ac | |
7 | @@ -75,11 +75,6 @@ AC_ARG_ENABLE(utf8, [ --enable-utf8 E | 8 | @@ -90,11 +90,6 @@ AC_ARG_ENABLE(utf8, [ --enable-utf8 E | |
8 | 9 | |||
9 | if test "$utf8" = "yes"; then | 10 | if test "$utf8" = "yes"; then | |
10 | libncursesw=ncursesw | 11 | libncursesw=ncursesw | |
11 | - # Simply called libncurses on OS X | 12 | - # Simply called libncurses on OS X | |
12 | - case "$host_os" in | 13 | - case "$host_os" in | |
13 | - *darwin*) libncursesw=ncurses | 14 | - *darwin*) libncursesw=ncurses | |
14 | - ;; | 15 | - ;; | |
15 | - esac | 16 | - esac | |
16 | 17 | |||
17 | AC_CHECK_LIB([$libncursesw], [mvaddwstr], [], | 18 | AC_CHECK_LIB([$libncursesw], [mvaddwstr], [], | |
18 | [AC_MSG_ERROR([*** Missing development libraries for ncursesw])]) | 19 | [AC_MSG_ERROR([*** Missing development libraries for ncursesw])]) | |
20 | @@ -212,9 +207,9 @@ fi | |||
21 | ||||
22 | HAS_SEDTR=no | |||
23 | AC_CHECK_PROG([SED_CHECK],[sed],[yes],[no]) | |||
24 | -if test x"$SED_CHECK" == x"yes" ; then | |||
25 | +if test x"$SED_CHECK" = x"yes" ; then | |||
26 | AC_CHECK_PROG([TR_CHECK],[tr],[yes],[no]) | |||
27 | - if test x"$TR_CHECK" == x"yes" ; then | |||
28 | + if test x"$TR_CHECK" = x"yes" ; then | |||
29 | HAS_SEDTR=yes | |||
30 | fi | |||
31 | fi |