From patchwork Mon Jan 29 16:25:55 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Matthias Fischer X-Patchwork-Id: 7512 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) client-signature ECDSA (secp384r1)) (Client CN "mail01.haj.ipfire.org", Issuer "R3" (verified OK)) by web04.haj.ipfire.org (Postfix) with ESMTPS id 4TNtvx5n0bz3xN2 for ; Mon, 29 Jan 2024 16:26:05 +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) client-signature ECDSA (secp384r1)) (Client CN "mail02.haj.ipfire.org", Issuer "R3" (verified OK)) by mail01.ipfire.org (Postfix) with ESMTPS id 4TNtvx09Xpzj5; Mon, 29 Jan 2024 16:26:05 +0000 (UTC) Received: from mail02.haj.ipfire.org (localhost [127.0.0.1]) by mail02.haj.ipfire.org (Postfix) with ESMTP id 4TNtvw6j5mz32h0; Mon, 29 Jan 2024 16:26:04 +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 (secp384r1) client-signature ECDSA (secp384r1)) (Client CN "mail01.haj.ipfire.org", Issuer "R3" (verified OK)) by mail02.haj.ipfire.org (Postfix) with ESMTPS id 4TNtvv3N03z32gr for ; Mon, 29 Jan 2024 16:26:03 +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 4TNtvt6Tgjz8X for ; Mon, 29 Jan 2024 16:26:02 +0000 (UTC) DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003ed25519; t=1706545562; 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=jK5NC/fbi2JfYMbdvnm3wyjwpCk37GheVFyyz1+h5Ww=; b=QijQ5BIlNoM6Vj5qXylUedaHIFWBSPWRSgLUqmcPzNAxd4AyKXs1xUB2l3uuBpqcBrSKBA difmyDQiStrA4FAA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003rsa; t=1706545562; 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=jK5NC/fbi2JfYMbdvnm3wyjwpCk37GheVFyyz1+h5Ww=; b=Ep6ShUBOXXevSR66smXBG4GoxaQYMXB7KXnc+Lc0uo+CM7ZmijCkS8zcMGY/r2wwF3Jhfb lyOWrrF4s3/O2n06l7g2NKmadNuGuyGqLaeE3O9lrgSNM4hfsmYzh2MlfC/QCvxkLB6n2l Hl5HzyYgYe8n6BAE/Ik4AiYCNZOBHnFDasVBtPAVw6QMYmAsvrgIcNiwaoFFzjnnqf2+am Vb2ukmbrIUbPV2Im0INKK5RqY1b2TfaxAHz7WYjYsOSxpeJCI+jxiIasKJqHD7wieWU8C3 5+oXIEvxBROoFbaRk3v2S9eLZcC9tROLg2BY2rY6kw1YeLvieshz/EGN5RcmOQ== From: Matthias Fischer To: development@lists.ipfire.org Subject: [PATCH] vnstat: Update to 2.12 Date: Mon, 29 Jan 2024 17:25:55 +0100 Message-Id: <20240129162555.3258856-1-matthias.fischer@ipfire.org> MIME-Version: 1.0 Message-ID-Hash: T6VNA7P34MY7AB6IES5NUE7EE4W4HLP7 X-Message-ID-Hash: T6VNA7P34MY7AB6IES5NUE7EE4W4HLP7 X-MailFrom: matthias.fischer@ipfire.org X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header X-Mailman-Version: 3.3.8 Precedence: list List-Id: IPFire development talk Archived-At: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: For details see: https://humdi.net/vnstat/CHANGES "2.12 / 21-Jan-2024 - Fixed - QueryMode documentation in configuration file didn't match implementation or man page description - Daemon didn't try to import legacy databases when --noadd was used and no current version database initially existed resulting in the process exiting even when something could have been done - Daemon didn't try to import legacy databases when --initdb was used and no current version database initially existed, this behaviour can still be enabled by using --noadd in combination with --initdb - Using --nodaemon and --initdb at the same time didn't result in an error being shown - New - Add 95th percentile output as --95th, also available via --alert, --json, --xml and image output, requires 5MinuteHours configuration to be set to at least 744 for storing all the necessary data - Add --json support for --alert - Database queries resulting in error exit with status 1 - Show spinning animation at the beginning of -l / --live output line, visibility configurable using LiveSpinner configuration option - Add -ic / --invert-colors option to image output for facilitating for example dark mode switching without needing to have multiple separate color configurations - Add dark mode option to image output example cgi (examples/vnstat.cgi) - Add option 4 to QueryMode for selecting summary output of single interface regardless of the number of interfaces in the database - Add optional mode parameter to -q / --query for overriding QueryMode for summary output and for enabling control of summary output style regardless of the number of interfaces in the database - Add --startempty option to daemon for starting and keeping the daemon running even if no interfaces were discovered and the database is empty - Add --noremove option to daemon for disabling the automatic removal of interfaces from database that aren't currently visible and haven't seen any traffic - Add third mode option to --iflist and --dbiflist for getting only the interface count as output" Signed-off-by: Matthias Fischer --- lfs/vnstat | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lfs/vnstat b/lfs/vnstat index ca61562c0..c47833a14 100644 --- a/lfs/vnstat +++ b/lfs/vnstat @@ -1,7 +1,7 @@ ############################################################################### # # # IPFire.org - A linux based firewall # -# Copyright (C) 2007-2023 IPFire Team # +# Copyright (C) 2007-2024 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.11 +VER = 2.12 THISAPP = vnstat-$(VER) DL_FILE = $(THISAPP).tar.gz @@ -40,7 +40,7 @@ objects = $(DL_FILE) $(DL_FILE) = $(DL_FROM)/$(DL_FILE) -$(DL_FILE)_BLAKE2 = 6eeed45d628641c9d88cf33ae1fc14871109b1e9fd0ac4a46fe8e2c194bb4600878b69408ed177bcde38ca859d0a3165d0095cab9b0bb6c036f7788fbfcb47e6 +$(DL_FILE)_BLAKE2 = af6982bc6da66ed2cebfe99e1b46a540528886d1c6e7a5174a3083a315804cb42c2395f3a0f5df552e8fd6b7823a01873fc5f9fb2178529c53481a67552dab35 install : $(TARGET)