summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Roovers <jer@gentoo.org>2017-02-21 05:54:14 +0100
committerJeroen Roovers <jer@gentoo.org>2017-02-21 05:54:14 +0100
commitec0ff5a130562052a8466102373b2be56679f526 (patch)
treebb9c7b90b354e226b74cb59f1688e2921719c36d
parentnet-analyzer/cacti: Version bump. (diff)
downloadgentoo-ec0ff5a130562052a8466102373b2be56679f526.tar.gz
gentoo-ec0ff5a130562052a8466102373b2be56679f526.tar.bz2
gentoo-ec0ff5a130562052a8466102373b2be56679f526.zip
net-analyzer/vnstat: Old.
Package-Manager: Portage-2.3.3, Repoman-2.3.1
-rw-r--r--net-analyzer/vnstat/Manifest1
-rw-r--r--net-analyzer/vnstat/vnstat-1.13.ebuild70
2 files changed, 0 insertions, 71 deletions
diff --git a/net-analyzer/vnstat/Manifest b/net-analyzer/vnstat/Manifest
index 4a41494d5afb..319a733c8e7e 100644
--- a/net-analyzer/vnstat/Manifest
+++ b/net-analyzer/vnstat/Manifest
@@ -1,3 +1,2 @@
-DIST vnstat-1.13.tar.gz 101568 SHA256 6f4e2599ebb195b25f499d3e2e865aa14da336dfc9cc03a79181aa71f7ed99cd SHA512 b9620349247db292b13cd06db1921b4e5921a473957ac387f6adfc21acdc441910f73b97dfa5f024d7ba7a6521d1d9d97e2b25337673f423bcdbd064207f01a4 WHIRLPOOL 6b9aeb96790eeef2b287cdffeb4d41b2db22803e7218dafb27944bb14acf255bf590dcb82220c72f388c8cc387045b87335a2e4973a07c5ef1e1c98c710e068d
DIST vnstat-1.15.tar.gz 207712 SHA256 c3814b5baa8b627198a8debfe1dce4b4346a342523818cc8668a5497971dbc39 SHA512 e6cf714c2c95ae7f82ec7852d23067da28f4fab83cf33726e4268a31f982ddf13c3bc30f17251a80f7c65d25f394cd05379a30e677687ce70f8c7b229ac0cb4e WHIRLPOOL 7cb68f5c054c96697e415f4d3c23074f36ba1b8fdd012abf732cb6e50eff0a4a862267ac252aace1d5d7fea38cd5f525113a9cdb7e27d9cd58fce373a68896c6
DIST vnstat-1.16.tar.gz 211844 SHA256 420fec6c89229a100697f3189e824a1b81f7148dd651558f2ff03cc298308e8b SHA512 8906acebead4aef7ec7e96c4f9f17a2b9483f69cf530eb21d2ddc60de71b7690453bf533acfac298cf7e5184c23c7e6a886a757fdbfac3006cc09653c9a2cf6b WHIRLPOOL 1898fdefdbe4bbb75f7864b910786a42b6e6d462a6b35e9f55b26a3496086eb4b77cfa14908a9e0db0846fa85ae50c7c8eef652048445c461d06f866d2d32140
diff --git a/net-analyzer/vnstat/vnstat-1.13.ebuild b/net-analyzer/vnstat/vnstat-1.13.ebuild
deleted file mode 100644
index 5840253e7f48..000000000000
--- a/net-analyzer/vnstat/vnstat-1.13.ebuild
+++ /dev/null
@@ -1,70 +0,0 @@
-# Copyright 1999-2015 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 test"
-
-COMMON_DEPEND="
- gd? ( media-libs/gd[png] )
-"
-DEPEND="
- ${COMMON_DEPEND}
- test? ( dev-libs/check )
-"
-RDEPEND="
- ${COMMON_DEPEND}
- selinux? ( sec-policy/selinux-vnstatd )
-"
-
-pkg_setup() {
- enewgroup vnstat
- enewuser vnstat -1 -1 /dev/null vnstat
-}
-
-src_prepare() {
- tc-export CC
-
- sed -i \
- -e 's|vnstat[.]log|vnstatd.log|' \
- -e 's|vnstat[.]pid|vnstatd/vnstatd.pid|' \
- -e 's|/var/run|/run|' \
- cfg/${PN}.conf || die
- sed -i \
- -e '/PIDFILE/s|/var/run|/run|' \
- src/common.h || die
-}
-
-src_compile() {
- 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-r1 vnstatd
-
- 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
-}