summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Roovers <jer@gentoo.org>2017-04-27 21:12:31 +0200
committerJeroen Roovers <jer@gentoo.org>2017-04-27 21:15:08 +0200
commitebb9cc9bd067bed38f51ae61b39c5feb4a132a93 (patch)
tree105b72268fb77d5a42ba7d5ab8aea3f6cea1aa5c /net-analyzer/vnstat
parentx11-plugins/allin1: new EAPI=6 revision. (diff)
downloadgentoo-ebb9cc9bd067bed38f51ae61b39c5feb4a132a93.tar.gz
gentoo-ebb9cc9bd067bed38f51ae61b39c5feb4a132a93.tar.bz2
gentoo-ebb9cc9bd067bed38f51ae61b39c5feb4a132a93.zip
net-analyzer/vnstat: Old.
Package-Manager: Portage-2.3.5, Repoman-2.3.2
Diffstat (limited to 'net-analyzer/vnstat')
-rw-r--r--net-analyzer/vnstat/Manifest2
-rw-r--r--net-analyzer/vnstat/files/vnstatd.initd36
-rw-r--r--net-analyzer/vnstat/vnstat-1.15.ebuild69
-rw-r--r--net-analyzer/vnstat/vnstat-1.16.ebuild71
4 files changed, 0 insertions, 178 deletions
diff --git a/net-analyzer/vnstat/Manifest b/net-analyzer/vnstat/Manifest
index 19e53d5148ea..b22b3eca81e6 100644
--- a/net-analyzer/vnstat/Manifest
+++ b/net-analyzer/vnstat/Manifest
@@ -1,3 +1 @@
-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
DIST vnstat-1.17.tar.gz 238397 SHA256 18e4c53576ca9e1ef2f0e063a6d83b0c44e3b1cf008560d658745df5c9aa7971 SHA512 c9c119a89054dacdc15026c766a20d88336d7689dd4264530d0347fcc58f3cbfc806b271e0f83e76c3b4a31ab793a628ee7d7b696943da919ee4cd2fdb481cc3 WHIRLPOOL 38f64c6eadf7bbfcc1cd6cc3d8f8ea3da4846dd64caf242628ce9d0e6f9b8f565dff9d31ecd1633b3a0a8b5e7dcd4545f1adeafeb4f42547ad87be77317622e3
diff --git a/net-analyzer/vnstat/files/vnstatd.initd b/net-analyzer/vnstat/files/vnstatd.initd
deleted file mode 100644
index 1993b6414f8f..000000000000
--- a/net-analyzer/vnstat/files/vnstatd.initd
+++ /dev/null
@@ -1,36 +0,0 @@
-#!/sbin/openrc-run
-# Copyright 1999-2012 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-extra_started_commands="reload"
-
-depend() {
- use net
-}
-
-VNSTATD_PIDFILE="${VNSTATD_PIDFILE:-/var/run/vnstatd/vnstatd.pid}"
-
-start() {
- ebegin "Starting vnstatd"
- checkpath -q -d -m 755 -o vnstat:vnstat /var/run/vnstatd
- start-stop-daemon --start --quiet \
- --pidfile "${VNSTATD_PIDFILE}" \
- --user vnstat --group vnstat \
- --nicelevel ${VNSTATD_NICELEVEL:-0} \
- --exec /usr/bin/vnstatd -- \
- -d ${VNSTATD_EXTRAOPTS} -p ${VNSTATD_PIDFILE}
- eend $?
-}
-
-stop() {
- ebegin "Stopping vnstatd"
- start-stop-daemon --stop --quiet \
- --pidfile "${VNSTATD_PIDFILE}"
- eend $?
-}
-
-reload() {
- ebegin "Reloading vnstatd configuration"
- kill -HUP $(< "${VNSTATD_PIDFILE}") &>/dev/null
- eend $?
-}
diff --git a/net-analyzer/vnstat/vnstat-1.15.ebuild b/net-analyzer/vnstat/vnstat-1.15.ebuild
deleted file mode 100644
index 3210f90bdf7f..000000000000
--- a/net-analyzer/vnstat/vnstat-1.15.ebuild
+++ /dev/null
@@ -1,69 +0,0 @@
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-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 ${PN} ${PN}d $(usex gd ${PN}i '')
-}
-
-src_install() {
- use gd && dobin vnstati
- dobin vnstat 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
-}
diff --git a/net-analyzer/vnstat/vnstat-1.16.ebuild b/net-analyzer/vnstat/vnstat-1.16.ebuild
deleted file mode 100644
index 1c810d090398..000000000000
--- a/net-analyzer/vnstat/vnstat-1.16.ebuild
+++ /dev/null
@@ -1,71 +0,0 @@
-# Copyright 1999-2016 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-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() {
- default
-
- 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 ${PN} ${PN}d $(usex gd ${PN}i '')
-}
-
-src_install() {
- use gd && dobin vnstati
- dobin vnstat 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
-}