summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Roovers <jer@gentoo.org>2011-09-04 17:41:24 +0000
committerJeroen Roovers <jer@gentoo.org>2011-09-04 17:41:24 +0000
commit3225fcb29def69209bff2d8e62d1cc8cdb028846 (patch)
tree256872f7f7b7a2717b731e6fd4b6ded506553f98 /net-analyzer/vnstat
parentx86 stable wrt bug #381043 (diff)
downloadgentoo-2-3225fcb29def69209bff2d8e62d1cc8cdb028846.tar.gz
gentoo-2-3225fcb29def69209bff2d8e62d1cc8cdb028846.tar.bz2
gentoo-2-3225fcb29def69209bff2d8e62d1cc8cdb028846.zip
Replace deprecated --chuid option in init.d script (bug #381793).
(Portage version: 2.2.0_alpha52/cvs/Linux x86_64)
Diffstat (limited to 'net-analyzer/vnstat')
-rw-r--r--net-analyzer/vnstat/ChangeLog8
-rw-r--r--net-analyzer/vnstat/files/vnstatd.initd6
-rw-r--r--net-analyzer/vnstat/vnstat-1.11-r1.ebuild (renamed from net-analyzer/vnstat/vnstat-1.11.ebuild)2
3 files changed, 11 insertions, 5 deletions
diff --git a/net-analyzer/vnstat/ChangeLog b/net-analyzer/vnstat/ChangeLog
index 59fd91270c69..13b2a8c0ff0b 100644
--- a/net-analyzer/vnstat/ChangeLog
+++ b/net-analyzer/vnstat/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for net-analyzer/vnstat
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-analyzer/vnstat/ChangeLog,v 1.47 2011/06/06 07:41:54 radhermit Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/vnstat/ChangeLog,v 1.48 2011/09/04 17:41:24 jer Exp $
+
+*vnstat-1.11-r1 (04 Sep 2011)
+
+ 04 Sep 2011; Jeroen Roovers <jer@gentoo.org> -vnstat-1.11.ebuild,
+ +vnstat-1.11-r1.ebuild, files/vnstatd.initd:
+ Replace deprecated --chuid option in init.d script (bug #381793).
06 Jun 2011; Tim Harder <radhermit@gentoo.org> vnstat-1.11.ebuild:
Update to EAPI 4 and remove old warnings.
diff --git a/net-analyzer/vnstat/files/vnstatd.initd b/net-analyzer/vnstat/files/vnstatd.initd
index fbe518b51a14..24172d7f0775 100644
--- a/net-analyzer/vnstat/files/vnstatd.initd
+++ b/net-analyzer/vnstat/files/vnstatd.initd
@@ -1,7 +1,7 @@
#!/sbin/runscript
-# Copyright 2009 Gentoo Foundation
+# Copyright 2009-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-analyzer/vnstat/files/vnstatd.initd,v 1.1 2009/06/21 16:57:54 pva Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/vnstat/files/vnstatd.initd,v 1.2 2011/09/04 17:41:24 jer Exp $
opts="reload"
@@ -15,7 +15,7 @@ start() {
ebegin "Starting vnstatd"
start-stop-daemon --start --quiet \
--pidfile "${VNSTATD_PIDFILE}" \
- --chuid vnstat:vnstat \
+ --user vnstat --group vnstat \
--nicelevel ${VNSTATD_NICELEVEL:-0} \
--exec /usr/bin/vnstatd -- \
-d ${VNSTATD_EXTRAOPTS} -p ${VNSTATD_PIDFILE}
diff --git a/net-analyzer/vnstat/vnstat-1.11.ebuild b/net-analyzer/vnstat/vnstat-1.11-r1.ebuild
index e61569006a24..1b2c67f6841b 100644
--- a/net-analyzer/vnstat/vnstat-1.11.ebuild
+++ b/net-analyzer/vnstat/vnstat-1.11-r1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-analyzer/vnstat/vnstat-1.11.ebuild,v 1.2 2011/06/06 07:41:54 radhermit Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/vnstat/vnstat-1.11-r1.ebuild,v 1.1 2011/09/04 17:41:24 jer Exp $
EAPI="4"