From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-1125147-garchives=archives.gentoo.org@lists.gentoo.org>
Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(No client certificate requested)
	by finch.gentoo.org (Postfix) with ESMTPS id C2B69138334
	for <garchives@archives.gentoo.org>; Sun, 24 Nov 2019 22:47:41 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id 170D4E05C1;
	Sun, 24 Nov 2019 22:47:41 +0000 (UTC)
Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183])
	(using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits))
	(No client certificate requested)
	by pigeon.gentoo.org (Postfix) with ESMTPS id DE969E05C1
	for <gentoo-commits@lists.gentoo.org>; Sun, 24 Nov 2019 22:47:40 +0000 (UTC)
Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52])
	(using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits))
	(No client certificate requested)
	by smtp.gentoo.org (Postfix) with ESMTPS id F1E6434D2E0
	for <gentoo-commits@lists.gentoo.org>; Sun, 24 Nov 2019 22:47:39 +0000 (UTC)
Received: from localhost.localdomain (localhost [IPv6:::1])
	by oystercatcher.gentoo.org (Postfix) with ESMTP id 53826888
	for <gentoo-commits@lists.gentoo.org>; Sun, 24 Nov 2019 22:47:38 +0000 (UTC)
From: "William Hubbs" <williamh@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Content-Transfer-Encoding: 8bit
Content-type: text/plain; charset=UTF-8
Reply-To: gentoo-dev@lists.gentoo.org, "William Hubbs" <williamh@gentoo.org>
Message-ID: <1574635569.683c42c96e326fa598ee94bda59b23b8076ccf7d.williamh@gentoo>
Subject: [gentoo-commits] repo/gentoo:master commit in: app-metrics/dnsmasq_exporter/
X-VCS-Repository: repo/gentoo
X-VCS-Files: app-metrics/dnsmasq_exporter/dnsmasq_exporter-0.2.0-r1.ebuild
X-VCS-Directories: app-metrics/dnsmasq_exporter/
X-VCS-Committer: williamh
X-VCS-Committer-Name: William Hubbs
X-VCS-Revision: 683c42c96e326fa598ee94bda59b23b8076ccf7d
X-VCS-Branch: master
Date: Sun, 24 Nov 2019 22:47:38 +0000 (UTC)
Precedence: bulk
List-Post: <mailto:gentoo-commits@lists.gentoo.org>
List-Help: <mailto:gentoo-commits+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org>
X-BeenThere: gentoo-commits@lists.gentoo.org
X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply
X-Archives-Salt: 1ed29b53-d720-463d-8003-54b8a7891cfb
X-Archives-Hash: 2ff4557dbd2f833b25ab2cf0aa5cd623

commit:     683c42c96e326fa598ee94bda59b23b8076ccf7d
Author:     William Hubbs <williamh <AT> gentoo <DOT> org>
AuthorDate: Sun Nov 24 22:43:26 2019 +0000
Commit:     William Hubbs <williamh <AT> gentoo <DOT> org>
CommitDate: Sun Nov 24 22:46:09 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=683c42c9

app-metrics/dnsmasq_exporter: 0.2.0-r1 revbump for bug fixes

Closes: https://bugs.gentoo.org/699038
Closes: https://bugs.gentoo.org/700124
Signed-off-by: William Hubbs <williamh <AT> gentoo.org>

 .../dnsmasq_exporter-0.2.0-r1.ebuild               | 58 ++++++++++++++++++++++
 1 file changed, 58 insertions(+)

diff --git a/app-metrics/dnsmasq_exporter/dnsmasq_exporter-0.2.0-r1.ebuild b/app-metrics/dnsmasq_exporter/dnsmasq_exporter-0.2.0-r1.ebuild
new file mode 100644
index 00000000000..66ead08d0ad
--- /dev/null
+++ b/app-metrics/dnsmasq_exporter/dnsmasq_exporter-0.2.0-r1.ebuild
@@ -0,0 +1,58 @@
+# Copyright 2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+inherit go-module
+
+DESCRIPTION="prometheus exporter for dnsmasq"
+HOMEPAGE="https://github.com/google/dnsmasq_exporter"
+
+EGO_VENDOR=(
+	"github.com/alecthomas/template a0175ee3bccc"
+	"github.com/alecthomas/units 2efee857e7cf"
+	"github.com/beorn7/perks v1.0.0"
+	"github.com/golang/protobuf v1.3.1"
+	"github.com/konsorten/go-windows-terminal-sequences v1.0.1"
+	"github.com/matttproud/golang_protobuf_extensions v1.0.1"
+	"github.com/miekg/dns v1.1.14"
+	"github.com/prometheus/client_golang v0.9.4"
+	"github.com/prometheus/client_model fd36f4220a90"
+	"github.com/prometheus/common v0.4.1"
+	"github.com/prometheus/procfs v0.0.2"
+	"github.com/sirupsen/logrus v1.2.0"
+	"golang.org/x/crypto 0709b304e793 github.com/golang/crypto"
+	"golang.org/x/net adae6a3d119a github.com/golang/net"
+	"golang.org/x/sync 112230192c58 github.com/golang/sync"
+	"golang.org/x/sys 5ac8a444bdc5 github.com/golang/sys"
+	"gopkg.in/alecthomas/kingpin.v2 v2.2.6 github.com/alecthomas/kingpin"
+)
+SRC_URI="https://github.com/google/dnsmasq_exporter/archive/v${PV}.tar.gz -> ${P}.tar.gz
+	$(go-module_vendor_uris)"
+
+LICENSE="BSD MIT Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64"
+
+DEPEND="
+	acct-group/dnsmasq_exporter
+	acct-user/dnsmasq_exporter"
+	RDEPEND="${DEPEND}"
+
+src_compile() {
+	go build || die
+}
+
+src_install() {
+	dobin dnsmasq_exporter
+	keepdir /var/log/dnsmasq_exporter
+	fowners ${PN}:${PN} /var/log/ddnsmasq_exporter
+	newinitd "${FILESDIR}"/${PN}.initd ${PN}
+	newconfd "${FILESDIR}"/${PN}.confd ${PN}
+}
+
+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
+}