Fri Aug 23 01:48:00 2019 UTC ()
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.


(schmonz)
diff -r1.17 -r1.18 pkgsrc/www/goaccess/Makefile
diff -r1.3 -r1.4 pkgsrc/www/goaccess/PLIST
diff -r1.14 -r1.15 pkgsrc/www/goaccess/distinfo
diff -r1.1 -r1.2 pkgsrc/www/goaccess/options.mk
diff -r1.3 -r1.4 pkgsrc/www/goaccess/patches/patch-Makefile.am
diff -r0 -r1.1 pkgsrc/www/goaccess/patches/patch-configure
diff -r1.1 -r1.2 pkgsrc/www/goaccess/patches/patch-configure.ac

cvs diff -r1.17 -r1.18 pkgsrc/www/goaccess/Makefile (expand / switch to unified diff)

--- pkgsrc/www/goaccess/Makefile 2017/09/22 22:18:01 1.17
+++ pkgsrc/www/goaccess/Makefile 2019/08/23 01:48:00 1.18
@@ -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
3DISTNAME= goaccess-1.2 3DISTNAME= goaccess-1.3
4CATEGORIES= www 4CATEGORIES= www
5MASTER_SITES= http://tar.goaccess.io/ 5MASTER_SITES= http://tar.goaccess.io/
6 6
7MAINTAINER= wiedi@frubar.net 7MAINTAINER= wiedi@frubar.net
8HOMEPAGE= http://goaccess.prosoftcorp.com/ 8HOMEPAGE= http://goaccess.prosoftcorp.com/
9COMMENT= Real-time web log analyzer 9COMMENT= Real-time web log analyzer
10LICENSE= gnu-gpl-v2 10LICENSE= gnu-gpl-v2
11 11
12GNU_CONFIGURE= yes 12GNU_CONFIGURE= yes
13 13
14USE_LANGUAGES= c99 14USE_LANGUAGES= c99
15USE_TOOLS+= pkg-config aclocal autoconf automake 15USE_TOOLS+= pkg-config aclocal autoconf automake
16USE_NCURSES= yes 16USE_NCURSES= yes

cvs diff -r1.3 -r1.4 pkgsrc/www/goaccess/PLIST (expand / switch to unified diff)

--- pkgsrc/www/goaccess/PLIST 2016/11/17 22:33:54 1.3
+++ pkgsrc/www/goaccess/PLIST 2019/08/23 01:48:00 1.4
@@ -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 $
2bin/goaccess 2bin/goaccess
3man/man1/goaccess.1 3man/man1/goaccess.1
4share/doc/goaccess/app.css 4share/examples/goaccess/browsers.list
5share/doc/goaccess/app.js 
6share/doc/goaccess/bootstrap.min.css 
7share/doc/goaccess/charts.js 
8share/doc/goaccess/d3.v3.min.js 
9share/doc/goaccess/fa.min.css 
10share/doc/goaccess/hogan.min.js 
11share/doc/goaccess/tpls.html 
12share/examples/goaccess/goaccess.conf 5share/examples/goaccess/goaccess.conf
 6share/locale/es/LC_MESSAGES/goaccess.mo
 7share/locale/fr/LC_MESSAGES/goaccess.mo
 8share/locale/ja/LC_MESSAGES/goaccess.mo
 9share/locale/zh_CN/LC_MESSAGES/goaccess.mo

cvs diff -r1.14 -r1.15 pkgsrc/www/goaccess/distinfo (expand / switch to unified diff)

--- pkgsrc/www/goaccess/distinfo 2017/06/10 16:17:07 1.14
+++ pkgsrc/www/goaccess/distinfo 2019/08/23 01:48:00 1.15
@@ -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
3SHA1 (goaccess-1.2.tar.gz) = 4c12796ff5afd14f359b1f638fc51c4007db1e3c 3SHA1 (goaccess-1.3.tar.gz) = 24e889533e8d7a0fc533e7a0ad1bb303b2bb1af4
4RMD160 (goaccess-1.2.tar.gz) = 79db6509d6e10a4ecb5199e637b8e1663cd7e599 4RMD160 (goaccess-1.3.tar.gz) = b4744d1500a86ab56c94ce3612a8121b38cb3a37
5SHA512 (goaccess-1.2.tar.gz) = bc31ef1e4c92608635856fa73e69b58267c161a7e3c6f2e3ca8860b862ed1c47575b93943dd975a5f8503774ee90ee0649d380563639e30908d876416638f889 5SHA512 (goaccess-1.3.tar.gz) = 7ab8a42670c2009459eee6979cb14e32e7e776e89912077882652631d0ce6ff801fba46d91ab5c23af1229f000e220863e9b70336fcd9fe11521d0ae1fd3bde1
6Size (goaccess-1.2.tar.gz) = 423103 bytes 6Size (goaccess-1.3.tar.gz) = 541374 bytes
7SHA1 (patch-Makefile.am) = 780091c644a7d4d6e8311f0cbdef0146796df602 7SHA1 (patch-Makefile.am) = f0fb958f91856fa8996c4e6691207c77a47af6d0
8SHA1 (patch-configure.ac) = e9e6c47f579c11bb03a625b2854c6540f2fb877b 8SHA1 (patch-configure) = 5ecf98e50dbbbb2a435b70fb8194f6a039c5c99e
 9SHA1 (patch-configure.ac) = 7cf4b8b57e2f335a81cfd81f929aafe7aa41aa79

cvs diff -r1.1 -r1.2 pkgsrc/www/goaccess/options.mk (expand / switch to unified diff)

--- pkgsrc/www/goaccess/options.mk 2014/01/27 21:40:38 1.1
+++ pkgsrc/www/goaccess/options.mk 2019/08/23 01:48:00 1.2
@@ -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
3PKG_OPTIONS_VAR= PKG_OPTIONS.goaccess 3PKG_OPTIONS_VAR= PKG_OPTIONS.goaccess
4PKG_SUPPORTED_OPTIONS= geoip wide-curses 4PKG_SUPPORTED_OPTIONS= geoip wide-curses
5PKG_SUGGESTED_OPTIONS= wide-curses 5PKG_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"
11CONFIGURE_ARGS+= --enable-geoip 11CONFIGURE_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"
16CONFIGURE_ARGS+= --enable-utf8 16CONFIGURE_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

cvs diff -r1.3 -r1.4 pkgsrc/www/goaccess/patches/patch-Makefile.am (expand / switch to unified diff)

--- pkgsrc/www/goaccess/patches/patch-Makefile.am 2016/11/17 22:33:54 1.3
+++ pkgsrc/www/goaccess/patches/patch-Makefile.am 2019/08/23 01:48:00 1.4
@@ -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
3deploy example config in the correct place 3Deploy 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 = \ 

File Added: pkgsrc/www/goaccess/patches/Attic/patch-configure
$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

cvs diff -r1.1 -r1.2 pkgsrc/www/goaccess/patches/patch-configure.ac (expand / switch to unified diff)

--- pkgsrc/www/goaccess/patches/patch-configure.ac 2016/11/17 22:33:54 1.1
+++ pkgsrc/www/goaccess/patches/patch-configure.ac 2019/08/23 01:48:00 1.2
@@ -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
3remove ncursesw hack which actually breaks osx 3Remove ncursesw hack which actually breaks macOS.
 4Use 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