From: "William Hubbs" <williamh@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: app-metrics/nftables-exporter/
Date: Mon, 27 Jan 2025 05:43:39 +0000 (UTC) [thread overview]
Message-ID: <1737956612.497b43d175c669882c200270e142359ce93defc9.williamh@gentoo> (raw)
commit: 497b43d175c669882c200270e142359ce93defc9
Author: William Hubbs <williamh <AT> gentoo <DOT> org>
AuthorDate: Mon Jan 27 05:42:35 2025 +0000
Commit: William Hubbs <williamh <AT> gentoo <DOT> org>
CommitDate: Mon Jan 27 05:43:32 2025 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=497b43d1
app-metrics/nftables-exporter: add 0.3.1
Signed-off-by: William Hubbs <williamh <AT> gentoo.org>
app-metrics/nftables-exporter/Manifest | 2 +
.../nftables-exporter-0.3.1.ebuild | 43 ++++++++++++++++++++++
2 files changed, 45 insertions(+)
diff --git a/app-metrics/nftables-exporter/Manifest b/app-metrics/nftables-exporter/Manifest
index 3b35b188deb9..e69eaa7d6e04 100644
--- a/app-metrics/nftables-exporter/Manifest
+++ b/app-metrics/nftables-exporter/Manifest
@@ -1,2 +1,4 @@
DIST nftables-exporter-0.2.7-deps.tar.xz 6611016 BLAKE2B c6d5593bcf29f846044fd11602eb38f7296f46394cb61c04c7877b0d100d4f33f5bbccbcb374d267fa87da600c2afe00b1c0f6acb494d078c2cb8f2fe73baa6d SHA512 0039135b52e0f77316a68f482094620531be1a7ef1cbd713905f140fea09627fde4544b0c25ed964950682be905a758f22384e0159bbcf8ee2a9f57c3a7f5f43
DIST nftables-exporter-0.2.7.tar.gz 22061 BLAKE2B 142c834a77b563d6c57b72a5ec45c88e0542121d334c0b02a6acc18fea7902efad8080e0b3b01a2a519a4cd376938da58fc4b7b3fc2260300a5bc64469c993ee SHA512 69192df420b294b4c3b345999505111f149c00a5d68773b6f958d16b39505c937377075fe4e299688b97f5c12f0bbdac59bdb9bd0447b62f6d76c0bc55caa318
+DIST nftables-exporter-0.3.1-deps.tar.xz 34701580 BLAKE2B 0cabca1e6e1ac758d987cfd9549d45df1cf8852a09a4026343efa61cc2b7162ee398f6cfa6127235c99009d70b5a95586f093bbd8aff50779d8c4be48ad5cdc6 SHA512 1a98852089ea8c0b5a862b01163c4ef3243190e8111617d14d8e4cb8ac83dafb016a685419eb578695708bee33feb92a9087de7f96bf3511e247eb5e769a36c2
+DIST nftables-exporter-0.3.1.tar.gz 22518 BLAKE2B 3c186d26397718a82368e1e18dabd5c2a148cbc350c949b265d1645e2dcc49f10ab35dc307411210521ba27605bba5b6b816b1833d3bf0ea72ef92fba5b3c43d SHA512 3edb32c425fd6f3028a5a9ff2be52120e8ba9b995c8e6861d9e5c925d439941fb50e69e3090b3e4ffa4b433d24b5607c4811c6d5c8176ea9d3a992c69f8095fb
diff --git a/app-metrics/nftables-exporter/nftables-exporter-0.3.1.ebuild b/app-metrics/nftables-exporter/nftables-exporter-0.3.1.ebuild
new file mode 100644
index 000000000000..5c64528b9900
--- /dev/null
+++ b/app-metrics/nftables-exporter/nftables-exporter-0.3.1.ebuild
@@ -0,0 +1,43 @@
+# Copyright 2023-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit go-module systemd
+
+# make sure these are updated based on the Makefile in every bump.
+SHA=a8497830
+GITVERSION=tags/v0.3.1-0-ga849783
+
+DESCRIPTION="prometheus exporter for nftables metrics"
+HOMEPAGE="https://github.com/metal-stack/nftables-exporter"
+SRC_URI="https://github.com/metal-stack/nftables-exporter/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+SRC_URI+=" https://dev.gentoo.org/~williamh/dist/${P}-deps.tar.xz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64"
+
+RDEPEND="net-firewall/nftables"
+
+src_prepare() {
+ default
+ sed -i -e '/strip bin\//d' -e '/sha256sum/d' Makefile
+}
+
+src_compile() {
+ emake \
+ SHA=${SHA} \
+ GITVERSION=${GITVERSION} \
+ VERSION=v${PV} \
+ build
+}
+
+src_install() {
+ newbin bin/${P}-* ${PN}
+ insinto etc
+ doins nftables_exporter.yaml
+ systemd_dounit systemd/nftables-exporter.service
+ newinitd "${FILESDIR}"/${PN}.initd ${PN}
+ keepdir /var/log/${PN}
+}
next reply other threads:[~2025-01-27 5:43 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-01-27 5:43 William Hubbs [this message]
-- strict thread matches above, loose matches on Subject: below --
2023-09-07 22:23 [gentoo-commits] repo/gentoo:master commit in: app-metrics/nftables-exporter/ William Hubbs
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=1737956612.497b43d175c669882c200270e142359ce93defc9.williamh@gentoo \
--to=williamh@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