diff options
Diffstat (limited to 'net-misc/icingadb')
-rw-r--r-- | net-misc/icingadb/Manifest | 3 | ||||
-rw-r--r-- | net-misc/icingadb/icingadb-1.1.0.ebuild | 40 |
2 files changed, 43 insertions, 0 deletions
diff --git a/net-misc/icingadb/Manifest b/net-misc/icingadb/Manifest index 417ce6a5ec8f..a3d48e2bf56e 100644 --- a/net-misc/icingadb/Manifest +++ b/net-misc/icingadb/Manifest @@ -1,5 +1,8 @@ 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 +DIST icingadb-1.1.0-deps.tar.xz 9188036 BLAKE2B d816220d66d354f348c7eb9874d2edd65d67418d2c5ff0352c5fad524239e9bbcba53cec0cbae710a8d075fce2365c76f20a0cbca10afca62844f51df9e43092 SHA512 94534e7d8c1479d5579336ff353b142b62d19c36030e59667d0276caf6fa643f7024557c1c2ea6bfe7c70e2abd87b9ae25ac6213272627c25d927ebf06760270 +DIST icingadb-1.1.0.tar.gz 3865617 BLAKE2B e71b577f799ff6c069f86810b35731411eedbfb15c5e741aac987f9fdb852e342bbece3b3995af7fe1f957988314e71af8d92cbda118a6bf8d91639cfe8734e2 SHA512 a7659004802acabe9f3fdc2b843e37928b0b8835428d1f12a730fc3842bb7550f380e6abc8b253bd00fe5b5df6710573fef847f657a61b10f4cf617fb03b4ea0 EBUILD icingadb-1.0.0.ebuild 895 BLAKE2B 361c5e60fb0a7b9b76f14cc0f6b2e5fd351ed85670f7a6d715db0f048fc0f9bbd74abe879a445dffac3247b59155560cc5be6f87bc15939253b2e0a5549aa1a4 SHA512 14a2d8aef9e489b1782b0ad6aab2099af30753ba19b9374112739b8449bb7406fc7e75f89c8f49d14e3b53be0b14715318d9cbcb3d133bde22254e42f6a3fc0d +EBUILD icingadb-1.1.0.ebuild 895 BLAKE2B 361c5e60fb0a7b9b76f14cc0f6b2e5fd351ed85670f7a6d715db0f048fc0f9bbd74abe879a445dffac3247b59155560cc5be6f87bc15939253b2e0a5549aa1a4 SHA512 14a2d8aef9e489b1782b0ad6aab2099af30753ba19b9374112739b8449bb7406fc7e75f89c8f49d14e3b53be0b14715318d9cbcb3d133bde22254e42f6a3fc0d MISC metadata.xml 593 BLAKE2B faea52f504ea9b34d73f4770add41e0013b8d16144323fafb53c9f5a3cdd38f533056fe274f21baf007224099afdfbe8dcdb676c6976a470d3c4561676713e03 SHA512 898730acbd59f190c54985498180517f96c183ff58633bbab1ca9fa2077364b8f479974831f3c29ac36010dc2bab265548ced6a16ff2c236d6226f32aeb4c4d9 diff --git a/net-misc/icingadb/icingadb-1.1.0.ebuild b/net-misc/icingadb/icingadb-1.1.0.ebuild new file mode 100644 index 000000000000..1b8e0bfff47a --- /dev/null +++ b/net-misc/icingadb/icingadb-1.1.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 +} |