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.4.5. From the changelog:
details: https://anonhg.NetBSD.org/pkgsrc/rev/1d9c89188db1
branches: trunk
changeset: 447792:1d9c89188db1
user: schmonz <schmonz%pkgsrc.org@localhost>
date: Fri Feb 26 15:39:46 2021 +0000
description:
Update to 1.4.5. From the changelog:
- Fixed build issue due to initial declarations only allowed in C99 mode
(e.g., CentOS7).
- Added 'Caddy' to the list of pre-defined log formats.
- Added command line option '--no-strict-status' to disable status validation.
- Added native support to parse JSON logs.
- Added the ability to process timestamps in milliseconds using '%*'.
- Ensure TUI/CSV/HTML reports are able to output 'uint64_t' data.
- Ensure we allow UI render if the rate at which data is being read is
greater than '8192' req/s.
- Ensure we don't re-render Term/HTML output if no data was read/piped.
- Fixed build configure to work on NetBSD.
- Fixed issue where it would send data via socket each second when managed
by systemd.
- Fixed issue where parser was unable to parse syslog date with padding.
- Fixed issue where some items under browsers.list were not tab separated.
- Fixed issue where the format parser was unable to properly parse logs
delimited by a pipe.
- Fixed issue where T.X. Amount metrics were not shown when data was piped.
- Fixed issue where XFF parser could swallow an additional field.
- Fixed memory leak when using '%x' as date/time specifier.
- Replaced select(2) with poll(2) as it is more efficient and a lot faster
than select(2).
- Updated Swedish i18n.
- Added the ability to set how often goaccess will parse data and output to
the HTML report via '--html-refresh=<secs>'.
- Changed how TLS is parsed so the Cypher uses a separate specifier.
It now uses '%K' for the TLS version and '%k' for the Cypher.
- Fixed issue where real-time output would double count a rotated log. This
was due to the change of inode upon rotating the log.
- Updated man page to reflect proper way of 'tail -f' a remote access log.
- Added the ability to show 'Encryption Settings' such as 'TLSv1.2' and
Cipher Suites on its own panel.
- Added the ability to show 'MIME Types' such as 'application/javascript' on
its own panel.
- Ensure the HTML report defaults to widescreen if viewport is larger than
'2560px'.
- Fixed inability to properly process multiple logs in real-time.
- Fixed issue where named PIPEs were not properly seed upon generating
filename.
- Fixed issue where served time metrics were not shown when data was piped.
- Removed unnecessary padding from SVG charts. Improves readability on mobile.
- Added addtional browsers and bots to the main list.
- Added 'Android 11' to the list of OSs.
- Added 'macOS 11.0 Big Sur' to the list of OSs.
- Added 'average' to each panel overall metrics.
- Added '.dmg', '.xz', and '.zst' to the static list.
- Added extra check to ensure restoring from disk verifies the content of the
log against previous runs.
- Added Russian translation (i18n).
- Added Ukrainian translation (i18n).
- Added support for HTTP status code '308'.
- Added the ability for 'get_home ()' to return NULL on error, instead of
terminating the process. Great if using through systemd.
- Added the ability to read lowercase predefined log formats. For instance,
'--log-format=COMBINED' or '--log-format=combined'.
- Changed how FIFOs are created and avoid using predictable filenames under
'/tmp'.
- Changed '--ignore-referer' to use whole referrer instead of referring site.
- Ensure Cache Status can be parsed without sensitivity to case.
- Ensure restored data enforces '--keep-last' if used by truncating
accordingly.
- Fixed a few memory leaks when restoring from disk.
- Fixed blank time distribution panel when using timestamps.
- Fixed build issue due to lack of 'mmap' on 'Win'/'Cygwin'/'MinGW'.
- Fixed crash in mouse enabled mode.
- Fixed double free on data restore.
- Fixed inability to keep processing a log when using '--keep-last'.
- Fixed inability to properly parse truncated logs.
- Fixed inability to properly count certain requests when restoring from
disk.
- Fixed issue where it would not parse subsequent requests coming from stdin (tail).
- Fixed issue where log truncation could prevent accurate number counting.
- Fixed issue where parsed date range was not rendered with '--date-spec'.
- Fixed issue where parser would stop regardless of a valid '--num-test' value.
- Fixed issue where restoring from disk would increment 'MAX.TS'.
- Fixed possible incremental issue when log rotation occurs.
- Fixed possible XSS when getting real-time data into the HTML report.
- Fixed potential memory leak when failing to get root node.
- Fixed real-time hits count issue for certain scenarios.
- Fixed segfault in 'Docker' due to a bad allocation when generating FIFOs.
- Fixed 'Unknown' Operating Systems with 'W3C' format.
- Removed unnecessary include from parser.c so it builds in macOS.
- Updated each panel overall UI to be more streamlined.
- Updated French translation.
- Updated German translation.
- Updated Spanish translation.
- Updated sigsegv handler.
diffstat:
www/goaccess/Makefile | 4 ++--
www/goaccess/PLIST | 4 +++-
www/goaccess/distinfo | 14 ++++++--------
www/goaccess/patches/patch-configure | 24 ------------------------
www/goaccess/patches/patch-configure.ac | 18 +++---------------
www/goaccess/patches/patch-src_parser.c | 14 --------------
6 files changed, 14 insertions(+), 64 deletions(-)
diffs (129 lines):
diff -r edb38ee24b2e -r 1d9c89188db1 www/goaccess/Makefile
--- a/www/goaccess/Makefile Fri Feb 26 15:36:48 2021 +0000
+++ b/www/goaccess/Makefile Fri Feb 26 15:39:46 2021 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.29 2021/01/27 08:17:31 schmonz Exp $
+# $NetBSD: Makefile,v 1.30 2021/02/26 15:39:46 schmonz Exp $
-DISTNAME= goaccess-1.4
+DISTNAME= goaccess-1.4.5
CATEGORIES= www
MASTER_SITES= http://tar.goaccess.io/
diff -r edb38ee24b2e -r 1d9c89188db1 www/goaccess/PLIST
--- a/www/goaccess/PLIST Fri Feb 26 15:36:48 2021 +0000
+++ b/www/goaccess/PLIST Fri Feb 26 15:39:46 2021 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.5 2021/01/27 08:17:31 schmonz Exp $
+@comment $NetBSD: PLIST,v 1.6 2021/02/26 15:39:46 schmonz Exp $
bin/goaccess
man/man1/goaccess.1
share/examples/goaccess/browsers.list
@@ -9,5 +9,7 @@
share/locale/fr/LC_MESSAGES/goaccess.mo
share/locale/ja/LC_MESSAGES/goaccess.mo
share/locale/pt_BR/LC_MESSAGES/goaccess.mo
+share/locale/ru/LC_MESSAGES/goaccess.mo
share/locale/sv/LC_MESSAGES/goaccess.mo
+share/locale/uk/LC_MESSAGES/goaccess.mo
share/locale/zh_CN/LC_MESSAGES/goaccess.mo
diff -r edb38ee24b2e -r 1d9c89188db1 www/goaccess/distinfo
--- a/www/goaccess/distinfo Fri Feb 26 15:36:48 2021 +0000
+++ b/www/goaccess/distinfo Fri Feb 26 15:39:46 2021 +0000
@@ -1,10 +1,8 @@
-$NetBSD: distinfo,v 1.19 2021/01/27 08:17:31 schmonz Exp $
+$NetBSD: distinfo,v 1.20 2021/02/26 15:39:46 schmonz Exp $
-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 (goaccess-1.4.5.tar.gz) = 181c1af7b80bd7c5ac7dfe8e1170e1f2082a2ce5
+RMD160 (goaccess-1.4.5.tar.gz) = 99647f27c4232632981d02f10e25570c6417a721
+SHA512 (goaccess-1.4.5.tar.gz) = 8450b51ccc21bd33187fb99b90371833d5cdc82f05abbe243b76d0ae51865d9192fa704594da50831d95260c0f265fe8ac668dfb43d56065e0b6a773af897aa6
+Size (goaccess-1.4.5.tar.gz) = 634067 bytes
SHA1 (patch-Makefile.am) = e72d4ac63fd2f9f236ce1feae9b021db2128b725
-SHA1 (patch-configure) = 5ecf98e50dbbbb2a435b70fb8194f6a039c5c99e
-SHA1 (patch-configure.ac) = 7cf4b8b57e2f335a81cfd81f929aafe7aa41aa79
-SHA1 (patch-src_parser.c) = b796554dfeafb4f07ba205fbb47252faf4358109
+SHA1 (patch-configure.ac) = 5fff879e582676839cbff2ff63907b792bcd941f
diff -r edb38ee24b2e -r 1d9c89188db1 www/goaccess/patches/patch-configure
--- a/www/goaccess/patches/patch-configure Fri Feb 26 15:36:48 2021 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,24 +0,0 @@
-$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 edb38ee24b2e -r 1d9c89188db1 www/goaccess/patches/patch-configure.ac
--- a/www/goaccess/patches/patch-configure.ac Fri Feb 26 15:36:48 2021 +0000
+++ b/www/goaccess/patches/patch-configure.ac Fri Feb 26 15:39:46 2021 +0000
@@ -1,11 +1,11 @@
-$NetBSD: patch-configure.ac,v 1.2 2019/08/23 01:48:00 schmonz Exp $
+$NetBSD: patch-configure.ac,v 1.3 2021/02/26 15:39:46 schmonz Exp $
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.orig 2021-01-26 00:21:46.000000000 +0000
+++ configure.ac
-@@ -90,11 +90,6 @@ AC_ARG_ENABLE(utf8, [ --enable-utf8 E
+@@ -96,11 +96,6 @@ AC_ARG_ENABLE([utf8],[AS_HELP_STRING([--
if test "$utf8" = "yes"; then
libncursesw=ncursesw
@@ -17,15 +17,3 @@
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
diff -r edb38ee24b2e -r 1d9c89188db1 www/goaccess/patches/patch-src_parser.c
--- a/www/goaccess/patches/patch-src_parser.c Fri Feb 26 15:36:48 2021 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,14 +0,0 @@
-$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