From 0fdd4074ff3dc0c507a9867380a4f91250a0b610 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sun, 15 Oct 2017 02:11:33 +0100 Subject: gentoo resync : 15.10.2017 --- net-analyzer/vnstat/files/vnstat-1.17-conf.patch | 2 +- net-analyzer/vnstat/files/vnstat-1.17-drop-root.patch | 15 +++++++++++++++ net-analyzer/vnstat/files/vnstat-1.17-run.patch | 2 +- 3 files changed, 17 insertions(+), 2 deletions(-) create mode 100644 net-analyzer/vnstat/files/vnstat-1.17-drop-root.patch (limited to 'net-analyzer/vnstat/files') diff --git a/net-analyzer/vnstat/files/vnstat-1.17-conf.patch b/net-analyzer/vnstat/files/vnstat-1.17-conf.patch index b939e7c04351..5bcbdafb2a74 100644 --- a/net-analyzer/vnstat/files/vnstat-1.17-conf.patch +++ b/net-analyzer/vnstat/files/vnstat-1.17-conf.patch @@ -1,4 +1,4 @@ ---- a/cfg/vnstat.conf.JeR +--- a/cfg/vnstat.conf +++ b/cfg/vnstat.conf @@ -115,10 +115,10 @@ UpdateFileOwner 1 diff --git a/net-analyzer/vnstat/files/vnstat-1.17-drop-root.patch b/net-analyzer/vnstat/files/vnstat-1.17-drop-root.patch new file mode 100644 index 000000000000..c0446c3b3410 --- /dev/null +++ b/net-analyzer/vnstat/files/vnstat-1.17-drop-root.patch @@ -0,0 +1,15 @@ +--- a/cfg/vnstat.conf ++++ b/cfg/vnstat.conf +@@ -81,10 +81,10 @@ + ## + + # switch to given user when started as root (leave empty to disable) +-DaemonUser "" ++DaemonUser "vnstat" + + # switch to given user when started as root (leave empty to disable) +-DaemonGroup "" ++DaemonGroup "vnstat" + + # how often (in seconds) interface data is updated + UpdateInterval 30 diff --git a/net-analyzer/vnstat/files/vnstat-1.17-run.patch b/net-analyzer/vnstat/files/vnstat-1.17-run.patch index e3b514d0c6b6..4afe449ceed3 100644 --- a/net-analyzer/vnstat/files/vnstat-1.17-run.patch +++ b/net-analyzer/vnstat/files/vnstat-1.17-run.patch @@ -1,4 +1,4 @@ ---- a/src/common.h.JeR +--- a/src/common.h +++ b/src/common.h @@ -198,7 +198,7 @@ #define CREATEDIRS 1 -- cgit v1.2.3