Compare commits
No commits in common. "4d9fd9316e4302575f79ce9e3edb2df33994b07e" and "ebaa088258aa278867f726d9f38d7cc8edc2f0ea" have entirely different histories.
4d9fd9316e
...
ebaa088258
|
@ -1,8 +0,0 @@
|
||||||
# Copyright 2020 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=8
|
|
||||||
|
|
||||||
inherit acct-group
|
|
||||||
|
|
||||||
ACCT_GROUP_ID=-1
|
|
|
@ -1,13 +0,0 @@
|
||||||
# Copyright 2020 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=8
|
|
||||||
|
|
||||||
inherit acct-user
|
|
||||||
|
|
||||||
DESCRIPTION="User for app-metrics/frr_exporter"
|
|
||||||
ACCT_USER_ID=-1
|
|
||||||
ACCT_USER_GROUPS=( frr_exporter )
|
|
||||||
ACCT_USER_SHELL=/bin/sh
|
|
||||||
|
|
||||||
acct-user_add_deps
|
|
|
@ -1,3 +0,0 @@
|
||||||
DIST frr_exporter-1.3.1-deps.tar.xz 93350848 BLAKE2B cc25f5556a4009bfd51286f33e6e286dd8bcf8794e6a3fd34b9dec57b84618a180b94844ac1b9e862f48349f7c18a8ff4b7839cc0920f6b29ca9a1f7e6e22055 SHA512 2bac7873a7cc577730643d68377fcad6f58066befb84e0c6f9699ccb599b54d9277c5e50ad3c77aff4fe656d67d1ef9e2f97f7b193f03a37512e6d9fbf9426d6
|
|
||||||
DIST frr_exporter-1.3.1-vendor.tar.xz 1441196 BLAKE2B 58f4e669fc5727292aac62de470660b8559d6276a05d323324e5416ad573c1af292d8912f910a90457fbd823dfda3ee900cffb4549c1a39152f545cd9a3c9253 SHA512 5999b8d896149d9137b25a15924a0675c54ed41ee218bda62a1e7f6df91fd95c05b7147c5478699de63c46443502b8f2726bb921af271b9c2b70c6e5c8fccb9d
|
|
||||||
DIST frr_exporter-1.3.1.tar.gz 28354 BLAKE2B bfbcefb489ab925bf5ed803d0f2506659a28a0881f4a25dfbd7ad5ac5f7d8f160ff9925d6bc12952405f9b0ebe5d4bb8815d84492291ecba3acf1cec6dd3918c SHA512 6b7dc3a9b38137422bc46b1a93b0cb7921d92010de59b7228d90afa2afb73c4a4f0156b46978e0c2943e8fe41a6f8cf5663a53dbe395c21947ce37fb50c01f24
|
|
|
@ -1,2 +0,0 @@
|
||||||
# arguments for prometheus frr exporter
|
|
||||||
command_args=""
|
|
|
@ -1,19 +0,0 @@
|
||||||
#!/sbin/openrc-run
|
|
||||||
# Copyright 2016-2018 Gentoo Foundation
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
description="Prometheus frr exporter"
|
|
||||||
pidfile=${pidfile:-"/run/${RC_SVCNAME}.pid"}
|
|
||||||
user=${user:-${RC_SVCNAME}}
|
|
||||||
group=${group:-${RC_SVCNAME}}
|
|
||||||
|
|
||||||
command="/usr/bin/frr_exporter"
|
|
||||||
command_args="${command_args:-}"
|
|
||||||
command_background="true"
|
|
||||||
start_stop_daemon_args="--user ${user} --group ${group} \
|
|
||||||
--stdout /var/log/${RC_SVCNAME}.log \
|
|
||||||
--stderr /var/log/${RC_SVCNAME}.log"
|
|
||||||
|
|
||||||
depend() {
|
|
||||||
after net
|
|
||||||
}
|
|
|
@ -1,11 +0,0 @@
|
||||||
[Unit]
|
|
||||||
Description=FRR Exporter
|
|
||||||
Documentation="https://github.com/prometheus-community/frr_exporter"
|
|
||||||
|
|
||||||
[Service]
|
|
||||||
User=frr_exporter
|
|
||||||
EnvironmentFile=/etc/sysconfig/frr_exporter
|
|
||||||
ExecStart=/usr/bin/frr_exporter $OPTIONS
|
|
||||||
|
|
||||||
[Install]
|
|
||||||
WantedBy=multi-user.target
|
|
|
@ -1,37 +0,0 @@
|
||||||
# Copyright 2024 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=8
|
|
||||||
inherit go-module systemd
|
|
||||||
|
|
||||||
DESCRIPTION="Prometheus exporter for Free Range Routing"
|
|
||||||
HOMEPAGE="https://github.com/tynany/frr_exporter"
|
|
||||||
SRC_URI="
|
|
||||||
https://github.com/tynany/frr_exporter/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz
|
|
||||||
https://herbizarre.swordarmor.fr/garbage/${P}-vendor.tar.xz
|
|
||||||
https://herbizarre.swordarmor.fr/garbage/${P}-deps.tar.xz
|
|
||||||
"
|
|
||||||
|
|
||||||
LICENSE="MIT"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="~amd64"
|
|
||||||
|
|
||||||
DEPEND="
|
|
||||||
acct-group/frr_exporter
|
|
||||||
acct-user/frr_exporter
|
|
||||||
"
|
|
||||||
RDEPEND="${DEPEND}"
|
|
||||||
BDEPEND="dev-util/promu"
|
|
||||||
|
|
||||||
src_compile() {
|
|
||||||
mkdir -p bin || die
|
|
||||||
promu build -v --prefix bin || die
|
|
||||||
}
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
dobin bin/${PN}
|
|
||||||
dodoc README.md
|
|
||||||
newinitd "${FILESDIR}"/${PN}.initd ${PN}
|
|
||||||
newconfd "${FILESDIR}"/${PN}.confd ${PN}
|
|
||||||
systemd_dounit "${FILESDIR}"/${PN}.service
|
|
||||||
}
|
|
|
@ -1,8 +0,0 @@
|
||||||
DEFINED_PHASES=install preinst pretend
|
|
||||||
DESCRIPTION=System group: frr_exporter
|
|
||||||
EAPI=8
|
|
||||||
INHERIT=acct-group
|
|
||||||
KEYWORDS=~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris
|
|
||||||
SLOT=0
|
|
||||||
_eclasses_=user-info 9951b1a0e4f026d16c33a001fd2d5cdf acct-group 8c6e16e1203a4a4114b121c04ee5e474
|
|
||||||
_md5_=08e5588d022d727901f27c7706d761c9
|
|
|
@ -1,9 +0,0 @@
|
||||||
DEFINED_PHASES=install postinst preinst prerm pretend
|
|
||||||
DESCRIPTION=User for app-metrics/frr_exporter
|
|
||||||
EAPI=8
|
|
||||||
INHERIT=acct-user
|
|
||||||
KEYWORDS=~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris
|
|
||||||
RDEPEND=acct-group/frr_exporter
|
|
||||||
SLOT=0
|
|
||||||
_eclasses_=user-info 9951b1a0e4f026d16c33a001fd2d5cdf acct-user bab50e8bac8e1df6a32a6b9e2fb19a64
|
|
||||||
_md5_=e9780baadf5d261a068619d817f1ffcf
|
|
|
@ -1,15 +0,0 @@
|
||||||
BDEPEND=dev-util/promu >=dev-lang/go-1.20:= app-arch/unzip virtual/pkgconfig
|
|
||||||
DEFINED_PHASES=compile install unpack
|
|
||||||
DEPEND=acct-group/frr_exporter acct-user/frr_exporter
|
|
||||||
DESCRIPTION=Prometheus exporter for Free Range Routing
|
|
||||||
EAPI=8
|
|
||||||
HOMEPAGE=https://github.com/tynany/frr_exporter
|
|
||||||
INHERIT=go-module systemd
|
|
||||||
KEYWORDS=~amd64
|
|
||||||
LICENSE=MIT
|
|
||||||
RDEPEND=acct-group/frr_exporter acct-user/frr_exporter
|
|
||||||
RESTRICT=strip
|
|
||||||
SLOT=0
|
|
||||||
SRC_URI=https://github.com/tynany/frr_exporter/archive/refs/tags/v1.3.1.tar.gz -> frr_exporter-1.3.1.tar.gz https://herbizarre.swordarmor.fr/garbage/frr_exporter-1.3.1-vendor.tar.xz https://herbizarre.swordarmor.fr/garbage/frr_exporter-1.3.1-deps.tar.xz
|
|
||||||
_eclasses_=multiprocessing 30ead54fa2e2b5f9cd4e612ffc34d0fe toolchain-funcs 333970c740aa7b1a92e4fcdc52f612bd multilib c19072c3cd7ac5cb21de013f7e9832e0 flag-o-matic e503ea5acc20410237ba33ec3f7c857d go-env 90efbc8636d2f02d9654183330e84cf7 go-module 83fd3ed1657cfc316c93d6a37018290d systemd c8b03e8df84486aa991d4396686e8942
|
|
||||||
_md5_=d372ca97d325816edc6b28d34358102a
|
|
Loading…
Reference in a new issue