public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "William Hubbs" <williamh@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: app-metrics/dnsmasq_exporter/
Date: Wed, 29 Jan 2025 14:40:39 +0000 (UTC)	[thread overview]
Message-ID: <1738161631.caed4f94dc0441cbf6eab5d5cc3374e6ca26031b.williamh@gentoo> (raw)

commit:     caed4f94dc0441cbf6eab5d5cc3374e6ca26031b
Author:     William Hubbs <williamh <AT> gentoo <DOT> org>
AuthorDate: Wed Jan 29 14:39:01 2025 +0000
Commit:     William Hubbs <williamh <AT> gentoo <DOT> org>
CommitDate: Wed Jan 29 14:40:31 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=caed4f94

app-metrics/dnsmasq_exporter: add 0.3.0

Signed-off-by: William Hubbs <williamh <AT> gentoo.org>

 app-metrics/dnsmasq_exporter/Manifest              |  2 ++
 .../dnsmasq_exporter/dnsmasq_exporter-0.3.0.ebuild | 39 ++++++++++++++++++++++
 2 files changed, 41 insertions(+)

diff --git a/app-metrics/dnsmasq_exporter/Manifest b/app-metrics/dnsmasq_exporter/Manifest
index e5b773550880..4cac3977d245 100644
--- a/app-metrics/dnsmasq_exporter/Manifest
+++ b/app-metrics/dnsmasq_exporter/Manifest
@@ -1,2 +1,4 @@
 DIST dnsmasq_exporter-0.2.0-deps.tar.xz 12889812 BLAKE2B d57f3a83bcab80d8fa7ca8ddcfb96897285c5dcd94d6a5631c7c308ead758a6f8bb1b43695d305bc5baf930dc3ca8073c21d99369edbf76c95d167ea0d546f1e SHA512 1967c94ee658828691194fe7495757b7adb8e7116ec58eb039b4797cfb1a8f61fc112a7c56316d1938e6185d3a66eb5082b418c649fde83e52530b1fbd0d00e8
 DIST dnsmasq_exporter-0.2.0.tar.gz 12912 BLAKE2B e4166ff1648b4f6780da767ec2b1ea144d132190d6fc53f77c0ebcc73a8515bbdc198d7f34e1ae806b8c76ae41ed90d60c69cb82294a67397022b522fc22f9d8 SHA512 5f1eb899da3b20c384c19cff0bfe0a8b09a0078b683cabacdaa78ab07153ecf35ddf94bf04cae64891eca83b18c6e027d9096afa9cf2dd2e4d3a2040e3daed0c
+DIST dnsmasq_exporter-0.3.0-deps.tar.xz 152635028 BLAKE2B 47e7be4fd997c717e3737aa6a5074588d8d00b1415d68c8848758af4d2d17e602ff936866ff0e125bfbc239474842d063929ba6be761c6b397740f170036fd02 SHA512 359775e5ad9d8c38fc8acb4ffbc225178593c28de99d40c1227e3d12400dba1a57c817b791d3039f5cc7eaa2c12f6c4a47d1ecb9de6da39439385b95196987be
+DIST dnsmasq_exporter-0.3.0.tar.gz 30721 BLAKE2B 77f2fa32b6e7319a8b1a51075136cbc0aadb0fc2d74b68f6f36fd1a8108a2645a7c0b551786d15704ed552c777a68f3937272e6a47615f333b1ccb4ab4b20c16 SHA512 070ae329884646d3a30b0b8e37ecf2f7a5acee982e616b45117fbe684bf236d40777a517676dba8071a57f4d5f55aa1e5bb821bd3fa248ffaf923a80c7bf089b

diff --git a/app-metrics/dnsmasq_exporter/dnsmasq_exporter-0.3.0.ebuild b/app-metrics/dnsmasq_exporter/dnsmasq_exporter-0.3.0.ebuild
new file mode 100644
index 000000000000..7761bab78363
--- /dev/null
+++ b/app-metrics/dnsmasq_exporter/dnsmasq_exporter-0.3.0.ebuild
@@ -0,0 +1,39 @@
+# Copyright 2019-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit go-module
+
+DESCRIPTION="prometheus exporter for dnsmasq"
+HOMEPAGE="https://github.com/google/dnsmasq_exporter"
+SRC_URI="https://github.com/google/dnsmasq_exporter/archive/v${PV}.tar.gz -> ${P}.tar.gz
+https://dev.gentoo.org/~williamh/dist/${P}-deps.tar.xz"
+
+LICENSE="BSD MIT Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64"
+
+DEPEND="
+	acct-group/dnsmasq_exporter
+	acct-user/dnsmasq_exporter"
+	RDEPEND="${DEPEND}"
+
+src_compile() {
+	ego build
+}
+
+src_install() {
+	dobin dnsmasq_exporter
+	newinitd "${FILESDIR}"/${PN}.initd ${PN}
+	newconfd "${FILESDIR}"/${PN}.confd ${PN}
+	keepdir /var/log/dnsmasq_exporter
+	fowners ${PN}:${PN} /var/log/dnsmasq_exporter
+}
+
+pkg_postinst() {
+	if [[ -e "${EROOT}"/var/log/ddnsmasq_exporter ]]; then
+		elog "The log directory is now ${EROOT}/var/log/dnsmasq_exporter"
+		elog "in order 	to fix a typo."
+	fi
+}


             reply	other threads:[~2025-01-29 14:40 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-01-29 14:40 William Hubbs [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-03-12 18:23 [gentoo-commits] repo/gentoo:master commit in: app-metrics/dnsmasq_exporter/ Arthur Zamarin
2022-07-17 21:31 William Hubbs
2020-05-11  4:13 William Hubbs
2020-04-06 13:54 William Hubbs
2019-11-25 22:06 William Hubbs
2019-11-24 22:47 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=1738161631.caed4f94dc0441cbf6eab5d5cc3374e6ca26031b.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