diff options
Diffstat (limited to 'net-misc')
-rw-r--r-- | net-misc/Manifest.gz | bin | 55041 -> 55209 bytes | |||
-rw-r--r-- | net-misc/icingadb/Manifest | 5 | ||||
-rw-r--r-- | net-misc/icingadb/files/icingadb.initd | 11 | ||||
-rw-r--r-- | net-misc/icingadb/icingadb-1.0.0.ebuild | 40 | ||||
-rw-r--r-- | net-misc/icingadb/metadata.xml | 19 |
5 files changed, 75 insertions, 0 deletions
diff --git a/net-misc/Manifest.gz b/net-misc/Manifest.gz Binary files differindex 0751e08fbfc8..909f4ddc3fb2 100644 --- a/net-misc/Manifest.gz +++ b/net-misc/Manifest.gz diff --git a/net-misc/icingadb/Manifest b/net-misc/icingadb/Manifest new file mode 100644 index 000000000000..417ce6a5ec8f --- /dev/null +++ b/net-misc/icingadb/Manifest @@ -0,0 +1,5 @@ +AUX icingadb.initd 390 BLAKE2B e5cf7d154b35befc8cd694fd562a249dd19f1b9dd919c451b31ab67ba02a9fc51cbb4d03e63cd125c3e3f7d5d0ba2dee7335e1fd949d8d571a7ce5eb642f488e SHA512 1b8c78229e7174595097246865d13e51864de7e10984d941cbea92db6dc1cc74198aaed37be00aefe24a0bb16295d34a31860e0794fdb5b9985a83317c90ac1c +DIST icingadb-1.0.0-deps.tar.xz 6857272 BLAKE2B eb5ea6ae34125d40b148f6d58befd19671f389933632e5781e4fedd7880ac68923e6843e601df28d01d3fdf17320357b4b169354cb9206144d14b12de8f9c801 SHA512 d7e1efa871e87f8aaff21da23831f8b67e64db3ae6310b7e224d2558fcd27993eaa8317d4e0df0610ec92cbf056d63ea09fca61173e199a2b88ec2fe2c06ad21 +DIST icingadb-1.0.0.tar.gz 3846335 BLAKE2B 89739ce52ae21fd695261eb90f1edcf209a319416687359f63d1bf21ac3dc999db159149207dceccc007a88e59d5f93a7c4ba555c110e3935afdedab4a917445 SHA512 e414ed2146d29d990d82b13026db0d96e72747708a642b382732feeec8a48402cb40edc00e85a8b383e37aaaf4c7f60236747047df189b981668e59d3b2770c0 +EBUILD icingadb-1.0.0.ebuild 895 BLAKE2B 361c5e60fb0a7b9b76f14cc0f6b2e5fd351ed85670f7a6d715db0f048fc0f9bbd74abe879a445dffac3247b59155560cc5be6f87bc15939253b2e0a5549aa1a4 SHA512 14a2d8aef9e489b1782b0ad6aab2099af30753ba19b9374112739b8449bb7406fc7e75f89c8f49d14e3b53be0b14715318d9cbcb3d133bde22254e42f6a3fc0d +MISC metadata.xml 593 BLAKE2B faea52f504ea9b34d73f4770add41e0013b8d16144323fafb53c9f5a3cdd38f533056fe274f21baf007224099afdfbe8dcdb676c6976a470d3c4561676713e03 SHA512 898730acbd59f190c54985498180517f96c183ff58633bbab1ca9fa2077364b8f479974831f3c29ac36010dc2bab265548ced6a16ff2c236d6226f32aeb4c4d9 diff --git a/net-misc/icingadb/files/icingadb.initd b/net-misc/icingadb/files/icingadb.initd new file mode 100644 index 000000000000..b5be7999df38 --- /dev/null +++ b/net-misc/icingadb/files/icingadb.initd @@ -0,0 +1,11 @@ +#!/sbin/openrc-run +# Copyright 1999-2022 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +command="/usr/bin/icingadb" +command_background="true" +command_user="icinga" +pidfile="/run/${RC_SVCNAME}.pid" +required_files="/etc/${RC_SVCNAME}/config.yml" +output_log="/var/log/${RC_SVCNAME}/${RC_SVCNAME}.log" +error_log="/var/log/${RC_SVCNAME}/${RC_SVCNAME}.err" diff --git a/net-misc/icingadb/icingadb-1.0.0.ebuild b/net-misc/icingadb/icingadb-1.0.0.ebuild new file mode 100644 index 000000000000..1b8e0bfff47a --- /dev/null +++ b/net-misc/icingadb/icingadb-1.0.0.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit go-module + +DESCRIPTION="Icinga configuration and state database supporting multiple environments" +HOMEPAGE="https://icinga.com/docs/icinga-db/" +SRC_URI="https://github.com/Icinga/icingadb/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz + https://github.com/hydrapolic/gentoo-dist/raw/master/icinga/${P}-deps.tar.xz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64" + +RDEPEND=" + acct-user/icinga + acct-group/icinga +" + +DOCS=( config.example.yml doc README.md schema ) + +src_compile() { + cd cmd/icingadb || die + ego build +} + +src_install() { + dobin cmd/icingadb/icingadb + einstalldocs + + newinitd "${FILESDIR}/icingadb.initd" "${PN}" + + keepdir /etc/icingadb + keepdir /var/log/icingadb + + fperms 0750 /etc/icingadb /var/log/icingadb + fowners icinga:icinga /etc/icingadb /var/log/icingadb +} diff --git a/net-misc/icingadb/metadata.xml b/net-misc/icingadb/metadata.xml new file mode 100644 index 000000000000..4a0d17a5f25c --- /dev/null +++ b/net-misc/icingadb/metadata.xml @@ -0,0 +1,19 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>prometheanfire@gentoo.org</email> + <name>Matthew Thode</name> + </maintainer> + <maintainer type="person" proxied="yes"> + <email>hydrapolic@gmail.com</email> + <name>Tomáš Mózes</name> + </maintainer> + <maintainer type="project" proxied="proxy"> + <email>proxy-maint@gentoo.org</email> + <name>Proxy Maintainers</name> + </maintainer> + <upstream> + <remote-id type="github">Icinga/icingadb</remote-id> + </upstream> +</pkgmetadata> |