diff options
author | Jeroen Roovers <jer@gentoo.org> | 2014-09-03 14:16:42 +0000 |
---|---|---|
committer | Jeroen Roovers <jer@gentoo.org> | 2014-09-03 14:16:42 +0000 |
commit | d3303b428cddffbef040bccf119eadd2483ec593 (patch) | |
tree | 934f1e759b9b54a228af884459097f69c39a6e2d /net-analyzer | |
parent | Version bump. (diff) | |
download | historical-d3303b428cddffbef040bccf119eadd2483ec593.tar.gz historical-d3303b428cddffbef040bccf119eadd2483ec593.tar.bz2 historical-d3303b428cddffbef040bccf119eadd2483ec593.zip |
Version bump.
Package-Manager: portage-2.2.12/cvs/Linux x86_64
Manifest-Sign-Key: 0xA792A613
Diffstat (limited to 'net-analyzer')
-rw-r--r-- | net-analyzer/vnstat/ChangeLog | 7 | ||||
-rw-r--r-- | net-analyzer/vnstat/Manifest | 14 | ||||
-rw-r--r-- | net-analyzer/vnstat/vnstat-1.12.ebuild | 81 |
3 files changed, 100 insertions, 2 deletions
diff --git a/net-analyzer/vnstat/ChangeLog b/net-analyzer/vnstat/ChangeLog index 61f9edd66f74..55f1c5bf2533 100644 --- a/net-analyzer/vnstat/ChangeLog +++ b/net-analyzer/vnstat/ChangeLog @@ -1,6 +1,11 @@ # 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.66 2014/07/23 01:03:46 mrueg Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-analyzer/vnstat/ChangeLog,v 1.67 2014/09/03 14:16:40 jer Exp $ + +*vnstat-1.12 (03 Sep 2014) + + 03 Sep 2014; Jeroen Roovers <jer@gentoo.org> +vnstat-1.12.ebuild: + Version bump. 23 Jul 2014; Manuel Rüger <mrueg@gentoo.org> vnstat-1.11-r2.ebuild: Fix compilation target for emake. See bug #517762. diff --git a/net-analyzer/vnstat/Manifest b/net-analyzer/vnstat/Manifest index 27f9fdce561c..06aff33ea32f 100644 --- a/net-analyzer/vnstat/Manifest +++ b/net-analyzer/vnstat/Manifest @@ -1,7 +1,19 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA256 + AUX vnstat.cron 220 SHA256 b6b437c680606061b98af19758cbacc3f883f73cd86f0bbfbcfe756c982cd3fd SHA512 c901385f97323d1a686cee63d015eaf9ad38ed195a1c0e25dae671dd7061ebc918498684c55b90b0674960891dfca4b83f458174892c1b9efb48cd362fdb8477 WHIRLPOOL 1432dfdfdf2f121deeff6f8147b344ff61838a8fe54d7bc5bb3ac6c1b9675a64b6e331bd3e33ee0e9fe2488bde42ad8c4e279ea3b1d1d5ed304b4b2ef4205429 AUX vnstatd.confd 216 SHA256 2cd5b91f86bc26aca85166a50de89faaccbf1ea8f219efb48b50b7ed0f3fe377 SHA512 d645817913d5b52e928561b3d6a0e869d8ae5db81b97af91c1ebfc6a8cd2df666c1653e6dc5f91c0a890033a89692f77eaf081c1cae5590446c69a70ea263946 WHIRLPOOL 3a974a3dc30a33a3a2ca22db551068f1df3444f4248e896482e26d1c5b0bd717706ef30e18f5a6ee193966bef1466a13d3c6ad35e86f42f025ebb3c02e622a22 AUX vnstatd.initd 924 SHA256 a2922d55f8339c93243b7b33b56e990789dc24bb64a3dc1f936e688ee78f44fb SHA512 5184d177ecf2c6895e16023ab22869625b8b9e9f21b03fb1eaf389ee6602b6fb8407989e95998b9afd5e816761b8830ccb2cef7026896b930e5dc983454176c2 WHIRLPOOL d0b7d6b025e5081985a1bd3d1c95d1f74f39a1f69c2ad92534a59a0c96c90fddc0f7507bd0efb205f0c98e9ea7affb76809ff6d255d7bb6e379efd0078e2a369 DIST vnstat-1.11.tar.gz 79075 SHA256 b71876d817bbb6a16d31b4236e22a2eb6c39666a7f7bfea581f5ff441cade026 SHA512 f16a0cc5065665c46de9781b6d92e96f0966520e5448fc529150ced886574fe07d0695df5051828b58183d06a707b7b2e94562b06db1898dacb858517a5485b1 WHIRLPOOL bc93704b8f9c39830f1ba8c2d39cc7ba7d0b317d35941547870bd5cf8c2f374050cdbae7c8ce444765cd5fb22c78d28e6099f32b06aee9d836451b399216e6ef +DIST vnstat-1.12.tar.gz 98435 SHA256 af1050d9c1b22d4b9742fe0d1818de9eb1037b8e7f9ba67b962e108d8527be69 SHA512 0d6b5f362bbcbb4a104f82b8e350f5d8b071e974a3fdfb100333c3d8e5a096a71a97360543d2594fd3f2108df8bb03ffffc4c52d396f28723005a5d1bf605eb1 WHIRLPOOL 590197dc62b077268e0814d7ce15f5f519d53328a68e57743c1a3375082410239d75e28674094dbb7d14b27d17769f7de6d0eccd716a05d50d86f5d06274c9a0 EBUILD vnstat-1.11-r2.ebuild 2374 SHA256 848f1fb9a3c8d6e800d946b305dc2161a17fb450a91e95b37e5fc8a402cfe607 SHA512 adfae6936d8df919c4bd54c9e739c5a5ef04a12aefa5380a7c09f07ac600792f089f0a9492b6fe50ff0e747fc367826d3439201ef0ff8bfb90e931f2204f30c4 WHIRLPOOL 21c306a7e77e95c68ce2dd98d00f58818164e1f717757685da6b048416d9cda66dad87de9b11e253e5d3cc36805417191afae75f810a252b6230266db8c4a233 -MISC ChangeLog 8704 SHA256 dc7d9683e88d790be5f6ce09f2f92d459964bcbdd2604d155cacbe9e750c7a61 SHA512 96d495e5b93f01f33a495519ceac0ade9d5b93b12efa8f4d9d67d5e52a10257de05236afb970708640dd8638ca96aace11798f244d30139c74efa890bd758fa0 WHIRLPOOL fd876f2f2a8453afa11475b2c69d81b944b2a094a690d892ab29bba23616c02ec33fb6e6227802990844be23b8ee25dded8bb034f6c3b43b111df27e42d8261e +EBUILD vnstat-1.12.ebuild 2300 SHA256 3257626eafca0096dabad8978295a9dd640a19ff638d6c34bdda4ec94d459f3b SHA512 09b5c11c2d51ebaf538e64d2469d6fd1783dba1ce8fd68ae82e987a05e33237d027ecf6862cb1a1ce47270340980f4aaf66b9dc1dd59e611f7cbf98b1357a9cb WHIRLPOOL 81af27985e8fbb47c2cc833ee5f6cbda96e6f75673ab251365906153631d8817eb0438b334d2bf2cbef1730d6975ee23e893d9cfb0af1b8919f66190789f7406 +MISC ChangeLog 8815 SHA256 a36340540d54311d46012a1d6bee7b5f8e7a7bc5bf15d7f69c185706308d8d3f SHA512 2571bdbaed18694912c1e583a2cb5d1bad13fd36c623411d045881da9bb285f59a2c3b1333b1595c5cf59e753cfd5fafcf43cba90a3b9e318474bf027741585d WHIRLPOOL bbab73a90ba054802fb89c00a8bdccbb003349b5b1004e373e42dca2a32c53f63404f68098bb164b086bfc58c0180d0fe4ccf6da81aa0f60ef2d5af6729f21a6 MISC metadata.xml 478 SHA256 28925bec141a950acd9eff4f6c6bbf9732d4745134eb914501d60859408a49c4 SHA512 3be8e26d8634675dff55dd6efcffdef02a4d7c39ee2cd9844f9a6cad9c1f40a9fd3649d46b2a609d008f0184f7161d6d712b9af77d74b3c7048a2207d2478054 WHIRLPOOL 5f0038a2caa31895f3efb393836b4c0a0ff027e3c6266f8f1edd118634c2f532d38eb1bdb9fea9fbb5fd406914280cc8b0cb5b6c271ffcb871317c0981f01cf2 +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v2 + +iEYEAREIAAYFAlQHIsoACgkQVWmRsqeSphPzWgCfVOAFKXedH53q0oPAyCd+aE3X +JZAAn1iWGHz3w9PzpJ8nbnTbTbhmKgwr +=ZR0e +-----END PGP SIGNATURE----- diff --git a/net-analyzer/vnstat/vnstat-1.12.ebuild b/net-analyzer/vnstat/vnstat-1.12.ebuild new file mode 100644 index 000000000000..83a3b66d89a6 --- /dev/null +++ b/net-analyzer/vnstat/vnstat-1.12.ebuild @@ -0,0 +1,81 @@ +# 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.12.ebuild,v 1.1 2014/09/03 14:16:40 jer Exp $ + +EAPI=5 +inherit toolchain-funcs user + +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}" + +pkg_setup() { + enewgroup vnstat + enewuser vnstat -1 -1 /dev/null vnstat +} + +src_prepare() { + tc-export CC +} + +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 + + emake CFLAGS="${CFLAGS}" $(usex gd all '') +} + +src_install() { + use gd && dobin src/vnstati + dobin src/vnstat src/vnstatd + + exeinto /etc/cron.hourly + newexe "${FILESDIR}"/vnstat.cron vnstat + + insinto /etc + doins cfg/vnstat.conf + fowners root:vnstat /etc/vnstat.conf + + newconfd "${FILESDIR}"/vnstatd.confd vnstatd + newinitd "${FILESDIR}"/vnstatd.initd vnstatd + + keepdir /var/lib/vnstat + fowners vnstat:vnstat /var/lib/vnstat + + use gd && doman man/vnstati.1 + doman man/vnstat.1 man/vnstatd.1 + + newdoc INSTALL README.setup + dodoc CHANGES README UPGRADE FAQ examples/vnstat.cgi +} + +pkg_postinst() { + # 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 + 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." +} |