Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package goaccess for openSUSE:Factory 
checked in at 2022-01-04 19:38:18
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/goaccess (Old)
 and      /work/SRC/openSUSE:Factory/.goaccess.new.1896 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "goaccess"

Tue Jan  4 19:38:18 2022 rev:17 rq:943793 version:1.5.4

Changes:
--------
--- /work/SRC/openSUSE:Factory/goaccess/goaccess.changes        2021-12-07 
00:01:32.200107238 +0100
+++ /work/SRC/openSUSE:Factory/.goaccess.new.1896/goaccess.changes      
2022-01-04 19:39:01.534050624 +0100
@@ -1,0 +2,14 @@
+Tue Jan  4 15:52:32 UTC 2022 - Michael Vetter <[email protected]>
+
+- Update to 1.5.4:
+  * Added AWS ALB to the predefined logs format list --log-format=AWSALB.
+  * Ensure we lock our pipe/websocket writer before broadcasting message.
+  * Ensure we require a valid host token even when we're not validating the IP.
+  * Ensure we simply update the TUI once after tailing multiple files.
+  * Ensure we simply update the UI once after tailing multiple files.
+  * Fixed buffer overflow when checking if an HTTP code was a 404 on an empty
+    code.
+  * Optimized terminal and HTML UI output when tailing multiple files.
+  * Updated DB PATH error message to be more descriptive.
+
+-------------------------------------------------------------------

Old:
----
  goaccess-1.5.3.tar.gz

New:
----
  goaccess-1.5.4.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ goaccess.spec ++++++
--- /var/tmp/diff_new_pack.IcVZcD/_old  2022-01-04 19:39:01.942051158 +0100
+++ /var/tmp/diff_new_pack.IcVZcD/_new  2022-01-04 19:39:01.946051164 +0100
@@ -2,7 +2,7 @@
 #
 # spec file for package goaccess
 #
-# Copyright (c) 2021 SUSE LLC
+# Copyright (c) 2022 SUSE LLC
 # Copyright (c) 2013 Pascal Bleser <[email protected]>
 #
 # All modifications and additions to the file contributed by third parties
@@ -21,7 +21,7 @@
 %global goaccess_services [email protected] [email protected]
 
 Name:           goaccess
-Version:        1.5.3
+Version:        1.5.4
 Release:        0
 Summary:        Apache Web Log Analyzer
 License:        GPL-2.0-or-later

++++++ goaccess-1.5.3.tar.gz -> goaccess-1.5.4.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/goaccess-1.5.3/ChangeLog new/goaccess-1.5.4/ChangeLog
--- old/goaccess-1.5.3/ChangeLog        2021-11-25 01:33:57.000000000 +0100
+++ new/goaccess-1.5.4/ChangeLog        2021-12-25 18:18:45.000000000 +0100
@@ -1,3 +1,15 @@
+Changes to GoAccess 1.5.4 - Saturday, December 25, 2021
+
+  - Added AWS ALB to the predefined logs format list --log-format=AWSALB.
+  - Ensure we lock our pipe/websocket writer before broadcasting message.
+  - Ensure we require a valid host token even when we're not validating the IP.
+  - Ensure we simply update the TUI once after tailing multiple files.
+  - Ensure we simply update the UI once after tailing multiple files.
+  - Fixed buffer overflow when checking if an HTTP code was a 404 on an empty
+    status code.
+  - Optimized terminal and HTML UI output when tailing multiple files.
+  - Updated DB PATH error message to be more descriptive.
+
 Changes to GoAccess 1.5.3 - Thursday, November 25, 2021
 
   - Added additional crawlers to the default list.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/goaccess-1.5.3/NEWS new/goaccess-1.5.4/NEWS
--- old/goaccess-1.5.3/NEWS     2021-11-25 01:34:57.000000000 +0100
+++ new/goaccess-1.5.4/NEWS     2021-12-25 18:19:29.000000000 +0100
@@ -2,6 +2,8 @@
 Gerardo Orellana <[email protected]>
 
 * Version history:
+    - 1.5.4 [Saturday, December 25, 2021]
+        . GoAccess 1.5.4 Released. See ChangeLog for new features/bug-fixes.
     - 1.5.3 [Thursday, November 25, 2021]
         . GoAccess 1.5.3 Released. See ChangeLog for new features/bug-fixes.
     - 1.5.2 [Tuesday, Sep 28, 2021]
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/goaccess-1.5.3/configure new/goaccess-1.5.4/configure
--- old/goaccess-1.5.3/configure        2021-11-25 01:48:08.000000000 +0100
+++ new/goaccess-1.5.4/configure        2021-12-25 18:24:38.000000000 +0100
@@ -1,6 +1,6 @@
 #! /bin/sh
 # Guess values for system-dependent variables and create Makefiles.
-# Generated by GNU Autoconf 2.69 for goaccess 1.5.3.
+# Generated by GNU Autoconf 2.69 for goaccess 1.5.4.
 #
 # Report bugs to <[email protected]>.
 #
@@ -580,8 +580,8 @@
 # Identity of this package.
 PACKAGE_NAME='goaccess'
 PACKAGE_TARNAME='goaccess'
-PACKAGE_VERSION='1.5.3'
-PACKAGE_STRING='goaccess 1.5.3'
+PACKAGE_VERSION='1.5.4'
+PACKAGE_STRING='goaccess 1.5.4'
 PACKAGE_BUGREPORT='[email protected]'
 PACKAGE_URL='https://goaccess.io'
 
@@ -1333,7 +1333,7 @@
   # Omit some internal or obsolete options to make the list less imposing.
   # This message is too long to be a string in the A/UX 3.1 sh.
   cat <<_ACEOF
-\`configure' configures goaccess 1.5.3 to adapt to many kinds of systems.
+\`configure' configures goaccess 1.5.4 to adapt to many kinds of systems.
 
 Usage: $0 [OPTION]... [VAR=VALUE]...
 
@@ -1404,7 +1404,7 @@
 
 if test -n "$ac_init_help"; then
   case $ac_init_help in
-     short | recursive ) echo "Configuration of goaccess 1.5.3:";;
+     short | recursive ) echo "Configuration of goaccess 1.5.4:";;
    esac
   cat <<\_ACEOF
 
@@ -1514,7 +1514,7 @@
 test -n "$ac_init_help" && exit $ac_status
 if $ac_init_version; then
   cat <<\_ACEOF
-goaccess configure 1.5.3
+goaccess configure 1.5.4
 generated by GNU Autoconf 2.69
 
 Copyright (C) 2012 Free Software Foundation, Inc.
@@ -2067,7 +2067,7 @@
 This file contains any messages produced by compilers while
 running configure, to aid debugging if configure makes a mistake.
 
-It was created by goaccess $as_me 1.5.3, which was
+It was created by goaccess $as_me 1.5.4, which was
 generated by GNU Autoconf 2.69.  Invocation command line was
 
   $ $0 $@
@@ -2934,7 +2934,7 @@
 
 # Define the identity of the package.
  PACKAGE='goaccess'
- VERSION='1.5.3'
+ VERSION='1.5.4'
 
 
 cat >>confdefs.h <<_ACEOF
@@ -9658,7 +9658,7 @@
 # report actual input values of CONFIG_FILES etc. instead of their
 # values after options handling.
 ac_log="
-This file was extended by goaccess $as_me 1.5.3, which was
+This file was extended by goaccess $as_me 1.5.4, which was
 generated by GNU Autoconf 2.69.  Invocation command line was
 
   CONFIG_FILES    = $CONFIG_FILES
@@ -9725,7 +9725,7 @@
 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; 
s/[\\""\`\$]/\\\\&/g'`"
 ac_cs_version="\\
-goaccess config.status 1.5.3
+goaccess config.status 1.5.4
 configured by $0, generated by GNU Autoconf 2.69,
   with options \\"\$ac_cs_config\\"
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/goaccess-1.5.3/configure.ac 
new/goaccess-1.5.4/configure.ac
--- old/goaccess-1.5.3/configure.ac     2021-11-25 01:47:49.000000000 +0100
+++ new/goaccess-1.5.4/configure.ac     2021-12-25 18:24:02.000000000 +0100
@@ -2,7 +2,7 @@
 # Process this file with autoconf to produce a configure script.
 
 AC_PREREQ([2.69])
-AC_INIT([goaccess],[1.5.3],[[email protected]],[],[https://goaccess.io])
+AC_INIT([goaccess],[1.5.4],[[email protected]],[],[https://goaccess.io])
 AM_INIT_AUTOMAKE
 AC_CONFIG_SRCDIR([src/goaccess.c])
 AC_CONFIG_HEADERS([src/config.h])
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/goaccess-1.5.3/goaccess.1 
new/goaccess-1.5.4/goaccess.1
--- old/goaccess-1.5.3/goaccess.1       2021-11-25 01:43:27.000000000 +0100
+++ new/goaccess-1.5.4/goaccess.1       2021-12-25 18:21:11.000000000 +0100
@@ -1,4 +1,4 @@
-.TH goaccess 1 "NOVEMBER 2021" GNU+Linux "User Manuals"
+.TH goaccess 1 "DECEMBER 2021" GNU+Linux "User Manuals"
 .SH NAME
 goaccess \- fast web log analyzer and interactive viewer.
 .SH SYNOPSIS
@@ -226,6 +226,7 @@
   CLOUDSTORAGE - Google Cloud Storage,
   AWSELB       - Amazon Elastic Load Balancing,
   AWSS3        - Amazon Simple Storage Service (S3)
+  AWSALB       - Amazon Application Load Balancer
   CADDY        - Caddy's JSON Structured format
 .IP
 .I Note:
@@ -376,11 +377,11 @@
 SERVER OPTIONS
 .P
 .I Note
-This is just a WebSocket server to provide the raw real-time data. 
-It is not a WebServer itself. To access your reports html file, you will 
-still need your own HTTP server, place the generated report in it's document 
-root dir and open the html file in your browser. The browser will then open 
-another WebSocket-connection to the ws-server you may setup here, 
+This is just a WebSocket server to provide the raw real-time data.
+It is not a WebServer itself. To access your reports html file, you will
+still need your own HTTP server, place the generated report in it's document
+root dir and open the html file in your browser. The browser will then open
+another WebSocket-connection to the ws-server you may setup here,
 to keep the dashboard up-to-date.
 .TP
 \fB\-\-addr
@@ -1204,6 +1205,6 @@
 .I [email protected]
 or use the issue tracker in https://github.com/allinurl/goaccess/issues
 .SH AUTHOR
-Gerardo Orellana <[email protected]>
+Gerardo Orellana <[email protected]>
 For more details about it, or new releases, please visit
 https://goaccess.io
Binary files old/goaccess-1.5.3/po/de.gmo and new/goaccess-1.5.4/po/de.gmo 
differ
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/goaccess-1.5.3/po/de.po new/goaccess-1.5.4/po/de.po
--- old/goaccess-1.5.3/po/de.po 2021-11-25 01:49:16.000000000 +0100
+++ new/goaccess-1.5.4/po/de.po 2021-12-25 18:25:04.000000000 +0100
@@ -7,7 +7,7 @@
 msgstr ""
 "Project-Id-Version: \n"
 "Report-Msgid-Bugs-To: [email protected]\n"
-"POT-Creation-Date: 2021-11-24 18:49-0600\n"
+"POT-Creation-Date: 2021-12-25 11:25-0600\n"
 "PO-Revision-Date: 2019-05-05 16:03+0200\n"
 "Last-Translator: Axel Wehner <[email protected]>\n"
 "Language: de\n"
@@ -842,7 +842,8 @@
 msgstr "417 - Erwartung fehlgeschlagen"
 
 #: src/labels.h:468
-msgid "418 - I???m a teapot"
+#, fuzzy
+msgid "418 - I'm a teapot"
 msgstr "418 - Ich bin ein Teek??nnchen"
 
 #: src/labels.h:470
Binary files old/goaccess-1.5.3/po/es.gmo and new/goaccess-1.5.4/po/es.gmo 
differ
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/goaccess-1.5.3/po/es.po new/goaccess-1.5.4/po/es.po
--- old/goaccess-1.5.3/po/es.po 2021-11-25 01:49:16.000000000 +0100
+++ new/goaccess-1.5.4/po/es.po 2021-12-25 18:25:04.000000000 +0100
@@ -7,7 +7,7 @@
 msgstr ""
 "Project-Id-Version: Goaccess\n"
 "Report-Msgid-Bugs-To: [email protected]\n"
-"POT-Creation-Date: 2021-11-24 18:49-0600\n"
+"POT-Creation-Date: 2021-12-25 11:25-0600\n"
 "PO-Revision-Date: 2017-08-04 13:00-0300\n"
 "Last-Translator: Enrique Becerra <[email protected]>\n"
 "Language-Team: \n"
@@ -818,7 +818,8 @@
 msgstr "417 - Expectativa Fallida"
 
 #: src/labels.h:468
-msgid "418 - I???m a teapot"
+#, fuzzy
+msgid "418 - I'm a teapot"
 msgstr "418 - Soy una tetera"
 
 #: src/labels.h:470
Binary files old/goaccess-1.5.3/po/fr.gmo and new/goaccess-1.5.4/po/fr.gmo 
differ
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/goaccess-1.5.3/po/fr.po new/goaccess-1.5.4/po/fr.po
--- old/goaccess-1.5.3/po/fr.po 2021-11-25 01:49:16.000000000 +0100
+++ new/goaccess-1.5.4/po/fr.po 2021-12-25 18:25:04.000000000 +0100
@@ -6,7 +6,7 @@
 msgstr ""
 "Project-Id-Version: goaccess 1.4\n"
 "Report-Msgid-Bugs-To: [email protected]\n"
-"POT-Creation-Date: 2021-11-24 18:49-0600\n"
+"POT-Creation-Date: 2021-12-25 11:25-0600\n"
 "PO-Revision-Date: 2020-07-10 11:44+0200\n"
 "Last-Translator: Coban L. <[email protected]>\n"
 "Language-Team: fran??ais\n"
@@ -825,7 +825,8 @@
 msgstr "417 - Attente ??chou??e"
 
 #: src/labels.h:468
-msgid "418 - I???m a teapot"
+#, fuzzy
+msgid "418 - I'm a teapot"
 msgstr "418 - Je suis une th??i??re"
 
 #: src/labels.h:470
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/goaccess-1.5.3/po/goaccess.pot 
new/goaccess-1.5.4/po/goaccess.pot
--- old/goaccess-1.5.3/po/goaccess.pot  2021-11-25 01:49:15.000000000 +0100
+++ new/goaccess-1.5.4/po/goaccess.pot  2021-12-25 18:25:03.000000000 +0100
@@ -6,15 +6,15 @@
 #, fuzzy
 msgid ""
 msgstr ""
-"Project-Id-Version: goaccess 1.5.3\n"
+"Project-Id-Version: goaccess 1.5.4\n"
 "Report-Msgid-Bugs-To: [email protected]\n"
-"POT-Creation-Date: 2021-11-24 18:49-0600\n"
+"POT-Creation-Date: 2021-12-25 11:25-0600\n"
 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
 "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
 "Language-Team: LANGUAGE <[email protected]>\n"
 "Language: \n"
 "MIME-Version: 1.0\n"
-"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Type: text/plain; charset=CHARSET\n"
 "Content-Transfer-Encoding: 8bit\n"
 
 #: src/labels.h:40
@@ -810,7 +810,7 @@
 msgstr ""
 
 #: src/labels.h:468
-msgid "418 - I???m a teapot"
+msgid "418 - I'm a teapot"
 msgstr ""
 
 #: src/labels.h:470
Binary files old/goaccess-1.5.3/po/it.gmo and new/goaccess-1.5.4/po/it.gmo 
differ
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/goaccess-1.5.3/po/it.po new/goaccess-1.5.4/po/it.po
--- old/goaccess-1.5.3/po/it.po 2021-11-25 01:49:16.000000000 +0100
+++ new/goaccess-1.5.4/po/it.po 2021-12-25 18:25:04.000000000 +0100
@@ -7,7 +7,7 @@
 msgstr ""
 "Project-Id-Version: Goaccess\n"
 "Report-Msgid-Bugs-To: [email protected]\n"
-"POT-Creation-Date: 2021-11-24 18:49-0600\n"
+"POT-Creation-Date: 2021-12-25 11:25-0600\n"
 "PO-Revision-Date: 2017-08-04 13:00-0300\n"
 "Last-Translator: Mario Donnarumma <[email protected]>\n"
 "Language-Team: \n"
@@ -825,7 +825,8 @@
 msgstr "417 - Expectation Failed"
 
 #: src/labels.h:468
-msgid "418 - I???m a teapot"
+#, fuzzy
+msgid "418 - I'm a teapot"
 msgstr "418 - I???m a teapot"
 
 #: src/labels.h:470
Binary files old/goaccess-1.5.3/po/ja.gmo and new/goaccess-1.5.4/po/ja.gmo 
differ
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/goaccess-1.5.3/po/ja.po new/goaccess-1.5.4/po/ja.po
--- old/goaccess-1.5.3/po/ja.po 2021-11-25 01:49:16.000000000 +0100
+++ new/goaccess-1.5.4/po/ja.po 2021-12-25 18:25:04.000000000 +0100
@@ -7,7 +7,7 @@
 msgstr ""
 "Project-Id-Version: goaccess 1.3\n"
 "Report-Msgid-Bugs-To: [email protected]\n"
-"POT-Creation-Date: 2021-11-24 18:49-0600\n"
+"POT-Creation-Date: 2021-12-25 11:25-0600\n"
 "PO-Revision-Date: 2020-08-19 06:27+0900\n"
 "Last-Translator: Kamino <[email protected]>\n"
 "Language-Team: Japanese\n"
@@ -829,7 +829,8 @@
 msgstr "417 - ????????????????????????????????????????????????"
 
 #: src/labels.h:468
-msgid "418 - I???m a teapot"
+#, fuzzy
+msgid "418 - I'm a teapot"
 msgstr "418 - ??????????????????????????????"
 
 #: src/labels.h:470
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/goaccess-1.5.3/po/pt_BR.po 
new/goaccess-1.5.4/po/pt_BR.po
--- old/goaccess-1.5.3/po/pt_BR.po      2021-11-25 01:49:16.000000000 +0100
+++ new/goaccess-1.5.4/po/pt_BR.po      2021-12-25 18:25:04.000000000 +0100
@@ -7,7 +7,7 @@
 msgstr ""
 "Project-Id-Version: Goaccess\n"
 "Report-Msgid-Bugs-To: [email protected]\n"
-"POT-Creation-Date: 2021-11-24 18:49-0600\n"
+"POT-Creation-Date: 2021-12-25 11:25-0600\n"
 "PO-Revision-Date: 2019-04-25 20:34-0300\n"
 "Last-Translator: Alan Placidina Maria <[email protected]>\n"
 "Language-Team: \n"
@@ -829,7 +829,7 @@
 msgstr "417 - Falha na Expectativa"
 
 #: src/labels.h:468
-msgid "418 - I???m a teapot"
+msgid "418 - I'm a teapot"
 msgstr ""
 
 #: src/labels.h:470
Binary files old/goaccess-1.5.3/po/ru.gmo and new/goaccess-1.5.4/po/ru.gmo 
differ
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/goaccess-1.5.3/po/ru.po new/goaccess-1.5.4/po/ru.po
--- old/goaccess-1.5.3/po/ru.po 2021-11-25 01:49:16.000000000 +0100
+++ new/goaccess-1.5.4/po/ru.po 2021-12-25 18:25:04.000000000 +0100
@@ -7,7 +7,7 @@
 msgstr ""
 "Project-Id-Version: goaccess 1.4\n"
 "Report-Msgid-Bugs-To: [email protected]\n"
-"POT-Creation-Date: 2021-11-24 18:49-0600\n"
+"POT-Creation-Date: 2021-12-25 11:25-0600\n"
 "PO-Revision-Date: 2020-06-25 17:14+0300\n"
 "Last-Translator: Artyom Karlov <[email protected]>\n"
 "Language-Team: \n"
@@ -836,7 +836,8 @@
 msgstr "417 - Expectation Failed"
 
 #: src/labels.h:468
-msgid "418 - I???m a teapot"
+#, fuzzy
+msgid "418 - I'm a teapot"
 msgstr "418 - I???m a teapot"
 
 #: src/labels.h:470
Binary files old/goaccess-1.5.3/po/sv.gmo and new/goaccess-1.5.4/po/sv.gmo 
differ
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/goaccess-1.5.3/po/sv.po new/goaccess-1.5.4/po/sv.po
--- old/goaccess-1.5.3/po/sv.po 2021-11-25 01:49:16.000000000 +0100
+++ new/goaccess-1.5.4/po/sv.po 2021-12-25 18:25:04.000000000 +0100
@@ -7,7 +7,7 @@
 msgstr ""
 "Project-Id-Version: goaccess 1.3\n"
 "Report-Msgid-Bugs-To: [email protected]\n"
-"POT-Creation-Date: 2021-11-24 18:49-0600\n"
+"POT-Creation-Date: 2021-12-25 11:25-0600\n"
 "PO-Revision-Date: 2018-12-13 22:48-0600\n"
 "Last-Translator: Anders Johansson <[email protected]>\n"
 "Language-Team: none\n"
@@ -822,7 +822,8 @@
 msgstr "417 - F??rv??ntning misslyckades"
 
 #: src/labels.h:468
-msgid "418 - I???m a teapot"
+#, fuzzy
+msgid "418 - I'm a teapot"
 msgstr "Jag ??r en tekanna"
 
 #: src/labels.h:470
Binary files old/goaccess-1.5.3/po/uk.gmo and new/goaccess-1.5.4/po/uk.gmo 
differ
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/goaccess-1.5.3/po/uk.po new/goaccess-1.5.4/po/uk.po
--- old/goaccess-1.5.3/po/uk.po 2021-11-25 01:49:16.000000000 +0100
+++ new/goaccess-1.5.4/po/uk.po 2021-12-25 18:25:04.000000000 +0100
@@ -7,7 +7,7 @@
 msgstr ""
 "Project-Id-Version: goaccess 1.4\n"
 "Report-Msgid-Bugs-To: [email protected]\n"
-"POT-Creation-Date: 2021-11-24 18:49-0600\n"
+"POT-Creation-Date: 2021-12-25 11:25-0600\n"
 "PO-Revision-Date: 2020-06-25 17:12+0300\n"
 "Last-Translator: Artyom Karlov <[email protected]>\n"
 "Language-Team: \n"
@@ -836,7 +836,8 @@
 msgstr "417 - Expectation Failed"
 
 #: src/labels.h:468
-msgid "418 - I???m a teapot"
+#, fuzzy
+msgid "418 - I'm a teapot"
 msgstr "418 - I???m a teapot"
 
 #: src/labels.h:470
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/goaccess-1.5.3/po/zh_CN.po 
new/goaccess-1.5.4/po/zh_CN.po
--- old/goaccess-1.5.3/po/zh_CN.po      2021-11-25 01:49:16.000000000 +0100
+++ new/goaccess-1.5.4/po/zh_CN.po      2021-12-25 18:25:04.000000000 +0100
@@ -5,7 +5,7 @@
 msgstr ""
 "Project-Id-Version: goaccess 1.2\n"
 "Report-Msgid-Bugs-To: [email protected]\n"
-"POT-Creation-Date: 2021-11-24 18:49-0600\n"
+"POT-Creation-Date: 2021-12-25 11:25-0600\n"
 "PO-Revision-Date: 2017-04-03 09:43+0200\n"
 "Last-Translator: Ai<[email protected]>\n"
 "Language-Team: Ai\n"
@@ -816,7 +816,7 @@
 msgstr "417 - ??????????????????"
 
 #: src/labels.h:468
-msgid "418 - I???m a teapot"
+msgid "418 - I'm a teapot"
 msgstr ""
 
 #: src/labels.h:470
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/goaccess-1.5.3/src/commons.h 
new/goaccess-1.5.4/src/commons.h
--- old/goaccess-1.5.3/src/commons.h    2021-11-25 01:45:42.000000000 +0100
+++ new/goaccess-1.5.4/src/commons.h    2021-12-25 18:22:36.000000000 +0100
@@ -43,7 +43,7 @@
 #define __attribute__(x) /**/
 #endif
 #define GO_UNUSED __attribute__((unused))
-#define GO_VERSION             "1.5.3"
+#define GO_VERSION             "1.5.4"
 #define GO_WEBSITE             "https://goaccess.io/";
 extern struct tm now_tm;
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/goaccess-1.5.3/src/gkhash.h 
new/goaccess-1.5.4/src/gkhash.h
--- old/goaccess-1.5.3/src/gkhash.h     2021-11-24 15:23:23.000000000 +0100
+++ new/goaccess-1.5.4/src/gkhash.h     2021-12-25 18:14:45.000000000 +0100
@@ -200,7 +200,7 @@
  * 1 -> Debian APT-HTTP/1.3 (1.0.9.8.5)
  * 2 -> Mozilla/5.0 (compatible; MSIE 10.0; Windows NT 6.1; WOW64; Trident/6.0)
  */
-/*khash_t(is32) MTRC_AGENT_KEYS */
+/*khash_t(is32) MTRC_AGENT_VALS */
 
 /* Maps a single numeric key (usually 1) to an autoincremented hits value.
  *
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/goaccess-1.5.3/src/goaccess.c 
new/goaccess-1.5.4/src/goaccess.c
--- old/goaccess-1.5.3/src/goaccess.c   2021-11-24 15:23:23.000000000 +0100
+++ new/goaccess-1.5.4/src/goaccess.c   2021-12-25 18:14:45.000000000 +0100
@@ -710,7 +710,9 @@
   if (json == NULL)
     return;
 
+  pthread_mutex_lock (&gwswriter->mutex);
   broadcast_holder (gwswriter->fd, json, strlen (json));
+  pthread_mutex_unlock (&gwswriter->mutex);
   free (json);
 }
 
@@ -804,8 +806,8 @@
 
 /* Process appended log data
  *
- * If nothing changed, 1 is returned.
- * If log file changed, 0 is returned. */
+ * If nothing changed, 0 is returned.
+ * If log file changed, 1 is returned. */
 static int
 perform_tail_follow (GLog * glog) {
   FILE *fp = NULL;
@@ -817,7 +819,7 @@
     parse_tail_follow (glog, glog->pipe);
     /* did we read something from the pipe? */
     if (0 == glog->bytes)
-      return 1;
+      return 0;
 
     glog->length += glog->bytes;
     goto out;
@@ -829,7 +831,7 @@
   /* ###NOTE: This assumes the log file being read can be of smaller size, 
e.g.,
    * rotated/truncated file or larger when data is appended */
   if (length == glog->length)
-    return 1;
+    return 0;
 
   if (!(fp = fopen (glog->filename, "r")))
     FATAL ("Unable to read the specified log file '%s'. %s", glog->filename, 
strerror (errno));
@@ -864,13 +866,7 @@
 
 out:
 
-  if (!conf.output_stdout) {
-    tail_term ();
-  } else {
-    tail_html ();
-  }
-
-  return 0;
+  return 1;
 }
 
 /* Loop over and perform a follow for the given logs */
@@ -880,14 +876,18 @@
     .tv_sec = conf.html_refresh ? conf.html_refresh : HTML_REFRESH,
     .tv_nsec = 0,
   };
-  int i = 0;
+  int i = 0, ret = 0;
 
   while (1) {
     if (conf.stop_processing)
       break;
 
-    for (i = 0; i < logs->size; ++i)
-      perform_tail_follow (&logs->glog[i]);     /* 0.2 secs */
+    for (i = 0, ret = 0; i < logs->size; ++i)
+      ret |= perform_tail_follow (&logs->glog[i]);      /* 0.2 secs */
+
+    if (1 == ret)
+      tail_html ();
+
     if (nanosleep (&refresh, NULL) == -1 && errno != EINTR)
       FATAL ("nanosleep: %s", strerror (errno));
   }
@@ -983,17 +983,18 @@
 term_tail_logs (Logs * logs) {
   struct timespec ts = {.tv_sec = 0,.tv_nsec = 200000000 };     /* 0.2 seconds 
*/
   uint32_t offset = 0;
-  int i;
+  int i, ret;
 
-  for (i = 0; i < logs->size; ++i) {
-    if (perform_tail_follow (&logs->glog[i]) != 0)
-      continue;
+  for (i = 0, ret = 0; i < logs->size; ++i)
+    ret |= perform_tail_follow (&logs->glog[i]);
 
+  if (1 == ret) {
+    tail_term ();
     offset = *logs->processed - logs->offset;
     render_screens (offset);
-    if (nanosleep (&ts, NULL) == -1 && errno != EINTR) {
-      FATAL ("nanosleep: %s", strerror (errno));
-    }
+  }
+  if (nanosleep (&ts, NULL) == -1 && errno != EINTR) {
+    FATAL ("nanosleep: %s", strerror (errno));
   }
 }
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/goaccess-1.5.3/src/gstorage.c 
new/goaccess-1.5.4/src/gstorage.c
--- old/goaccess-1.5.3/src/gstorage.c   2021-11-25 00:34:19.000000000 +0100
+++ new/goaccess-1.5.4/src/gstorage.c   2021-12-25 18:14:45.000000000 +0100
@@ -810,7 +810,7 @@
   /* inserted in datamap */
   kdata->data = data;
   /* inserted in keymap */
-  kdata->dhash = djb2 ((unsigned char *) data_key);
+  kdata->dhash = djb2 ((const unsigned char *) data_key);
 }
 
 /* A wrapper to assign the given data key and the data item to the key
@@ -820,7 +820,7 @@
   /* inserted in datamap */
   kdata->root = root;
   /* inserted in keymap */
-  kdata->rhash = djb2 ((unsigned char *) root_key);
+  kdata->rhash = djb2 ((const unsigned char *) root_key);
 }
 
 /* Generate a visitor's key given the date specificity. For instance,
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/goaccess-1.5.3/src/labels.h 
new/goaccess-1.5.4/src/labels.h
--- old/goaccess-1.5.3/src/labels.h     2021-11-24 15:23:47.000000000 +0100
+++ new/goaccess-1.5.4/src/labels.h     2021-12-25 18:14:45.000000000 +0100
@@ -465,7 +465,7 @@
 #define STATUS_CODE_417               \
   N_("417 - Expectation Failed")
 #define STATUS_CODE_418               \
-  N_("418 - I???m a teapot")
+  N_("418 - I'm a teapot")
 #define STATUS_CODE_421               \
   N_("421 - Misdirected Request")
 #define STATUS_CODE_422               \
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/goaccess-1.5.3/src/parser.c 
new/goaccess-1.5.4/src/parser.c
--- old/goaccess-1.5.3/src/parser.c     2021-11-24 22:48:52.000000000 +0100
+++ new/goaccess-1.5.4/src/parser.c     2021-12-25 18:14:45.000000000 +0100
@@ -948,6 +948,13 @@
       free (tkn);
       return 1;
     }
+    /* require a valid host token (e.g., ord38s18-in-f14.1e100.net) even when 
we're
+     * not validating the IP */
+    if (conf.no_ip_validation && *tkn == '\0') {
+      spec_err (logitem, SPEC_TOKN_INV, *p, tkn);
+      free (tkn);
+      return 1;
+    }
     logitem->host = tkn;
     break;
     /* request method */
@@ -1521,11 +1528,13 @@
  * If the request is a 404, 1 is returned. */
 static int
 is_404 (GLogItem * logitem) {
+  if (!logitem->status || *logitem->status == '\0')
+    return 0;
   /* is this a 404? */
-  if (logitem->status && !memcmp (logitem->status, "404", 3))
+  if (!memcmp (logitem->status, "404", 3))
     return 1;
   /* treat 444 as 404? */
-  else if (logitem->status && !memcmp (logitem->status, "444", 3) && 
conf.code444_as_404)
+  else if (!memcmp (logitem->status, "444", 3) && conf.code444_as_404)
     return 1;
   return 0;
 }
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/goaccess-1.5.3/src/persistence.c 
new/goaccess-1.5.4/src/persistence.c
--- old/goaccess-1.5.3/src/persistence.c        2021-11-24 15:23:23.000000000 
+0100
+++ new/goaccess-1.5.4/src/persistence.c        2021-12-25 18:14:45.000000000 
+0100
@@ -64,7 +64,7 @@
 
   rpath = realpath (dbpath, NULL);
   if (rpath == NULL)
-    FATAL ("Unable to open the specified config file. %s", strerror (errno));
+    FATAL ("Unable to open the specified db path/file '%s'. %s", dbpath, 
strerror (errno));
 
   /* sanity check: Is db_path accessible and a directory? */
   if (stat (rpath, &info) != 0)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/goaccess-1.5.3/src/settings.c 
new/goaccess-1.5.4/src/settings.c
--- old/goaccess-1.5.3/src/settings.c   2021-11-24 15:23:47.000000000 +0100
+++ new/goaccess-1.5.4/src/settings.c   2021-12-25 18:14:45.000000000 +0100
@@ -56,12 +56,13 @@
   {"COMMON"       , COMMON}       ,
   {"VCOMMON"      , VCOMMON}      ,
   {"W3C"          , W3C}          ,
-  {"SQUID"        , SQUID}        ,
   {"CLOUDFRONT"   , CLOUDFRONT}   ,
   {"CLOUDSTORAGE" , CLOUDSTORAGE} ,
   {"AWSELB"       , AWSELB}       ,
+  {"SQUID"        , SQUID}        ,
   {"AWSS3"        , AWSS3}        ,
   {"CADDY"        , CADDY}        ,
+  {"AWSALB"       , AWSALB}       ,
 };
 
 static const GPreConfLog logs = {
@@ -81,7 +82,9 @@
   "\"%H\", \"method\": \"%m\", \"host\": \"%v\", \"uri\": \"%U\", \"headers\": 
{"
   "\"User-Agent\": [\"%u\"], \"Referer\": [\"%R\"] }, \"tls\": { 
\"cipher_suite\":"
   "\"%k\", \"proto\": \"%K\" } }, \"duration\": \"%T\", \"size\": \"%b\","
-  "\"status\": \"%s\", \"resp_headers\": { \"Content-Type\": [\"%M\"] } }"
+  "\"status\": \"%s\", \"resp_headers\": { \"Content-Type\": [\"%M\"] } }",
+
+  "%^ %dT%t.%^ %v %h:%^ %^ %^ %T %^ %s %^ %^ %b \"%r\" \"%u\" %k %K %^" /* 
Amazon ALB */
 };
 
 static const GPreConfTime times = {
@@ -388,6 +391,8 @@
     return AWSS3;
   else if (strcmp (conf.log_format, logs.caddy) == 0)
     return CADDY;
+  else if (strcmp (conf.log_format, logs.awsalb) == 0)
+    return AWSALB;
   else
     return (size_t) -1;
 }
@@ -401,18 +406,18 @@
 get_selected_format_str (size_t idx) {
   char *fmt = NULL;
   switch (idx) {
-  case COMMON:
-    fmt = alloc_string (logs.common);
-    break;
-  case VCOMMON:
-    fmt = alloc_string (logs.vcommon);
-    break;
   case COMBINED:
     fmt = alloc_string (logs.combined);
     break;
   case VCOMBINED:
     fmt = alloc_string (logs.vcombined);
     break;
+  case COMMON:
+    fmt = alloc_string (logs.common);
+    break;
+  case VCOMMON:
+    fmt = alloc_string (logs.vcommon);
+    break;
   case W3C:
     fmt = alloc_string (logs.w3c);
     break;
@@ -434,6 +439,9 @@
   case CADDY:
     fmt = alloc_string (logs.caddy);
     break;
+  case AWSALB:
+    fmt = alloc_string (logs.awsalb);
+    break;
   }
 
   return fmt;
@@ -456,6 +464,7 @@
     fmt = alloc_string (dates.apache);
     break;
   case AWSELB:
+  case AWSALB:
   case CLOUDFRONT:
   case W3C:
     fmt = alloc_string (dates.w3c);
@@ -482,6 +491,7 @@
   char *fmt = NULL;
   switch (idx) {
   case AWSELB:
+  case AWSALB:
   case CLOUDFRONT:
   case COMBINED:
   case COMMON:
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/goaccess-1.5.3/src/settings.h 
new/goaccess-1.5.4/src/settings.h
--- old/goaccess-1.5.3/src/settings.h   2021-11-19 00:05:35.000000000 +0100
+++ new/goaccess-1.5.4/src/settings.h   2021-12-21 17:49:32.000000000 +0100
@@ -50,12 +50,13 @@
   COMMON,
   VCOMMON,
   W3C,
-  SQUID,
   CLOUDFRONT,
   CLOUDSTORAGE,
   AWSELB,
+  SQUID,
   AWSS3,
   CADDY,
+  AWSALB,
 } GLogType;
 
 /* predefined log times */
@@ -86,6 +87,7 @@
   const char *squid;
   const char *awss3;
   const char *caddy;
+  const char *awsalb;
 } GPreConfLog;
 
 /* *INDENT-OFF* */
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/goaccess-1.5.3/src/ui.c new/goaccess-1.5.4/src/ui.c
--- old/goaccess-1.5.3/src/ui.c 2021-11-24 15:23:23.000000000 +0100
+++ new/goaccess-1.5.4/src/ui.c 2021-12-25 18:14:45.000000000 +0100
@@ -871,7 +871,7 @@
   GAgents *agents = NULL;
   GSLList *keys = NULL, *list = NULL;
   void *data = NULL;
-  uint32_t items = 4, key = djb2 ((unsigned char *) addr);
+  uint32_t items = 4, key = djb2 ((const unsigned char *) addr);
 
   keys = ht_get_keymap_list_from_key (HOSTS, key);
   if (!keys)
@@ -1297,12 +1297,13 @@
     "Common Log Format (CLF)",
     "Common Log Format (CLF) with Virtual Host",
     "W3C",
-    "Squid Native Format",
     "CloudFront (Download Distribution)",
     "Google Cloud Storage",
     "AWS Elastic Load Balancing (HTTP/S)",
+    "Squid Native Format",
     "AWS Simple Storage Service (S3)",
     "CADDY JSON Structured",
+    "AWS Application Load Balancer",
   };
   n = ARRAY_SIZE (choices);
   getmaxyx (stdscr, y, x);
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/goaccess-1.5.3/src/util.c 
new/goaccess-1.5.4/src/util.c
--- old/goaccess-1.5.3/src/util.c       2021-11-19 00:05:35.000000000 +0100
+++ new/goaccess-1.5.4/src/util.c       2021-12-21 04:14:26.000000000 +0100
@@ -217,7 +217,7 @@
 #endif
 #endif
   uint32_t
-djb2 (unsigned char *str) {
+djb2 (const unsigned char *str) {
   uint32_t hash = 5381;
   int c;
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/goaccess-1.5.3/src/util.h 
new/goaccess-1.5.4/src/util.h
--- old/goaccess-1.5.3/src/util.h       2021-11-19 00:05:35.000000000 +0100
+++ new/goaccess-1.5.4/src/util.h       2021-12-21 04:14:26.000000000 +0100
@@ -99,7 +99,7 @@
 int valid_output_type (const char *filename);
 off_t file_size (const char *filename);
 size_t append_str (char **dest, const char *src);
-uint32_t djb2(unsigned char *str);
+uint32_t djb2(const unsigned char *str);
 uint32_t ip_to_binary (const char *ip);
 void genstr(char *dest, size_t len);
 void strip_newlines (char *str);
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/goaccess-1.5.3/src/websocket.c 
new/goaccess-1.5.4/src/websocket.c
--- old/goaccess-1.5.3/src/websocket.c  2021-11-19 00:05:35.000000000 +0100
+++ new/goaccess-1.5.4/src/websocket.c  2021-12-21 17:49:32.000000000 +0100
@@ -689,7 +689,11 @@
   OpenSSL_add_ssl_algorithms ();
 
   /* ssl context */
+#if OPENSSL_VERSION_NUMBER < 0x10100000L
   if (!(ctx = SSL_CTX_new (SSLv23_server_method ())))
+#else
+  if (!(ctx = SSL_CTX_new (TLS_server_method ())))
+#endif
     goto out;
   /* set certificate */
   if (!SSL_CTX_use_certificate_file (ctx, wsconfig.sslcert, SSL_FILETYPE_PEM))
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/goaccess-1.5.3/src/websocket.h 
new/goaccess-1.5.4/src/websocket.h
--- old/goaccess-1.5.3/src/websocket.h  2021-11-19 00:05:35.000000000 +0100
+++ new/goaccess-1.5.4/src/websocket.h  2021-12-21 04:14:26.000000000 +0100
@@ -27,6 +27,10 @@
  * SOFTWARE.
  */
 
+#if HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #ifndef WEBSOCKET_H_INCLUDED
 #define WEBSOCKET_H_INCLUDED
 

Reply via email to