From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: net-analyzer/vnstat/
Date: Fri, 2 Feb 2024 01:02:33 +0000 (UTC) [thread overview]
Message-ID: <1706835680.c961357103e7d34e054464227d956945f3407d71.sam@gentoo> (raw)
commit: c961357103e7d34e054464227d956945f3407d71
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Fri Feb 2 00:23:02 2024 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Feb 2 01:01:20 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c9613571
net-analyzer/vnstat: add 2.12
Signed-off-by: Sam James <sam <AT> gentoo.org>
net-analyzer/vnstat/Manifest | 2 +
net-analyzer/vnstat/vnstat-2.12.ebuild | 90 ++++++++++++++++++++++++++++++++++
2 files changed, 92 insertions(+)
diff --git a/net-analyzer/vnstat/Manifest b/net-analyzer/vnstat/Manifest
index ea2205ecb2b5..f0f9856c1819 100644
--- a/net-analyzer/vnstat/Manifest
+++ b/net-analyzer/vnstat/Manifest
@@ -1,2 +1,4 @@
DIST vnstat-2.11.tar.gz 312821 BLAKE2B 6eeed45d628641c9d88cf33ae1fc14871109b1e9fd0ac4a46fe8e2c194bb4600878b69408ed177bcde38ca859d0a3165d0095cab9b0bb6c036f7788fbfcb47e6 SHA512 d1ec9fd7e57598712df50601247c9904a371b7a2e5cb33efab2d44d330294d8ea3facf914de3d8d3a0381061b14642c613948478bf0c8d7f5e599a83321aad34
DIST vnstat-2.11.tar.gz.asc 833 BLAKE2B ded1462ee51dc6fde349ae6e21a6b45bdab268ff024804394268f515b618beead7d4582721ffa26d3f9cc7a8434a0f7145d31dcf9c95c575145e4903bdbd5460 SHA512 8b15f73d412e05c50e2e5a514bc96daa2dceae49af95ed7f09e742f3bbc8b34b856bb2d0a33a7146a8b19f714d47863388cfcb63821dac670c9e020ca60f4785
+DIST vnstat-2.12.tar.gz 325227 BLAKE2B af6982bc6da66ed2cebfe99e1b46a540528886d1c6e7a5174a3083a315804cb42c2395f3a0f5df552e8fd6b7823a01873fc5f9fb2178529c53481a67552dab35 SHA512 68f8b7d8f30338fdd444621bf68a9157dd7b9be04b2156e27399f2a8b7ef67b5015067bf71370994da1b3aeaf88264205e797926e18a6e51fa9b963dcdd6d969
+DIST vnstat-2.12.tar.gz.asc 833 BLAKE2B 8397785826fe885c6ca74b09d81f57e5142dd4c73362c7e54af6d9c9c74e1e3dc8c58df39c30e31198029a95b3fea5a09ec703773f48958ed1d8f59fed8f0696 SHA512 4d0c4c0b2a0d55fbd15f3842a4900ed6cacff2b9437c371973bb053fc69320fbec51564fd480000a437d13edb0c8bb33c16acff9212a4c3ca960fc7bd2940f54
diff --git a/net-analyzer/vnstat/vnstat-2.12.ebuild b/net-analyzer/vnstat/vnstat-2.12.ebuild
new file mode 100644
index 000000000000..a5d5e163077a
--- /dev/null
+++ b/net-analyzer/vnstat/vnstat-2.12.ebuild
@@ -0,0 +1,90 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit systemd tmpfiles
+
+DESCRIPTION="Console-based network traffic monitor that keeps statistics of network usage"
+HOMEPAGE="https://humdi.net/vnstat/"
+
+if [[ ${PV} == *9999 ]] ; then
+ EGIT_REPO_URI="https://github.com/vergoh/vnstat"
+ inherit git-r3
+else
+ VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/teemutoivola.asc
+ inherit verify-sig
+
+ SRC_URI="
+ https://humdi.net/vnstat/${P}.tar.gz
+ https://github.com/vergoh/vnstat/releases/download/v${PV}/${P}.tar.gz
+ verify-sig? (
+ https://humdi.net/vnstat/${P}.tar.gz.asc
+ https://github.com/vergoh/vnstat/releases/download/v${PV}/${P}.tar.gz.asc
+ )
+ "
+
+ KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86"
+
+ BDEPEND="verify-sig? ( sec-keys/openpgp-keys-teemutoivola )"
+fi
+
+LICENSE="GPL-2"
+SLOT="0"
+IUSE="gd selinux test"
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+ acct-group/vnstat
+ acct-user/vnstat
+ dev-db/sqlite
+ gd? ( media-libs/gd[png] )
+"
+DEPEND="
+ ${RDEPEND}
+ test? ( dev-libs/check )
+"
+RDEPEND+=" selinux? ( sec-policy/selinux-vnstatd )"
+
+PATCHES=(
+ "${FILESDIR}"/${PN}-2.9-conf.patch
+)
+
+src_compile() {
+ emake \
+ ${PN} \
+ ${PN}d \
+ $(usev 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
+ newtmpfiles "${FILESDIR}"/vnstatd.tmpfile vnstatd.conf
+
+ use gd && doman man/vnstati.1
+
+ doman man/vnstat.1 man/vnstatd.8
+
+ newdoc INSTALL README.setup
+ dodoc CHANGES README UPGRADE FAQ examples/vnstat.cgi
+}
+
+pkg_postinst() {
+ tmpfiles_process vnstatd.conf
+}
next reply other threads:[~2024-02-02 1:02 UTC|newest]
Thread overview: 106+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-02-02 1:02 Sam James [this message]
-- strict thread matches above, loose matches on Subject: below --
2025-02-09 4:32 [gentoo-commits] repo/gentoo:master commit in: net-analyzer/vnstat/ Sam James
2024-05-18 3:19 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
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-07-13 9:52 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=1706835680.c961357103e7d34e054464227d956945f3407d71.sam@gentoo \
--to=sam@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