commit vnstat for openSUSE:Factory

2020-10-02 Thread root
Hello community,

here is the log from the commit of package vnstat for openSUSE:Factory checked 
in at 2020-10-02 17:42:02

Comparing /work/SRC/openSUSE:Factory/vnstat (Old)
 and  /work/SRC/openSUSE:Factory/.vnstat.new.4249 (New)


Package is "vnstat"

Fri Oct  2 17:42:02 2020 rev:14 rq:839017 version:2.6

Changes:

--- /work/SRC/openSUSE:Factory/vnstat/vnstat.changes2020-02-04 
19:55:04.613381918 +0100
+++ /work/SRC/openSUSE:Factory/.vnstat.new.4249/vnstat.changes  2020-10-02 
17:42:28.194923479 +0200
@@ -1,0 +2,6 @@
+Thu Oct  1 15:33:08 UTC 2020 - Peter Varkoly 
+
+- Adapt mod_authz_host parameter instead of deprecated mod_access_compat
+  parametere. 
+
+---



Other differences:
--

++ vnstat-cgi.conf ++
--- /var/tmp/diff_new_pack.hG3d2C/_old  2020-10-02 17:42:28.734923801 +0200
+++ /var/tmp/diff_new_pack.hG3d2C/_new  2020-10-02 17:42:28.734923801 +0200
@@ -5,6 +5,5 @@
 AllowOverride None
 AddHandler cgi-script .cgi
 DirectoryIndex vnstat.cgi
-Order allow,deny
-Allow from all
+Require all granted
 





commit vnstat for openSUSE:Factory

2020-02-04 Thread root
Hello community,

here is the log from the commit of package vnstat for openSUSE:Factory checked 
in at 2020-02-04 19:55:03

Comparing /work/SRC/openSUSE:Factory/vnstat (Old)
 and  /work/SRC/openSUSE:Factory/.vnstat.new.26092 (New)


Package is "vnstat"

Tue Feb  4 19:55:03 2020 rev:13 rq:769778 version:2.6

Changes:

--- /work/SRC/openSUSE:Factory/vnstat/vnstat.changes2020-01-25 
13:25:50.448080746 +0100
+++ /work/SRC/openSUSE:Factory/.vnstat.new.26092/vnstat.changes 2020-02-04 
19:55:04.613381918 +0100
@@ -1,0 +2,6 @@
+Mon Feb  3 16:56:10 UTC 2020 - Dominique Leuenberger 
+
+- BuildRequire pkgconfig(systemd) instead of systemd: allow OBS to
+  shortcut through the -mini flavors.
+
+---



Other differences:
--
++ vnstat.spec ++
--- /var/tmp/diff_new_pack.DAnzxc/_old  2020-02-04 19:55:06.253382874 +0100
+++ /var/tmp/diff_new_pack.DAnzxc/_new  2020-02-04 19:55:06.277382888 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package vnstat
 #
-# Copyright (c) 2020 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2020 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -27,7 +27,7 @@
 Summary:Network Traffic Monitor
 License:GPL-2.0-only
 Group:  Productivity/Networking/Diagnostic
-Url:http://humdi.net/vnstat
+URL:http://humdi.net/vnstat
 Source: http://humdi.net/vnstat/vnstat-%{version}.tar.gz
 Source98:   
http://humdi.net/vnstat/vnstat-%{version}.tar.gz.asc#/%{name}-%{version}.tar.gz.sig
 Source99:   %{name}.keyring
@@ -47,8 +47,8 @@
 Requires:   /bin/su
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 %if %{with systemd}
-BuildRequires:  systemd
-%{?systemd_requires}
+BuildRequires:  pkgconfig(systemd)
+%{?systemd_ordering}
 %else
 Requires(pre):  %fillup_prereq
 Requires(pre):  %insserv_prereq






commit vnstat for openSUSE:Factory

2020-01-25 Thread root
Hello community,

here is the log from the commit of package vnstat for openSUSE:Factory checked 
in at 2020-01-25 13:25:46

Comparing /work/SRC/openSUSE:Factory/vnstat (Old)
 and  /work/SRC/openSUSE:Factory/.vnstat.new.26092 (New)


Package is "vnstat"

Sat Jan 25 13:25:46 2020 rev:12 rq:767030 version:2.6

Changes:

--- /work/SRC/openSUSE:Factory/vnstat/vnstat.changes2020-01-15 
16:53:17.577429114 +0100
+++ /work/SRC/openSUSE:Factory/.vnstat.new.26092/vnstat.changes 2020-01-25 
13:25:50.448080746 +0100
@@ -1,0 +2,18 @@
+Mon Jan 20 19:23:52 UTC 2020 - Martin Hauke 
+
+- Update to version 2.6
+  Fixed
+  * --json and --xml didn't support having both mode and limit
+parameters defined at the same time as documented, broken since
+previous release
+  * Documentation was using a mix of "count" and "limit" for the
+option of limiting the maximum number of shown entries in
+queries
+  * Summary image output would segmentation fault when the database
+existed but didn't yet contain any daily or monthly data for
+the selected interface
+  New
+  * Add --limit as an alternative way for controlling the length
+of outputs
+
+---

Old:

  vnstat-2.5.tar.gz
  vnstat-2.5.tar.gz.sig

New:

  vnstat-2.6.tar.gz
  vnstat-2.6.tar.gz.sig



Other differences:
--
++ vnstat.spec ++
--- /var/tmp/diff_new_pack.TYuBH7/_old  2020-01-25 13:25:52.100081470 +0100
+++ /var/tmp/diff_new_pack.TYuBH7/_new  2020-01-25 13:25:52.104081472 +0100
@@ -22,7 +22,7 @@
 %bcond_with systemd
 %endif
 Name:   vnstat
-Version:2.5
+Version:2.6
 Release:0
 Summary:Network Traffic Monitor
 License:GPL-2.0-only

++ vnstat-2.5.tar.gz -> vnstat-2.6.tar.gz ++
 1955 lines of diff (skipped)





commit vnstat for openSUSE:Factory

2020-01-15 Thread root
Hello community,

here is the log from the commit of package vnstat for openSUSE:Factory checked 
in at 2020-01-15 16:15:10

Comparing /work/SRC/openSUSE:Factory/vnstat (Old)
 and  /work/SRC/openSUSE:Factory/.vnstat.new.30080 (New)


Package is "vnstat"

Wed Jan 15 16:15:10 2020 rev:11 rq:764455 version:2.5

Changes:

--- /work/SRC/openSUSE:Factory/vnstat/vnstat.changes2019-08-27 
12:01:44.119648132 +0200
+++ /work/SRC/openSUSE:Factory/.vnstat.new.30080/vnstat.changes 2020-01-15 
16:53:17.577429114 +0100
@@ -1,0 +2,12 @@
+Tue Jan 14 19:23:32 UTC 2020 - Martin Hauke 
+
+- Update to version 2.5
+  Fixed
+  * Automatic interface selection wasn't done for --traffic and
+--live when the Interface configuration setting was left empty
+  * --setalias didn't do anything when used in combination
+with --add
+  * -l / --live and -tr default to first interface instead of
+producing an error if a interface merge is requested
+
+---

Old:

  vnstat-2.4.tar.gz
  vnstat-2.4.tar.gz.sig

New:

  vnstat-2.5.tar.gz
  vnstat-2.5.tar.gz.sig



Other differences:
--
++ vnstat.spec ++
--- /var/tmp/diff_new_pack.CzEPd6/_old  2020-01-15 16:53:18.461429529 +0100
+++ /var/tmp/diff_new_pack.CzEPd6/_new  2020-01-15 16:53:18.461429529 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package vnstat
 #
-# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2020 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -22,7 +22,7 @@
 %bcond_with systemd
 %endif
 Name:   vnstat
-Version:2.4
+Version:2.5
 Release:0
 Summary:Network Traffic Monitor
 License:GPL-2.0-only

++ vnstat-2.4.tar.gz -> vnstat-2.5.tar.gz ++
 4983 lines of diff (skipped)





commit vnstat for openSUSE:Factory

2019-08-27 Thread root
Hello community,

here is the log from the commit of package vnstat for openSUSE:Factory checked 
in at 2019-08-27 12:01:39

Comparing /work/SRC/openSUSE:Factory/vnstat (Old)
 and  /work/SRC/openSUSE:Factory/.vnstat.new.7948 (New)


Package is "vnstat"

Tue Aug 27 12:01:39 2019 rev:10 rq:726429 version:2.4

Changes:

--- /work/SRC/openSUSE:Factory/vnstat/vnstat.changes2019-07-22 
17:18:41.893943765 +0200
+++ /work/SRC/openSUSE:Factory/.vnstat.new.7948/vnstat.changes  2019-08-27 
12:01:44.119648132 +0200
@@ -1,0 +2,14 @@
+Mon Aug 26 22:44:33 UTC 2019 - Martin Hauke 
+
+- Update to version 2.4
+  Fixed
+  * Daemon didn't correctly wait when acquiring database lock for
+data write which could result in unnecessary errors and even
+process exit if an external database read operation had exactly
+the same timing as the daemon write operation
+  * Move vnstatd man page from section 1 to section 8
+  New
+  * Add --rename for renaming interfaces already existing the
+database
+
+---

Old:

  vnstat-2.3.tar.gz
  vnstat-2.3.tar.gz.sig

New:

  vnstat-2.4.tar.gz
  vnstat-2.4.tar.gz.sig



Other differences:
--
++ vnstat.spec ++
--- /var/tmp/diff_new_pack.r4VAGE/_old  2019-08-27 12:01:45.391647957 +0200
+++ /var/tmp/diff_new_pack.r4VAGE/_new  2019-08-27 12:01:45.391647957 +0200
@@ -22,7 +22,7 @@
 %bcond_with systemd
 %endif
 Name:   vnstat
-Version:2.3
+Version:2.4
 Release:0
 Summary:Network Traffic Monitor
 License:GPL-2.0-only
@@ -162,7 +162,7 @@
 %{_initddir}/vnstatd
 %endif
 %{_mandir}/man1/vnstat.1%{?ext_man}
-%{_mandir}/man1/vnstatd.1%{?ext_man}
+%{_mandir}/man8/vnstatd.8%{?ext_man}
 %{_mandir}/man5/vnstat.conf.5%{?ext_man}
 %attr(0755,vnstat,root) %{_localstatedir}/lib/vnstat
 

++ vnstat-2.3.tar.gz -> vnstat-2.4.tar.gz ++
 1610 lines of diff (skipped)
retrying with extended exclude list
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude 
config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 
--exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh 
old/vnstat-2.3/CHANGES new/vnstat-2.4/CHANGES
--- old/vnstat-2.3/CHANGES  2019-07-10 16:10:10.0 +0200
+++ new/vnstat-2.4/CHANGES  2019-08-18 14:19:21.0 +0200
@@ -1,3 +1,17 @@
+2.4 / 18-Aug-2019
+
+ - Fixed
+   - Daemon didn't correctly wait when acquiring database lock for data write
+ which could result in unnecessary errors and even process exit if an
+ external database read operation had exactly the same timing as the
+ daemon write operation
+   - Daemon didn't fork() even when requested to with --daemon when started
+ by PID 1 (issue seen at least in Docker containers)
+   - Move vnstatd man page from section 1 to section 8
+ - New
+   - Add --rename for renaming interfaces already existing the database
+
+
 2.3 / 10-Jul-2019
 
  - Fixed
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude 
config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 
--exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh 
old/vnstat-2.3/Makefile.am new/vnstat-2.4/Makefile.am
--- old/vnstat-2.3/Makefile.am  2019-06-16 16:35:43.0 +0200
+++ new/vnstat-2.4/Makefile.am  2019-07-22 23:19:44.0 +0200
@@ -1,7 +1,7 @@
 SUBDIRS = .
 AM_CFLAGS = @CFLAG_EXTRAS@
 
-dist_man_MANS = man/vnstat.1 man/vnstat.conf.5 man/vnstatd.1 man/vnstati.1
+dist_man_MANS = man/vnstat.1 man/vnstat.conf.5 man/vnstatd.8 man/vnstati.1
 
 EXTRA_DIST = cfg examples UPGRADE CHANGES FAQ INSTALL_BSD UNINSTALL
 
@@ -139,6 +139,7 @@
ls -l $(PACKAGE_NAME)-$(PACKAGE_VERSION).tar.gz
 
 install-data-hook: install-exec
+   if [ -f $(DESTDIR)$(man1dir)/vnstatd.1 ]; then rm -f 
$(DESTDIR)$(man1dir)/vnstatd.1; fi
$(MKDIR_P) $(DESTDIR)$(sysconfdir)
 if IS_CROSSCOMPILED
if [ ! -f $(DESTDIR)$(sysconfdir)/vnstat.conf ]; \
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude 
config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 
--exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh 
old/vnstat-2.3/README new/vnstat-2.4/README
--- old/vnstat-2.3/README   2019-04-13 18:06:21.0 +0200
+++ new/vnstat-2.4/README   2019-07-18 13:28:48.0 +0200
@@ -24,7 +24,8 @@
 vnStat works best when installed. See the INSTALL or INSTALL_BSD file

commit vnstat for openSUSE:Factory

2019-07-22 Thread root
Hello community,

here is the log from the commit of package vnstat for openSUSE:Factory checked 
in at 2019-07-22 17:18:40

Comparing /work/SRC/openSUSE:Factory/vnstat (Old)
 and  /work/SRC/openSUSE:Factory/.vnstat.new.4126 (New)


Package is "vnstat"

Mon Jul 22 17:18:40 2019 rev:9 rq:717514 version:2.3

Changes:

--- /work/SRC/openSUSE:Factory/vnstat/vnstat.changes2019-06-02 
15:18:55.966012049 +0200
+++ /work/SRC/openSUSE:Factory/.vnstat.new.4126/vnstat.changes  2019-07-22 
17:18:41.893943765 +0200
@@ -1,0 +2,36 @@
+Wed Jul 10 19:17:16 UTC 2019 - Martin Hauke 
+
+- Update to version 2.3
+  Fixed
+  * Traffic rate wasn't being shown for the last entry of most lists
+during the first update of the next period (first SaveInterval
+minutes of each new hour, day, month and year)
+  * Systemd example service file could result in database file write
+issues if the used systemd version supported ProtectSystem=strict
+but didn't support StateDirectory
+  * Interfaces could end up staying marked as 'disabled' in the
+database even after becoming back active and monitored, only the
+shown status was wrong without resulting in any data loss
+  * Some image outputs didn't allocate enough height for the image
+resulting in the last row having less space below it than intended
+  New
+  * Automatic interface selection when the Interface configuration
+setting is left empty (new default)
+  * Add configuration option DatabaseWriteAheadLogging to enable
+SQLite Write-Ahead Logging mode which may provide some disk i/o
+benefits, see https://www.sqlite.org/wal.html for more details and
+note that SQLite 3.22.0 or later is required to support read-only
+operations
+  * Add configuration option DatabaseSynchronous for changing the
+SQLite setting of the "synchronous" flag, see
+https://www.sqlite.org/pragma.html#pragma_synchronous for more
+details
+  * Show warning in log if writing cached data to database is slow
+  * Try database query for up to 5 seconds when database is busy or
+locked instead of giving up immediately
+  * Continue daemon process execution with data caching if database
+writes fail due to disk being full
+- Update patch:
+  * systemd234.patch
+
+---

Old:

  vnstat-2.2.tar.gz
  vnstat-2.2.tar.gz.sig

New:

  vnstat-2.3.tar.gz
  vnstat-2.3.tar.gz.sig



Other differences:
--
++ vnstat.spec ++
--- /var/tmp/diff_new_pack.Kl1NBS/_old  2019-07-22 17:18:42.521943265 +0200
+++ /var/tmp/diff_new_pack.Kl1NBS/_new  2019-07-22 17:18:42.521943265 +0200
@@ -22,7 +22,7 @@
 %bcond_with systemd
 %endif
 Name:   vnstat
-Version:2.2
+Version:2.3
 Release:0
 Summary:Network Traffic Monitor
 License:GPL-2.0-only

++ systemd234.patch ++
--- /var/tmp/diff_new_pack.Kl1NBS/_old  2019-07-22 17:18:42.537943253 +0200
+++ /var/tmp/diff_new_pack.Kl1NBS/_new  2019-07-22 17:18:42.537943253 +0200
@@ -1,12 +1,14 @@
-diff -ur vnstat-1.18/examples/systemd/vnstat.service 
vnstat-1.18_fix/examples/systemd/vnstat.service
 vnstat-1.18/examples/systemd/vnstat.service2018-02-21 
22:12:07.0 +0100
-+++ vnstat-1.18_fix/examples/systemd/vnstat.service2019-04-11 
11:06:54.230281892 +0200
-@@ -8,19 +8,6 @@
- ExecReload=/bin/kill -HUP $MAINPID
+diff --git a/examples/systemd/vnstat.service b/examples/systemd/vnstat.service
+index 104082e..af29c93 100644
+--- a/examples/systemd/vnstat.service
 b/examples/systemd/vnstat.service
+@@ -11,20 +11,6 @@ ExecReload=/bin/kill -HUP $MAINPID
  Restart=on-failure
+ RestartSec=2
  
 -# Hardening
 -ProtectSystem=strict
+-ReadWritePaths=/var/lib
 -StateDirectory=vnstat
 -PrivateDevices=yes
 -ProtectKernelTunables=yes

++ vnstat-2.2.tar.gz -> vnstat-2.3.tar.gz ++
 4957 lines of diff (skipped)





commit vnstat for openSUSE:Factory

2019-06-02 Thread root
Hello community,

here is the log from the commit of package vnstat for openSUSE:Factory checked 
in at 2019-06-02 15:18:52

Comparing /work/SRC/openSUSE:Factory/vnstat (Old)
 and  /work/SRC/openSUSE:Factory/.vnstat.new.5148 (New)


Package is "vnstat"

Sun Jun  2 15:18:52 2019 rev:8 rq:706893 version:2.2

Changes:

--- /work/SRC/openSUSE:Factory/vnstat/vnstat.changes2019-05-14 
13:43:20.000635725 +0200
+++ /work/SRC/openSUSE:Factory/.vnstat.new.5148/vnstat.changes  2019-06-02 
15:18:55.966012049 +0200
@@ -1,0 +2,5 @@
+Sun Jun  2 08:12:49 UTC 2019 - Martin Hauke 
+
+- Add Buildrequires: check-devel and enabled %%check section
+
+---



Other differences:
--
++ vnstat.spec ++
--- /var/tmp/diff_new_pack.twlrpb/_old  2019-06-02 15:18:56.734011716 +0200
+++ /var/tmp/diff_new_pack.twlrpb/_new  2019-06-02 15:18:56.734011716 +0200
@@ -38,6 +38,7 @@
 Patch1: systemd234.patch
 BuildRequires:  autoconf
 BuildRequires:  automake
+BuildRequires:  check-devel
 BuildRequires:  gd-devel
 BuildRequires:  glibc-devel
 BuildRequires:  sqlite3-devel
@@ -111,6 +112,9 @@
 ln -s %{_initddir}/vnstatd %{buildroot}%{_sbindir}/rcvnstatd
 %endif
 
+%check
+make check
+
 %pre
 %{_sbindir}/groupadd -r vnstat &> /dev/null || :
 %{_sbindir}/useradd -g vnstat -s /bin/sh -r -c "vnstat daemon" -d 
%{_localstatedir}/lib/vnstat vnstat &>/dev/null ||:






commit vnstat for openSUSE:Factory

2019-05-14 Thread root
Hello community,

here is the log from the commit of package vnstat for openSUSE:Factory checked 
in at 2019-05-14 13:42:47

Comparing /work/SRC/openSUSE:Factory/vnstat (Old)
 and  /work/SRC/openSUSE:Factory/.vnstat.new.5148 (New)


Package is "vnstat"

Tue May 14 13:42:47 2019 rev:7 rq:702631 version:2.2

Changes:

--- /work/SRC/openSUSE:Factory/vnstat/vnstat.changes2019-05-06 
13:25:57.577118726 +0200
+++ /work/SRC/openSUSE:Factory/.vnstat.new.5148/vnstat.changes  2019-05-14 
13:43:20.000635725 +0200
@@ -1,0 +2,27 @@
+Mon May 13 06:42:48 UTC 2019 - Mathias Homann 
+
+- Update to version 2.2
+  Fixed
+  * O_CLOEXEC undeclared error when compiling with glibc older than 2.12
+  * Image output --headertext wasn't being applied to some output types
+  * DefaultDecimals setting wasn't controlling all outputs
+  * Traffic rate for the last entry of the 5 minute resolution list wasn't
+being correctly calculated
+  New
+  * Detection of 32-bit / 64-bit kernel interface counters for improving
+traffic calculations in rollover situations, cfg: 64bitInterfaceCounters
+  * Possibility in queries to merge data from multiple interfaces to one
+output with interface1+interface2 syntax
+  * Highlight current day in top list when visible
+  * Changes in interface specific detected bandwidth limits are reported
+in the log
+  * UpdateInterval value is automatically adjusted during daemon startup if
+found to be too high compared to the value of MaxBandwidth
+  Notes
+  * Added clarification to the man page that the 'jsonversion' and
+'xmlversion' fields in the --json and --xml outputs should be seen as
+the API version and compared to the previously used version in 3rd party
+implementations for verifying compatibility
+  * Default value of UpdateInterval is now 20 instead of previous 30 seconds
+
+---
@@ -59,0 +87,60 @@
+
+---
+Wed Jan 23 08:20:34 UTC 2019 - Mathias Homann 
+
+- Update to 2.1
+2.1 / 6-Dec-2018
+
+  * Fixed
+* --oneline could segmentation fault if database had total traffic values
+  set but didn't have any daily or monthly traffic (Arch bug #60588)
+* No proper error message was produced when querying interface which didn't
+  exist in the database
+* Several typos and spelling mistakes in documentation
+* Daemon:waittimesync_does_not_wait_with_new_interfaces test was failing if
+  the system used a time zone with a negative numeric value
+* Traffic estimate and average rate for ongoing month was not being
+  calculated correctly when MonthRotate had a value greater than 1
+* Accuracy of traffic estimate and average rate for the ongoing month could
+  be slightly skewed depending on the used time zone
+  * New
+* Remove possible PollInterval and UpdateInterval drift over time
+* Sync SaveInterval to full minutes
+
+
+2.0 / 21-Oct-2018
+
+  * Fixed
+* Data rate calculations when using SI decimal prefixes
+* Workaround for filled arcs not drawn correctly with some versions
+  of libgd (libgd/libgd#351)
+  * New
+* C struct dump database has been replaced with sqlite database,
+  full data import included from legacy databases of versions 1.3  * 1.18
+* User configurable data retention durations for all resolutions with
+  following changed defaults:
+   v1.18 v2.0
+   5 minutes n/a  576   (48 hours)
+   hours  24   96   (4 days)
+   days   30   62   (2 full months)
+   months 12   25   (2 full years)
+   years n/a  all
+   top days   10   20
+* Option to select units to use SI decimal prefixes using calculations
+  with powers of 1000 (IEC and JEDEC prefixes use powers of 1024)
+* Yearly and 5 minute resolution statistics
+* Pebibyte and exbibyte support
+* Options the configure the length of each list output
+* Option to limit the length of --json and --xml outputs
+* Hourly list output replaces the hourly graph when the -h parameter is 
used
+* Hourly graph is accessible with -hg / --hoursgraph parameter
+* Options -b / --begin and -e / --end for specifying query time range
+* Configuration comes with ISO 8601 date formats as new defaults
+  * Removed
+* Weekly output
+* Merge of data from multiple interfaces to one output
+* --testkernel
+* --exportdb, use --oneline, --json or --xml instead
+* --importdb, -u / --update and related options using vnstat command
+* Old style (default in versions up to 1.7) summary layout in image output
+

Old:

  vnstat-2.1.tar.gz
  vnstat-2.1.tar.gz.sig

New:

  vnstat-2.2.tar.gz
  

commit vnstat for openSUSE:Factory

2019-05-06 Thread root
Hello community,

here is the log from the commit of package vnstat for openSUSE:Factory checked 
in at 2019-05-06 13:25:51

Comparing /work/SRC/openSUSE:Factory/vnstat (Old)
 and  /work/SRC/openSUSE:Factory/.vnstat.new.5148 (New)


Package is "vnstat"

Mon May  6 13:25:51 2019 rev:6 rq:698642 version:2.1

Changes:

--- /work/SRC/openSUSE:Factory/vnstat/vnstat.changes2019-04-12 
09:15:31.169718269 +0200
+++ /work/SRC/openSUSE:Factory/.vnstat.new.5148/vnstat.changes  2019-05-06 
13:25:57.577118726 +0200
@@ -1,0 +2,55 @@
+Fri Apr 26 18:48:41 UTC 2019 - Martin Hauke 
+
+- Verify source signature
+- Update to version 2.1
+  Fixed:
+  * --oneline could segmentation fault if database had total traffic values
+set but didn't have any daily or monthly traffic (Arch bug #60588)
+  * No proper error message was produced when querying interface which didn't
+exist in the database
+  * Daemon:waittimesync_does_not_wait_with_new_interfaces test was failing if
+the system used a time zone with a negative numeric value
+  * Traffic estimate and average rate for ongoing month was not being
+calculated correctly when MonthRotate had a value greater than 1
+  * Accuracy of traffic estimate and average rate for the ongoing month could
+be slightly skewed depending on the used time zone
+  New:
+  * Remove possible PollInterval and UpdateInterval drift over time
+  * Sync SaveInterval to full minutes
+
+- Update to version 2.0
+  Fixed:
+  * Data rate calculations when using SI decimal prefixes
+  * Workaround for filled arcs not drawn correctly with some versions
+of libgd (libgd/libgd#351)
+  New
+  * C struct dump database has been replaced with sqlite database,
+  * full data import included from legacy databases of versions 1.3 - 1.18
+  * User configurable data retention durations for all resolutions with
+following changed defaults:
+  v1.18 v2.0
+  5 minutes n/a  576   (48 hours)
+  hours  24   96   (4 days)
+  days   30   62   (2 full months)
+  months 12   25   (2 full years)
+  years n/a  all
+  top days   10   20
+  * Option to select units to use SI decimal prefixes using calculations
+with powers of 1000 (IEC and JEDEC prefixes use powers of 1024)
+  * Yearly and 5 minute resolution statistics
+  * Pebibyte and exbibyte support
+  * Options the configure the length of each list output
+  * Option to limit the length of --json and --xml outputs
+  * Hourly list output replaces the hourly graph when the -h parameter is used
+  * Hourly graph is accessible with -hg / --hoursgraph parameter
+  * Options -b / --begin and -e / --end for specifying query time range
+  * Configuration comes with ISO 8601 date formats as new defaults
+  Removed
+  * Weekly output
+  * Merge of data from multiple interfaces to one output
+  * --testkernel
+  * --exportdb, use --oneline, --json or --xml instead
+  * --importdb, -u / --update and related options using vnstat command
+  * Old style (default in versions up to 1.7) summary layout in image output
+
+---

Old:

  vnstat-1.18.tar.gz

New:

  vnstat-2.1.tar.gz
  vnstat-2.1.tar.gz.sig
  vnstat.keyring



Other differences:
--
++ vnstat.spec ++
--- /var/tmp/diff_new_pack.j4R4BQ/_old  2019-05-06 13:25:59.241122157 +0200
+++ /var/tmp/diff_new_pack.j4R4BQ/_new  2019-05-06 13:25:59.269122214 +0200
@@ -22,13 +22,15 @@
 %bcond_with systemd
 %endif
 Name:   vnstat
-Version:1.18
+Version:2.1
 Release:0
 Summary:Network Traffic Monitor
 License:GPL-2.0-only
 Group:  Productivity/Networking/Diagnostic
 Url:http://humdi.net/vnstat
 Source: http://humdi.net/vnstat/vnstat-%{version}.tar.gz
+Source98:   
http://humdi.net/vnstat/vnstat-%{version}.tar.gz.asc#/%{name}-%{version}.tar.gz.sig
+Source99:   %{name}.keyring
 Source1:vnstat-if.sh
 Source2:vnstat-cgi.conf
 Source3:vnstat-create-db.sh
@@ -38,6 +40,7 @@
 BuildRequires:  automake
 BuildRequires:  gd-devel
 BuildRequires:  glibc-devel
+BuildRequires:  sqlite3-devel
 Requires:   %{_bindir}/killall
 Requires:   /bin/ls
 Requires:   /bin/su

++ vnstat-1.18.tar.gz -> vnstat-2.1.tar.gz ++
 25280 lines of diff (skipped)




commit vnstat for openSUSE:Factory

2019-04-12 Thread root
Hello community,

here is the log from the commit of package vnstat for openSUSE:Factory checked 
in at 2019-04-12 09:15:30

Comparing /work/SRC/openSUSE:Factory/vnstat (Old)
 and  /work/SRC/openSUSE:Factory/.vnstat.new.27019 (New)


Package is "vnstat"

Fri Apr 12 09:15:30 2019 rev:5 rq:693153 version:1.18

Changes:

--- /work/SRC/openSUSE:Factory/vnstat/vnstat.changes2018-05-29 
10:41:36.855812591 +0200
+++ /work/SRC/openSUSE:Factory/.vnstat.new.27019/vnstat.changes 2019-04-12 
09:15:31.169718269 +0200
@@ -1,0 +2,5 @@
+Thu Apr 11 09:09:45 UTC 2019 - Dirk Stoecker 
+
+- Don't use new systemd service options for system below 235 (systemd234.patch)
+
+---

New:

  systemd234.patch



Other differences:
--
++ vnstat.spec ++
--- /var/tmp/diff_new_pack.Fi2TLX/_old  2019-04-12 09:15:32.401719014 +0200
+++ /var/tmp/diff_new_pack.Fi2TLX/_new  2019-04-12 09:15:32.405719017 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package vnstat
 #
-# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -12,7 +12,7 @@
 # license that conforms to the Open Source Definition (Version 1.9)
 # published by the Open Source Initiative.
 
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
 #
 
 
@@ -25,7 +25,7 @@
 Version:1.18
 Release:0
 Summary:Network Traffic Monitor
-License:GPL-2.0
+License:GPL-2.0-only
 Group:  Productivity/Networking/Diagnostic
 Url:http://humdi.net/vnstat
 Source: http://humdi.net/vnstat/vnstat-%{version}.tar.gz
@@ -33,6 +33,7 @@
 Source2:vnstat-cgi.conf
 Source3:vnstat-create-db.sh
 Source4:vnstat.init
+Patch1: systemd234.patch
 BuildRequires:  autoconf
 BuildRequires:  automake
 BuildRequires:  gd-devel
@@ -72,6 +73,9 @@
 
 %prep
 %setup -q
+%if 0%{?suse_version} <= 1500
+%patch1 -p1
+%endif
 # Add user and group to the systemd service.
 sed -i 's/\(\[Service\]\)/\1\nUser=vnstat\nGroup=vnstat/' 
examples/systemd/vnstat.service
 
@@ -135,7 +139,8 @@
 
 %files
 %defattr(-,root,root)
-%doc CHANGES COPYING FAQ README UPGRADE
+%doc CHANGES FAQ README UPGRADE
+%license COPYING
 %config(noreplace) %{_sysconfdir}/vnstat.conf
 %{_sysconfdir}/sysconfig/network/scripts/vnstat
 %{_sysconfdir}/sysconfig/network/if-up.d/20-vnstat

++ systemd234.patch ++
diff -ur vnstat-1.18/examples/systemd/vnstat.service 
vnstat-1.18_fix/examples/systemd/vnstat.service
--- vnstat-1.18/examples/systemd/vnstat.service 2018-02-21 22:12:07.0 
+0100
+++ vnstat-1.18_fix/examples/systemd/vnstat.service 2019-04-11 
11:06:54.230281892 +0200
@@ -8,19 +8,6 @@
 ExecReload=/bin/kill -HUP $MAINPID
 Restart=on-failure
 
-# Hardening
-ProtectSystem=strict
-StateDirectory=vnstat
-PrivateDevices=yes
-ProtectKernelTunables=yes
-ProtectControlGroups=yes
-ProtectHome=yes
-ProtectKernelModules=yes
-PrivateTmp=yes
-MemoryDenyWriteExecute=yes
-RestrictRealtime=yes
-RestrictNamespaces=yes
-
 [Install]
 WantedBy=multi-user.target
 Alias=vnstatd.service



commit vnstat for openSUSE:Factory

2018-05-29 Thread root
Hello community,

here is the log from the commit of package vnstat for openSUSE:Factory checked 
in at 2018-05-29 10:41:35

Comparing /work/SRC/openSUSE:Factory/vnstat (Old)
 and  /work/SRC/openSUSE:Factory/.vnstat.new (New)


Package is "vnstat"

Tue May 29 10:41:35 2018 rev:4 rq:611542 version:1.18

Changes:

--- /work/SRC/openSUSE:Factory/vnstat/vnstat.changes2017-03-01 
23:43:58.582405197 +0100
+++ /work/SRC/openSUSE:Factory/.vnstat.new/vnstat.changes   2018-05-29 
10:41:36.855812591 +0200
@@ -1,0 +2,18 @@
+Wed May 23 06:44:49 UTC 2018 - lie...@rz.uni-mannheim.de
+
+- Update to 1.18
+  * Fix: Misspellings, compiler warnings and possible error situations
+(pull requests by Christian Göttsche)
+  * Hardening added to examples/systemd/vnstat.service
+(pull request by Christian Göttsche)
+  * Add RTC sanity check and sync wait to daemon startup, the possible wait
+duration can be configured using the TimeSyncWait keyword
+  * Add optional parameter to --oneline output for forcing fields to output
+in bytes
+  * Add --json support for -l / --live and -tr outputs
+  * Number of decimals used in outputs can be configured using DefaultDecimals
+and HourlyDecimals
+  * Add section separators for improving readabilty of the vnstat -h output,
+configurable using HourlySectionStyle
+
+---

Old:

  vnstat-1.17.tar.gz

New:

  vnstat-1.18.tar.gz



Other differences:
--
++ vnstat.spec ++
--- /var/tmp/diff_new_pack.Ef78Qw/_old  2018-05-29 10:41:39.603711164 +0200
+++ /var/tmp/diff_new_pack.Ef78Qw/_new  2018-05-29 10:41:39.603711164 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package vnstat
 #
-# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -22,7 +22,7 @@
 %bcond_with systemd
 %endif
 Name:   vnstat
-Version:1.17
+Version:1.18
 Release:0
 Summary:Network Traffic Monitor
 License:GPL-2.0

++ vnstat-1.17.tar.gz -> vnstat-1.18.tar.gz ++
 2482 lines of diff (skipped)




commit vnstat for openSUSE:Factory

2017-03-01 Thread root
Hello community,

here is the log from the commit of package vnstat for openSUSE:Factory checked 
in at 2017-03-01 23:43:57

Comparing /work/SRC/openSUSE:Factory/vnstat (Old)
 and  /work/SRC/openSUSE:Factory/.vnstat.new (New)


Package is "vnstat"

Wed Mar  1 23:43:57 2017 rev:3 rq:461288 version:1.17

Changes:

--- /work/SRC/openSUSE:Factory/vnstat/vnstat.changes2016-03-09 
16:48:44.0 +0100
+++ /work/SRC/openSUSE:Factory/.vnstat.new/vnstat.changes   2017-03-01 
23:43:58.582405197 +0100
@@ -1,0 +2,30 @@
+Tue Feb 21 14:19:25 UTC 2017 - lie...@rz.uni-mannheim.de
+
+- Update to 1.17:
+  * Fix: --importdb was creating invalid databases since version
+1.15
+  * Fix: console output was being buffered which resulted in lack
+of output in at least systemd log
+  * Add cross-compilation detection and improve install-data-hook
+to not assume that the binaries can be executed in the host
+system
+
+- Update to 1.16:
+  * Fix: traffic rate calculation, SI decimal prefixes were shown
+but calculation was done for IEC binary prefixes
+  * Add option for configure to disable image output support even
+if required library is available, improve library detection
+  * Add selection between SI decimal prefixes (kbit/s...) (default)
+and IEC binary prefixes (Kibit/s...) for traffic rate using
+RateUnitMode keyword in configuration file
+  * Improve database handling resilience
+  * Inherit database file ownership from database directory if
+UpdateFileOwner configuration option is enabled (default:
+enabled) when adding new interfaces for monitoring as root.
+This solves database file ownership mismatches when the daemon
+is started as a non-root user and an interface gets added for
+monitoring with a sudo command as root
+  * Improve user guidance in error situations related to the
+configured default interface
+
+---

Old:

  vnstat-1.15.tar.gz

New:

  vnstat-1.17.tar.gz



Other differences:
--
++ vnstat.spec ++
--- /var/tmp/diff_new_pack.bKCwx6/_old  2017-03-01 23:43:59.218315517 +0100
+++ /var/tmp/diff_new_pack.bKCwx6/_new  2017-03-01 23:43:59.222314953 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package vnstat
 #
-# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -22,7 +22,7 @@
 %bcond_with systemd
 %endif
 Name:   vnstat
-Version:1.15
+Version:1.17
 Release:0
 Summary:Network Traffic Monitor
 License:GPL-2.0

++ vnstat-1.15.tar.gz -> vnstat-1.17.tar.gz ++
 9647 lines of diff (skipped)




commit vnstat for openSUSE:Factory

2016-03-09 Thread h_root
Hello community,

here is the log from the commit of package vnstat for openSUSE:Factory checked 
in at 2016-03-09 15:17:19

Comparing /work/SRC/openSUSE:Factory/vnstat (Old)
 and  /work/SRC/openSUSE:Factory/.vnstat.new (New)


Package is "vnstat"

Changes:

--- /work/SRC/openSUSE:Factory/vnstat/vnstat.changes2016-02-11 
12:37:13.0 +0100
+++ /work/SRC/openSUSE:Factory/.vnstat.new/vnstat.changes   2016-03-09 
16:48:44.0 +0100
@@ -1,0 +2,20 @@
+Sat Mar  5 13:34:34 UTC 2016 - sor.ale...@meowr.ru
+
+- Update to 1.15:
+  * Fix: XML output had extra commas, broken since previous version.
+  * Fix: unintended shared pointer modification in mosecs()
+sometimes resulted in wrong month name to be shown for the
+current month.
+  * Fix possible buffer overflow in /proc/net/dev parsing, requires
+corrupted content in /proc/net/dev or use of address sanitiser.
+  * Use ANSI escape codes in -l and -tr modes for cursor location
+manipulation instead of printing backspaces, hide cursor while
+output is active.
+  * Improve database import robustness.
+  * Improve support for Asian UTF-8 date strings.
+  * Replace hand written Makefiles with autotools.
+  * Add --alwaysadd parameter to daemon for allowing automatic
+addition of interfaces even if the database directory was
+populated during startup.
+
+---

Old:

  vnstat-1.14.tar.gz

New:

  vnstat-1.15.tar.gz



Other differences:
--
++ vnstat.spec ++
--- /var/tmp/diff_new_pack.MLksz5/_old  2016-03-09 16:48:45.0 +0100
+++ /var/tmp/diff_new_pack.MLksz5/_new  2016-03-09 16:48:45.0 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package vnstat
 #
-# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -22,7 +22,7 @@
 %bcond_with systemd
 %endif
 Name:   vnstat
-Version:1.14
+Version:1.15
 Release:0
 Summary:Network Traffic Monitor
 License:GPL-2.0
@@ -33,6 +33,8 @@
 Source2:vnstat-cgi.conf
 Source3:vnstat-create-db.sh
 Source4:vnstat.init
+BuildRequires:  autoconf
+BuildRequires:  automake
 BuildRequires:  gd-devel
 BuildRequires:  glibc-devel
 Requires:   %{_bindir}/killall
@@ -70,13 +72,13 @@
 
 %prep
 %setup -q
-# Remove -s from install calls to avoid stripping.
-sed -i 's/\(\binstall\b.*\)-s/\1/g' Makefile
 # Add user and group to the systemd service.
 sed -i 's/\(\[Service\]\)/\1\nUser=vnstat\nGroup=vnstat/' 
examples/systemd/vnstat.service
 
 %build
-make %{?_smp_mflags} CFLAGS="%{optflags}" all
+autoreconf -fi
+%configure
+make %{?_smp_mflags}
 
 %install
 %make_install

++ vnstat-1.14.tar.gz -> vnstat-1.15.tar.gz ++
 14935 lines of diff (skipped)