jer 14/07/18 03:27:16 Modified: ChangeLog vnstat-1.11-r2.ebuild Log: EAPI bump. (Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key A792A613)
Revision Changes Path 1.65 net-analyzer/vnstat/ChangeLog file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/vnstat/ChangeLog?rev=1.65&view=markup plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/vnstat/ChangeLog?rev=1.65&content-type=text/plain diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/vnstat/ChangeLog?r1=1.64&r2=1.65 Index: ChangeLog =================================================================== RCS file: /var/cvsroot/gentoo-x86/net-analyzer/vnstat/ChangeLog,v retrieving revision 1.64 retrieving revision 1.65 diff -u -r1.64 -r1.65 --- ChangeLog 22 Feb 2014 02:50:18 -0000 1.64 +++ ChangeLog 18 Jul 2014 03:27:16 -0000 1.65 @@ -1,6 +1,9 @@ # ChangeLog for net-analyzer/vnstat # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-analyzer/vnstat/ChangeLog,v 1.64 2014/02/22 02:50:18 jer Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-analyzer/vnstat/ChangeLog,v 1.65 2014/07/18 03:27:16 jer Exp $ + + 18 Jul 2014; Jeroen Roovers <[email protected]> vnstat-1.11-r2.ebuild: + EAPI bump. 22 Feb 2014; Jeroen Roovers <[email protected]> vnstat-1.11-r2.ebuild: Remove virtual/cron dependency by Alex Xu (bug #485286). 1.11 net-analyzer/vnstat/vnstat-1.11-r2.ebuild file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/vnstat/vnstat-1.11-r2.ebuild?rev=1.11&view=markup plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/vnstat/vnstat-1.11-r2.ebuild?rev=1.11&content-type=text/plain diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/vnstat/vnstat-1.11-r2.ebuild?r1=1.10&r2=1.11 Index: vnstat-1.11-r2.ebuild =================================================================== RCS file: /var/cvsroot/gentoo-x86/net-analyzer/vnstat/vnstat-1.11-r2.ebuild,v retrieving revision 1.10 retrieving revision 1.11 diff -u -r1.10 -r1.11 --- vnstat-1.11-r2.ebuild 22 Feb 2014 02:50:18 -0000 1.10 +++ vnstat-1.11-r2.ebuild 18 Jul 2014 03:27:16 -0000 1.11 @@ -1,9 +1,8 @@ # Copyright 1999-2014 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-analyzer/vnstat/vnstat-1.11-r2.ebuild,v 1.10 2014/02/22 02:50:18 jer Exp $ - -EAPI="4" +# $Header: /var/cvsroot/gentoo-x86/net-analyzer/vnstat/vnstat-1.11-r2.ebuild,v 1.11 2014/07/18 03:27:16 jer Exp $ +EAPI=5 inherit toolchain-funcs user DESCRIPTION="Console-based network traffic monitor that keeps statistics of network usage" @@ -28,11 +27,7 @@ sed -i 's:vnstat[.]log:vnstatd.log:' cfg/vnstat.conf || die sed -i 's:vnstat[.]pid:vnstatd/vnstatd.pid:' cfg/vnstat.conf || die - if use gd; then - emake all CC="$(tc-getCC)" CFLAGS="${CFLAGS}" - else - emake CC="$(tc-getCC)" CFLAGS="${CFLAGS}" - fi + emake all CC="$(tc-getCC)" CFLAGS="${CFLAGS}" $(usex gd all '') } src_install() { @@ -45,8 +40,8 @@ doins cfg/vnstat.conf fowners root:vnstat /etc/vnstat.conf - newconfd "${FILESDIR}/vnstatd.confd" vnstatd - newinitd "${FILESDIR}/vnstatd.initd" vnstatd + newconfd "${FILESDIR}"/vnstatd.confd vnstatd + newinitd "${FILESDIR}"/vnstatd.initd vnstatd keepdir /var/lib/vnstat fowners vnstat:vnstat /var/lib/vnstat @@ -62,8 +57,8 @@ pkg_postinst() { # Workaround feature/bug #141619 - chown -R vnstat:vnstat "${ROOT}/var/lib/vnstat" - chown vnstat:vnstat "${ROOT}/var/run/vnstatd" + chown -R vnstat:vnstat "${ROOT}"/var/lib/vnstat + chown vnstat:vnstat "${ROOT}"/var/run/vnstatd ewarn "vnStat db files owning user and group has been changed to \"vnstat\"." elog
