Debian Patches

Status for vnstat/2.6-3

Patch Description Author Forwarded Bugs Origin Last update
debian/systemd_user.diff Run vnstatd as user vnstat Felix Geyer <fgeyer@debian.org> not-needed 2017-08-20
applied-upstream/0009-rename-Correctly-log-existing-interface.patch rename: Correctly log existing interface Ani <ani-leo@outlook.com> no 2020-10-18
applied-upstream/0001-avoid-discarding-const-on-const-strings.patch avoid discarding const on const strings
gcc warnings:

src/dbsql.c: In function ‘db_create’:
src/dbsql.c:314:6: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
314 | sql = "CREATE TABLE info(\n"
| ^
src/dbsql.c:324:6: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
324 | sql = "CREATE TABLE interface(\n"
| ^
src/dbsql.c: In function ‘db_getiflist_sorted’:
src/dbsql.c:730:7: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
730 | sql = "select name from interface order by name asc";
| ^
src/dbsql.c:732:7: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
732 | sql = "select name from interface order by rxtotal+txtotal desc";
| ^
=?utf-8?q?Christian_G=C3=B6ttsche?= <cgzones@googlemail.com> no 2020-02-05
applied-upstream/0002-rename-variables-for-improved-readability.patch rename variables for improved readability Teemu Toivola <git@humdi.net> no 2020-02-26
applied-upstream/0003-Error-early-on-non-Linux-and-BSD-like-systems.patch Error early on non Linux and BSD like systems
E.g. vnStat compiles on hurd, but the testsuite fails ultimately
=?utf-8?q?Christian_G=C3=B6ttsche?= <cgzones@googlemail.com> no 2020-03-15
applied-upstream/0004-add-check-for-memory-allocation-failure.patch add check for memory allocation failure
Avoid passing potential NULL to memset
=?utf-8?q?Christian_G=C3=B6ttsche?= <cgzones@googlemail.com> no 2020-03-30
applied-upstream/0005-vnstat.service-sort-hardening-options.patch vnstat.service: sort hardening options =?utf-8?q?Christian_G=C3=B6ttsche?= <cgzones@googlemail.com> no 2020-04-29
applied-upstream/0006-vnstat.service-add-systemd-hardening-options.patch vnstat.service: add systemd hardening options
Add empty CapabilityBoundingSet
Enable LockPersonality, NoNewPrivileges, ProtectClock, ProtectKernelLogs
and RestrictSEUIDSGID
=?utf-8?q?Christian_G=C3=B6ttsche?= <cgzones@googlemail.com> no 2020-04-29
applied-upstream/0007-Correct-misspellings.patch Correct misspellings =?utf-8?q?Christian_G=C3=B6ttsche?= <cgzones@googlemail.com> no 2020-05-30
applied-upstream/0008-vnstat.conf.5-use-single-closing.patch vnstat.conf.5: use single closing '
Currently the man page shows '#`, let show it '#'.

Also stop escaping the leading space, seems like it was introduced by
accident in e5c5e2da15a2 ("more documentation updates")

Found by Lintian (acute-accent-in-manual-page)

This manual page uses the \' groff sequence. Usually, the intent to
generate an apostrophe, but that sequence actually renders as a an acute
accent.

For an apostrophe or a single closing quote, use plain '. For single
opening quote, i.e. a straight downward line ' like the one used in
shell commands, use &#92;(aq.
=?utf-8?q?Christian_G=C3=B6ttsche?= <cgzones@googlemail.com> no 2020-07-17
debian/pidfile_path.diff Adjust PidFile path to the new location Felix Geyer <fgeyer@debian.org> not-needed 2017-08-20
debian/fix-salsaci-remove-dir.patch remove unknown dir entries in remove_directory for vnstat tests
Salsa-ci might alter directory entries for reproducible build, so that
some might end up with an unknown entry type.
Delete those too.
=?utf-8?q?Christian_G=C3=B6ttsche?= <cgzones@googlemail.com> not-needed 2019-09-22
debian/drop_systemd_alias.patch Drop systemd service alias
The use of aliases in systemd unit files is not recommended and static
symlink should be created at post-installation step instead to support
multiple naming in systemctl commands:
https://wiki.debian.org/Teams/pkg-systemd/Packaging#systemd_unit_files_naming_and_installation
=?utf-8?q?Christian_G=C3=B6ttsche?= <cgzones@googlemail.com> no 2020-04-06
debian/drop-ReadWritePaths-from-systemd-service.patch Drop ReadWritePaths from systemd service
This is only a compatibility setting for systemd versions supporting
ProtectSystem=strict but not StateDirectory=
=?utf-8?q?Christian_G=C3=B6ttsche?= <cgzones@googlemail.com> no 2020-05-18

All known versions for source package 'vnstat'

Links