summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Roovers <jer@gentoo.org>2015-12-24 22:53:16 +0100
committerJeroen Roovers <jer@gentoo.org>2015-12-24 23:08:26 +0100
commit0cb782131810bbf69b958b61571929dff4ee7198 (patch)
tree7b43adca0dd22877f7608d855b8361a745a32866 /net-analyzer/vnstat
parentprofiles: Mask webcam useflag because of media-tv/xawtv removal (diff)
downloadgentoo-0cb782131810bbf69b958b61571929dff4ee7198.tar.gz
gentoo-0cb782131810bbf69b958b61571929dff4ee7198.tar.bz2
gentoo-0cb782131810bbf69b958b61571929dff4ee7198.zip
net-analyzer/vnstat: Old.
Package-Manager: portage-2.2.26
Diffstat (limited to 'net-analyzer/vnstat')
-rw-r--r--net-analyzer/vnstat/Manifest2
-rw-r--r--net-analyzer/vnstat/vnstat-1.11-r2.ebuild78
-rw-r--r--net-analyzer/vnstat/vnstat-1.12.ebuild85
3 files changed, 0 insertions, 165 deletions
diff --git a/net-analyzer/vnstat/Manifest b/net-analyzer/vnstat/Manifest
index 63786c06d701..538fa637dba5 100644
--- a/net-analyzer/vnstat/Manifest
+++ b/net-analyzer/vnstat/Manifest
@@ -1,4 +1,2 @@
-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
DIST vnstat-1.13.tar.gz 101568 SHA256 6f4e2599ebb195b25f499d3e2e865aa14da336dfc9cc03a79181aa71f7ed99cd SHA512 b9620349247db292b13cd06db1921b4e5921a473957ac387f6adfc21acdc441910f73b97dfa5f024d7ba7a6521d1d9d97e2b25337673f423bcdbd064207f01a4 WHIRLPOOL 6b9aeb96790eeef2b287cdffeb4d41b2db22803e7218dafb27944bb14acf255bf590dcb82220c72f388c8cc387045b87335a2e4973a07c5ef1e1c98c710e068d
DIST vnstat-1.14.tar.gz 103281 SHA256 f8462a47d85d0890493dc9eaeafbc725ae631aa5b103fb7f8af4ddb2314e8386 SHA512 a2aebcdd0c4aa4a821579b751af587af44a5c3f14864d3022a05f65c4df2b9ddece0ed414097346d95124a3ea5fb89ea26bf44c68d3c7ca7237573dd5f1e8239 WHIRLPOOL 1b8b6ac7eeaec936d7c8d17d6a384c13f8daa9ee8e451d94abffc1b373eb3b106ed2b4c95af9f833c4c6e732a4ebc0ccdb1544988da650012add99d7915fd068
diff --git a/net-analyzer/vnstat/vnstat-1.11-r2.ebuild b/net-analyzer/vnstat/vnstat-1.11-r2.ebuild
deleted file mode 100644
index 0b20d76df83d..000000000000
--- a/net-analyzer/vnstat/vnstat-1.11-r2.ebuild
+++ /dev/null
@@ -1,78 +0,0 @@
-# Copyright 1999-2014 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-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_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 CC="$(tc-getCC)" 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 examples/vnstat_ip-up ip-up.example
- newdoc examples/vnstat_ip-down ip-down.example
- 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."
-}
diff --git a/net-analyzer/vnstat/vnstat-1.12.ebuild b/net-analyzer/vnstat/vnstat-1.12.ebuild
deleted file mode 100644
index a35b06920ea2..000000000000
--- a/net-analyzer/vnstat/vnstat-1.12.ebuild
+++ /dev/null
@@ -1,85 +0,0 @@
-# Copyright 1999-2014 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-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 selinux"
-
-DEPEND="
- gd? ( media-libs/gd[png] )
-"
-RDEPEND="
- ${DEPEND}
- selinux? ( sec-policy/selinux-vnstatd )
-"
-
-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."
-}