public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: app-metrics/prometheus-podman-exporter/
@ 2023-10-31 14:03 Joonas Niilola
  0 siblings, 0 replies; 11+ messages in thread
From: Joonas Niilola @ 2023-10-31 14:03 UTC (permalink / raw
  To: gentoo-commits

commit:     bf5cd99a517e89863819001c51ee00ed8f69435e
Author:     Rahil Bhimjiani <rahil3108 <AT> gmail <DOT> com>
AuthorDate: Sat Sep 30 15:52:40 2023 +0000
Commit:     Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Tue Oct 31 14:02:21 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bf5cd99a

app-metrics/prometheus-podman-exporter: add 1.4.0 & live

I'll add openrc's init.d script if someone provides patch/PR

Signed-off-by: Rahil Bhimjiani <rahil3108 <AT> gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/33137
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>

 app-metrics/prometheus-podman-exporter/Manifest    |  1 +
 .../prometheus-podman-exporter/metadata.xml        | 20 ++++++++++
 .../prometheus-podman-exporter-1.4.0.ebuild        | 45 ++++++++++++++++++++++
 .../prometheus-podman-exporter-9999.ebuild         | 45 ++++++++++++++++++++++
 4 files changed, 111 insertions(+)

diff --git a/app-metrics/prometheus-podman-exporter/Manifest b/app-metrics/prometheus-podman-exporter/Manifest
new file mode 100644
index 000000000000..14475c516e01
--- /dev/null
+++ b/app-metrics/prometheus-podman-exporter/Manifest
@@ -0,0 +1 @@
+DIST prometheus-podman-exporter-1.4.0.tar.gz 11934764 BLAKE2B 9f0c7431a15ca0abbfbc54affc7026180c156a655379e18840e8923cced2b80a86644e6edd139f052d9a777d1465a2b7bc4432fc2ebb2e3f47bc3b4880800745 SHA512 ba0c79741add66cb7e943dd64c0662fabb95be10864efa22cbb580b4e0ff01f5896e269b90b6b8b4a59878e77736344390258a1bf8ecbe58fd5870fd428ee388

diff --git a/app-metrics/prometheus-podman-exporter/metadata.xml b/app-metrics/prometheus-podman-exporter/metadata.xml
new file mode 100644
index 000000000000..0e2e52ba0fc6
--- /dev/null
+++ b/app-metrics/prometheus-podman-exporter/metadata.xml
@@ -0,0 +1,20 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+  <maintainer type="project" proxied="proxy">
+    <email>proxy-maint@gentoo.org</email>
+    <name>Proxy Maintainers</name>
+  </maintainer>
+  <maintainer type="person" proxied="yes">
+    <email>rahil3108@gmail.com</email>
+    <name>Rahil Bhimjiani</name>
+  </maintainer>
+  <use>
+    <flag name="btrfs">Collect metrics for btrfs filesystem</flag>
+  </use>
+  <upstream>
+    <remote-id type="github">containers/prometheus-podman-exporter</remote-id>
+    <bugs-to>https://github.com/containers/prometheus-podman-exporter/issues</bugs-to>
+    <doc>https://github.com/containers/prometheus-podman-exporter/blob/main/README.md</doc>
+  </upstream>
+</pkgmetadata>

diff --git a/app-metrics/prometheus-podman-exporter/prometheus-podman-exporter-1.4.0.ebuild b/app-metrics/prometheus-podman-exporter/prometheus-podman-exporter-1.4.0.ebuild
new file mode 100644
index 000000000000..b6b911e1954f
--- /dev/null
+++ b/app-metrics/prometheus-podman-exporter/prometheus-podman-exporter-1.4.0.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit go-module systemd
+
+DESCRIPTION="Exporter for podman giving containers, pods, images, volumes & networks metrics"
+HOMEPAGE="https://github.com/containers/prometheus-podman-exporter"
+
+if [[ ${PV} == *9999* ]]; then
+	inherit git-r3
+	EGIT_REPO_URI="https://github.com/containers/prometheus-podman-exporter.git"
+else
+	SRC_URI="https://github.com/containers/prometheus-podman-exporter/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
+	KEYWORDS="~amd64"
+fi
+
+# Main package
+LICENSE="Apache-2.0"
+# Dependencies
+LICENSE+=" BSD-2 BSD ISC MIT MPL-2.0"
+
+SLOT="0"
+IUSE="btrfs"
+
+# there are no test files so prevent tests
+RESTRICT="test"
+RDEPEND="
+	app-containers/podman[btrfs?]
+"
+DEPEND="${RDEPEND}"
+
+src_compile() {
+	export BUILDFLAGS=" -tags exclude_graphdriver_devicemapper"
+	use !btrfs && BUILDFLAGS+=",exclude_graphdriver_btrfs,btrfs_noversion"
+	default
+}
+
+src_install() {
+	emake DESTDIR="${ED}/usr/bin" install
+	systemd_dounit "contrib/systemd/prometheus-podman-exporter.service"
+	systemd_douserunit "contrib/systemd/prometheus-podman-exporter.service"
+	einstalldocs
+}

diff --git a/app-metrics/prometheus-podman-exporter/prometheus-podman-exporter-9999.ebuild b/app-metrics/prometheus-podman-exporter/prometheus-podman-exporter-9999.ebuild
new file mode 100644
index 000000000000..b6b911e1954f
--- /dev/null
+++ b/app-metrics/prometheus-podman-exporter/prometheus-podman-exporter-9999.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit go-module systemd
+
+DESCRIPTION="Exporter for podman giving containers, pods, images, volumes & networks metrics"
+HOMEPAGE="https://github.com/containers/prometheus-podman-exporter"
+
+if [[ ${PV} == *9999* ]]; then
+	inherit git-r3
+	EGIT_REPO_URI="https://github.com/containers/prometheus-podman-exporter.git"
+else
+	SRC_URI="https://github.com/containers/prometheus-podman-exporter/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
+	KEYWORDS="~amd64"
+fi
+
+# Main package
+LICENSE="Apache-2.0"
+# Dependencies
+LICENSE+=" BSD-2 BSD ISC MIT MPL-2.0"
+
+SLOT="0"
+IUSE="btrfs"
+
+# there are no test files so prevent tests
+RESTRICT="test"
+RDEPEND="
+	app-containers/podman[btrfs?]
+"
+DEPEND="${RDEPEND}"
+
+src_compile() {
+	export BUILDFLAGS=" -tags exclude_graphdriver_devicemapper"
+	use !btrfs && BUILDFLAGS+=",exclude_graphdriver_btrfs,btrfs_noversion"
+	default
+}
+
+src_install() {
+	emake DESTDIR="${ED}/usr/bin" install
+	systemd_dounit "contrib/systemd/prometheus-podman-exporter.service"
+	systemd_douserunit "contrib/systemd/prometheus-podman-exporter.service"
+	einstalldocs
+}


^ permalink raw reply related	[flat|nested] 11+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: app-metrics/prometheus-podman-exporter/
@ 2023-10-31 17:19 Mike Gilbert
  0 siblings, 0 replies; 11+ messages in thread
From: Mike Gilbert @ 2023-10-31 17:19 UTC (permalink / raw
  To: gentoo-commits

commit:     aadcea27f59f56f9820c998fcd52b1644390282a
Author:     Rahil Bhimjiani <rahil3108 <AT> gmail <DOT> com>
AuthorDate: Tue Oct 31 16:36:11 2023 +0000
Commit:     Mike Gilbert <floppym <AT> gentoo <DOT> org>
CommitDate: Tue Oct 31 17:18:53 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=aadcea27

app-metrics/prometheus-podman-exporter: fix metadata.xml

Fix ordering of maintainers

Signed-off-by: Rahil Bhimjiani <rahil3108 <AT> gmail.com>
Signed-off-by: Mike Gilbert <floppym <AT> gentoo.org>

 app-metrics/prometheus-podman-exporter/metadata.xml | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/app-metrics/prometheus-podman-exporter/metadata.xml b/app-metrics/prometheus-podman-exporter/metadata.xml
index 0e2e52ba0fc6..835def2dc561 100644
--- a/app-metrics/prometheus-podman-exporter/metadata.xml
+++ b/app-metrics/prometheus-podman-exporter/metadata.xml
@@ -1,14 +1,14 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
 <pkgmetadata>
-  <maintainer type="project" proxied="proxy">
-    <email>proxy-maint@gentoo.org</email>
-    <name>Proxy Maintainers</name>
-  </maintainer>
   <maintainer type="person" proxied="yes">
     <email>rahil3108@gmail.com</email>
     <name>Rahil Bhimjiani</name>
   </maintainer>
+  <maintainer type="project" proxied="proxy">
+    <email>proxy-maint@gentoo.org</email>
+    <name>Proxy Maintainers</name>
+  </maintainer>
   <use>
     <flag name="btrfs">Collect metrics for btrfs filesystem</flag>
   </use>


^ permalink raw reply related	[flat|nested] 11+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: app-metrics/prometheus-podman-exporter/
@ 2023-11-14  2:29 Yixun Lan
  0 siblings, 0 replies; 11+ messages in thread
From: Yixun Lan @ 2023-11-14  2:29 UTC (permalink / raw
  To: gentoo-commits

commit:     410b959c6e7e6d4e12baf9fa4a179c2904f970d3
Author:     Rahil Bhimjiani <rahil3108 <AT> gmail <DOT> com>
AuthorDate: Sat Nov 11 05:33:45 2023 +0000
Commit:     Yixun Lan <dlan <AT> gentoo <DOT> org>
CommitDate: Tue Nov 14 02:27:37 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=410b959c

app-metrics/prometheus-podman-exporter: add 1.5.0

Closes:  https://github.com/gentoo/gentoo/pull/33764
Signed-off-by: Rahil Bhimjiani <rahil3108 <AT> gmail.com>
Signed-off-by: Yixun Lan <dlan <AT> gentoo.org>

 app-metrics/prometheus-podman-exporter/Manifest                         | 1 +
 ...man-exporter-9999.ebuild => prometheus-podman-exporter-1.5.0.ebuild} | 2 +-
 .../prometheus-podman-exporter/prometheus-podman-exporter-9999.ebuild   | 2 +-
 3 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/app-metrics/prometheus-podman-exporter/Manifest b/app-metrics/prometheus-podman-exporter/Manifest
index 14475c516e01..f3d6e9b4f861 100644
--- a/app-metrics/prometheus-podman-exporter/Manifest
+++ b/app-metrics/prometheus-podman-exporter/Manifest
@@ -1 +1,2 @@
 DIST prometheus-podman-exporter-1.4.0.tar.gz 11934764 BLAKE2B 9f0c7431a15ca0abbfbc54affc7026180c156a655379e18840e8923cced2b80a86644e6edd139f052d9a777d1465a2b7bc4432fc2ebb2e3f47bc3b4880800745 SHA512 ba0c79741add66cb7e943dd64c0662fabb95be10864efa22cbb580b4e0ff01f5896e269b90b6b8b4a59878e77736344390258a1bf8ecbe58fd5870fd428ee388
+DIST prometheus-podman-exporter-1.5.0.tar.gz 12032097 BLAKE2B 15e209330342432a1f71e4686a705b6c6dc41d14b9022828cf10cb0538dcbf6b26c47f243ad96aef17eb71470d5af15bd090afc57960ee6d7b8828b2cff32c46 SHA512 d5eca9d0c87cbddfef6a58cdfc5213c65846219ff8a60e9efa038a8e4ca37f36bb6dc0687a78defb80a4901eeb617e8aa689b94ef0a48625548e74816fafbfec

diff --git a/app-metrics/prometheus-podman-exporter/prometheus-podman-exporter-9999.ebuild b/app-metrics/prometheus-podman-exporter/prometheus-podman-exporter-1.5.0.ebuild
similarity index 97%
copy from app-metrics/prometheus-podman-exporter/prometheus-podman-exporter-9999.ebuild
copy to app-metrics/prometheus-podman-exporter/prometheus-podman-exporter-1.5.0.ebuild
index b6b911e1954f..029b77899c4a 100644
--- a/app-metrics/prometheus-podman-exporter/prometheus-podman-exporter-9999.ebuild
+++ b/app-metrics/prometheus-podman-exporter/prometheus-podman-exporter-1.5.0.ebuild
@@ -8,7 +8,7 @@ inherit go-module systemd
 DESCRIPTION="Exporter for podman giving containers, pods, images, volumes & networks metrics"
 HOMEPAGE="https://github.com/containers/prometheus-podman-exporter"
 
-if [[ ${PV} == *9999* ]]; then
+if [[ ${PV} == 9999* ]]; then
 	inherit git-r3
 	EGIT_REPO_URI="https://github.com/containers/prometheus-podman-exporter.git"
 else

diff --git a/app-metrics/prometheus-podman-exporter/prometheus-podman-exporter-9999.ebuild b/app-metrics/prometheus-podman-exporter/prometheus-podman-exporter-9999.ebuild
index b6b911e1954f..029b77899c4a 100644
--- a/app-metrics/prometheus-podman-exporter/prometheus-podman-exporter-9999.ebuild
+++ b/app-metrics/prometheus-podman-exporter/prometheus-podman-exporter-9999.ebuild
@@ -8,7 +8,7 @@ inherit go-module systemd
 DESCRIPTION="Exporter for podman giving containers, pods, images, volumes & networks metrics"
 HOMEPAGE="https://github.com/containers/prometheus-podman-exporter"
 
-if [[ ${PV} == *9999* ]]; then
+if [[ ${PV} == 9999* ]]; then
 	inherit git-r3
 	EGIT_REPO_URI="https://github.com/containers/prometheus-podman-exporter.git"
 else


^ permalink raw reply related	[flat|nested] 11+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: app-metrics/prometheus-podman-exporter/
@ 2023-12-15 22:57 Yixun Lan
  0 siblings, 0 replies; 11+ messages in thread
From: Yixun Lan @ 2023-12-15 22:57 UTC (permalink / raw
  To: gentoo-commits

commit:     012f67e2ef5c9650a12e8cddba4248131104a711
Author:     Rahil Bhimjiani <me <AT> rahil <DOT> website>
AuthorDate: Fri Dec  1 20:23:44 2023 +0000
Commit:     Yixun Lan <dlan <AT> gentoo <DOT> org>
CommitDate: Fri Dec 15 22:54:27 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=012f67e2

app-metrics/prometheus-podman-exporter: add 1.6.0

zero changes

Closes: https://github.com/gentoo/gentoo/pull/34086
Signed-off-by: Rahil Bhimjiani <me <AT> rahil.website>
Signed-off-by: Yixun Lan <dlan <AT> gentoo.org>

 app-metrics/prometheus-podman-exporter/Manifest    |  1 +
 .../prometheus-podman-exporter-1.6.0.ebuild        | 45 ++++++++++++++++++++++
 2 files changed, 46 insertions(+)

diff --git a/app-metrics/prometheus-podman-exporter/Manifest b/app-metrics/prometheus-podman-exporter/Manifest
index f3d6e9b4f861..28b2aabab1c8 100644
--- a/app-metrics/prometheus-podman-exporter/Manifest
+++ b/app-metrics/prometheus-podman-exporter/Manifest
@@ -1,2 +1,3 @@
 DIST prometheus-podman-exporter-1.4.0.tar.gz 11934764 BLAKE2B 9f0c7431a15ca0abbfbc54affc7026180c156a655379e18840e8923cced2b80a86644e6edd139f052d9a777d1465a2b7bc4432fc2ebb2e3f47bc3b4880800745 SHA512 ba0c79741add66cb7e943dd64c0662fabb95be10864efa22cbb580b4e0ff01f5896e269b90b6b8b4a59878e77736344390258a1bf8ecbe58fd5870fd428ee388
 DIST prometheus-podman-exporter-1.5.0.tar.gz 12032097 BLAKE2B 15e209330342432a1f71e4686a705b6c6dc41d14b9022828cf10cb0538dcbf6b26c47f243ad96aef17eb71470d5af15bd090afc57960ee6d7b8828b2cff32c46 SHA512 d5eca9d0c87cbddfef6a58cdfc5213c65846219ff8a60e9efa038a8e4ca37f36bb6dc0687a78defb80a4901eeb617e8aa689b94ef0a48625548e74816fafbfec
+DIST prometheus-podman-exporter-1.6.0.tar.gz 12234381 BLAKE2B 18960a73962ac30c477cabdcc784268088ba2bdf6a0efa6a777f164333b3964b2a881cec8a7f48d6aa5969306f92ed33d2722bfe740e6401dd704dbeb0963e5f SHA512 ef0b565bab8d695f05cadd3689f40161d5a0943a9d54e42611db0ea43dc98aca42d9ce8b33d080c60ab5456df8dc50f4283001562c4edec2e64fe037dd7d6bf1

diff --git a/app-metrics/prometheus-podman-exporter/prometheus-podman-exporter-1.6.0.ebuild b/app-metrics/prometheus-podman-exporter/prometheus-podman-exporter-1.6.0.ebuild
new file mode 100644
index 000000000000..029b77899c4a
--- /dev/null
+++ b/app-metrics/prometheus-podman-exporter/prometheus-podman-exporter-1.6.0.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit go-module systemd
+
+DESCRIPTION="Exporter for podman giving containers, pods, images, volumes & networks metrics"
+HOMEPAGE="https://github.com/containers/prometheus-podman-exporter"
+
+if [[ ${PV} == 9999* ]]; then
+	inherit git-r3
+	EGIT_REPO_URI="https://github.com/containers/prometheus-podman-exporter.git"
+else
+	SRC_URI="https://github.com/containers/prometheus-podman-exporter/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
+	KEYWORDS="~amd64"
+fi
+
+# Main package
+LICENSE="Apache-2.0"
+# Dependencies
+LICENSE+=" BSD-2 BSD ISC MIT MPL-2.0"
+
+SLOT="0"
+IUSE="btrfs"
+
+# there are no test files so prevent tests
+RESTRICT="test"
+RDEPEND="
+	app-containers/podman[btrfs?]
+"
+DEPEND="${RDEPEND}"
+
+src_compile() {
+	export BUILDFLAGS=" -tags exclude_graphdriver_devicemapper"
+	use !btrfs && BUILDFLAGS+=",exclude_graphdriver_btrfs,btrfs_noversion"
+	default
+}
+
+src_install() {
+	emake DESTDIR="${ED}/usr/bin" install
+	systemd_dounit "contrib/systemd/prometheus-podman-exporter.service"
+	systemd_douserunit "contrib/systemd/prometheus-podman-exporter.service"
+	einstalldocs
+}


^ permalink raw reply related	[flat|nested] 11+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: app-metrics/prometheus-podman-exporter/
@ 2024-02-02  6:37 Zac Medico
  0 siblings, 0 replies; 11+ messages in thread
From: Zac Medico @ 2024-02-02  6:37 UTC (permalink / raw
  To: gentoo-commits

commit:     e51f6ec9fcd0aa47cb223200b5f7f9d1fed7da4f
Author:     Rahil Bhimjiani <me <AT> rahil <DOT> rocks>
AuthorDate: Thu Jan 25 17:15:17 2024 +0000
Commit:     Zac Medico <zmedico <AT> gentoo <DOT> org>
CommitDate: Fri Feb  2 06:37:27 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e51f6ec9

app-metrics/prometheus-podman-exporter: add 1.7.0

Signed-off-by: Rahil Bhimjiani <me <AT> rahil.rocks>
Signed-off-by: Zac Medico <zmedico <AT> gentoo.org>

 app-metrics/prometheus-podman-exporter/Manifest                         | 1 +
 ...man-exporter-9999.ebuild => prometheus-podman-exporter-1.7.0.ebuild} | 2 +-
 .../prometheus-podman-exporter/prometheus-podman-exporter-9999.ebuild   | 2 +-
 3 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/app-metrics/prometheus-podman-exporter/Manifest b/app-metrics/prometheus-podman-exporter/Manifest
index 28b2aabab1c8..96e0db495301 100644
--- a/app-metrics/prometheus-podman-exporter/Manifest
+++ b/app-metrics/prometheus-podman-exporter/Manifest
@@ -1,3 +1,4 @@
 DIST prometheus-podman-exporter-1.4.0.tar.gz 11934764 BLAKE2B 9f0c7431a15ca0abbfbc54affc7026180c156a655379e18840e8923cced2b80a86644e6edd139f052d9a777d1465a2b7bc4432fc2ebb2e3f47bc3b4880800745 SHA512 ba0c79741add66cb7e943dd64c0662fabb95be10864efa22cbb580b4e0ff01f5896e269b90b6b8b4a59878e77736344390258a1bf8ecbe58fd5870fd428ee388
 DIST prometheus-podman-exporter-1.5.0.tar.gz 12032097 BLAKE2B 15e209330342432a1f71e4686a705b6c6dc41d14b9022828cf10cb0538dcbf6b26c47f243ad96aef17eb71470d5af15bd090afc57960ee6d7b8828b2cff32c46 SHA512 d5eca9d0c87cbddfef6a58cdfc5213c65846219ff8a60e9efa038a8e4ca37f36bb6dc0687a78defb80a4901eeb617e8aa689b94ef0a48625548e74816fafbfec
 DIST prometheus-podman-exporter-1.6.0.tar.gz 12234381 BLAKE2B 18960a73962ac30c477cabdcc784268088ba2bdf6a0efa6a777f164333b3964b2a881cec8a7f48d6aa5969306f92ed33d2722bfe740e6401dd704dbeb0963e5f SHA512 ef0b565bab8d695f05cadd3689f40161d5a0943a9d54e42611db0ea43dc98aca42d9ce8b33d080c60ab5456df8dc50f4283001562c4edec2e64fe037dd7d6bf1
+DIST prometheus-podman-exporter-1.7.0.tar.gz 12251956 BLAKE2B 91a6a217db3fd2b408344f738a7acad5c161adad6da53ef3d3750b73d9135022b0a4c18d85d0f79fc331344462e600574c8cd94477b57261adb29e5ffccdcc83 SHA512 3f9184681f1466ca4bbd32830c8fd233bb7e95af4df0b97cff606e39987d6c608b8847924d3b1c5fe98d058b32324dea86a142065bae7afdb0f99e4cfe0d9b52

diff --git a/app-metrics/prometheus-podman-exporter/prometheus-podman-exporter-9999.ebuild b/app-metrics/prometheus-podman-exporter/prometheus-podman-exporter-1.7.0.ebuild
similarity index 96%
copy from app-metrics/prometheus-podman-exporter/prometheus-podman-exporter-9999.ebuild
copy to app-metrics/prometheus-podman-exporter/prometheus-podman-exporter-1.7.0.ebuild
index 029b77899c4a..5d9cfead06de 100644
--- a/app-metrics/prometheus-podman-exporter/prometheus-podman-exporter-9999.ebuild
+++ b/app-metrics/prometheus-podman-exporter/prometheus-podman-exporter-1.7.0.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8

diff --git a/app-metrics/prometheus-podman-exporter/prometheus-podman-exporter-9999.ebuild b/app-metrics/prometheus-podman-exporter/prometheus-podman-exporter-9999.ebuild
index 029b77899c4a..5d9cfead06de 100644
--- a/app-metrics/prometheus-podman-exporter/prometheus-podman-exporter-9999.ebuild
+++ b/app-metrics/prometheus-podman-exporter/prometheus-podman-exporter-9999.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8


^ permalink raw reply related	[flat|nested] 11+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: app-metrics/prometheus-podman-exporter/
@ 2024-02-08  3:17 Zac Medico
  0 siblings, 0 replies; 11+ messages in thread
From: Zac Medico @ 2024-02-08  3:17 UTC (permalink / raw
  To: gentoo-commits

commit:     702e1b3cf79e9c878a7647c0f6ceb3d5d2237ac7
Author:     Rahil Bhimjiani <me <AT> rahil <DOT> rocks>
AuthorDate: Sun Feb  4 09:37:51 2024 +0000
Commit:     Zac Medico <zmedico <AT> gentoo <DOT> org>
CommitDate: Thu Feb  8 03:17:18 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=702e1b3c

app-metrics/prometheus-podman-exporter: add 1.8.0

* Go mod bumps to podman-4.9.2 which has few several security fixes
* Add systemd USE flag
* Remove redundant runtime dependency on podman as it is statically built-in

Signed-off-by: Rahil Bhimjiani <me <AT> rahil.rocks>
Closes: https://github.com/gentoo/gentoo/pull/35159
Signed-off-by: Zac Medico <zmedico <AT> gentoo.org>

 app-metrics/prometheus-podman-exporter/Manifest               |  1 +
 ...er-9999.ebuild => prometheus-podman-exporter-1.8.0.ebuild} | 11 ++++-------
 .../prometheus-podman-exporter-9999.ebuild                    | 11 ++++-------
 3 files changed, 9 insertions(+), 14 deletions(-)

diff --git a/app-metrics/prometheus-podman-exporter/Manifest b/app-metrics/prometheus-podman-exporter/Manifest
index 96e0db495301..185f8366ae5c 100644
--- a/app-metrics/prometheus-podman-exporter/Manifest
+++ b/app-metrics/prometheus-podman-exporter/Manifest
@@ -2,3 +2,4 @@ DIST prometheus-podman-exporter-1.4.0.tar.gz 11934764 BLAKE2B 9f0c7431a15ca0abbf
 DIST prometheus-podman-exporter-1.5.0.tar.gz 12032097 BLAKE2B 15e209330342432a1f71e4686a705b6c6dc41d14b9022828cf10cb0538dcbf6b26c47f243ad96aef17eb71470d5af15bd090afc57960ee6d7b8828b2cff32c46 SHA512 d5eca9d0c87cbddfef6a58cdfc5213c65846219ff8a60e9efa038a8e4ca37f36bb6dc0687a78defb80a4901eeb617e8aa689b94ef0a48625548e74816fafbfec
 DIST prometheus-podman-exporter-1.6.0.tar.gz 12234381 BLAKE2B 18960a73962ac30c477cabdcc784268088ba2bdf6a0efa6a777f164333b3964b2a881cec8a7f48d6aa5969306f92ed33d2722bfe740e6401dd704dbeb0963e5f SHA512 ef0b565bab8d695f05cadd3689f40161d5a0943a9d54e42611db0ea43dc98aca42d9ce8b33d080c60ab5456df8dc50f4283001562c4edec2e64fe037dd7d6bf1
 DIST prometheus-podman-exporter-1.7.0.tar.gz 12251956 BLAKE2B 91a6a217db3fd2b408344f738a7acad5c161adad6da53ef3d3750b73d9135022b0a4c18d85d0f79fc331344462e600574c8cd94477b57261adb29e5ffccdcc83 SHA512 3f9184681f1466ca4bbd32830c8fd233bb7e95af4df0b97cff606e39987d6c608b8847924d3b1c5fe98d058b32324dea86a142065bae7afdb0f99e4cfe0d9b52
+DIST prometheus-podman-exporter-1.8.0.tar.gz 12253412 BLAKE2B 673986f2acce525ab6c9d0858ca6c193bc292bc5e6c8ad50f81921a8f66673c29f724ad562efefb6fe63d556e491432b593b7581af3a01faf44279013a2ec209 SHA512 eb647d8d5c7d30a6676fe192ac2f8c3be5ee67525206c67ac9d0dc06f2fd5fb7dbad838f53fa75f550f5dcfa5c188bd2eb0e7c46b13fe2795b38187ac2fdb81a

diff --git a/app-metrics/prometheus-podman-exporter/prometheus-podman-exporter-9999.ebuild b/app-metrics/prometheus-podman-exporter/prometheus-podman-exporter-1.8.0.ebuild
similarity index 82%
copy from app-metrics/prometheus-podman-exporter/prometheus-podman-exporter-9999.ebuild
copy to app-metrics/prometheus-podman-exporter/prometheus-podman-exporter-1.8.0.ebuild
index 5d9cfead06de..1547a7a4946d 100644
--- a/app-metrics/prometheus-podman-exporter/prometheus-podman-exporter-9999.ebuild
+++ b/app-metrics/prometheus-podman-exporter/prometheus-podman-exporter-1.8.0.ebuild
@@ -22,18 +22,15 @@ LICENSE="Apache-2.0"
 LICENSE+=" BSD-2 BSD ISC MIT MPL-2.0"
 
 SLOT="0"
-IUSE="btrfs"
+IUSE="btrfs systemd"
 
 # there are no test files so prevent tests
 RESTRICT="test"
-RDEPEND="
-	app-containers/podman[btrfs?]
-"
-DEPEND="${RDEPEND}"
 
 src_compile() {
-	export BUILDFLAGS=" -tags exclude_graphdriver_devicemapper"
-	use !btrfs && BUILDFLAGS+=",exclude_graphdriver_btrfs,btrfs_noversion"
+	export BUILDTAGS="exclude_graphdriver_devicemapper"
+	use !btrfs && BUILDTAGS+=",exclude_graphdriver_btrfs,btrfs_noversion"
+	use systemd && BUILDTAGS+=",systemd"
 	default
 }
 

diff --git a/app-metrics/prometheus-podman-exporter/prometheus-podman-exporter-9999.ebuild b/app-metrics/prometheus-podman-exporter/prometheus-podman-exporter-9999.ebuild
index 5d9cfead06de..1547a7a4946d 100644
--- a/app-metrics/prometheus-podman-exporter/prometheus-podman-exporter-9999.ebuild
+++ b/app-metrics/prometheus-podman-exporter/prometheus-podman-exporter-9999.ebuild
@@ -22,18 +22,15 @@ LICENSE="Apache-2.0"
 LICENSE+=" BSD-2 BSD ISC MIT MPL-2.0"
 
 SLOT="0"
-IUSE="btrfs"
+IUSE="btrfs systemd"
 
 # there are no test files so prevent tests
 RESTRICT="test"
-RDEPEND="
-	app-containers/podman[btrfs?]
-"
-DEPEND="${RDEPEND}"
 
 src_compile() {
-	export BUILDFLAGS=" -tags exclude_graphdriver_devicemapper"
-	use !btrfs && BUILDFLAGS+=",exclude_graphdriver_btrfs,btrfs_noversion"
+	export BUILDTAGS="exclude_graphdriver_devicemapper"
+	use !btrfs && BUILDTAGS+=",exclude_graphdriver_btrfs,btrfs_noversion"
+	use systemd && BUILDTAGS+=",systemd"
 	default
 }
 


^ permalink raw reply related	[flat|nested] 11+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: app-metrics/prometheus-podman-exporter/
@ 2024-03-18 15:41 Zac Medico
  0 siblings, 0 replies; 11+ messages in thread
From: Zac Medico @ 2024-03-18 15:41 UTC (permalink / raw
  To: gentoo-commits

commit:     484df9fe3980f56fc564db4112344a9fa654a52d
Author:     Zac Medico <zmedico <AT> gentoo <DOT> org>
AuthorDate: Mon Mar 18 03:51:06 2024 +0000
Commit:     Zac Medico <zmedico <AT> gentoo <DOT> org>
CommitDate: Mon Mar 18 15:40:38 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=484df9fe

app-metrics/prometheus-podman-exporter: add myself as a maintainer

Signed-off-by: Zac Medico <zmedico <AT> gentoo.org>

 app-metrics/prometheus-podman-exporter/metadata.xml | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/app-metrics/prometheus-podman-exporter/metadata.xml b/app-metrics/prometheus-podman-exporter/metadata.xml
index d467defb1aa7..afa282c61ad3 100644
--- a/app-metrics/prometheus-podman-exporter/metadata.xml
+++ b/app-metrics/prometheus-podman-exporter/metadata.xml
@@ -5,6 +5,10 @@
     <email>me@rahil.rocks</email>
     <name>Rahil Bhimjiani</name>
   </maintainer>
+  <maintainer type="person">
+    <email>zmedico@gentoo.org</email>
+    <name>Zac Medico</name>
+  </maintainer>
   <maintainer type="project" proxied="proxy">
     <email>proxy-maint@gentoo.org</email>
     <name>Proxy Maintainers</name>


^ permalink raw reply related	[flat|nested] 11+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: app-metrics/prometheus-podman-exporter/
@ 2024-03-19  1:35 Zac Medico
  0 siblings, 0 replies; 11+ messages in thread
From: Zac Medico @ 2024-03-19  1:35 UTC (permalink / raw
  To: gentoo-commits

commit:     ea06623533a71e2f54050139f4082993bf128147
Author:     Rahil Bhimjiani <me <AT> rahil <DOT> rocks>
AuthorDate: Fri Mar 15 06:22:12 2024 +0000
Commit:     Zac Medico <zmedico <AT> gentoo <DOT> org>
CommitDate: Tue Mar 19 01:08:25 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ea066235

app-metrics/prometheus-podman-exporter: 1.10.1, cleanup, openrc svc

* add openrc service with configuration
* add default config in /etc/default for systemd service unit
* install dedicated user unit
* symlink binary and services to nick name podman_exporter

Signed-off-by: Rahil Bhimjiani <me <AT> rahil.rocks>
From: https://github.com/gentoo/gentoo/pull/35766
Signed-off-by: Zac Medico <zmedico <AT> gentoo.org>

 app-metrics/prometheus-podman-exporter/Manifest    |  4 +-
 .../prometheus-podman-exporter-1.10.1.ebuild       | 86 ++++++++++++++++++++++
 .../prometheus-podman-exporter-1.4.0.ebuild        | 45 -----------
 .../prometheus-podman-exporter-1.5.0.ebuild        | 45 -----------
 .../prometheus-podman-exporter-1.6.0.ebuild        | 45 -----------
 .../prometheus-podman-exporter-9999.ebuild         | 48 +++++++++++-
 6 files changed, 133 insertions(+), 140 deletions(-)

diff --git a/app-metrics/prometheus-podman-exporter/Manifest b/app-metrics/prometheus-podman-exporter/Manifest
index 185f8366ae5c..c3ac5cb308e6 100644
--- a/app-metrics/prometheus-podman-exporter/Manifest
+++ b/app-metrics/prometheus-podman-exporter/Manifest
@@ -1,5 +1,3 @@
-DIST prometheus-podman-exporter-1.4.0.tar.gz 11934764 BLAKE2B 9f0c7431a15ca0abbfbc54affc7026180c156a655379e18840e8923cced2b80a86644e6edd139f052d9a777d1465a2b7bc4432fc2ebb2e3f47bc3b4880800745 SHA512 ba0c79741add66cb7e943dd64c0662fabb95be10864efa22cbb580b4e0ff01f5896e269b90b6b8b4a59878e77736344390258a1bf8ecbe58fd5870fd428ee388
-DIST prometheus-podman-exporter-1.5.0.tar.gz 12032097 BLAKE2B 15e209330342432a1f71e4686a705b6c6dc41d14b9022828cf10cb0538dcbf6b26c47f243ad96aef17eb71470d5af15bd090afc57960ee6d7b8828b2cff32c46 SHA512 d5eca9d0c87cbddfef6a58cdfc5213c65846219ff8a60e9efa038a8e4ca37f36bb6dc0687a78defb80a4901eeb617e8aa689b94ef0a48625548e74816fafbfec
-DIST prometheus-podman-exporter-1.6.0.tar.gz 12234381 BLAKE2B 18960a73962ac30c477cabdcc784268088ba2bdf6a0efa6a777f164333b3964b2a881cec8a7f48d6aa5969306f92ed33d2722bfe740e6401dd704dbeb0963e5f SHA512 ef0b565bab8d695f05cadd3689f40161d5a0943a9d54e42611db0ea43dc98aca42d9ce8b33d080c60ab5456df8dc50f4283001562c4edec2e64fe037dd7d6bf1
+DIST prometheus-podman-exporter-1.10.1.tar.gz 13578778 BLAKE2B e854a61ac1ac7237f0ab4bb7d6d2f39f3ebcf9c32f45e4b44c551aa45a8a97902084f0f24180a1253d0c664907fa1dcb5dc6ac587d31387c708c83388c2c9ed9 SHA512 f8da5b88e6d88d02bc48c2fcd627aca0e88d8264aa3c971b2e251fd7641b329fbe66686d12e2dfca8fe40cc1488359caa1a345844f32e45c79a28bc172bbd501
 DIST prometheus-podman-exporter-1.7.0.tar.gz 12251956 BLAKE2B 91a6a217db3fd2b408344f738a7acad5c161adad6da53ef3d3750b73d9135022b0a4c18d85d0f79fc331344462e600574c8cd94477b57261adb29e5ffccdcc83 SHA512 3f9184681f1466ca4bbd32830c8fd233bb7e95af4df0b97cff606e39987d6c608b8847924d3b1c5fe98d058b32324dea86a142065bae7afdb0f99e4cfe0d9b52
 DIST prometheus-podman-exporter-1.8.0.tar.gz 12253412 BLAKE2B 673986f2acce525ab6c9d0858ca6c193bc292bc5e6c8ad50f81921a8f66673c29f724ad562efefb6fe63d556e491432b593b7581af3a01faf44279013a2ec209 SHA512 eb647d8d5c7d30a6676fe192ac2f8c3be5ee67525206c67ac9d0dc06f2fd5fb7dbad838f53fa75f550f5dcfa5c188bd2eb0e7c46b13fe2795b38187ac2fdb81a

diff --git a/app-metrics/prometheus-podman-exporter/prometheus-podman-exporter-1.10.1.ebuild b/app-metrics/prometheus-podman-exporter/prometheus-podman-exporter-1.10.1.ebuild
new file mode 100644
index 000000000000..4452311819fe
--- /dev/null
+++ b/app-metrics/prometheus-podman-exporter/prometheus-podman-exporter-1.10.1.ebuild
@@ -0,0 +1,86 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit go-module systemd
+
+DESCRIPTION="Exporter for podman giving containers, pods, images, volumes & networks metrics"
+HOMEPAGE="https://github.com/containers/prometheus-podman-exporter"
+
+if [[ ${PV} == 9999* ]]; then
+	inherit git-r3
+	EGIT_REPO_URI="https://github.com/containers/prometheus-podman-exporter.git"
+else
+	SRC_URI="https://github.com/containers/prometheus-podman-exporter/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
+	KEYWORDS="~amd64"
+fi
+
+# Main package
+LICENSE="Apache-2.0"
+# Dependencies
+LICENSE+=" BSD-2 BSD ISC MIT MPL-2.0"
+
+SLOT="0"
+IUSE="btrfs systemd"
+
+# there are no test files so prevent tests
+RESTRICT="test"
+
+PATCHES=(
+	"${T}/gentoo-specific-systemd-service.patch"
+)
+
+src_prepare() {
+	cat <<-'EOF' > "${T}/gentoo-specific-systemd-service.patch"
+		--- a/contrib/systemd/system/prometheus-podman-exporter.service
+		+++ b/contrib/systemd/system/prometheus-podman-exporter.service
+		@@ -2,7 +2,7 @@
+		 Description=Prometheus exporter for podman (v4) machine
+		 [Service]
+		 Restart=on-failure
+		-EnvironmentFile=-/etc/sysconfig/prometheus-podman-exporter
+		+EnvironmentFile=-/etc/default/prometheus-podman-exporter
+		 ExecStart=/usr/bin/prometheus-podman-exporter $PODMAN_EXPORTER_OPTS
+		 ExecReload=/bin/kill -HUP $MAINPID
+		 TimeoutStopSec=20s
+		--- a/contrib/systemd/user/prometheus-podman-exporter.service
+		+++ b/contrib/systemd/user/prometheus-podman-exporter.service
+		@@ -2,7 +2,7 @@
+		 Description=Prometheus exporter for podman (v4) machine
+		 [Service]
+		 Restart=on-failure
+		-EnvironmentFile=-/etc/sysconfig/prometheus-podman-exporter
+		+EnvironmentFile=-/etc/default/prometheus-podman-exporter
+		 EnvironmentFile=-%h/.config/prometheus-podman-exporter
+		 ExecStart=/usr/bin/prometheus-podman-exporter $PODMAN_EXPORTER_OPTS
+		 ExecReload=/bin/kill -HUP $MAINPID
+	EOF
+	default
+}
+
+src_compile() {
+	export BUILDTAGS="exclude_graphdriver_devicemapper"
+	use !btrfs && BUILDTAGS+=",exclude_graphdriver_btrfs,btrfs_noversion"
+	use systemd && BUILDTAGS+=",systemd"
+	default
+}
+
+src_install() {
+	emake DESTDIR="${ED}/usr/bin" install
+	dosym -r /usr/bin/"${PN}" /usr/bin/podman_exporter
+
+	insinto /etc/default
+	newins "contrib/systemd/system/prometheus-podman-exporter.sysconfig" "${PN}"
+	systemd_dounit "contrib/systemd/system/prometheus-podman-exporter.service"
+	systemd_douserunit "contrib/systemd/user/prometheus-podman-exporter.service"
+	dosym prometheus-podman-exporter.service $(systemd_get_systemunitdir)/podman_exporter.service
+	dosym prometheus-podman-exporter.service $(systemd_get_userunitdir)/podman_exporter.service
+
+	newconfd "contrib/openrc/prometheus-podman-exporter.confd" "${PN}"
+	newinitd "contrib/openrc/prometheus-podman-exporter.initd" "${PN}"
+	dosym "${PN}" /etc/conf.d/podman_exporter
+	dosym "${PN}" /etc/init.d/podman_exporter
+
+	einstalldocs
+}

diff --git a/app-metrics/prometheus-podman-exporter/prometheus-podman-exporter-1.4.0.ebuild b/app-metrics/prometheus-podman-exporter/prometheus-podman-exporter-1.4.0.ebuild
deleted file mode 100644
index b6b911e1954f..000000000000
--- a/app-metrics/prometheus-podman-exporter/prometheus-podman-exporter-1.4.0.ebuild
+++ /dev/null
@@ -1,45 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit go-module systemd
-
-DESCRIPTION="Exporter for podman giving containers, pods, images, volumes & networks metrics"
-HOMEPAGE="https://github.com/containers/prometheus-podman-exporter"
-
-if [[ ${PV} == *9999* ]]; then
-	inherit git-r3
-	EGIT_REPO_URI="https://github.com/containers/prometheus-podman-exporter.git"
-else
-	SRC_URI="https://github.com/containers/prometheus-podman-exporter/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
-	KEYWORDS="~amd64"
-fi
-
-# Main package
-LICENSE="Apache-2.0"
-# Dependencies
-LICENSE+=" BSD-2 BSD ISC MIT MPL-2.0"
-
-SLOT="0"
-IUSE="btrfs"
-
-# there are no test files so prevent tests
-RESTRICT="test"
-RDEPEND="
-	app-containers/podman[btrfs?]
-"
-DEPEND="${RDEPEND}"
-
-src_compile() {
-	export BUILDFLAGS=" -tags exclude_graphdriver_devicemapper"
-	use !btrfs && BUILDFLAGS+=",exclude_graphdriver_btrfs,btrfs_noversion"
-	default
-}
-
-src_install() {
-	emake DESTDIR="${ED}/usr/bin" install
-	systemd_dounit "contrib/systemd/prometheus-podman-exporter.service"
-	systemd_douserunit "contrib/systemd/prometheus-podman-exporter.service"
-	einstalldocs
-}

diff --git a/app-metrics/prometheus-podman-exporter/prometheus-podman-exporter-1.5.0.ebuild b/app-metrics/prometheus-podman-exporter/prometheus-podman-exporter-1.5.0.ebuild
deleted file mode 100644
index 029b77899c4a..000000000000
--- a/app-metrics/prometheus-podman-exporter/prometheus-podman-exporter-1.5.0.ebuild
+++ /dev/null
@@ -1,45 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit go-module systemd
-
-DESCRIPTION="Exporter for podman giving containers, pods, images, volumes & networks metrics"
-HOMEPAGE="https://github.com/containers/prometheus-podman-exporter"
-
-if [[ ${PV} == 9999* ]]; then
-	inherit git-r3
-	EGIT_REPO_URI="https://github.com/containers/prometheus-podman-exporter.git"
-else
-	SRC_URI="https://github.com/containers/prometheus-podman-exporter/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
-	KEYWORDS="~amd64"
-fi
-
-# Main package
-LICENSE="Apache-2.0"
-# Dependencies
-LICENSE+=" BSD-2 BSD ISC MIT MPL-2.0"
-
-SLOT="0"
-IUSE="btrfs"
-
-# there are no test files so prevent tests
-RESTRICT="test"
-RDEPEND="
-	app-containers/podman[btrfs?]
-"
-DEPEND="${RDEPEND}"
-
-src_compile() {
-	export BUILDFLAGS=" -tags exclude_graphdriver_devicemapper"
-	use !btrfs && BUILDFLAGS+=",exclude_graphdriver_btrfs,btrfs_noversion"
-	default
-}
-
-src_install() {
-	emake DESTDIR="${ED}/usr/bin" install
-	systemd_dounit "contrib/systemd/prometheus-podman-exporter.service"
-	systemd_douserunit "contrib/systemd/prometheus-podman-exporter.service"
-	einstalldocs
-}

diff --git a/app-metrics/prometheus-podman-exporter/prometheus-podman-exporter-1.6.0.ebuild b/app-metrics/prometheus-podman-exporter/prometheus-podman-exporter-1.6.0.ebuild
deleted file mode 100644
index 029b77899c4a..000000000000
--- a/app-metrics/prometheus-podman-exporter/prometheus-podman-exporter-1.6.0.ebuild
+++ /dev/null
@@ -1,45 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit go-module systemd
-
-DESCRIPTION="Exporter for podman giving containers, pods, images, volumes & networks metrics"
-HOMEPAGE="https://github.com/containers/prometheus-podman-exporter"
-
-if [[ ${PV} == 9999* ]]; then
-	inherit git-r3
-	EGIT_REPO_URI="https://github.com/containers/prometheus-podman-exporter.git"
-else
-	SRC_URI="https://github.com/containers/prometheus-podman-exporter/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
-	KEYWORDS="~amd64"
-fi
-
-# Main package
-LICENSE="Apache-2.0"
-# Dependencies
-LICENSE+=" BSD-2 BSD ISC MIT MPL-2.0"
-
-SLOT="0"
-IUSE="btrfs"
-
-# there are no test files so prevent tests
-RESTRICT="test"
-RDEPEND="
-	app-containers/podman[btrfs?]
-"
-DEPEND="${RDEPEND}"
-
-src_compile() {
-	export BUILDFLAGS=" -tags exclude_graphdriver_devicemapper"
-	use !btrfs && BUILDFLAGS+=",exclude_graphdriver_btrfs,btrfs_noversion"
-	default
-}
-
-src_install() {
-	emake DESTDIR="${ED}/usr/bin" install
-	systemd_dounit "contrib/systemd/prometheus-podman-exporter.service"
-	systemd_douserunit "contrib/systemd/prometheus-podman-exporter.service"
-	einstalldocs
-}

diff --git a/app-metrics/prometheus-podman-exporter/prometheus-podman-exporter-9999.ebuild b/app-metrics/prometheus-podman-exporter/prometheus-podman-exporter-9999.ebuild
index 1547a7a4946d..4452311819fe 100644
--- a/app-metrics/prometheus-podman-exporter/prometheus-podman-exporter-9999.ebuild
+++ b/app-metrics/prometheus-podman-exporter/prometheus-podman-exporter-9999.ebuild
@@ -27,6 +27,38 @@ IUSE="btrfs systemd"
 # there are no test files so prevent tests
 RESTRICT="test"
 
+PATCHES=(
+	"${T}/gentoo-specific-systemd-service.patch"
+)
+
+src_prepare() {
+	cat <<-'EOF' > "${T}/gentoo-specific-systemd-service.patch"
+		--- a/contrib/systemd/system/prometheus-podman-exporter.service
+		+++ b/contrib/systemd/system/prometheus-podman-exporter.service
+		@@ -2,7 +2,7 @@
+		 Description=Prometheus exporter for podman (v4) machine
+		 [Service]
+		 Restart=on-failure
+		-EnvironmentFile=-/etc/sysconfig/prometheus-podman-exporter
+		+EnvironmentFile=-/etc/default/prometheus-podman-exporter
+		 ExecStart=/usr/bin/prometheus-podman-exporter $PODMAN_EXPORTER_OPTS
+		 ExecReload=/bin/kill -HUP $MAINPID
+		 TimeoutStopSec=20s
+		--- a/contrib/systemd/user/prometheus-podman-exporter.service
+		+++ b/contrib/systemd/user/prometheus-podman-exporter.service
+		@@ -2,7 +2,7 @@
+		 Description=Prometheus exporter for podman (v4) machine
+		 [Service]
+		 Restart=on-failure
+		-EnvironmentFile=-/etc/sysconfig/prometheus-podman-exporter
+		+EnvironmentFile=-/etc/default/prometheus-podman-exporter
+		 EnvironmentFile=-%h/.config/prometheus-podman-exporter
+		 ExecStart=/usr/bin/prometheus-podman-exporter $PODMAN_EXPORTER_OPTS
+		 ExecReload=/bin/kill -HUP $MAINPID
+	EOF
+	default
+}
+
 src_compile() {
 	export BUILDTAGS="exclude_graphdriver_devicemapper"
 	use !btrfs && BUILDTAGS+=",exclude_graphdriver_btrfs,btrfs_noversion"
@@ -36,7 +68,19 @@ src_compile() {
 
 src_install() {
 	emake DESTDIR="${ED}/usr/bin" install
-	systemd_dounit "contrib/systemd/prometheus-podman-exporter.service"
-	systemd_douserunit "contrib/systemd/prometheus-podman-exporter.service"
+	dosym -r /usr/bin/"${PN}" /usr/bin/podman_exporter
+
+	insinto /etc/default
+	newins "contrib/systemd/system/prometheus-podman-exporter.sysconfig" "${PN}"
+	systemd_dounit "contrib/systemd/system/prometheus-podman-exporter.service"
+	systemd_douserunit "contrib/systemd/user/prometheus-podman-exporter.service"
+	dosym prometheus-podman-exporter.service $(systemd_get_systemunitdir)/podman_exporter.service
+	dosym prometheus-podman-exporter.service $(systemd_get_userunitdir)/podman_exporter.service
+
+	newconfd "contrib/openrc/prometheus-podman-exporter.confd" "${PN}"
+	newinitd "contrib/openrc/prometheus-podman-exporter.initd" "${PN}"
+	dosym "${PN}" /etc/conf.d/podman_exporter
+	dosym "${PN}" /etc/init.d/podman_exporter
+
 	einstalldocs
 }


^ permalink raw reply related	[flat|nested] 11+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: app-metrics/prometheus-podman-exporter/
@ 2024-03-23  8:29 Sam James
  0 siblings, 0 replies; 11+ messages in thread
From: Sam James @ 2024-03-23  8:29 UTC (permalink / raw
  To: gentoo-commits

commit:     fb6b3375c44746b0c038b38f4c4b41b02427ec87
Author:     Rahil Bhimjiani <me <AT> rahil <DOT> rocks>
AuthorDate: Fri Mar 22 08:59:25 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sat Mar 23 08:29:05 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fb6b3375

app-metrics/prometheus-podman-exporter: add 1.11.0

Signed-off-by: Rahil Bhimjiani <me <AT> rahil.rocks>
Signed-off-by: Sam James <sam <AT> gentoo.org>

 app-metrics/prometheus-podman-exporter/Manifest    |  1 +
 .../prometheus-podman-exporter-1.11.0.ebuild       | 86 ++++++++++++++++++++++
 2 files changed, 87 insertions(+)

diff --git a/app-metrics/prometheus-podman-exporter/Manifest b/app-metrics/prometheus-podman-exporter/Manifest
index c3ac5cb308e6..75f6786cc292 100644
--- a/app-metrics/prometheus-podman-exporter/Manifest
+++ b/app-metrics/prometheus-podman-exporter/Manifest
@@ -1,3 +1,4 @@
 DIST prometheus-podman-exporter-1.10.1.tar.gz 13578778 BLAKE2B e854a61ac1ac7237f0ab4bb7d6d2f39f3ebcf9c32f45e4b44c551aa45a8a97902084f0f24180a1253d0c664907fa1dcb5dc6ac587d31387c708c83388c2c9ed9 SHA512 f8da5b88e6d88d02bc48c2fcd627aca0e88d8264aa3c971b2e251fd7641b329fbe66686d12e2dfca8fe40cc1488359caa1a345844f32e45c79a28bc172bbd501
+DIST prometheus-podman-exporter-1.11.0.tar.gz 13883834 BLAKE2B c8c7334d08c4fa86deb1c8d07cbea1468dbc815d0812fc7dd563a52a29573af8c4ae003e8d5aad80e997770187abf7c5f50ed841a1bbec327f220c676dd829a6 SHA512 f976d77940c08202e629c27ba91810f1d9b03ee6b3ebbbcd1568491aec70eba2fae70e6e5ec261105bcd503e5508a95f75eb5a0e5e7916bcbb17205d8a17f7da
 DIST prometheus-podman-exporter-1.7.0.tar.gz 12251956 BLAKE2B 91a6a217db3fd2b408344f738a7acad5c161adad6da53ef3d3750b73d9135022b0a4c18d85d0f79fc331344462e600574c8cd94477b57261adb29e5ffccdcc83 SHA512 3f9184681f1466ca4bbd32830c8fd233bb7e95af4df0b97cff606e39987d6c608b8847924d3b1c5fe98d058b32324dea86a142065bae7afdb0f99e4cfe0d9b52
 DIST prometheus-podman-exporter-1.8.0.tar.gz 12253412 BLAKE2B 673986f2acce525ab6c9d0858ca6c193bc292bc5e6c8ad50f81921a8f66673c29f724ad562efefb6fe63d556e491432b593b7581af3a01faf44279013a2ec209 SHA512 eb647d8d5c7d30a6676fe192ac2f8c3be5ee67525206c67ac9d0dc06f2fd5fb7dbad838f53fa75f550f5dcfa5c188bd2eb0e7c46b13fe2795b38187ac2fdb81a

diff --git a/app-metrics/prometheus-podman-exporter/prometheus-podman-exporter-1.11.0.ebuild b/app-metrics/prometheus-podman-exporter/prometheus-podman-exporter-1.11.0.ebuild
new file mode 100644
index 000000000000..4452311819fe
--- /dev/null
+++ b/app-metrics/prometheus-podman-exporter/prometheus-podman-exporter-1.11.0.ebuild
@@ -0,0 +1,86 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit go-module systemd
+
+DESCRIPTION="Exporter for podman giving containers, pods, images, volumes & networks metrics"
+HOMEPAGE="https://github.com/containers/prometheus-podman-exporter"
+
+if [[ ${PV} == 9999* ]]; then
+	inherit git-r3
+	EGIT_REPO_URI="https://github.com/containers/prometheus-podman-exporter.git"
+else
+	SRC_URI="https://github.com/containers/prometheus-podman-exporter/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
+	KEYWORDS="~amd64"
+fi
+
+# Main package
+LICENSE="Apache-2.0"
+# Dependencies
+LICENSE+=" BSD-2 BSD ISC MIT MPL-2.0"
+
+SLOT="0"
+IUSE="btrfs systemd"
+
+# there are no test files so prevent tests
+RESTRICT="test"
+
+PATCHES=(
+	"${T}/gentoo-specific-systemd-service.patch"
+)
+
+src_prepare() {
+	cat <<-'EOF' > "${T}/gentoo-specific-systemd-service.patch"
+		--- a/contrib/systemd/system/prometheus-podman-exporter.service
+		+++ b/contrib/systemd/system/prometheus-podman-exporter.service
+		@@ -2,7 +2,7 @@
+		 Description=Prometheus exporter for podman (v4) machine
+		 [Service]
+		 Restart=on-failure
+		-EnvironmentFile=-/etc/sysconfig/prometheus-podman-exporter
+		+EnvironmentFile=-/etc/default/prometheus-podman-exporter
+		 ExecStart=/usr/bin/prometheus-podman-exporter $PODMAN_EXPORTER_OPTS
+		 ExecReload=/bin/kill -HUP $MAINPID
+		 TimeoutStopSec=20s
+		--- a/contrib/systemd/user/prometheus-podman-exporter.service
+		+++ b/contrib/systemd/user/prometheus-podman-exporter.service
+		@@ -2,7 +2,7 @@
+		 Description=Prometheus exporter for podman (v4) machine
+		 [Service]
+		 Restart=on-failure
+		-EnvironmentFile=-/etc/sysconfig/prometheus-podman-exporter
+		+EnvironmentFile=-/etc/default/prometheus-podman-exporter
+		 EnvironmentFile=-%h/.config/prometheus-podman-exporter
+		 ExecStart=/usr/bin/prometheus-podman-exporter $PODMAN_EXPORTER_OPTS
+		 ExecReload=/bin/kill -HUP $MAINPID
+	EOF
+	default
+}
+
+src_compile() {
+	export BUILDTAGS="exclude_graphdriver_devicemapper"
+	use !btrfs && BUILDTAGS+=",exclude_graphdriver_btrfs,btrfs_noversion"
+	use systemd && BUILDTAGS+=",systemd"
+	default
+}
+
+src_install() {
+	emake DESTDIR="${ED}/usr/bin" install
+	dosym -r /usr/bin/"${PN}" /usr/bin/podman_exporter
+
+	insinto /etc/default
+	newins "contrib/systemd/system/prometheus-podman-exporter.sysconfig" "${PN}"
+	systemd_dounit "contrib/systemd/system/prometheus-podman-exporter.service"
+	systemd_douserunit "contrib/systemd/user/prometheus-podman-exporter.service"
+	dosym prometheus-podman-exporter.service $(systemd_get_systemunitdir)/podman_exporter.service
+	dosym prometheus-podman-exporter.service $(systemd_get_userunitdir)/podman_exporter.service
+
+	newconfd "contrib/openrc/prometheus-podman-exporter.confd" "${PN}"
+	newinitd "contrib/openrc/prometheus-podman-exporter.initd" "${PN}"
+	dosym "${PN}" /etc/conf.d/podman_exporter
+	dosym "${PN}" /etc/init.d/podman_exporter
+
+	einstalldocs
+}


^ permalink raw reply related	[flat|nested] 11+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: app-metrics/prometheus-podman-exporter/
@ 2024-06-13 19:10 Zac Medico
  0 siblings, 0 replies; 11+ messages in thread
From: Zac Medico @ 2024-06-13 19:10 UTC (permalink / raw
  To: gentoo-commits

commit:     6c2579d93fb755aaf49cd25031067cfcd9a189d0
Author:     Rahil Bhimjiani <me <AT> rahil <DOT> rocks>
AuthorDate: Wed Jun 12 16:52:51 2024 +0000
Commit:     Zac Medico <zmedico <AT> gentoo <DOT> org>
CommitDate: Thu Jun 13 19:10:44 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6c2579d9

app-metrics/prometheus-podman-exporter: update to 1.12.0

Signed-off-by: Rahil Bhimjiani <me <AT> rahil.rocks>
From: https://github.com/gentoo/gentoo/pull/37135
Signed-off-by: Zac Medico <zmedico <AT> gentoo.org>

 app-metrics/prometheus-podman-exporter/Manifest    |  1 +
 .../prometheus-podman-exporter-1.12.0.ebuild       | 86 ++++++++++++++++++++++
 2 files changed, 87 insertions(+)

diff --git a/app-metrics/prometheus-podman-exporter/Manifest b/app-metrics/prometheus-podman-exporter/Manifest
index 75f6786cc292..65fec0333893 100644
--- a/app-metrics/prometheus-podman-exporter/Manifest
+++ b/app-metrics/prometheus-podman-exporter/Manifest
@@ -1,4 +1,5 @@
 DIST prometheus-podman-exporter-1.10.1.tar.gz 13578778 BLAKE2B e854a61ac1ac7237f0ab4bb7d6d2f39f3ebcf9c32f45e4b44c551aa45a8a97902084f0f24180a1253d0c664907fa1dcb5dc6ac587d31387c708c83388c2c9ed9 SHA512 f8da5b88e6d88d02bc48c2fcd627aca0e88d8264aa3c971b2e251fd7641b329fbe66686d12e2dfca8fe40cc1488359caa1a345844f32e45c79a28bc172bbd501
 DIST prometheus-podman-exporter-1.11.0.tar.gz 13883834 BLAKE2B c8c7334d08c4fa86deb1c8d07cbea1468dbc815d0812fc7dd563a52a29573af8c4ae003e8d5aad80e997770187abf7c5f50ed841a1bbec327f220c676dd829a6 SHA512 f976d77940c08202e629c27ba91810f1d9b03ee6b3ebbbcd1568491aec70eba2fae70e6e5ec261105bcd503e5508a95f75eb5a0e5e7916bcbb17205d8a17f7da
+DIST prometheus-podman-exporter-1.12.0.tar.gz 13735898 BLAKE2B 77f1595a2ac6df2d6875b3a3717e0493a5e917872dc8353f3b1290a03088e9f580dc7c138e20109a02c00819963779bee93e8d7abaac70528ea9a9570422b77d SHA512 85505ac8cc54606e2c2a7a0dd82a53bde4135b75f94ddde8d0487d7d5d1f3b20751f27d990f52b288d5969747ed3033e15dfdf1d3b51c8ef67a3b125bcaaa079
 DIST prometheus-podman-exporter-1.7.0.tar.gz 12251956 BLAKE2B 91a6a217db3fd2b408344f738a7acad5c161adad6da53ef3d3750b73d9135022b0a4c18d85d0f79fc331344462e600574c8cd94477b57261adb29e5ffccdcc83 SHA512 3f9184681f1466ca4bbd32830c8fd233bb7e95af4df0b97cff606e39987d6c608b8847924d3b1c5fe98d058b32324dea86a142065bae7afdb0f99e4cfe0d9b52
 DIST prometheus-podman-exporter-1.8.0.tar.gz 12253412 BLAKE2B 673986f2acce525ab6c9d0858ca6c193bc292bc5e6c8ad50f81921a8f66673c29f724ad562efefb6fe63d556e491432b593b7581af3a01faf44279013a2ec209 SHA512 eb647d8d5c7d30a6676fe192ac2f8c3be5ee67525206c67ac9d0dc06f2fd5fb7dbad838f53fa75f550f5dcfa5c188bd2eb0e7c46b13fe2795b38187ac2fdb81a

diff --git a/app-metrics/prometheus-podman-exporter/prometheus-podman-exporter-1.12.0.ebuild b/app-metrics/prometheus-podman-exporter/prometheus-podman-exporter-1.12.0.ebuild
new file mode 100644
index 000000000000..4452311819fe
--- /dev/null
+++ b/app-metrics/prometheus-podman-exporter/prometheus-podman-exporter-1.12.0.ebuild
@@ -0,0 +1,86 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit go-module systemd
+
+DESCRIPTION="Exporter for podman giving containers, pods, images, volumes & networks metrics"
+HOMEPAGE="https://github.com/containers/prometheus-podman-exporter"
+
+if [[ ${PV} == 9999* ]]; then
+	inherit git-r3
+	EGIT_REPO_URI="https://github.com/containers/prometheus-podman-exporter.git"
+else
+	SRC_URI="https://github.com/containers/prometheus-podman-exporter/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
+	KEYWORDS="~amd64"
+fi
+
+# Main package
+LICENSE="Apache-2.0"
+# Dependencies
+LICENSE+=" BSD-2 BSD ISC MIT MPL-2.0"
+
+SLOT="0"
+IUSE="btrfs systemd"
+
+# there are no test files so prevent tests
+RESTRICT="test"
+
+PATCHES=(
+	"${T}/gentoo-specific-systemd-service.patch"
+)
+
+src_prepare() {
+	cat <<-'EOF' > "${T}/gentoo-specific-systemd-service.patch"
+		--- a/contrib/systemd/system/prometheus-podman-exporter.service
+		+++ b/contrib/systemd/system/prometheus-podman-exporter.service
+		@@ -2,7 +2,7 @@
+		 Description=Prometheus exporter for podman (v4) machine
+		 [Service]
+		 Restart=on-failure
+		-EnvironmentFile=-/etc/sysconfig/prometheus-podman-exporter
+		+EnvironmentFile=-/etc/default/prometheus-podman-exporter
+		 ExecStart=/usr/bin/prometheus-podman-exporter $PODMAN_EXPORTER_OPTS
+		 ExecReload=/bin/kill -HUP $MAINPID
+		 TimeoutStopSec=20s
+		--- a/contrib/systemd/user/prometheus-podman-exporter.service
+		+++ b/contrib/systemd/user/prometheus-podman-exporter.service
+		@@ -2,7 +2,7 @@
+		 Description=Prometheus exporter for podman (v4) machine
+		 [Service]
+		 Restart=on-failure
+		-EnvironmentFile=-/etc/sysconfig/prometheus-podman-exporter
+		+EnvironmentFile=-/etc/default/prometheus-podman-exporter
+		 EnvironmentFile=-%h/.config/prometheus-podman-exporter
+		 ExecStart=/usr/bin/prometheus-podman-exporter $PODMAN_EXPORTER_OPTS
+		 ExecReload=/bin/kill -HUP $MAINPID
+	EOF
+	default
+}
+
+src_compile() {
+	export BUILDTAGS="exclude_graphdriver_devicemapper"
+	use !btrfs && BUILDTAGS+=",exclude_graphdriver_btrfs,btrfs_noversion"
+	use systemd && BUILDTAGS+=",systemd"
+	default
+}
+
+src_install() {
+	emake DESTDIR="${ED}/usr/bin" install
+	dosym -r /usr/bin/"${PN}" /usr/bin/podman_exporter
+
+	insinto /etc/default
+	newins "contrib/systemd/system/prometheus-podman-exporter.sysconfig" "${PN}"
+	systemd_dounit "contrib/systemd/system/prometheus-podman-exporter.service"
+	systemd_douserunit "contrib/systemd/user/prometheus-podman-exporter.service"
+	dosym prometheus-podman-exporter.service $(systemd_get_systemunitdir)/podman_exporter.service
+	dosym prometheus-podman-exporter.service $(systemd_get_userunitdir)/podman_exporter.service
+
+	newconfd "contrib/openrc/prometheus-podman-exporter.confd" "${PN}"
+	newinitd "contrib/openrc/prometheus-podman-exporter.initd" "${PN}"
+	dosym "${PN}" /etc/conf.d/podman_exporter
+	dosym "${PN}" /etc/init.d/podman_exporter
+
+	einstalldocs
+}


^ permalink raw reply related	[flat|nested] 11+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: app-metrics/prometheus-podman-exporter/
@ 2024-06-13 19:10 Zac Medico
  0 siblings, 0 replies; 11+ messages in thread
From: Zac Medico @ 2024-06-13 19:10 UTC (permalink / raw
  To: gentoo-commits

commit:     48522338a8c024e9e539df132fb16688529bd413
Author:     Rahil Bhimjiani <me <AT> rahil <DOT> rocks>
AuthorDate: Wed Jun 12 16:53:50 2024 +0000
Commit:     Zac Medico <zmedico <AT> gentoo <DOT> org>
CommitDate: Thu Jun 13 19:10:44 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=48522338

app-metrics/prometheus-podman-exporter: cleanup 1.{7,8}.0

Signed-off-by: Rahil Bhimjiani <me <AT> rahil.rocks>
From: https://github.com/gentoo/gentoo/pull/37135
Signed-off-by: Zac Medico <zmedico <AT> gentoo.org>

 app-metrics/prometheus-podman-exporter/Manifest    |  2 -
 .../prometheus-podman-exporter-1.7.0.ebuild        | 45 ----------------------
 .../prometheus-podman-exporter-1.8.0.ebuild        | 42 --------------------
 3 files changed, 89 deletions(-)

diff --git a/app-metrics/prometheus-podman-exporter/Manifest b/app-metrics/prometheus-podman-exporter/Manifest
index 65fec0333893..051cfe2f48a4 100644
--- a/app-metrics/prometheus-podman-exporter/Manifest
+++ b/app-metrics/prometheus-podman-exporter/Manifest
@@ -1,5 +1,3 @@
 DIST prometheus-podman-exporter-1.10.1.tar.gz 13578778 BLAKE2B e854a61ac1ac7237f0ab4bb7d6d2f39f3ebcf9c32f45e4b44c551aa45a8a97902084f0f24180a1253d0c664907fa1dcb5dc6ac587d31387c708c83388c2c9ed9 SHA512 f8da5b88e6d88d02bc48c2fcd627aca0e88d8264aa3c971b2e251fd7641b329fbe66686d12e2dfca8fe40cc1488359caa1a345844f32e45c79a28bc172bbd501
 DIST prometheus-podman-exporter-1.11.0.tar.gz 13883834 BLAKE2B c8c7334d08c4fa86deb1c8d07cbea1468dbc815d0812fc7dd563a52a29573af8c4ae003e8d5aad80e997770187abf7c5f50ed841a1bbec327f220c676dd829a6 SHA512 f976d77940c08202e629c27ba91810f1d9b03ee6b3ebbbcd1568491aec70eba2fae70e6e5ec261105bcd503e5508a95f75eb5a0e5e7916bcbb17205d8a17f7da
 DIST prometheus-podman-exporter-1.12.0.tar.gz 13735898 BLAKE2B 77f1595a2ac6df2d6875b3a3717e0493a5e917872dc8353f3b1290a03088e9f580dc7c138e20109a02c00819963779bee93e8d7abaac70528ea9a9570422b77d SHA512 85505ac8cc54606e2c2a7a0dd82a53bde4135b75f94ddde8d0487d7d5d1f3b20751f27d990f52b288d5969747ed3033e15dfdf1d3b51c8ef67a3b125bcaaa079
-DIST prometheus-podman-exporter-1.7.0.tar.gz 12251956 BLAKE2B 91a6a217db3fd2b408344f738a7acad5c161adad6da53ef3d3750b73d9135022b0a4c18d85d0f79fc331344462e600574c8cd94477b57261adb29e5ffccdcc83 SHA512 3f9184681f1466ca4bbd32830c8fd233bb7e95af4df0b97cff606e39987d6c608b8847924d3b1c5fe98d058b32324dea86a142065bae7afdb0f99e4cfe0d9b52
-DIST prometheus-podman-exporter-1.8.0.tar.gz 12253412 BLAKE2B 673986f2acce525ab6c9d0858ca6c193bc292bc5e6c8ad50f81921a8f66673c29f724ad562efefb6fe63d556e491432b593b7581af3a01faf44279013a2ec209 SHA512 eb647d8d5c7d30a6676fe192ac2f8c3be5ee67525206c67ac9d0dc06f2fd5fb7dbad838f53fa75f550f5dcfa5c188bd2eb0e7c46b13fe2795b38187ac2fdb81a

diff --git a/app-metrics/prometheus-podman-exporter/prometheus-podman-exporter-1.7.0.ebuild b/app-metrics/prometheus-podman-exporter/prometheus-podman-exporter-1.7.0.ebuild
deleted file mode 100644
index 5d9cfead06de..000000000000
--- a/app-metrics/prometheus-podman-exporter/prometheus-podman-exporter-1.7.0.ebuild
+++ /dev/null
@@ -1,45 +0,0 @@
-# Copyright 1999-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit go-module systemd
-
-DESCRIPTION="Exporter for podman giving containers, pods, images, volumes & networks metrics"
-HOMEPAGE="https://github.com/containers/prometheus-podman-exporter"
-
-if [[ ${PV} == 9999* ]]; then
-	inherit git-r3
-	EGIT_REPO_URI="https://github.com/containers/prometheus-podman-exporter.git"
-else
-	SRC_URI="https://github.com/containers/prometheus-podman-exporter/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
-	KEYWORDS="~amd64"
-fi
-
-# Main package
-LICENSE="Apache-2.0"
-# Dependencies
-LICENSE+=" BSD-2 BSD ISC MIT MPL-2.0"
-
-SLOT="0"
-IUSE="btrfs"
-
-# there are no test files so prevent tests
-RESTRICT="test"
-RDEPEND="
-	app-containers/podman[btrfs?]
-"
-DEPEND="${RDEPEND}"
-
-src_compile() {
-	export BUILDFLAGS=" -tags exclude_graphdriver_devicemapper"
-	use !btrfs && BUILDFLAGS+=",exclude_graphdriver_btrfs,btrfs_noversion"
-	default
-}
-
-src_install() {
-	emake DESTDIR="${ED}/usr/bin" install
-	systemd_dounit "contrib/systemd/prometheus-podman-exporter.service"
-	systemd_douserunit "contrib/systemd/prometheus-podman-exporter.service"
-	einstalldocs
-}

diff --git a/app-metrics/prometheus-podman-exporter/prometheus-podman-exporter-1.8.0.ebuild b/app-metrics/prometheus-podman-exporter/prometheus-podman-exporter-1.8.0.ebuild
deleted file mode 100644
index 1547a7a4946d..000000000000
--- a/app-metrics/prometheus-podman-exporter/prometheus-podman-exporter-1.8.0.ebuild
+++ /dev/null
@@ -1,42 +0,0 @@
-# Copyright 1999-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit go-module systemd
-
-DESCRIPTION="Exporter for podman giving containers, pods, images, volumes & networks metrics"
-HOMEPAGE="https://github.com/containers/prometheus-podman-exporter"
-
-if [[ ${PV} == 9999* ]]; then
-	inherit git-r3
-	EGIT_REPO_URI="https://github.com/containers/prometheus-podman-exporter.git"
-else
-	SRC_URI="https://github.com/containers/prometheus-podman-exporter/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
-	KEYWORDS="~amd64"
-fi
-
-# Main package
-LICENSE="Apache-2.0"
-# Dependencies
-LICENSE+=" BSD-2 BSD ISC MIT MPL-2.0"
-
-SLOT="0"
-IUSE="btrfs systemd"
-
-# there are no test files so prevent tests
-RESTRICT="test"
-
-src_compile() {
-	export BUILDTAGS="exclude_graphdriver_devicemapper"
-	use !btrfs && BUILDTAGS+=",exclude_graphdriver_btrfs,btrfs_noversion"
-	use systemd && BUILDTAGS+=",systemd"
-	default
-}
-
-src_install() {
-	emake DESTDIR="${ED}/usr/bin" install
-	systemd_dounit "contrib/systemd/prometheus-podman-exporter.service"
-	systemd_douserunit "contrib/systemd/prometheus-podman-exporter.service"
-	einstalldocs
-}


^ permalink raw reply related	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2024-06-13 19:10 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-03-18 15:41 [gentoo-commits] repo/gentoo:master commit in: app-metrics/prometheus-podman-exporter/ Zac Medico
  -- strict thread matches above, loose matches on Subject: below --
2024-06-13 19:10 Zac Medico
2024-06-13 19:10 Zac Medico
2024-03-23  8:29 Sam James
2024-03-19  1:35 Zac Medico
2024-02-08  3:17 Zac Medico
2024-02-02  6:37 Zac Medico
2023-12-15 22:57 Yixun Lan
2023-11-14  2:29 Yixun Lan
2023-10-31 17:19 Mike Gilbert
2023-10-31 14:03 Joonas Niilola

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox