summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Volkov <pva@gentoo.org>2008-01-08 18:50:33 +0000
committerPeter Volkov <pva@gentoo.org>2008-01-08 18:50:33 +0000
commitebd0e3300350026dee363428725a06bc40744548 (patch)
tree9fcbdee139cc08bcdcc69448c90ce0886e648f8b /net-analyzer
parentMarked ~hppa (bug #204038). (diff)
downloadhistorical-ebd0e3300350026dee363428725a06bc40744548.tar.gz
historical-ebd0e3300350026dee363428725a06bc40744548.tar.bz2
historical-ebd0e3300350026dee363428725a06bc40744548.zip
Version bump.
Package-Manager: portage-2.1.3.19
Diffstat (limited to 'net-analyzer')
-rw-r--r--net-analyzer/vnstat/ChangeLog9
-rw-r--r--net-analyzer/vnstat/Manifest16
-rw-r--r--net-analyzer/vnstat/files/digest-vnstat-1.63
-rw-r--r--net-analyzer/vnstat/vnstat-1.6.ebuild70
4 files changed, 92 insertions, 6 deletions
diff --git a/net-analyzer/vnstat/ChangeLog b/net-analyzer/vnstat/ChangeLog
index d3d53302ec1e..c00ea613df9a 100644
--- a/net-analyzer/vnstat/ChangeLog
+++ b/net-analyzer/vnstat/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for net-analyzer/vnstat
-# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-analyzer/vnstat/ChangeLog,v 1.26 2007/12/26 17:28:51 pva Exp $
+# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/vnstat/ChangeLog,v 1.27 2008/01/08 18:50:33 pva Exp $
+
+*vnstat-1.6 (08 Jan 2008)
+
+ 08 Jan 2008; <pva@gentoo.org> +vnstat-1.6.ebuild:
+ Version bump.
*vnstat-1.5 (26 Dec 2007)
diff --git a/net-analyzer/vnstat/Manifest b/net-analyzer/vnstat/Manifest
index 78fe6b084f20..a0ae8afe10a9 100644
--- a/net-analyzer/vnstat/Manifest
+++ b/net-analyzer/vnstat/Manifest
@@ -12,6 +12,7 @@ RMD160 124b6157c62cbb853d72e9d6e556fc38d3d51d54 files/vnstat.cron 220
SHA256 b6b437c680606061b98af19758cbacc3f883f73cd86f0bbfbcfe756c982cd3fd files/vnstat.cron 220
DIST vnstat-1.4.tar.gz 26237 RMD160 ff7c2ea0849b1d9e62fbdb695fecf62df9f902a0 SHA1 49a51c91dc655f5ff78615db778b982e6e4b2bc2 SHA256 2f63c326b34e92254552bd69772dcd8e24e9cc216ccfa182c9fa2523c37fcf37
DIST vnstat-1.5.tar.gz 33491 RMD160 062ac9fc4355e67445c15ce36d97f54347f1dc28 SHA1 f3c72b02754e189387a192927c43cd0f093cf755 SHA256 a590048a97761fa97e9ecb89e3a81a5a56949b2f5e669446b15cf9d655901aa6
+DIST vnstat-1.6.tar.gz 36888 RMD160 4aa0b4664a29a4201adbf7bb2184ff4858a60d46 SHA1 cadf3cb0c5bf1c19a47739ce611fe9eb6e2852a4 SHA256 80bac32b80c4b7bdead7a5a54229728a6bc11a9285493cd39946fe94b303d3c8
EBUILD vnstat-1.4-r2.ebuild 2042 RMD160 ca47629e9b0bdacc74c94f6d3a4acfbf9788ef93 SHA1 ac315cb9f4e69539fa4d10228ebe48090d249a3a SHA256 3bc6f2083ca931456958e6a325148b71105ee236389ab696e3b25e97436af7ea
MD5 ddf32965668e968de4161c0b30be905e vnstat-1.4-r2.ebuild 2042
RMD160 ca47629e9b0bdacc74c94f6d3a4acfbf9788ef93 vnstat-1.4-r2.ebuild 2042
@@ -20,10 +21,14 @@ EBUILD vnstat-1.5.ebuild 2044 RMD160 bc9c70578cd371499a2f6250711259b4399d0c1a SH
MD5 edcd288ddd08b539ab93f10259fe1841 vnstat-1.5.ebuild 2044
RMD160 bc9c70578cd371499a2f6250711259b4399d0c1a vnstat-1.5.ebuild 2044
SHA256 365f001103c66e25c090ffb0753a56e2927d6b3f034ac578041f312bf66f851f vnstat-1.5.ebuild 2044
-MISC ChangeLog 3511 RMD160 dfb76984cd80d91cca39e6753f425d1ce05f1c39 SHA1 db70c861868fb9cad8815557ac06cfa611de43cb SHA256 676259fbf885d61dc4e0e08bdb7d07176bd347d25845cc82dded5fd19b6e5e81
-MD5 ba0223be1f2614f6878fd2b8e8b77dad ChangeLog 3511
-RMD160 dfb76984cd80d91cca39e6753f425d1ce05f1c39 ChangeLog 3511
-SHA256 676259fbf885d61dc4e0e08bdb7d07176bd347d25845cc82dded5fd19b6e5e81 ChangeLog 3511
+EBUILD vnstat-1.6.ebuild 2044 RMD160 b89e88188b6333a78ee520ca4fbcdd3b003f7aa7 SHA1 01f8a0de6b201fc4119f114cbfdb3c8f34572d79 SHA256 e6826211a6c875b9915d83a46e5dfb691686aaaeec8fbe9266844789e2d4b68d
+MD5 c8e79fe21c3696c101d58788f8836e19 vnstat-1.6.ebuild 2044
+RMD160 b89e88188b6333a78ee520ca4fbcdd3b003f7aa7 vnstat-1.6.ebuild 2044
+SHA256 e6826211a6c875b9915d83a46e5dfb691686aaaeec8fbe9266844789e2d4b68d vnstat-1.6.ebuild 2044
+MISC ChangeLog 3607 RMD160 fd121a84de2d9380ee2136f595dfba64926b2217 SHA1 8f1795c29d534e78309c450877288f066d355318 SHA256 212bda12c336102cf76a0849f2e58ef5dd01fee947f9bb89a6db12f7e3068ccd
+MD5 381d0e7aaf6170072f188af59f60a225 ChangeLog 3607
+RMD160 fd121a84de2d9380ee2136f595dfba64926b2217 ChangeLog 3607
+SHA256 212bda12c336102cf76a0849f2e58ef5dd01fee947f9bb89a6db12f7e3068ccd ChangeLog 3607
MISC metadata.xml 478 RMD160 2160f3a198353174ea16916049dbb29eabf0e52f SHA1 4c863c84cb01fc253ffdd3478e8c909411942dc3 SHA256 28925bec141a950acd9eff4f6c6bbf9732d4745134eb914501d60859408a49c4
MD5 5d54579afc9a871990aea05bd773dfa0 metadata.xml 478
RMD160 2160f3a198353174ea16916049dbb29eabf0e52f metadata.xml 478
@@ -34,3 +39,6 @@ SHA256 1ca41bcc3c561da005c6f75184b6a90e350056c8a81d1639bee1f0c182b7e06b files/di
MD5 e7133fd030a2c7ba970b6ce5e9f50886 files/digest-vnstat-1.5 229
RMD160 e9b9b2251c2e41bab8ff5bc35752d0ab6450e485 files/digest-vnstat-1.5 229
SHA256 164999769a585d28e3c9ac3d0cc33ba47cc44c2abe3187fccfce11192bc92930 files/digest-vnstat-1.5 229
+MD5 02175f55de27a0783de2a784679be153 files/digest-vnstat-1.6 229
+RMD160 9ba8ca4d9b1931fa1fdbd82e0e5eddc4f95d738c files/digest-vnstat-1.6 229
+SHA256 83f7e8816614e89b66aed47b572ce6d5e2d5c86f8c8d1e3c5e4a6db3381df529 files/digest-vnstat-1.6 229
diff --git a/net-analyzer/vnstat/files/digest-vnstat-1.6 b/net-analyzer/vnstat/files/digest-vnstat-1.6
new file mode 100644
index 000000000000..69474a56b83a
--- /dev/null
+++ b/net-analyzer/vnstat/files/digest-vnstat-1.6
@@ -0,0 +1,3 @@
+MD5 ccaffe8e70d47e0cf2f25e52daa25712 vnstat-1.6.tar.gz 36888
+RMD160 4aa0b4664a29a4201adbf7bb2184ff4858a60d46 vnstat-1.6.tar.gz 36888
+SHA256 80bac32b80c4b7bdead7a5a54229728a6bc11a9285493cd39946fe94b303d3c8 vnstat-1.6.tar.gz 36888
diff --git a/net-analyzer/vnstat/vnstat-1.6.ebuild b/net-analyzer/vnstat/vnstat-1.6.ebuild
new file mode 100644
index 000000000000..fa9628926552
--- /dev/null
+++ b/net-analyzer/vnstat/vnstat-1.6.ebuild
@@ -0,0 +1,70 @@
+# Copyright 1999-2008 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.1 2008/01/08 18:50:33 pva 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 ~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)."
+}