pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/www/goaccess Update to 1.3. From the changelog:
details: https://anonhg.NetBSD.org/pkgsrc/rev/6691fe0a19b8
branches: trunk
changeset: 400142:6691fe0a19b8
user: schmonz <schmonz%pkgsrc.org@localhost>
date: Fri Aug 23 01:48:00 2019 +0000
description:
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.
diffstat:
www/goaccess/Makefile | 4 ++--
www/goaccess/PLIST | 15 ++++++---------
www/goaccess/distinfo | 15 ++++++++-------
www/goaccess/options.mk | 8 ++++----
www/goaccess/patches/patch-Makefile.am | 15 ++++++++-------
www/goaccess/patches/patch-configure | 24 ++++++++++++++++++++++++
www/goaccess/patches/patch-configure.ac | 23 ++++++++++++++++++-----
7 files changed, 70 insertions(+), 34 deletions(-)
diffs (169 lines):
diff -r 1195e9b69413 -r 6691fe0a19b8 www/goaccess/Makefile
--- a/www/goaccess/Makefile Fri Aug 23 01:17:04 2019 +0000
+++ b/www/goaccess/Makefile Fri Aug 23 01:48:00 2019 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.17 2017/09/22 22:18:01 wiedi Exp $
+# $NetBSD: Makefile,v 1.18 2019/08/23 01:48:00 schmonz Exp $
-DISTNAME= goaccess-1.2
+DISTNAME= goaccess-1.3
CATEGORIES= www
MASTER_SITES= http://tar.goaccess.io/
diff -r 1195e9b69413 -r 6691fe0a19b8 www/goaccess/PLIST
--- a/www/goaccess/PLIST Fri Aug 23 01:17:04 2019 +0000
+++ b/www/goaccess/PLIST Fri Aug 23 01:48:00 2019 +0000
@@ -1,12 +1,9 @@
-@comment $NetBSD: PLIST,v 1.3 2016/11/17 22:33:54 wiedi Exp $
+@comment $NetBSD: PLIST,v 1.4 2019/08/23 01:48:00 schmonz Exp $
bin/goaccess
man/man1/goaccess.1
-share/doc/goaccess/app.css
-share/doc/goaccess/app.js
-share/doc/goaccess/bootstrap.min.css
-share/doc/goaccess/charts.js
-share/doc/goaccess/d3.v3.min.js
-share/doc/goaccess/fa.min.css
-share/doc/goaccess/hogan.min.js
-share/doc/goaccess/tpls.html
+share/examples/goaccess/browsers.list
share/examples/goaccess/goaccess.conf
+share/locale/es/LC_MESSAGES/goaccess.mo
+share/locale/fr/LC_MESSAGES/goaccess.mo
+share/locale/ja/LC_MESSAGES/goaccess.mo
+share/locale/zh_CN/LC_MESSAGES/goaccess.mo
diff -r 1195e9b69413 -r 6691fe0a19b8 www/goaccess/distinfo
--- a/www/goaccess/distinfo Fri Aug 23 01:17:04 2019 +0000
+++ b/www/goaccess/distinfo Fri Aug 23 01:48:00 2019 +0000
@@ -1,8 +1,9 @@
-$NetBSD: distinfo,v 1.14 2017/06/10 16:17:07 wiedi Exp $
+$NetBSD: distinfo,v 1.15 2019/08/23 01:48:00 schmonz Exp $
-SHA1 (goaccess-1.2.tar.gz) = 4c12796ff5afd14f359b1f638fc51c4007db1e3c
-RMD160 (goaccess-1.2.tar.gz) = 79db6509d6e10a4ecb5199e637b8e1663cd7e599
-SHA512 (goaccess-1.2.tar.gz) = bc31ef1e4c92608635856fa73e69b58267c161a7e3c6f2e3ca8860b862ed1c47575b93943dd975a5f8503774ee90ee0649d380563639e30908d876416638f889
-Size (goaccess-1.2.tar.gz) = 423103 bytes
-SHA1 (patch-Makefile.am) = 780091c644a7d4d6e8311f0cbdef0146796df602
-SHA1 (patch-configure.ac) = e9e6c47f579c11bb03a625b2854c6540f2fb877b
+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 (patch-configure) = 5ecf98e50dbbbb2a435b70fb8194f6a039c5c99e
+SHA1 (patch-configure.ac) = 7cf4b8b57e2f335a81cfd81f929aafe7aa41aa79
diff -r 1195e9b69413 -r 6691fe0a19b8 www/goaccess/options.mk
--- a/www/goaccess/options.mk Fri Aug 23 01:17:04 2019 +0000
+++ b/www/goaccess/options.mk Fri Aug 23 01:48:00 2019 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: options.mk,v 1.1 2014/01/27 21:40:38 wiedi Exp $
+# $NetBSD: options.mk,v 1.2 2019/08/23 01:48:00 schmonz Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.goaccess
PKG_SUPPORTED_OPTIONS= geoip wide-curses
@@ -8,12 +8,12 @@
.if !empty(PKG_OPTIONS:Mgeoip)
. include "../../net/GeoIP/buildlink3.mk"
-CONFIGURE_ARGS+= --enable-geoip
-.endif # option geoip
+CONFIGURE_ARGS+= --enable-geoip=legacy
+.endif # geoip
.if !empty(PKG_OPTIONS:Mwide-curses)
. include "../../devel/ncursesw/buildlink3.mk"
CONFIGURE_ARGS+= --enable-utf8
.else
. include "../../devel/ncurses/buildlink3.mk"
-.endif # option wide-curses
+.endif # wide-curses
diff -r 1195e9b69413 -r 6691fe0a19b8 www/goaccess/patches/patch-Makefile.am
--- a/www/goaccess/patches/patch-Makefile.am Fri Aug 23 01:17:04 2019 +0000
+++ b/www/goaccess/patches/patch-Makefile.am Fri Aug 23 01:48:00 2019 +0000
@@ -1,14 +1,15 @@
-$NetBSD: patch-Makefile.am,v 1.3 2016/11/17 22:33:54 wiedi Exp $
+$NetBSD: patch-Makefile.am,v 1.4 2019/08/23 01:48:00 schmonz Exp $
-deploy example config in the correct place
---- Makefile.am.orig 2016-09-30 02:28:08.000000000 +0000
+Deploy example config in the correct place.
+
+--- Makefile.am.orig 2018-11-23 05:35:46.000000000 +0000
+++ Makefile.am
-@@ -60,7 +60,7 @@ chartsjs.h: bin2c$(EXEEXT) resources/js/
- appjs.h: bin2c$(EXEEXT) resources/js/app.js
+@@ -108,7 +108,7 @@ else
./bin2c resources/js/app.js src/appjs.h app_js
+ endif
--confdir = $(sysconfdir)
+-confdir = $(sysconfdir)/goaccess
+confdir = $(PREFIX)/share/examples/goaccess
dist_conf_DATA = config/goaccess.conf
+ dist_conf_DATA += config/browsers.list
- goaccess_SOURCES = \
diff -r 1195e9b69413 -r 6691fe0a19b8 www/goaccess/patches/patch-configure
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/www/goaccess/patches/patch-configure Fri Aug 23 01:48:00 2019 +0000
@@ -0,0 +1,24 @@
+$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
diff -r 1195e9b69413 -r 6691fe0a19b8 www/goaccess/patches/patch-configure.ac
--- a/www/goaccess/patches/patch-configure.ac Fri Aug 23 01:17:04 2019 +0000
+++ b/www/goaccess/patches/patch-configure.ac Fri Aug 23 01:48:00 2019 +0000
@@ -1,10 +1,11 @@
-$NetBSD: patch-configure.ac,v 1.1 2016/11/17 22:33:54 wiedi Exp $
-
-remove ncursesw hack which actually breaks osx
+$NetBSD: patch-configure.ac,v 1.2 2019/08/23 01:48:00 schmonz Exp $
---- configure.ac.orig 2016-11-08 01:35:09.000000000 +0000
+Remove ncursesw hack which actually breaks macOS.
+Use portable shell string-equality test.
+
+--- configure.ac.orig 2018-11-23 02:26:09.000000000 +0000
+++ configure.ac
-@@ -75,11 +75,6 @@ AC_ARG_ENABLE(utf8, [ --enable-utf8 E
+@@ -90,11 +90,6 @@ AC_ARG_ENABLE(utf8, [ --enable-utf8 E
if test "$utf8" = "yes"; then
libncursesw=ncursesw
@@ -16,3 +17,15 @@
AC_CHECK_LIB([$libncursesw], [mvaddwstr], [],
[AC_MSG_ERROR([*** Missing development libraries for ncursesw])])
+@@ -212,9 +207,9 @@ fi
+
+ HAS_SEDTR=no
+ AC_CHECK_PROG([SED_CHECK],[sed],[yes],[no])
+-if test x"$SED_CHECK" == x"yes" ; then
++if test x"$SED_CHECK" = x"yes" ; then
+ AC_CHECK_PROG([TR_CHECK],[tr],[yes],[no])
+- if test x"$TR_CHECK" == x"yes" ; then
++ if test x"$TR_CHECK" = x"yes" ; then
+ HAS_SEDTR=yes
+ fi
+ fi
Home |
Main Index |
Thread Index |
Old Index