public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Jeroen Roovers" <jer@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: net-analyzer/vnstat/
Date: Sat, 13 Jul 2019 09:52:29 +0000 (UTC)	[thread overview]
Message-ID: <1563011547.128f1049e0d82c7b17f2ddbee8dbc6703ed63345.jer@gentoo> (raw)

commit:     128f1049e0d82c7b17f2ddbee8dbc6703ed63345
Author:     Jeroen Roovers <jer <AT> gentoo <DOT> org>
AuthorDate: Sat Jul 13 09:49:42 2019 +0000
Commit:     Jeroen Roovers <jer <AT> gentoo <DOT> org>
CommitDate: Sat Jul 13 09:52:27 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=128f1049

net-analyzer/vnstat: Version 2.3

Package-Manager: Portage-2.3.69, Repoman-2.3.16
Signed-off-by: Jeroen Roovers <jer <AT> gentoo.org>

 net-analyzer/vnstat/Manifest          |  1 +
 net-analyzer/vnstat/vnstat-2.3.ebuild | 68 +++++++++++++++++++++++++++++++++++
 2 files changed, 69 insertions(+)

diff --git a/net-analyzer/vnstat/Manifest b/net-analyzer/vnstat/Manifest
index 8a5982d2fc3..986b1960229 100644
--- a/net-analyzer/vnstat/Manifest
+++ b/net-analyzer/vnstat/Manifest
@@ -1,3 +1,4 @@
 DIST vnstat-1.17.tar.gz 238397 BLAKE2B 73aaffda3c91a1146b1d6a21f637272be227a15a7964aad90fb76c407c5f7fb0085e6f9f54408e8ebc667475c15f260d701c5924737f20921ebc0a35affd52be SHA512 c9c119a89054dacdc15026c766a20d88336d7689dd4264530d0347fcc58f3cbfc806b271e0f83e76c3b4a31ab793a628ee7d7b696943da919ee4cd2fdb481cc3
 DIST vnstat-2.1.tar.gz 259622 BLAKE2B 703e1260d0ea81a016ed89dbfa830f97ff6e38ca2dd4c96ea08ca8293e71cde8cf0048e6a68b9cb6f2f94aaec66764bbfc718173897d40fd6e8166c07d7e627c SHA512 4c88795ee254cb550873e7db72a5f7b795553ef944c3f4df4c351e83376ea02ae6f3376b01edf727072fe2ba178372705a73483c24269acc4c173ee0e03f8930
 DIST vnstat-2.2.tar.gz 264037 BLAKE2B dc82798a0c619d2aea3d3cbdd42bb10f73769b0e64443407daabc8838e5af5b0ef718c0769321116269f1bc6f50e99133a1d38ccb730f658f3215a83180589b7 SHA512 47bd544ed071268774bf55a8269f50694d2af0b14fe3eb50b707c4f09c9a0c0653360ac892136275355b2a647a0fed731f007d135edf4bc9b04dc537bf248acc
+DIST vnstat-2.3.tar.gz 269907 BLAKE2B b935c7baec34f15213b3fe320add4e3ecf0d3cd43d5934231eb9b96f3bc8171aa056e1a08d42cafdc2d06b9e6108d04392a1452a3d24bdbaf748722c53f64f23 SHA512 244aae8a127fb93407918e90efefe09d901410abbfda715272f1d754692661f2036ea98cc7f75ebc53ec27249ba676f84463af24ed7e19a9a130d6ce29b32677

diff --git a/net-analyzer/vnstat/vnstat-2.3.ebuild b/net-analyzer/vnstat/vnstat-2.3.ebuild
new file mode 100644
index 00000000000..c5e123218ab
--- /dev/null
+++ b/net-analyzer/vnstat/vnstat-2.3.ebuild
@@ -0,0 +1,68 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+inherit systemd user
+
+DESCRIPTION="Console-based network traffic monitor that keeps statistics of network usage"
+HOMEPAGE="https://humdi.net/vnstat/"
+SRC_URI="https://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="
+	dev-db/sqlite
+	gd? ( media-libs/gd[png] )
+"
+DEPEND="
+	${COMMON_DEPEND}
+	test? ( dev-libs/check )
+"
+RDEPEND="
+	${COMMON_DEPEND}
+	selinux? ( sec-policy/selinux-vnstatd )
+"
+PATCHES=(
+	"${FILESDIR}"/${PN}-2.2-conf.patch
+	"${FILESDIR}"/${PN}-2.2-drop-root.patch
+	"${FILESDIR}"/${PN}-2.2-run.patch
+)
+
+pkg_setup() {
+	enewgroup vnstat
+	enewuser vnstat -1 -1 /var/lib/vnstat vnstat
+}
+
+src_compile() {
+	emake ${PN} ${PN}d $(usex gd ${PN}i '')
+}
+
+src_install() {
+	use gd && dobin vnstati
+	dobin vnstat vnstatd
+
+	exeinto /usr/share/${PN}
+	newexe "${FILESDIR}"/vnstat.cron-r1 vnstat.cron
+
+	insinto /etc
+	doins cfg/vnstat.conf
+	fowners root:vnstat /etc/vnstat.conf
+
+	keepdir /var/lib/vnstat
+	fowners vnstat:vnstat /var/lib/vnstat
+
+	newconfd "${FILESDIR}"/vnstatd.confd-r1 vnstatd
+	newinitd "${FILESDIR}"/vnstatd.initd-r2 vnstatd
+
+	systemd_newunit "${FILESDIR}"/vnstatd.systemd vnstatd.service
+	systemd_newtmpfilesd "${FILESDIR}"/vnstatd.tmpfile vnstatd.conf
+
+	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
+}


             reply	other threads:[~2019-07-13  9:52 UTC|newest]

Thread overview: 105+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-07-13  9:52 Jeroen Roovers [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-05-18  3:19 [gentoo-commits] repo/gentoo:master commit in: net-analyzer/vnstat/ Sam James
2024-04-13  6:26 Arthur Zamarin
2024-03-14  7:54 Arthur Zamarin
2024-03-14  7:51 Arthur Zamarin
2024-03-14  7:34 Sam James
2024-03-14  6:26 Sam James
2024-03-14  6:11 Sam James
2024-03-14  6:11 Sam James
2024-03-14  6:07 Sam James
2024-02-02  1:02 Sam James
2023-12-28  3:43 Sam James
2023-12-22  5:14 Ionen Wolkens
2023-12-15 12:27 Arthur Zamarin
2023-12-15  7:06 Sam James
2023-12-15  7:06 Sam James
2023-12-15  6:52 Sam James
2023-12-15  6:52 Sam James
2023-12-15  6:44 Sam James
2023-08-21  6:06 Sam James
2022-12-10  4:36 Sam James
2022-11-25  9:50 Arthur Zamarin
2022-11-25  7:16 Sam James
2022-11-25  5:39 Sam James
2022-11-25  5:33 Sam James
2022-11-25  5:17 Sam James
2022-11-25  5:15 Sam James
2022-11-25  5:08 Sam James
2022-11-25  5:06 Sam James
2022-10-24 12:18 Sam James
2022-02-26  0:21 Sam James
2022-02-25 21:34 Sam James
2022-02-25 10:08 Jakov Smolić
2022-02-25  9:28 Yixun Lan
2022-02-25  8:08 Arthur Zamarin
2022-02-25  7:57 Agostino Sarubbo
2022-02-25  7:56 Agostino Sarubbo
2022-02-25  7:56 Agostino Sarubbo
2022-02-25  7:55 Agostino Sarubbo
2022-02-05 19:17 Arthur Zamarin
2022-01-01  9:38 Sam James
2021-10-08  1:57 Sam James
2021-10-06 23:06 Sam James
2021-10-06 23:06 Sam James
2021-10-06 23:06 Sam James
2021-10-06  6:47 Agostino Sarubbo
2021-10-06  6:47 Agostino Sarubbo
2021-10-06  6:06 Agostino Sarubbo
2021-09-05  5:48 Sam James
2021-07-31 13:40 Michał Górny
2021-06-25 19:36 Sam James
2021-06-17  0:17 Sam James
2021-06-17  0:17 Sam James
2021-06-17  0:17 Sam James
2021-06-17  0:17 Sam James
2021-06-17  0:17 Sam James
2021-06-17  0:17 Sam James
2021-05-17  0:39 Sam James
2021-05-17  0:39 Sam James
2021-05-17  0:39 Sam James
2021-04-26 15:39 Sam James
2021-04-26 15:37 Sam James
2021-03-23  4:53 Sam James
2021-03-23  4:04 Sam James
2021-01-02 11:11 Sam James
2020-12-29 23:59 Sam James
2020-12-29 23:35 Sam James
2020-12-29 23:35 Sam James
2020-11-06  6:33 Sam James
2020-11-04  0:44 Sam James
2020-11-04  0:44 Sam James
2020-10-28 16:18 Sam James
2020-10-26  7:29 Sergei Trofimovich
2020-10-25 23:08 Thomas Deutschmann
2020-10-24 17:46 Sergei Trofimovich
2020-10-24 11:08 Sergei Trofimovich
2020-10-24 11:03 Sergei Trofimovich
2020-10-12  3:17 Joshua Kinard
2020-01-20 19:58 Jeroen Roovers
2020-01-16 13:21 Jeroen Roovers
2020-01-16 13:21 Jeroen Roovers
2019-08-20  8:49 Jeroen Roovers
2019-08-20  8:48 Jeroen Roovers
2019-04-30 14:02 Jeroen Roovers
2018-12-09 14:59 Jeroen Roovers
2018-10-23 10:56 Jeroen Roovers
2018-09-13  7:39 Jeroen Roovers
2018-05-06 14:16 Aaron Bauman
2018-03-09 19:39 Jeroen Roovers
2017-10-17 11:01 Jeroen Roovers
2017-10-13 13:42 Jeroen Roovers
2017-04-08  8:45 Jeroen Roovers
2017-03-29  8:38 Michael Weber
2017-03-28 10:24 Michael Weber
2017-03-28  9:31 Michael Weber
2017-03-25 14:43 Agostino Sarubbo
2017-02-21  5:10 Jeroen Roovers
2017-02-21  5:10 Jeroen Roovers
2016-12-28 14:18 Jeroen Roovers
2016-05-20  8:29 Jeroen Roovers
2016-04-23 10:01 Jeroen Roovers
2016-04-22 20:01 Markus Meier
2016-04-09 13:46 Agostino Sarubbo
2015-12-24 22:08 Jeroen Roovers
2015-12-24 22:08 Jeroen Roovers

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1563011547.128f1049e0d82c7b17f2ddbee8dbc6703ed63345.jer@gentoo \
    --to=jer@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox