]> granicus.if.org Git - vnstat/log
vnstat
7 years agoMerge pull request #57 from debfx/patch-1
Teemu Toivola [Sat, 22 Apr 2017 13:18:50 +0000 (15:18 +0200)]
Merge pull request #57 from debfx/patch-1

Makefile.am: install-data-hook depends on install-exec

7 years agobump version to 1.18 beta
Teemu Toivola [Sat, 22 Apr 2017 13:03:47 +0000 (16:03 +0300)]
bump version to 1.18 beta

7 years agoMakefile.am: install-data-hook depends on install-exec
Felix Geyer [Sun, 9 Apr 2017 19:23:49 +0000 (21:23 +0200)]
Makefile.am: install-data-hook depends on install-exec

Calling $(DESTDIR)$(bindir)/vnstat$(EXEEXT) fails when installation of this
program is not yet finished.

Author: Adrian Bunk <bunk@debian.org>

7 years agofinal preparations for version 1.17 release v1.17
Teemu Toivola [Thu, 16 Feb 2017 20:17:51 +0000 (22:17 +0200)]
final preparations for version 1.17 release

7 years agoimport refactored bandwidth limit handling from sqldb branch
Teemu Toivola [Tue, 7 Feb 2017 19:44:12 +0000 (21:44 +0200)]
import refactored bandwidth limit handling from sqldb branch

7 years agoupdate FSF address in license texts
Teemu Toivola [Tue, 7 Feb 2017 15:53:47 +0000 (17:53 +0200)]
update FSF address in license texts

7 years agodocumentation update
Teemu Toivola [Tue, 7 Feb 2017 15:51:19 +0000 (17:51 +0200)]
documentation update

7 years agofix console log output buffering causing log prints to not show up at least in system...
Teemu Toivola [Tue, 7 Feb 2017 15:50:22 +0000 (17:50 +0200)]
fix console log output buffering causing log prints to not show up at least in systemd log

7 years agofix --importdb that was creating invalid timestamps, broken since 1.15, closes #55
Teemu Toivola [Tue, 7 Feb 2017 15:48:56 +0000 (17:48 +0200)]
fix --importdb that was creating invalid timestamps, broken since 1.15, closes #55

8 years agofix cross-compilation detection, resolves #53
Teemu Toivola [Tue, 27 Dec 2016 01:08:18 +0000 (03:08 +0200)]
fix cross-compilation detection, resolves #53

8 years agoremove unnecessary autoconf macros, add check for cross-compiling and improve install...
Teemu Toivola [Mon, 26 Dec 2016 22:41:51 +0000 (00:41 +0200)]
remove unnecessary autoconf macros, add check for cross-compiling and improve install-data-hook to not assume that the binaries can be executed in the host system, closes #53

8 years agobump version to 1.17 beta
Teemu Toivola [Sat, 24 Dec 2016 15:00:41 +0000 (17:00 +0200)]
bump version to 1.17 beta

8 years agofinal preparations for version 1.16 release v1.16
Teemu Toivola [Sat, 24 Dec 2016 13:47:35 +0000 (15:47 +0200)]
final preparations for version 1.16 release

8 years agoupdate documentation
Teemu Toivola [Fri, 23 Dec 2016 20:14:55 +0000 (22:14 +0200)]
update documentation

8 years agorephrase install documentation
Teemu Toivola [Thu, 22 Dec 2016 21:04:53 +0000 (23:04 +0200)]
rephrase install documentation

8 years agoupdate BSD install documentation regarding libgd2 requirements, add appendix about...
Teemu Toivola [Wed, 21 Dec 2016 16:22:57 +0000 (18:22 +0200)]
update BSD install documentation regarding libgd2 requirements, add appendix about the execution of the test suite

8 years agohave separate test for systems without extern long timezone available
Teemu Toivola [Wed, 21 Dec 2016 15:35:16 +0000 (17:35 +0200)]
have separate test for systems without extern long timezone available

8 years agoimprove configure summary output, add checks for mbstowcs and wcswidth and modify...
Teemu Toivola [Wed, 21 Dec 2016 13:54:14 +0000 (15:54 +0200)]
improve configure summary output, add checks for mbstowcs and wcswidth and modify behaviour if not available

8 years agoallow enforcing database output with --force even if database content doesn't pass...
Teemu Toivola [Tue, 20 Dec 2016 22:26:35 +0000 (00:26 +0200)]
allow enforcing database output with --force even if database content doesn't pass validation

8 years agofix compiler warning
Teemu Toivola [Tue, 20 Dec 2016 21:48:57 +0000 (23:48 +0200)]
fix compiler warning

8 years agofix Coverity findings, closes #50
Teemu Toivola [Tue, 20 Dec 2016 21:34:17 +0000 (23:34 +0200)]
fix Coverity findings, closes #50

8 years agoimprove user guidance in error situations related to the configured default interface
Teemu Toivola [Tue, 20 Dec 2016 17:40:53 +0000 (19:40 +0200)]
improve user guidance in error situations related to the configured default interface

8 years agoupdate documentation
Teemu Toivola [Tue, 20 Dec 2016 16:18:17 +0000 (18:18 +0200)]
update documentation

8 years agomore refactoring, fix compiler warnings, update database file ownership to match...
Teemu Toivola [Mon, 19 Dec 2016 23:37:00 +0000 (01:37 +0200)]
more refactoring, fix compiler warnings, update database file ownership to match directory ownership if database gets created as root, should fix issues with file permissions issues if sudo gets used

8 years agorefactor function file locations
Teemu Toivola [Mon, 19 Dec 2016 16:27:15 +0000 (18:27 +0200)]
refactor function file locations

8 years agoadd xml and json output stability tests
Teemu Toivola [Sat, 10 Dec 2016 15:11:53 +0000 (17:11 +0200)]
add xml and json output stability tests

8 years agomodify testscase to bypass possible test framework limitations and fix test errors...
Teemu Toivola [Sat, 10 Dec 2016 15:01:19 +0000 (17:01 +0200)]
modify testscase to bypass possible test framework limitations and fix test errors seen in CentOS 7, actual functionality wasn't affected

8 years agofix daemon startup instructions in INSTALL documentation
Teemu Toivola [Mon, 7 Nov 2016 21:53:33 +0000 (23:53 +0200)]
fix daemon startup instructions in INSTALL documentation

8 years agofix value range documentation for PollInterval, closes #46
Teemu Toivola [Sat, 10 Sep 2016 21:33:50 +0000 (00:33 +0300)]
fix value range documentation for PollInterval, closes #46

8 years agoimprove daemon startup prints and log access verification
Teemu Toivola [Sat, 23 Apr 2016 23:45:56 +0000 (02:45 +0300)]
improve daemon startup prints and log access verification

8 years agoprint daemon version and pid once started
Teemu Toivola [Sat, 23 Apr 2016 23:07:25 +0000 (02:07 +0300)]
print daemon version and pid once started

8 years agofix ident and improve condition content ordering
Teemu Toivola [Tue, 19 Apr 2016 20:40:37 +0000 (23:40 +0300)]
fix ident and improve condition content ordering

8 years agovalidate database after file read and before write
Teemu Toivola [Sat, 16 Apr 2016 22:49:06 +0000 (01:49 +0300)]
validate database after file read and before write

8 years agouse common print functionality in validatedb() to allow error logging when needed
Teemu Toivola [Fri, 15 Apr 2016 20:05:26 +0000 (23:05 +0300)]
use common print functionality in validatedb() to allow error logging when needed

8 years agoupdate documentation
Teemu Toivola [Fri, 15 Apr 2016 19:51:39 +0000 (22:51 +0300)]
update documentation

8 years agofix -l mode table fit when using IEC binary prefixes for traffic rate, refactor outpu...
Teemu Toivola [Fri, 15 Apr 2016 19:30:49 +0000 (22:30 +0300)]
fix -l mode table fit when using IEC binary prefixes for traffic rate, refactor output implementation

8 years agoadd RateUnitMode configuration keyword for selecting between binary and decimal ...
Teemu Toivola [Thu, 14 Apr 2016 20:14:59 +0000 (23:14 +0300)]
add RateUnitMode configuration keyword for selecting between binary and decimal (default) traffic rate prefixes, improve function and variable names

8 years agoalign variable name with configuration keyword name
Teemu Toivola [Thu, 14 Apr 2016 19:01:20 +0000 (22:01 +0300)]
align variable name with configuration keyword name

8 years agofix bad function name
Teemu Toivola [Tue, 12 Apr 2016 21:12:52 +0000 (00:12 +0300)]
fix bad function name

8 years agorefactor rate calculations, fix use of correct prefix symbol, closes #41
Teemu Toivola [Tue, 12 Apr 2016 21:09:59 +0000 (00:09 +0300)]
refactor rate calculations, fix use of correct prefix symbol, closes #41

8 years agofix potentially unassigned variable use, add check test result files to ignore list
Teemu Toivola [Tue, 12 Apr 2016 19:19:57 +0000 (22:19 +0300)]
fix potentially unassigned variable use, add check test result files to ignore list

8 years agoupdate binary paths in BSD and OS X documentation, closes #37
Teemu Toivola [Tue, 12 Jan 2016 17:45:21 +0000 (19:45 +0200)]
update binary paths in BSD and OS X documentation, closes #37

9 years agoMerge pull request #35 from rrebello/image-output-option
Teemu Toivola [Wed, 23 Dec 2015 10:24:58 +0000 (12:24 +0200)]
Merge pull request #35 from rrebello/image-output-option

configure.ac: add option to disable image output and improve gd library availability check

9 years agoconfigure.ac: add option to disable image output
Rodrigo Rebello [Tue, 22 Dec 2015 20:02:22 +0000 (18:02 -0200)]
configure.ac: add option to disable image output

Even when the gd library is present, it may be desirable to not build
'vnstati' as image output is an optional feature.

Also, when testing for the gd library, use gdImagePng() instead of
gdImageLine() since it's possible that the installed gd library doesn't
have PNG support. In such cases, the test in the configure script passed
(because gdImageLine() is always present), but the build failed with:

  src/vnstati.o: In function `writeoutput':
  vnstati.c:(.text+0x3fc): undefined reference to `gdImagePng'
  collect2: error: ld returned 1 exit status

9 years agoinclude UNINSTALL in the tar.gz file, rephrase its content
Teemu Toivola [Tue, 22 Dec 2015 16:21:43 +0000 (18:21 +0200)]
include UNINSTALL in the tar.gz file, rephrase its content

9 years agobump version to 1.16 beta
Teemu Toivola [Mon, 21 Dec 2015 22:22:15 +0000 (00:22 +0200)]
bump version to 1.16 beta

9 years agofinal preparations for version 1.15 release v1.15
Teemu Toivola [Mon, 21 Dec 2015 22:08:08 +0000 (00:08 +0200)]
final preparations for version 1.15 release

9 years agoimprove output formatting
Teemu Toivola [Mon, 21 Dec 2015 21:41:12 +0000 (23:41 +0200)]
improve output formatting

9 years agoupdate man pages for 1.15, add restriction documentation for long date formats
Teemu Toivola [Mon, 21 Dec 2015 21:19:22 +0000 (23:19 +0200)]
update man pages for 1.15, add restriction documentation for long date formats

9 years agoadd AM_MAINTAINER_MODE to configure.ac
Teemu Toivola [Tue, 8 Dec 2015 20:30:42 +0000 (22:30 +0200)]
add AM_MAINTAINER_MODE to configure.ac

9 years agofix typo in version string, provide some setup information after running configure...
Teemu Toivola [Tue, 8 Dec 2015 19:03:54 +0000 (21:03 +0200)]
fix typo in version string, provide some setup information after running configure, update files with more recent version of autotools

9 years agodon't list interfaces having names longer than what can be handled, add tests with...
Teemu Toivola [Mon, 7 Dec 2015 21:36:36 +0000 (23:36 +0200)]
don't list interfaces having names longer than what can be handled, add tests with interface names longer that what the kernel supports

9 years agofix possible buffer overflow in /proc/net/dev parsing, closes #34
Teemu Toivola [Mon, 7 Dec 2015 21:14:05 +0000 (23:14 +0200)]
fix possible buffer overflow in /proc/net/dev parsing, closes #34

9 years agoupdate changelog
Teemu Toivola [Sat, 5 Dec 2015 22:35:20 +0000 (00:35 +0200)]
update changelog

9 years agoadd --alwaysadd option to daemon to allow automatic addition of previously unseen...
Teemu Toivola [Sat, 5 Dec 2015 22:11:21 +0000 (00:11 +0200)]
add --alwaysadd option to daemon to allow automatic addition of previously unseen interfaces during startup even if the database directory has already been populated, new interfaces will also get added during runtime, closes #31

9 years agoignore test binary
Teemu Toivola [Sat, 5 Dec 2015 20:39:51 +0000 (22:39 +0200)]
ignore test binary

9 years agoimprove database validation
Teemu Toivola [Sat, 5 Dec 2015 19:09:46 +0000 (21:09 +0200)]
improve database validation

9 years agoadd release target to makefile, remove email address from configure.ac
Teemu Toivola [Mon, 26 Oct 2015 16:02:55 +0000 (18:02 +0200)]
add release target to makefile, remove email address from configure.ac

9 years agofix vnstatd to be installed to sbin instead of bin
Teemu Toivola [Sat, 24 Oct 2015 21:06:00 +0000 (00:06 +0300)]
fix vnstatd to be installed to sbin instead of bin

9 years agoMerge pull request #30 from vergoh/autotools
Teemu Toivola [Sat, 24 Oct 2015 20:28:56 +0000 (23:28 +0300)]
Merge pull request #30 from vergoh/autotools

Replace hand written makefiles with autotools

9 years agoreplace missed VERSION with getversion(), remove needless assert.h include
Teemu Toivola [Sat, 24 Oct 2015 20:16:28 +0000 (23:16 +0300)]
replace missed VERSION with getversion(), remove needless assert.h include

9 years agoupdate documentation
Teemu Toivola [Sat, 24 Oct 2015 18:48:47 +0000 (21:48 +0300)]
update documentation

9 years agoshow additional information after install and uninstall actions
Teemu Toivola [Fri, 23 Oct 2015 19:37:47 +0000 (22:37 +0300)]
show additional information after install and uninstall actions

9 years agobe less strict with defines when using extern long timezone, didn't work in Fedora...
Teemu Toivola [Fri, 23 Oct 2015 18:29:50 +0000 (21:29 +0300)]
be less strict with defines when using extern long timezone, didn't work in Fedora for some reason

9 years agoupdate .gitignore
Teemu Toivola [Fri, 23 Oct 2015 16:43:23 +0000 (19:43 +0300)]
update .gitignore

9 years agofix freebsd compile error caused by timezone function
Teemu Toivola [Fri, 23 Oct 2015 16:42:55 +0000 (19:42 +0300)]
fix freebsd compile error caused by timezone function

9 years agotry to guess a better config file location if CFGFILE isn't defined
Teemu Toivola [Fri, 23 Oct 2015 15:26:22 +0000 (18:26 +0300)]
try to guess a better config file location if CFGFILE isn't defined

9 years agofix compiler warning
Teemu Toivola [Thu, 22 Oct 2015 16:19:18 +0000 (19:19 +0300)]
fix compiler warning

9 years agoupdate configuration file during make install if it already exists instead of overwri...
Teemu Toivola [Thu, 22 Oct 2015 16:13:08 +0000 (19:13 +0300)]
update configuration file during make install if it already exists instead of overwriting it

9 years agoupdate .gitignore
Teemu Toivola [Thu, 22 Oct 2015 16:11:08 +0000 (19:11 +0300)]
update .gitignore

9 years agouse VERSION string from config.h instead of VNSTATVERSION from common.h
Teemu Toivola [Wed, 21 Oct 2015 19:07:19 +0000 (22:07 +0300)]
use VERSION string from config.h instead of VNSTATVERSION from common.h

9 years agofix Travis commands
Teemu Toivola [Tue, 20 Oct 2015 18:57:38 +0000 (21:57 +0300)]
fix Travis commands

9 years agodiscard recursive Makefiles in order to support subdir-objects in more recent automak...
Teemu Toivola [Tue, 20 Oct 2015 18:31:51 +0000 (21:31 +0300)]
discard recursive Makefiles in order to support subdir-objects in more recent automake versions

9 years agofix profile target
Teemu Toivola [Mon, 19 Oct 2015 18:52:20 +0000 (21:52 +0300)]
fix profile target

9 years agorewrite Makefile and few tests to support distcheck target
Teemu Toivola [Mon, 19 Oct 2015 15:37:16 +0000 (18:37 +0300)]
rewrite Makefile and few tests to support distcheck target

9 years agoinstall rules for configuration file and man pages, also include some other files...
Teemu Toivola [Mon, 19 Oct 2015 15:24:05 +0000 (18:24 +0300)]
install rules for configuration file and man pages, also include some other files in dist target

9 years agosplit really long lines
Teemu Toivola [Mon, 19 Oct 2015 15:22:20 +0000 (18:22 +0300)]
split really long lines

9 years agoenable tests for os x
Teemu Toivola [Sun, 18 Oct 2015 15:11:27 +0000 (18:11 +0300)]
enable tests for os x

9 years agohaving check installed shouldn't be mandatory
Teemu Toivola [Sun, 18 Oct 2015 14:00:08 +0000 (17:00 +0300)]
having check installed shouldn't be mandatory

9 years agoteach Travis to use ./configure
Teemu Toivola [Sat, 17 Oct 2015 22:35:58 +0000 (01:35 +0300)]
teach Travis to use ./configure

9 years agoupdate autotools files
Teemu Toivola [Sat, 17 Oct 2015 22:35:16 +0000 (01:35 +0300)]
update autotools files

9 years agoreplace hand written Makefiles with autotools, some functionality is still missing
Teemu Toivola [Sat, 17 Oct 2015 22:27:38 +0000 (01:27 +0300)]
replace hand written Makefiles with autotools, some functionality is still missing

9 years agorevise test values for mosecs()
Teemu Toivola [Sat, 17 Oct 2015 19:33:15 +0000 (22:33 +0300)]
revise test values for mosecs()

9 years agoMerge pull request #29 from vergoh/osxci
Teemu Toivola [Fri, 16 Oct 2015 21:51:42 +0000 (00:51 +0300)]
Merge pull request #29 from vergoh/osxci

enable OS X support in Travis

9 years agoexclude os x with gcc compiler as it is same as clang, skip tests on os x until autot...
Teemu Toivola [Fri, 16 Oct 2015 21:29:07 +0000 (00:29 +0300)]
exclude os x with gcc compiler as it is same as clang, skip tests on os x until autotools are taken into use

9 years agoadd os x instructions for Travis
Teemu Toivola [Fri, 16 Oct 2015 21:09:41 +0000 (00:09 +0300)]
add os x instructions for Travis

9 years agofix compiler warnings in tests
Teemu Toivola [Fri, 16 Oct 2015 19:34:03 +0000 (22:34 +0300)]
fix compiler warnings in tests

9 years agofix bug in mosecs() that caused unintended shared pointer modification sometimes...
Teemu Toivola [Thu, 15 Oct 2015 18:42:27 +0000 (21:42 +0300)]
fix bug in mosecs() that caused unintended shared pointer modification sometimes resulting in wrong month to be shown for current month, add tests

9 years agoupdate changelog
Teemu Toivola [Mon, 12 Oct 2015 20:52:08 +0000 (23:52 +0300)]
update changelog

9 years agodon't define _XOPEN_SOURCE in BSD, otherwise unknown type errors will appear, closes #27
Teemu Toivola [Mon, 12 Oct 2015 20:40:17 +0000 (23:40 +0300)]
don't define _XOPEN_SOURCE in BSD, otherwise unknown type errors will appear, closes #27

9 years agofix padding for Asian UTF-8 date strings
Teemu Toivola [Thu, 9 Jul 2015 17:41:41 +0000 (20:41 +0300)]
fix padding for Asian UTF-8 date strings

9 years agoremove unused variables and functionality
Teemu Toivola [Sat, 27 Jun 2015 20:10:30 +0000 (23:10 +0300)]
remove unused variables and functionality

9 years agouse ANSI escape codes move cursor and clear line instead of backspace output in ...
Teemu Toivola [Sat, 27 Jun 2015 20:05:10 +0000 (23:05 +0300)]
use ANSI escape codes move cursor and clear line instead of backspace output in -l and -tr modes, hide cursor while running

9 years agobuffer change cleanup
Teemu Toivola [Sat, 27 Jun 2015 19:42:42 +0000 (22:42 +0300)]
buffer change cleanup

9 years agoMerge pull request #20 from lilydjwg/master
Teemu Toivola [Sat, 27 Jun 2015 16:35:14 +0000 (19:35 +0300)]
Merge pull request #20 from lilydjwg/master

use larger buffers for date display

9 years agofix xml output, should not contain extra commas, broken since 1.14
Teemu Toivola [Sat, 27 Jun 2015 15:38:03 +0000 (18:38 +0300)]
fix xml output, should not contain extra commas, broken since 1.14

9 years agoadd missing fcntl.h include needed by open(), closes #21
Teemu Toivola [Sat, 27 Jun 2015 15:29:22 +0000 (18:29 +0300)]
add missing fcntl.h include needed by open(), closes #21

9 years agouse larger buffers for date display
lilydjwg [Thu, 21 May 2015 09:02:12 +0000 (17:02 +0800)]
use larger buffers for date display

also use a macro for its size.

Dates in some languages (e.g. Chinese) need larger buffers to contain
(for Chinese it usually needs at most 18 bytes). I've seen the month and
day display corrupted in Chinese or Japanese locales.

9 years agoforce interface counter sync after database import
Teemu Toivola [Thu, 14 May 2015 14:51:39 +0000 (17:51 +0300)]
force interface counter sync after database import

9 years agobump version to 1.15 beta
Teemu Toivola [Thu, 14 May 2015 14:50:51 +0000 (17:50 +0300)]
bump version to 1.15 beta