From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: 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 E4F6D138359 for ; Sun, 5 Jul 2020 20:51:40 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 349A0E081B; Sun, 5 Jul 2020 20:51:40 +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 1B9BEE081B for ; Sun, 5 Jul 2020 20:51:40 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (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 E5DB234ED0F for ; Sun, 5 Jul 2020 20:51:38 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 5837428E for ; Sun, 5 Jul 2020 20:51:34 +0000 (UTC) From: "William Hubbs" 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" Message-ID: <1593982277.304988cf287a81fd38ec576eebd16a4f70f6385e.williamh@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-metrics/memcached_exporter/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-metrics/memcached_exporter/Manifest app-metrics/memcached_exporter/memcached_exporter-0.6.0.ebuild X-VCS-Directories: app-metrics/memcached_exporter/ X-VCS-Committer: williamh X-VCS-Committer-Name: William Hubbs X-VCS-Revision: 304988cf287a81fd38ec576eebd16a4f70f6385e X-VCS-Branch: master Date: Sun, 5 Jul 2020 20:51:34 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 084a1d21-559d-4271-9d92-9ffc361e14e3 X-Archives-Hash: c7199a5dec2ab067d89daa7e8ef30a5b commit: 304988cf287a81fd38ec576eebd16a4f70f6385e Author: William Hubbs gentoo org> AuthorDate: Sun Jul 5 20:47:09 2020 +0000 Commit: William Hubbs gentoo org> CommitDate: Sun Jul 5 20:51:17 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=304988cf app-metrics/memcached_exporter: 0.6.0 bump Signed-off-by: William Hubbs gentoo.org> app-metrics/memcached_exporter/Manifest | 1 + .../memcached_exporter-0.6.0.ebuild | 34 ++++++++++++++++++++++ 2 files changed, 35 insertions(+) diff --git a/app-metrics/memcached_exporter/Manifest b/app-metrics/memcached_exporter/Manifest index cd83175830c..a0a62149d21 100644 --- a/app-metrics/memcached_exporter/Manifest +++ b/app-metrics/memcached_exporter/Manifest @@ -1 +1,2 @@ DIST memcached_exporter-0.5.0.tar.gz 1350752 BLAKE2B e9a326ca155e0e0a89dd556f0a97ba9bbe73e3e02a905497c55a5390be2cbf211dde9dda37355dd043b711258c78cf911c79ae898b6e0934f2d4b2ddef7ae946 SHA512 62ec7f9cefc88425ea3b53a634b2d5ff1534624b6e149c962372e81a7271fc1bf3c01c7d8641dc49250b8d124bec740b3c2768e62d51cfdc025a29f71a49b428 +DIST memcached_exporter-0.6.0.tar.gz 1709929 BLAKE2B 3b2f3272289d7745b560eb466918c00a2b65947dfcc219d2971cf6215a5590809c48e4b4385e572ff38c1abe7af74c9bf1575450498382b18644a46d1dab3dd7 SHA512 02238da4e901c3e3b57144501d64fa19502bdcf1aa65e775188ef18f9e524c4e2a44d87e8dcc926261b589715a8347628b87c2e418bcbcc63b5a18058ef771be diff --git a/app-metrics/memcached_exporter/memcached_exporter-0.6.0.ebuild b/app-metrics/memcached_exporter/memcached_exporter-0.6.0.ebuild new file mode 100644 index 00000000000..913258dc59d --- /dev/null +++ b/app-metrics/memcached_exporter/memcached_exporter-0.6.0.ebuild @@ -0,0 +1,34 @@ +# Copyright 2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +inherit go-module user + +DESCRIPTION="Prometheus exporter for memcached" +HOMEPAGE="https://github.com/prometheus/memcached_exporter" +SRC_URI="https://github.com/prometheus/memcached_exporter/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="Apache-2.0 BSD BSD-2 MIT" +SLOT="0" +KEYWORDS="~amd64" + +BDEPEND="dev-util/promu" + +pkg_setup() { + enewgroup ${PN} + enewuser ${PN} -1 -1 -1 ${PN} +} + +src_compile() { + mkdir bin || die + promu build --prefix bin || die +} + +src_install() { + newbin bin/${P} ${PN} + dodoc *.md + keepdir /var/log/${PN} + fowners ${PN}:${PN} /var/log/${PN} + newinitd "${FILESDIR}"/${PN}.initd ${PN} + newconfd "${FILESDIR}"/${PN}.confd ${PN} +}