diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-15 02:11:33 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-15 02:11:33 +0100 |
commit | 0fdd4074ff3dc0c507a9867380a4f91250a0b610 (patch) | |
tree | 83d3b64438d2f29b375d895f12b82d5c484db219 /net-analyzer/vnstat/files | |
parent | 8fbd420dce8836e6503b162092e07b6a77a89f1d (diff) |
gentoo resync : 15.10.2017
Diffstat (limited to 'net-analyzer/vnstat/files')
-rw-r--r-- | net-analyzer/vnstat/files/vnstat-1.17-conf.patch | 2 | ||||
-rw-r--r-- | net-analyzer/vnstat/files/vnstat-1.17-drop-root.patch | 15 | ||||
-rw-r--r-- | net-analyzer/vnstat/files/vnstat-1.17-run.patch | 2 |
3 files changed, 17 insertions, 2 deletions
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 |