Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package goaccess for openSUSE:Factory checked in at 2023-11-02 20:22:18 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/goaccess (Old) and /work/SRC/openSUSE:Factory/.goaccess.new.17445 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "goaccess" Thu Nov 2 20:22:18 2023 rev:31 rq:1122197 version:1.8.1 Changes: -------- --- /work/SRC/openSUSE:Factory/goaccess/goaccess.changes 2023-10-02 20:05:09.191970833 +0200 +++ /work/SRC/openSUSE:Factory/.goaccess.new.17445/goaccess.changes 2023-11-02 20:22:31.518165727 +0100 @@ -1,0 +2,12 @@ +Thu Nov 2 08:29:30 UTC 2023 - Michael Vetter <[email protected]> + +- Update to 1.8.1: + * Added latest Android and macOS versions to the list of OSs. + * Fixed issue when trying to apply a regex on an invalid value + (HTML report). + * Fixed issue with D3.js xScale.domain() going out of boundaries + in certain cases. + * Prevent setting default static files when no static-file + options are defined in config file. + +------------------------------------------------------------------- Old: ---- goaccess-1.8.tar.gz New: ---- goaccess-1.8.1.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ goaccess.spec ++++++ --- /var/tmp/diff_new_pack.u1h7iL/_old 2023-11-02 20:22:32.202190896 +0100 +++ /var/tmp/diff_new_pack.u1h7iL/_new 2023-11-02 20:22:32.206191043 +0100 @@ -20,7 +20,7 @@ %global goaccess_services [email protected] [email protected] Name: goaccess -Version: 1.8 +Version: 1.8.1 Release: 0 Summary: Apache Web Log Analyzer License: GPL-2.0-or-later ++++++ goaccess-1.8.tar.gz -> goaccess-1.8.1.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/goaccess-1.8/AUTHORS new/goaccess-1.8.1/AUTHORS --- old/goaccess-1.8/AUTHORS 2023-09-30 22:45:16.000000000 +0200 +++ new/goaccess-1.8.1/AUTHORS 2023-11-01 00:14:16.000000000 +0100 @@ -131,6 +131,7 @@ * throwaway1037 <[email protected]> * Tim Gates <[email protected]> * Tom Samstag <[email protected]> + * ugola <[email protected]> * Ulrich Schwarz <[email protected]> * Viktor Szépe <[email protected]> * Viktor Szépe <[email protected]> diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/goaccess-1.8/ChangeLog new/goaccess-1.8.1/ChangeLog --- old/goaccess-1.8/ChangeLog 2023-09-30 23:18:10.000000000 +0200 +++ new/goaccess-1.8.1/ChangeLog 2023-11-01 01:01:25.000000000 +0100 @@ -1,3 +1,12 @@ +Changes to GoAccess 1.8.1 - Tuesday, October 31, 2023 + + - Added latest Android and macOS versions to the list of OSs. + - Fixed issue when trying to apply a regex on an invalid value (HTML report). + - Fixed issue with D3.js xScale.domain() going out of boundaries in certain + cases. + - Prevent setting default static files when no static-file options are + defined in config file. + Changes to GoAccess 1.8 - Saturday, September 30, 2023 - Added dual-stack support to the WebSocket server. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/goaccess-1.8/NEWS new/goaccess-1.8.1/NEWS --- old/goaccess-1.8/NEWS 2023-09-30 22:22:39.000000000 +0200 +++ new/goaccess-1.8.1/NEWS 2023-11-01 00:20:27.000000000 +0100 @@ -2,6 +2,8 @@ Gerardo Orellana <[email protected]> * Version history: + - 1.8.1 [Tuesday, October 31, 2023] + . GoAccess 1.8.1 Released. See ChangeLog for new features/bug-fixes. - 1.8 [Saturday, September 30, 2023] . GoAccess 1.8 Released. See ChangeLog for new features/bug-fixes. - 1.7.2 [Friday, March 31, 2023] diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/goaccess-1.8/configure new/goaccess-1.8.1/configure --- old/goaccess-1.8/configure 2023-09-30 22:16:40.000000000 +0200 +++ new/goaccess-1.8.1/configure 2023-11-01 00:30:17.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.8. +# Generated by GNU Autoconf 2.69 for goaccess 1.8.1. # # Report bugs to <[email protected]>. # @@ -580,8 +580,8 @@ # Identity of this package. PACKAGE_NAME='goaccess' PACKAGE_TARNAME='goaccess' -PACKAGE_VERSION='1.8' -PACKAGE_STRING='goaccess 1.8' +PACKAGE_VERSION='1.8.1' +PACKAGE_STRING='goaccess 1.8.1' 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.8 to adapt to many kinds of systems. +\`configure' configures goaccess 1.8.1 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.8:";; + short | recursive ) echo "Configuration of goaccess 1.8.1:";; 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.8 +goaccess configure 1.8.1 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.8, which was +It was created by goaccess $as_me 1.8.1, 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.8' + VERSION='1.8.1' cat >>confdefs.h <<_ACEOF @@ -9669,7 +9669,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.8, which was +This file was extended by goaccess $as_me 1.8.1, which was generated by GNU Autoconf 2.69. Invocation command line was CONFIG_FILES = $CONFIG_FILES @@ -9736,7 +9736,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.8 +goaccess config.status 1.8.1 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.8/configure.ac new/goaccess-1.8.1/configure.ac --- old/goaccess-1.8/configure.ac 2023-09-30 22:16:09.000000000 +0200 +++ new/goaccess-1.8.1/configure.ac 2023-11-01 00:20:51.000000000 +0100 @@ -2,7 +2,7 @@ # Process this file with autoconf to produce a configure script. AC_PREREQ([2.69]) -AC_INIT([goaccess],[1.8],[[email protected]],[],[https://goaccess.io]) +AC_INIT([goaccess],[1.8.1],[[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.8/po/de.po new/goaccess-1.8.1/po/de.po --- old/goaccess-1.8/po/de.po 2023-09-30 22:17:13.000000000 +0200 +++ new/goaccess-1.8.1/po/de.po 2023-11-01 00:31:29.000000000 +0100 @@ -2,7 +2,7 @@ msgstr "" "Project-Id-Version: \n" "Report-Msgid-Bugs-To: [email protected]\n" -"POT-Creation-Date: 2023-09-30 15:17-0500\n" +"POT-Creation-Date: 2023-10-31 18:31-0500\n" "PO-Revision-Date: 2019-05-05 16:03+0200\n" "Last-Translator: Axel Wehner <[email protected]>\n" "Language: de\n" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/goaccess-1.8/po/es.po new/goaccess-1.8.1/po/es.po --- old/goaccess-1.8/po/es.po 2023-09-30 22:17:13.000000000 +0200 +++ new/goaccess-1.8.1/po/es.po 2023-11-01 00:31:29.000000000 +0100 @@ -2,7 +2,7 @@ msgstr "" "Project-Id-Version: Goaccess\n" "Report-Msgid-Bugs-To: [email protected]\n" -"POT-Creation-Date: 2023-09-30 15:17-0500\n" +"POT-Creation-Date: 2023-10-31 18:31-0500\n" "PO-Revision-Date: 2017-08-04 13:00-0300\n" "Last-Translator: Enrique Becerra <[email protected]>\n" "Language-Team: \n" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/goaccess-1.8/po/fr.po new/goaccess-1.8.1/po/fr.po --- old/goaccess-1.8/po/fr.po 2023-09-30 22:17:13.000000000 +0200 +++ new/goaccess-1.8.1/po/fr.po 2023-11-01 00:31:29.000000000 +0100 @@ -2,7 +2,7 @@ msgstr "" "Project-Id-Version: goaccess 1.4\n" "Report-Msgid-Bugs-To: [email protected]\n" -"POT-Creation-Date: 2023-09-30 15:17-0500\n" +"POT-Creation-Date: 2023-10-31 18:31-0500\n" "PO-Revision-Date: 2020-07-10 11:44+0200\n" "Last-Translator: Coban L. <[email protected]>\n" "Language-Team: français\n" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/goaccess-1.8/po/goaccess.pot new/goaccess-1.8.1/po/goaccess.pot --- old/goaccess-1.8/po/goaccess.pot 2023-09-30 22:17:13.000000000 +0200 +++ new/goaccess-1.8.1/po/goaccess.pot 2023-11-01 00:31:29.000000000 +0100 @@ -6,9 +6,9 @@ #, fuzzy msgid "" msgstr "" -"Project-Id-Version: goaccess 1.8\n" +"Project-Id-Version: goaccess 1.8.1\n" "Report-Msgid-Bugs-To: [email protected]\n" -"POT-Creation-Date: 2023-09-30 15:17-0500\n" +"POT-Creation-Date: 2023-10-31 18:31-0500\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Language-Team: LANGUAGE <[email protected]>\n" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/goaccess-1.8/po/it.po new/goaccess-1.8.1/po/it.po --- old/goaccess-1.8/po/it.po 2023-09-30 22:17:14.000000000 +0200 +++ new/goaccess-1.8.1/po/it.po 2023-11-01 00:31:30.000000000 +0100 @@ -2,7 +2,7 @@ msgstr "" "Project-Id-Version: Goaccess\n" "Report-Msgid-Bugs-To: [email protected]\n" -"POT-Creation-Date: 2023-09-30 15:17-0500\n" +"POT-Creation-Date: 2023-10-31 18:31-0500\n" "PO-Revision-Date: 2017-08-04 13:00-0300\n" "Last-Translator: Mario Donnarumma <[email protected]>\n" "Language-Team: \n" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/goaccess-1.8/po/ja.po new/goaccess-1.8.1/po/ja.po --- old/goaccess-1.8/po/ja.po 2023-09-30 22:17:13.000000000 +0200 +++ new/goaccess-1.8.1/po/ja.po 2023-11-01 00:31:29.000000000 +0100 @@ -4,7 +4,7 @@ msgstr "" "Project-Id-Version: goaccess 1.3\n" "Report-Msgid-Bugs-To: [email protected]\n" -"POT-Creation-Date: 2023-09-30 15:17-0500\n" +"POT-Creation-Date: 2023-10-31 18:31-0500\n" "PO-Revision-Date: 2023-07-15 17:20+0900\n" "Last-Translator: gemmaro <[email protected]>\n" "Language-Team: Japanese\n" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/goaccess-1.8/po/ko.po new/goaccess-1.8.1/po/ko.po --- old/goaccess-1.8/po/ko.po 2023-09-30 22:17:13.000000000 +0200 +++ new/goaccess-1.8.1/po/ko.po 2023-11-01 00:31:29.000000000 +0100 @@ -2,7 +2,7 @@ msgstr "" "Project-Id-Version: goaccess 1.6.3\n" "Report-Msgid-Bugs-To: [email protected]\n" -"POT-Creation-Date: 2023-09-30 15:17-0500\n" +"POT-Creation-Date: 2023-10-31 18:31-0500\n" "PO-Revision-Date: 2022-09-06 21:27+0900\n" "Last-Translator: David 창모 Yang <[email protected]>\n" "Language-Team: Korean <[email protected]>\n" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/goaccess-1.8/po/pt_BR.po new/goaccess-1.8.1/po/pt_BR.po --- old/goaccess-1.8/po/pt_BR.po 2023-09-30 22:17:13.000000000 +0200 +++ new/goaccess-1.8.1/po/pt_BR.po 2023-11-01 00:31:30.000000000 +0100 @@ -2,7 +2,7 @@ msgstr "" "Project-Id-Version: Goaccess\n" "Report-Msgid-Bugs-To: [email protected]\n" -"POT-Creation-Date: 2023-09-30 15:17-0500\n" +"POT-Creation-Date: 2023-10-31 18:31-0500\n" "PO-Revision-Date: 2019-04-25 20:34-0300\n" "Last-Translator: Alan Placidina Maria <[email protected]>\n" "Language-Team: \n" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/goaccess-1.8/po/ru.po new/goaccess-1.8.1/po/ru.po --- old/goaccess-1.8/po/ru.po 2023-09-30 22:17:14.000000000 +0200 +++ new/goaccess-1.8.1/po/ru.po 2023-11-01 00:31:30.000000000 +0100 @@ -2,7 +2,7 @@ msgstr "" "Project-Id-Version: goaccess 1.5.6\n" "Report-Msgid-Bugs-To: [email protected]\n" -"POT-Creation-Date: 2023-09-30 15:17-0500\n" +"POT-Creation-Date: 2023-10-31 18:31-0500\n" "PO-Revision-Date: 2022-04-21 10:17+0300\n" "Last-Translator: Artyom Karlov <[email protected]>\n" "Language-Team: \n" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/goaccess-1.8/po/sv.po new/goaccess-1.8.1/po/sv.po --- old/goaccess-1.8/po/sv.po 2023-09-30 22:17:13.000000000 +0200 +++ new/goaccess-1.8.1/po/sv.po 2023-11-01 00:31:29.000000000 +0100 @@ -2,7 +2,7 @@ msgstr "" "Project-Id-Version: goaccess 1.6\n" "Report-Msgid-Bugs-To: [email protected]\n" -"POT-Creation-Date: 2023-09-30 15:17-0500\n" +"POT-Creation-Date: 2023-10-31 18:31-0500\n" "PO-Revision-Date: 2018-12-13 22:48-0600\n" "Last-Translator: Anders Johansson <[email protected]>\n" "Language-Team: none\n" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/goaccess-1.8/po/uk.po new/goaccess-1.8.1/po/uk.po --- old/goaccess-1.8/po/uk.po 2023-09-30 22:17:14.000000000 +0200 +++ new/goaccess-1.8.1/po/uk.po 2023-11-01 00:31:30.000000000 +0100 @@ -2,7 +2,7 @@ msgstr "" "Project-Id-Version: goaccess 1.5.6\n" "Report-Msgid-Bugs-To: [email protected]\n" -"POT-Creation-Date: 2023-09-30 15:17-0500\n" +"POT-Creation-Date: 2023-10-31 18:31-0500\n" "PO-Revision-Date: 2022-04-21 10:17+0300\n" "Last-Translator: Artyom Karlov <[email protected]>\n" "Language-Team: \n" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/goaccess-1.8/po/zh_CN.po new/goaccess-1.8.1/po/zh_CN.po --- old/goaccess-1.8/po/zh_CN.po 2023-09-30 22:17:13.000000000 +0200 +++ new/goaccess-1.8.1/po/zh_CN.po 2023-11-01 00:31:30.000000000 +0100 @@ -2,7 +2,7 @@ msgstr "" "Project-Id-Version: goaccess 1.5.6\n" "Report-Msgid-Bugs-To: [email protected]\n" -"POT-Creation-Date: 2023-09-30 15:17-0500\n" +"POT-Creation-Date: 2023-10-31 18:31-0500\n" "PO-Revision-Date: 2017-04-03 09:43+0200\n" "Last-Translator: Ai<[email protected]>\n" "Language-Team: Ai\n" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/goaccess-1.8/resources/js/app.js new/goaccess-1.8.1/resources/js/app.js --- old/goaccess-1.8/resources/js/app.js 2023-09-30 21:56:31.000000000 +0200 +++ new/goaccess-1.8.1/resources/js/app.js 2023-11-01 00:12:21.000000000 +0100 @@ -259,6 +259,7 @@ if (hlregex) { let o = JSON.parse(hlregex), tmp = ''; for (var x in o) { + if (!val) continue; tmp = val.replace(new RegExp(x, 'gi'), o[x]); if (tmp != val) { val = tmp; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/goaccess-1.8/resources/js/charts.js new/goaccess-1.8.1/resources/js/charts.js --- old/goaccess-1.8/resources/js/charts.js 2023-09-30 21:56:31.000000000 +0200 +++ new/goaccess-1.8.1/resources/js/charts.js 2023-11-01 00:12:21.000000000 +0100 @@ -134,11 +134,15 @@ } function getXTicks(data) { + const domain = xScale.domain(); if (data.length < nTicks) - return xScale.domain(); + return domain; - return d3.range(0, data.length, Math.ceil(data.length / nTicks)).map(function (d) { - return xScale.domain()[d]; + return d3.range(0, nTicks).map(function(i) { + const index = Math.floor(i * (domain.length - 1) / (nTicks - 1)); + if (index >= 0 && index < domain.length) + return domain[index]; + return null; }); } @@ -702,11 +706,15 @@ } function getXTicks(data) { + const domain = xScale.domain(); if (data.length < nTicks) - return xScale.domain(); + return domain; - return d3.range(0, data.length, Math.ceil(data.length / nTicks)).map(function (d) { - return xScale.domain()[d]; + return d3.range(0, nTicks).map(function(i) { + const index = Math.floor(i * (domain.length - 1) / (nTicks - 1)); + if (index >= 0 && index < domain.length) + return domain[index]; + return null; }); } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/goaccess-1.8/src/commons.h new/goaccess-1.8.1/src/commons.h --- old/goaccess-1.8/src/commons.h 2023-09-30 22:14:53.000000000 +0200 +++ new/goaccess-1.8.1/src/commons.h 2023-11-01 00:21:25.000000000 +0100 @@ -43,7 +43,7 @@ #define __attribute__(x) /**/ #endif #define GO_UNUSED __attribute__((unused)) -#define GO_VERSION "1.8" +#define GO_VERSION "1.8.1" #define GO_WEBSITE "https://goaccess.io/" extern struct tm now_tm; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/goaccess-1.8/src/opesys.c new/goaccess-1.8.1/src/opesys.c --- old/goaccess-1.8/src/opesys.c 2023-09-30 01:56:47.000000000 +0200 +++ new/goaccess-1.8.1/src/opesys.c 2023-11-01 00:57:36.000000000 +0100 @@ -130,7 +130,11 @@ * returned. */ static char * get_real_android (const char *droid) { - if (strstr (droid, "12")) + if (strstr (droid, "14")) + return alloc_string ("Android 14"); + else if (strstr (droid, "13")) + return alloc_string ("Android 13"); + else if (strstr (droid, "12")) return alloc_string ("Android 12"); else if (strstr (droid, "11")) return alloc_string ("Android 11"); @@ -216,8 +220,10 @@ * returned. */ static char * get_real_mac_osx (const char *osx) { - if (strstr (osx, "13.0")) - return alloc_string ("macOS 12 Ventura"); + if (strstr (osx, "14.0")) + return alloc_string ("macOS 14 Sonoma"); + else if (strstr (osx, "13.0")) + return alloc_string ("macOS 13 Ventura"); else if (strstr (osx, "12.0")) return alloc_string ("macOS 12 Monterey"); else if (strstr (osx, "11.0")) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/goaccess-1.8/src/settings.c new/goaccess-1.8.1/src/settings.c --- old/goaccess-1.8/src/settings.c 2023-09-29 18:28:39.000000000 +0200 +++ new/goaccess-1.8.1/src/settings.c 2023-11-01 00:12:21.000000000 +0100 @@ -212,6 +212,11 @@ if (conf.static_file_idx > 0) return; + /* If a configuration file is used and, if no static-file extensions are provided, do not set the default static-file extensions. */ + if (conf.iconfigfile != NULL && conf.static_file_idx == 0) { + return; + } + for (i = 0; i < ARRAY_SIZE (exts); i++) { if (conf.static_file_max_len < strlen (exts[i])) conf.static_file_max_len = strlen (exts[i]);
