summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Roovers <jer@gentoo.org>2010-04-25 23:18:14 +0000
committerJeroen Roovers <jer@gentoo.org>2010-04-25 23:18:14 +0000
commitd11a15bb086aeecde30c5c628f50aade6ea0f002 (patch)
tree070b3e0df35b57bfeaa5a215d27428146d8bd364 /net-analyzer/vnstat
parentRemove libsigsegv USE flag: the dependency, at a minimum, was off (it never u... (diff)
downloadhistorical-d11a15bb086aeecde30c5c628f50aade6ea0f002.tar.gz
historical-d11a15bb086aeecde30c5c628f50aade6ea0f002.tar.bz2
historical-d11a15bb086aeecde30c5c628f50aade6ea0f002.zip
Old.
Package-Manager: portage-2.2_rc67/cvs/Linux i686
Diffstat (limited to 'net-analyzer/vnstat')
-rw-r--r--net-analyzer/vnstat/Manifest8
-rw-r--r--net-analyzer/vnstat/vnstat-1.6.ebuild70
-rw-r--r--net-analyzer/vnstat/vnstat-1.7-r1.ebuild85
-rw-r--r--net-analyzer/vnstat/vnstat-1.7-r2.ebuild105
-rw-r--r--net-analyzer/vnstat/vnstat-1.7.ebuild70
-rw-r--r--net-analyzer/vnstat/vnstat-1.9.ebuild105
6 files changed, 0 insertions, 443 deletions
diff --git a/net-analyzer/vnstat/Manifest b/net-analyzer/vnstat/Manifest
index a9deea9a10f4..b9fc841cfcd1 100644
--- a/net-analyzer/vnstat/Manifest
+++ b/net-analyzer/vnstat/Manifest
@@ -2,14 +2,6 @@ AUX vnstat.cron 220 RMD160 124b6157c62cbb853d72e9d6e556fc38d3d51d54 SHA1 ae4e13a
AUX vnstatd.confd 216 RMD160 f365818a8305454943fc1a6ee67dba681d367028 SHA1 401da9e79bca8e618399efe0de80000350c74c1c SHA256 2cd5b91f86bc26aca85166a50de89faaccbf1ea8f219efb48b50b7ed0f3fe377
AUX vnstatd.initd 960 RMD160 33c715340a7b3ebb0057e90182b9f6bd0ba274a6 SHA1 2402afd35c90580193f6469e32ae912324f3b15a SHA256 0ec3229b95ce7fca944557145f9379c8bd89fdb0b41b345959a2c4ae43ed96ed
DIST vnstat-1.10.tar.gz 77685 RMD160 1fddc4343cb3206cce42516f7ff61024c65eed3f SHA1 813177fb55296deaf5059bb111885616f4d8a86f SHA256 150883f9a6f5fe2430707baa26bd148f3781423f09d27cb5285096ad943cbea2
-DIST vnstat-1.6.tar.gz 36888 RMD160 4aa0b4664a29a4201adbf7bb2184ff4858a60d46 SHA1 cadf3cb0c5bf1c19a47739ce611fe9eb6e2852a4 SHA256 80bac32b80c4b7bdead7a5a54229728a6bc11a9285493cd39946fe94b303d3c8
-DIST vnstat-1.7.tar.gz 61879 RMD160 6df5a34d706da506f6360e0ef5c06bf7000fa1b0 SHA1 6238cc975c05f10951bb217ecf8635fb594a85f0 SHA256 146ed44226dbb83e42a1f73052e674e5c859f6ff3700501c1429f7af1d3952ca
-DIST vnstat-1.9.tar.gz 76166 RMD160 5f9166b0c83b270ee9900dea171d54b693a29b61 SHA1 e415369053775855dd4f88a0b20b2a56cf3df290 SHA256 0193e9042e4bc3e21616a8f39610c31a9d1bdaec370ad1ce1a3abcc841f52fd6
EBUILD vnstat-1.10.ebuild 3322 RMD160 699e50e807d8e4d0da34fdcf8ec35ecfa3df0302 SHA1 166fa06a3eb845339af730d1d24a772994769e63 SHA256 205dede4fe7bbe7821f2beb3ba8b09d54bf01bd4a83d81f098f20e98f83bcd65
-EBUILD vnstat-1.6.ebuild 2048 RMD160 a982167517606f1ddcf6710c701b7d0772ab4a70 SHA1 92a3bcd76adf16cb8a3320f9ef27ffcd01b7c48f SHA256 20c43c0c131192950ea40373d59db173acb8544dbcac46239b3b52d35bb18961
-EBUILD vnstat-1.7-r1.ebuild 2356 RMD160 2176472586bc905efe730159c9ab8f3158b73b9e SHA1 742863eecbd0f37f88b9ccbb25f12b33f6e3ef06 SHA256 634f24e5c368b5705974efb644cd5dba13bd80984192e27e0e4bf8fe0e16048d
-EBUILD vnstat-1.7-r2.ebuild 3321 RMD160 e0cbe740686c49e406015898d972dd615fb6ddbe SHA1 4dedf5732d5703c78be830aa1d75ae7a7f8da3f3 SHA256 cbf5079ee93bf667237ed84f09dced3852b93fb83bc28246cee82dfc8a97fa58
-EBUILD vnstat-1.7.ebuild 2053 RMD160 65547e8c17cc4a8b92aac9e50c834f2721e0c85a SHA1 895288ed4d106f9e4f51fead2c65c2c650b9c631 SHA256 e7fec6fb5fddd449d8407c6e56f45c3beaa5445cf28530b948096b2b04f4e0b5
-EBUILD vnstat-1.9.ebuild 3324 RMD160 462112d2a31007878acc6e1f5f0f0bb8310a04e9 SHA1 751c86a5d4c0d9203bfd077d2367dadb393bea3b SHA256 366eaa88f585a56f7addbde10035c7965aa5779786141509956686e205c83783
MISC ChangeLog 5871 RMD160 efb1325440bc0b8d5e6c007c55f12399cfac427a SHA1 00e4866f8f365ea3439ad7308b65e25c69a7eba5 SHA256 0c6ffb865ee3534674a340c79fddf88208f2e2266ea17a679cb5412a99b0e8a4
MISC metadata.xml 478 RMD160 2160f3a198353174ea16916049dbb29eabf0e52f SHA1 4c863c84cb01fc253ffdd3478e8c909411942dc3 SHA256 28925bec141a950acd9eff4f6c6bbf9732d4745134eb914501d60859408a49c4
diff --git a/net-analyzer/vnstat/vnstat-1.6.ebuild b/net-analyzer/vnstat/vnstat-1.6.ebuild
deleted file mode 100644
index ed9876f7ec63..000000000000
--- a/net-analyzer/vnstat/vnstat-1.6.ebuild
+++ /dev/null
@@ -1,70 +0,0 @@
-# Copyright 1999-2010 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-analyzer/vnstat/vnstat-1.6.ebuild,v 1.6 2010/01/23 18:31:26 armin76 Exp $
-
-inherit eutils toolchain-funcs
-
-DESCRIPTION="Console-based network traffic monitor that keeps statistics of network usage"
-HOMEPAGE="http://humdi.net/vnstat/"
-SRC_URI="http://humdi.net/vnstat/${P}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="amd64 ~arm ppc ppc64 sparc x86"
-IUSE=""
-
-RDEPEND="virtual/cron"
-
-src_compile() {
- emake CC="$(tc-getCC)" CFLAGS="${CFLAGS}" || die "Compilation failed"
-}
-
-src_install() {
- dobin src/vnstat || die
- exeinto /etc/cron.hourly
- newexe "${FILESDIR}"/vnstat.cron vnstat
-
- insinto /etc
- doins cfg/vnstat.conf
-
- doman man/vnstat.1
-
- keepdir /var/lib/vnstat
-
- newdoc pppd/vnstat_ip-up ip-up.example
- newdoc pppd/vnstat_ip-down ip-down.example
- dodoc CHANGES README UPGRADE FAQ
- newdoc INSTALL README.setup
-}
-
-pkg_postinst() {
- # compatibility for 1.1 ebuild
- if [[ -d ${ROOT}/var/spool/vnstat ]] ; then
- mv -f "${ROOT}"/var/spool/vnstat/* "${ROOT}"/var/lib/vnstat/ \
- && rmdir "${ROOT}"/var/spool/vnstat
- elog "vnStat db files moved from /var/spool/vnstat to /var/lib/vnstat"
- elog
- fi
-
- elog "Repeat the following command for every interface you"
- elog "wish to monitor (replace eth0):"
- elog " vnstat -u -i eth0"
- elog
- elog "Note: if an interface transfers more than ~4GB in"
- elog "the time between cron runs, you may miss traffic"
- elog
-
- if [[ -e ${ROOT}/etc/cron.d/vnstat ]] ; then
- elog "vnstat's cron script is now installed as /etc/cron.hourly/vnstat."
- elog "Please remove /etc/cron.d/vnstat."
- elog
- else
- elog "A cron script has been installed to /etc/cron.hourly/vnstat."
- elog
- fi
- elog "To update your interface database automatically with"
- elog "cron, uncomment the lines in /etc/cron.hourly/vnstat."
- elog
- elog "Starting with version 1.5 --dbdir option is droped. You can do the same"
- elog "with DatabaseDir directive in configuration file (/etc/vnstat.conf)."
-}
diff --git a/net-analyzer/vnstat/vnstat-1.7-r1.ebuild b/net-analyzer/vnstat/vnstat-1.7-r1.ebuild
deleted file mode 100644
index 1382f325379f..000000000000
--- a/net-analyzer/vnstat/vnstat-1.7-r1.ebuild
+++ /dev/null
@@ -1,85 +0,0 @@
-# Copyright 1999-2010 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-analyzer/vnstat/vnstat-1.7-r1.ebuild,v 1.2 2010/01/23 18:31:26 armin76 Exp $
-
-EAPI="2"
-
-inherit eutils toolchain-funcs
-
-DESCRIPTION="Console-based network traffic monitor that keeps statistics of network usage"
-HOMEPAGE="http://humdi.net/vnstat/"
-SRC_URI="http://humdi.net/vnstat/${P}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~sparc ~x86"
-IUSE="gd"
-
-DEPEND="
- gd? ( media-libs/gd[png] )"
-RDEPEND="${DEPEND}
- virtual/cron"
-
-src_compile() {
- if use gd; then
- emake all CC="$(tc-getCC)" CFLAGS="${CFLAGS}" || die "emake failed"
- else
- emake CC="$(tc-getCC)" CFLAGS="${CFLAGS}" || die "emake failed"
- fi
-}
-
-src_install() {
- if use gd; then
- dobin src/vnstati || die "dobin failed"
- fi
- dobin src/vnstat src/vnstatd || die "dobin failed"
- exeinto /etc/cron.hourly
- newexe "${FILESDIR}"/vnstat.cron vnstat
-
- insinto /etc
- doins cfg/vnstat.conf
-
- if use gd; then
- doman man/vnstati.1
- fi
- doman man/vnstat.1 man/vnstatd.1
-
- keepdir /var/lib/vnstat
-
- newdoc pppd/vnstat_ip-up ip-up.example
- newdoc pppd/vnstat_ip-down ip-down.example
- dodoc CHANGES README UPGRADE FAQ
- newdoc INSTALL README.setup
-}
-
-pkg_postinst() {
- # compatibility for 1.1 ebuild
- if [[ -d ${ROOT}/var/spool/vnstat ]] ; then
- mv -f "${ROOT}"/var/spool/vnstat/* "${ROOT}"/var/lib/vnstat/ \
- && rmdir "${ROOT}"/var/spool/vnstat
- elog "vnStat db files moved from /var/spool/vnstat to /var/lib/vnstat"
- elog
- fi
-
- elog "Repeat the following command for every interface you"
- elog "wish to monitor (replace eth0):"
- elog " vnstat -u -i eth0"
- elog
- elog "Note: if an interface transfers more than ~4GB in"
- elog "the time between cron runs, you may miss traffic"
- elog
-
- if [[ -e ${ROOT}/etc/cron.d/vnstat ]] ; then
- elog "vnstat's cron script is now installed as /etc/cron.hourly/vnstat."
- elog "Please remove /etc/cron.d/vnstat."
- elog
- else
- elog "A cron script has been installed to /etc/cron.hourly/vnstat."
- elog
- fi
- elog "To update your interface database automatically with"
- elog "cron, uncomment the lines in /etc/cron.hourly/vnstat."
- elog
- elog "Starting with version 1.5 --dbdir option is droped. You can do the same"
- elog "with DatabaseDir directive in configuration file (/etc/vnstat.conf)."
-}
diff --git a/net-analyzer/vnstat/vnstat-1.7-r2.ebuild b/net-analyzer/vnstat/vnstat-1.7-r2.ebuild
deleted file mode 100644
index 8716534dee90..000000000000
--- a/net-analyzer/vnstat/vnstat-1.7-r2.ebuild
+++ /dev/null
@@ -1,105 +0,0 @@
-# Copyright 1999-2010 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-analyzer/vnstat/vnstat-1.7-r2.ebuild,v 1.2 2010/01/23 18:31:26 armin76 Exp $
-
-EAPI="2"
-
-inherit eutils toolchain-funcs
-
-DESCRIPTION="Console-based network traffic monitor that keeps statistics of network usage"
-HOMEPAGE="http://humdi.net/vnstat/"
-SRC_URI="http://humdi.net/vnstat/${P}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~sparc ~x86"
-IUSE="gd"
-
-DEPEND="
- gd? ( media-libs/gd[png] )"
-RDEPEND="${DEPEND}
- virtual/cron"
-
-pkg_setup() {
- enewgroup vnstat
- enewuser vnstat -1 -1 /dev/null vnstat
-}
-
-src_compile() {
- 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}" || die "emake all failed"
- else
- emake CC="$(tc-getCC)" CFLAGS="${CFLAGS}" || die "emake failed"
- fi
-}
-
-src_install() {
- if use gd; then
- dobin src/vnstati || die "vnstati dobin failed"
- fi
- dobin src/vnstat src/vnstatd || die "dobin failed"
- exeinto /etc/cron.hourly
- newexe "${FILESDIR}"/vnstat.cron vnstat || die
-
- insinto /etc
- doins cfg/vnstat.conf || die
- fowners root:vnstat /etc/vnstat.conf
-
- newconfd "${FILESDIR}/vnstatd.confd" vnstatd || die
- newinitd "${FILESDIR}/vnstatd.initd" vnstatd || die
-
- keepdir /var/lib/vnstat
- keepdir /var/run/vnstatd
- fowners vnstat:vnstat /var/lib/vnstat
- fowners vnstat:vnstat /var/run/vnstatd
-
- use gd && { doman man/vnstati.1 || die; }
- doman man/vnstat.1 man/vnstatd.1 || die
-
- newdoc examples/vnstat_ip-up ip-up.example || die
- newdoc examples/vnstat_ip-down ip-down.example || die
- newdoc INSTALL README.setup || die
- dodoc CHANGES README UPGRADE FAQ examples/vnstat.cgi || die
-}
-
-pkg_postinst() {
- # compatibility for 1.1 ebuild
- if [[ -d ${ROOT}/var/spool/vnstat ]]; then
- mv -f "${ROOT}"/var/spool/vnstat/* "${ROOT}"/var/lib/vnstat/ \
- && rmdir "${ROOT}"/var/spool/vnstat
- ewarn "vnStat db files have been moved from /var/spool/vnstat to /var/lib/vnstat"
- ewarn
- fi
-
- # Workaround feature/bug #141619
- 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
- elog "Repeat the following command for every interface you"
- elog "wish to monitor (replace eth0):"
- elog " vnstat -u -i eth0"
- elog "and set correct permissions after that, e.g."
- elog " chown -R vnstat:vnstat /var/lib/vnstat"
- elog
- elog "Note: if an interface transfers more than ~4GB in"
- elog "the time between cron runs, you may miss traffic"
- elog
-
- if [[ -e ${ROOT}/etc/cron.d/vnstat ]] ; then
- elog "vnstat's cron script is now installed as /etc/cron.hourly/vnstat."
- elog "Please remove /etc/cron.d/vnstat."
- elog
- fi
- elog "To update the interfaces database automatically with cron, uncomment"
- elog "lines in /etc/cron.hourly/vnstat and set cron job to run it as"
- elog "frequently as required. Alternatively you can use vnstatd. Init script"
- elog "was installed into /etc/init.d/vnstatd for your convenience."
- elog
- elog "Starting with version 1.5 --dbdir option is droped. You can do the same"
- elog "with DatabaseDir directive in configuration file (/etc/vnstat.conf)."
-}
diff --git a/net-analyzer/vnstat/vnstat-1.7.ebuild b/net-analyzer/vnstat/vnstat-1.7.ebuild
deleted file mode 100644
index c453f5872450..000000000000
--- a/net-analyzer/vnstat/vnstat-1.7.ebuild
+++ /dev/null
@@ -1,70 +0,0 @@
-# Copyright 1999-2010 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-analyzer/vnstat/vnstat-1.7.ebuild,v 1.2 2010/01/23 18:31:26 armin76 Exp $
-
-inherit eutils toolchain-funcs
-
-DESCRIPTION="Console-based network traffic monitor that keeps statistics of network usage"
-HOMEPAGE="http://humdi.net/vnstat/"
-SRC_URI="http://humdi.net/vnstat/${P}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~sparc ~x86"
-IUSE=""
-
-RDEPEND="virtual/cron"
-
-src_compile() {
- emake CC="$(tc-getCC)" CFLAGS="${CFLAGS}" || die "Compilation failed"
-}
-
-src_install() {
- dobin src/vnstat || die
- exeinto /etc/cron.hourly
- newexe "${FILESDIR}"/vnstat.cron vnstat
-
- insinto /etc
- doins cfg/vnstat.conf
-
- doman man/vnstat.1
-
- keepdir /var/lib/vnstat
-
- newdoc pppd/vnstat_ip-up ip-up.example
- newdoc pppd/vnstat_ip-down ip-down.example
- dodoc CHANGES README UPGRADE FAQ
- newdoc INSTALL README.setup
-}
-
-pkg_postinst() {
- # compatibility for 1.1 ebuild
- if [[ -d ${ROOT}/var/spool/vnstat ]] ; then
- mv -f "${ROOT}"/var/spool/vnstat/* "${ROOT}"/var/lib/vnstat/ \
- && rmdir "${ROOT}"/var/spool/vnstat
- elog "vnStat db files moved from /var/spool/vnstat to /var/lib/vnstat"
- elog
- fi
-
- elog "Repeat the following command for every interface you"
- elog "wish to monitor (replace eth0):"
- elog " vnstat -u -i eth0"
- elog
- elog "Note: if an interface transfers more than ~4GB in"
- elog "the time between cron runs, you may miss traffic"
- elog
-
- if [[ -e ${ROOT}/etc/cron.d/vnstat ]] ; then
- elog "vnstat's cron script is now installed as /etc/cron.hourly/vnstat."
- elog "Please remove /etc/cron.d/vnstat."
- elog
- else
- elog "A cron script has been installed to /etc/cron.hourly/vnstat."
- elog
- fi
- elog "To update your interface database automatically with"
- elog "cron, uncomment the lines in /etc/cron.hourly/vnstat."
- elog
- elog "Starting with version 1.5 --dbdir option is droped. You can do the same"
- elog "with DatabaseDir directive in configuration file (/etc/vnstat.conf)."
-}
diff --git a/net-analyzer/vnstat/vnstat-1.9.ebuild b/net-analyzer/vnstat/vnstat-1.9.ebuild
deleted file mode 100644
index 71476e6c81b5..000000000000
--- a/net-analyzer/vnstat/vnstat-1.9.ebuild
+++ /dev/null
@@ -1,105 +0,0 @@
-# Copyright 1999-2010 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-analyzer/vnstat/vnstat-1.9.ebuild,v 1.3 2010/01/23 18:31:26 armin76 Exp $
-
-EAPI="2"
-
-inherit eutils toolchain-funcs
-
-DESCRIPTION="Console-based network traffic monitor that keeps statistics of network usage"
-HOMEPAGE="http://humdi.net/vnstat/"
-SRC_URI="http://humdi.net/vnstat/${P}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~arm ~hppa ~ppc ~ppc64 ~sparc ~x86"
-IUSE="gd"
-
-DEPEND="
- gd? ( media-libs/gd[png] )"
-RDEPEND="${DEPEND}
- virtual/cron"
-
-pkg_setup() {
- enewgroup vnstat
- enewuser vnstat -1 -1 /dev/null vnstat
-}
-
-src_compile() {
- 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}" || die "emake all failed"
- else
- emake CC="$(tc-getCC)" CFLAGS="${CFLAGS}" || die "emake failed"
- fi
-}
-
-src_install() {
- if use gd; then
- dobin src/vnstati || die "vnstati dobin failed"
- fi
- dobin src/vnstat src/vnstatd || die "dobin failed"
- exeinto /etc/cron.hourly
- newexe "${FILESDIR}"/vnstat.cron vnstat || die
-
- insinto /etc
- doins cfg/vnstat.conf || die
- fowners root:vnstat /etc/vnstat.conf
-
- newconfd "${FILESDIR}/vnstatd.confd" vnstatd || die
- newinitd "${FILESDIR}/vnstatd.initd" vnstatd || die
-
- keepdir /var/lib/vnstat
- keepdir /var/run/vnstatd
- fowners vnstat:vnstat /var/lib/vnstat
- fowners vnstat:vnstat /var/run/vnstatd
-
- use gd && { doman man/vnstati.1 || die; }
- doman man/vnstat.1 man/vnstatd.1 || die
-
- newdoc examples/vnstat_ip-up ip-up.example || die
- newdoc examples/vnstat_ip-down ip-down.example || die
- newdoc INSTALL README.setup || die
- dodoc CHANGES README UPGRADE FAQ examples/vnstat.cgi || die
-}
-
-pkg_postinst() {
- # compatibility for 1.1 ebuild
- if [[ -d ${ROOT}/var/spool/vnstat ]]; then
- mv -f "${ROOT}"/var/spool/vnstat/* "${ROOT}"/var/lib/vnstat/ \
- && rmdir "${ROOT}"/var/spool/vnstat
- ewarn "vnStat db files have been moved from /var/spool/vnstat to /var/lib/vnstat"
- ewarn
- fi
-
- # Workaround feature/bug #141619
- 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
- elog "Repeat the following command for every interface you"
- elog "wish to monitor (replace eth0):"
- elog " vnstat -u -i eth0"
- elog "and set correct permissions after that, e.g."
- elog " chown -R vnstat:vnstat /var/lib/vnstat"
- elog
- elog "Note: if an interface transfers more than ~4GB in"
- elog "the time between cron runs, you may miss traffic"
- elog
-
- if [[ -e ${ROOT}/etc/cron.d/vnstat ]] ; then
- elog "vnstat's cron script is now installed as /etc/cron.hourly/vnstat."
- elog "Please remove /etc/cron.d/vnstat."
- elog
- fi
- elog "To update the interfaces database automatically with cron, uncomment"
- elog "lines in /etc/cron.hourly/vnstat and set cron job to run it as"
- elog "frequently as required. Alternatively you can use vnstatd. Init script"
- elog "was installed into /etc/init.d/vnstatd for your convenience."
- elog
- elog "Starting with version 1.5 --dbdir option is droped. You can do the same"
- elog "with DatabaseDir directive in configuration file (/etc/vnstat.conf)."
-}