Gentoo Archives: gentoo-commits

From: "Peter Volkov (pva)" <pva@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in net-analyzer/vnstat: vnstat-1.4-r2.ebuild metadata.xml ChangeLog vnstat-1.5.ebuild
Date: Wed, 26 Dec 2007 17:28:56
Message-Id: E1J7a3o-0000YA-33@stork.gentoo.org
1 pva 07/12/26 17:28:52
2
3 Modified: vnstat-1.4-r2.ebuild metadata.xml ChangeLog
4 Added: vnstat-1.5.ebuild
5 Log:
6 Version bump. Thank armin76 for report. --dbdir is droped as you can do the same in configuration file.
7 (Portage version: 2.1.3.19)
8
9 Revision Changes Path
10 1.10 net-analyzer/vnstat/vnstat-1.4-r2.ebuild
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-analyzer/vnstat/vnstat-1.4-r2.ebuild?rev=1.10&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-analyzer/vnstat/vnstat-1.4-r2.ebuild?rev=1.10&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-analyzer/vnstat/vnstat-1.4-r2.ebuild?r1=1.9&r2=1.10
15
16 Index: vnstat-1.4-r2.ebuild
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/net-analyzer/vnstat/vnstat-1.4-r2.ebuild,v
19 retrieving revision 1.9
20 retrieving revision 1.10
21 diff -u -r1.9 -r1.10
22 --- vnstat-1.4-r2.ebuild 15 Jun 2007 22:47:46 -0000 1.9
23 +++ vnstat-1.4-r2.ebuild 26 Dec 2007 17:28:51 -0000 1.10
24 @@ -1,6 +1,6 @@
25 # Copyright 1999-2007 Gentoo Foundation
26 # Distributed under the terms of the GNU General Public License v2
27 -# $Header: /var/cvsroot/gentoo-x86/net-analyzer/vnstat/vnstat-1.4-r2.ebuild,v 1.9 2007/06/15 22:47:46 angelos Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/net-analyzer/vnstat/vnstat-1.4-r2.ebuild,v 1.10 2007/12/26 17:28:51 pva Exp $
29
30 inherit eutils toolchain-funcs
31
32 @@ -36,7 +36,7 @@
33
34 dobin src/vnstat || die
35 exeinto /etc/cron.hourly
36 - newexe ${FILESDIR}/vnstat.cron vnstat
37 + newexe "${FILESDIR}"/vnstat.cron vnstat
38 doman man/vnstat.1
39
40 newdoc pppd/vnstat_ip-down ip-down.example
41
42
43
44 1.2 net-analyzer/vnstat/metadata.xml
45
46 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-analyzer/vnstat/metadata.xml?rev=1.2&view=markup
47 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-analyzer/vnstat/metadata.xml?rev=1.2&content-type=text/plain
48 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-analyzer/vnstat/metadata.xml?r1=1.1&r2=1.2
49
50 Index: metadata.xml
51 ===================================================================
52 RCS file: /var/cvsroot/gentoo-x86/net-analyzer/vnstat/metadata.xml,v
53 retrieving revision 1.1
54 retrieving revision 1.2
55 diff -u -r1.1 -r1.2
56 --- metadata.xml 13 Jul 2004 06:41:16 -0000 1.1
57 +++ metadata.xml 26 Dec 2007 17:28:51 -0000 1.2
58 @@ -1,6 +1,11 @@
59 <?xml version="1.0" encoding="UTF-8"?>
60 <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
61 <pkgmetadata>
62 -<herd>netmon</herd>
63 -<longdescription>Console-based network traffic monitor that keeps statistics of network usage</longdescription>
64 + <herd>netmon</herd>
65 +<longdescription>
66 + vnStat is a network traffic monitor for Linux that keeps a log of daily
67 + network traffic for the selected interface(s). vnStat isn't a packet sniffer.
68 + The traffic information is analyzed from the /proc filesystem. That way vnStat
69 + can be used even without root permissions.
70 +</longdescription>
71 </pkgmetadata>
72
73
74
75 1.26 net-analyzer/vnstat/ChangeLog
76
77 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-analyzer/vnstat/ChangeLog?rev=1.26&view=markup
78 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-analyzer/vnstat/ChangeLog?rev=1.26&content-type=text/plain
79 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-analyzer/vnstat/ChangeLog?r1=1.25&r2=1.26
80
81 Index: ChangeLog
82 ===================================================================
83 RCS file: /var/cvsroot/gentoo-x86/net-analyzer/vnstat/ChangeLog,v
84 retrieving revision 1.25
85 retrieving revision 1.26
86 diff -u -r1.25 -r1.26
87 --- ChangeLog 6 Sep 2007 18:50:19 -0000 1.25
88 +++ ChangeLog 26 Dec 2007 17:28:51 -0000 1.26
89 @@ -1,6 +1,13 @@
90 # ChangeLog for net-analyzer/vnstat
91 # Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
92 -# $Header: /var/cvsroot/gentoo-x86/net-analyzer/vnstat/ChangeLog,v 1.25 2007/09/06 18:50:19 jokey Exp $
93 +# $Header: /var/cvsroot/gentoo-x86/net-analyzer/vnstat/ChangeLog,v 1.26 2007/12/26 17:28:51 pva Exp $
94 +
95 +*vnstat-1.5 (26 Dec 2007)
96 +
97 + 26 Dec 2007; <pva@g.o> metadata.xml, vnstat-1.4-r2.ebuild,
98 + +vnstat-1.5.ebuild:
99 + Version bump. Thank armin76 for report. --dbdir is droped as you can do the
100 + same in configuration file.
101
102 06 Sep 2007; Markus Ullmann <jokey@g.o> -vnstat-1.1.ebuild,
103 -vnstat-1.4.ebuild, -vnstat-1.4-r1.ebuild:
104
105
106
107 1.1 net-analyzer/vnstat/vnstat-1.5.ebuild
108
109 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-analyzer/vnstat/vnstat-1.5.ebuild?rev=1.1&view=markup
110 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-analyzer/vnstat/vnstat-1.5.ebuild?rev=1.1&content-type=text/plain
111
112 Index: vnstat-1.5.ebuild
113 ===================================================================
114 # Copyright 1999-2007 Gentoo Foundation
115 # Distributed under the terms of the GNU General Public License v2
116 # $Header: /var/cvsroot/gentoo-x86/net-analyzer/vnstat/vnstat-1.5.ebuild,v 1.1 2007/12/26 17:28:51 pva Exp $
117
118 inherit eutils toolchain-funcs
119
120 DESCRIPTION="Console-based network traffic monitor that keeps statistics of network usage"
121 HOMEPAGE="http://humdi.net/vnstat/"
122 SRC_URI="http://humdi.net/vnstat/${P}.tar.gz"
123
124 LICENSE="GPL-2"
125 SLOT="0"
126 KEYWORDS="~amd64 ~ppc ~ppc64 ~sparc ~x86"
127 IUSE=""
128
129 RDEPEND="virtual/cron"
130
131 src_compile() {
132 emake CC="$(tc-getCC)" CFLAGS="${CFLAGS}" || die "Compilation failed"
133 }
134
135 src_install() {
136 dobin src/vnstat || die
137 exeinto /etc/cron.hourly
138 newexe "${FILESDIR}"/vnstat.cron vnstat
139
140 insinto /etc
141 doins cfg/vnstat.conf
142
143 doman man/vnstat.1
144
145 keepdir /var/lib/vnstat
146
147 newdoc pppd/vnstat_ip-up ip-up.example
148 newdoc pppd/vnstat_ip-down ip-down.example
149 dodoc CHANGES README UPGRADE FAQ
150 newdoc INSTALL README.setup
151 }
152
153 pkg_postinst() {
154 # compatibility for 1.1 ebuild
155 if [[ -d ${ROOT}/var/spool/vnstat ]] ; then
156 mv -f "${ROOT}"/var/spool/vnstat/* "${ROOT}"/var/lib/vnstat/ \
157 && rmdir "${ROOT}"/var/spool/vnstat
158 elog "vnStat db files moved from /var/spool/vnstat to /var/lib/vnstat"
159 elog
160 fi
161
162 elog "Repeat the following command for every interface you"
163 elog "wish to monitor (replace eth0):"
164 elog " vnstat -u -i eth0"
165 elog
166 elog "Note: if an interface transfers more than ~4GB in"
167 elog "the time between cron runs, you may miss traffic"
168 elog
169
170 if [[ -e ${ROOT}/etc/cron.d/vnstat ]] ; then
171 elog "vnstat's cron script is now installed as /etc/cron.hourly/vnstat."
172 elog "Please remove /etc/cron.d/vnstat."
173 elog
174 else
175 elog "A cron script has been installed to /etc/cron.hourly/vnstat."
176 elog
177 fi
178 elog "To update your interface database automatically with"
179 elog "cron, uncomment the lines in /etc/cron.hourly/vnstat."
180 elog
181 elog "Starting with version 1.5 --dbdir option is droped. You can do the same"
182 elog "with DatabaseDir directive in configuration file (/etc/vnstat.conf)."
183 }
184
185
186
187 --
188 gentoo-commits@g.o mailing list