From patchwork Sun Aug 20 17:15:23 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Matthias Fischer X-Patchwork-Id: 7109 Return-Path: Received: from mail01.ipfire.org (mail01.haj.ipfire.org [172.28.1.202]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1) server-digest SHA384 client-signature ECDSA (secp384r1) client-digest SHA384) (Client CN "mail01.haj.ipfire.org", Issuer "R3" (verified OK)) by web04.haj.ipfire.org (Postfix) with ESMTPS id 4RTMgn0QPWz3wtG for ; Sun, 20 Aug 2023 17:15:33 +0000 (UTC) Received: from mail02.haj.ipfire.org (mail02.haj.ipfire.org [172.28.1.201]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1) server-digest SHA384 client-signature ECDSA (secp384r1) client-digest SHA384) (Client CN "mail02.haj.ipfire.org", Issuer "R3" (verified OK)) by mail01.ipfire.org (Postfix) with ESMTPS id 4RTMgl00WBzX4; Sun, 20 Aug 2023 17:15:30 +0000 (UTC) Received: from mail02.haj.ipfire.org (localhost [127.0.0.1]) by mail02.haj.ipfire.org (Postfix) with ESMTP id 4RTMgk64qMz2xbd; Sun, 20 Aug 2023 17:15:30 +0000 (UTC) Received: from mail01.ipfire.org (mail01.haj.ipfire.org [172.28.1.202]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) server-digest SHA384 client-signature ECDSA (P-384) client-digest SHA384) (Client CN "mail01.haj.ipfire.org", Issuer "R3" (verified OK)) by mail02.haj.ipfire.org (Postfix) with ESMTPS id 4RTMgj0SBpz2xYv for ; Sun, 20 Aug 2023 17:15:29 +0000 (UTC) Received: from [127.0.0.1] (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1) server-digest SHA384) (No client certificate requested) by mail01.ipfire.org (Postfix) with ESMTPSA id 4RTMgh1NLNzLn for ; Sun, 20 Aug 2023 17:15:28 +0000 (UTC) DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003ed25519; t=1692551728; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=GR7Wh1cBr/dCB+oG4p6RoaNIhPvaXJP36ET+YBwedUo=; b=WttOJSp1/+1m8LFtEecTI8rn7Q3IOv3MQkRLDHaY8QeHQVGexDR/QjHEkky60QeeezRon1 UdwQlazE8ALzzGAQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003rsa; t=1692551728; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=GR7Wh1cBr/dCB+oG4p6RoaNIhPvaXJP36ET+YBwedUo=; b=Nl+YfbTL+PVpvzqDRCXOwhYGEZv2s+kfLohs1XMeM8OvpJPgnDQQZwttmp8tPDUt8GxHXN 8ZLd9J68byxEYtNfCTgVA0LAF3D2U58SZdEHej9D/pVJ1DOweIuNUvhH4qf0RQdDP1Tc5m HIpZH4BWmjmw/n+UV0IG3oVhsF959vaoFe1eDH9WH9viPuqoeuhQJiUTEMBmvPkxpi6lSv u3QZBJDNjM9wjST03g/U8DgPqxWO/x4nHWXko8z2Il7ua+WoWyQ/3QuzFtn3kS/djiiBzT x82nxVWryy3tuKNJyp+cWUW4CSX75pJ6u/bd/zMVODfSDgK1teQ4skB1xDUGEw== From: Matthias Fischer To: development@lists.ipfire.org Subject: [PATCH] vnstat: Update to 2.11 Date: Sun, 20 Aug 2023 19:15:23 +0200 Message-Id: <20230820171523.113000-1-matthias.fischer@ipfire.org> MIME-Version: 1.0 X-BeenThere: development@lists.ipfire.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: IPFire development talk List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: development-bounces@lists.ipfire.org Sender: "Development" For details see: https://humdi.net/vnstat/CHANGES "2.11 / 19-Aug-2023 - Fixed - Database queries worked only if SQLite double-quoted string (DQS) feature (https://www.sqlite.org/quirks.html#dblquote) was enabled - Disabling data resolutions in data retention configuration didn't result in possibly existing database entries getting removed from the database - Disabling data resolutions in data retention configuration didn't result in the data resolution getting disabled but instead storing data forever - "expr: syntax error" during configure in BSD (pull request by namtsui) - Image output summary would show only "no data available" text in case of zero total traffic even when the historical data of no traffic could have been shown instead - Image output "-o -" content could get corrupted due to info, warning and error messages also using stdout, configuration file warnings being the most likely source, now uses stderr in image output - Configuration validation was too heavily limiting and enforcing image output 5 minute graph related configuration options for combinations that would have resulted in usable images - New - Database cleanup has been changed to interpret data retention configuration as number of entries to be kept instead of calendar time, this restores the behaviour to similar as it was up to version 1.18, the difference is visible only on systems that aren't powered all the time - Database is vacuumed during daemon startup and reload, behaviour is configurable using VacuumOnStartup and VacuumOnHUPSignal configuration options - Add configuration option InterfaceOrder for controlling the interface order in outputs with multiple interfaces - Used data retention configuration is made visible during daemon startup and after configuration reloads - Daemon will no longer start if all data resolutions have been disabled in the configuration file - SQLite version is visible in --version outputs - Notes - "Not enough data available yet." message has been replaced with "No data. Timestamp of last update is same YYYY-MM-DD HH:MM:SS as of database creation." to better explain the reason why there's nothing to show, this message is expected to disappear within configured SaveInterval if the interface is active" Signed-off-by: Matthias Fischer Reviewed-by: Adolf Belka --- lfs/vnstat | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lfs/vnstat b/lfs/vnstat index c854ea090..ca61562c0 100644 --- a/lfs/vnstat +++ b/lfs/vnstat @@ -1,7 +1,7 @@ ############################################################################### # # # IPFire.org - A linux based firewall # -# Copyright (C) 2007-2022 IPFire Team # +# Copyright (C) 2007-2023 IPFire Team # # # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # @@ -24,7 +24,7 @@ include Config -VER = 2.10 +VER = 2.11 THISAPP = vnstat-$(VER) DL_FILE = $(THISAPP).tar.gz @@ -40,7 +40,7 @@ objects = $(DL_FILE) $(DL_FILE) = $(DL_FROM)/$(DL_FILE) -$(DL_FILE)_BLAKE2 = 82fcb54cf00a8122f31dc27f41f830ef68b92452bf7ae22bf2f1be13a1526bd12e8365002edef7766156f2df15472b189b3f219074532cb00a81156775b08997 +$(DL_FILE)_BLAKE2 = 6eeed45d628641c9d88cf33ae1fc14871109b1e9fd0ac4a46fe8e2c194bb4600878b69408ed177bcde38ca859d0a3165d0095cab9b0bb6c036f7788fbfcb47e6 install : $(TARGET)