diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-07-08 12:25:04 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-07-08 12:25:04 +0100 |
commit | a5442e2318cb4df55867389654e322dbac82067e (patch) | |
tree | 6ee33490658219395df804dbba0ea77f8b0d8c3b /net-misc/icingadb | |
parent | 5d8ffbc273ca664e15618d557ced3e02de1a884b (diff) |
gentoo auto-resync : 08:07:2024 - 12:25:03
Diffstat (limited to 'net-misc/icingadb')
-rw-r--r-- | net-misc/icingadb/Manifest | 4 | ||||
-rw-r--r-- | net-misc/icingadb/files/icingadb.service | 13 | ||||
-rw-r--r-- | net-misc/icingadb/icingadb-1.2.0.ebuild | 55 |
3 files changed, 72 insertions, 0 deletions
diff --git a/net-misc/icingadb/Manifest b/net-misc/icingadb/Manifest index 4b12132274ae..14f733dad2e3 100644 --- a/net-misc/icingadb/Manifest +++ b/net-misc/icingadb/Manifest @@ -1,8 +1,12 @@ AUX icingadb.initd 387 BLAKE2B 3e5830deb53904501553cc9920fc534f79ce2bd1788984c20ac4fe0d13e9d68639c684b1969aad210847668768dd5f9693fea9a417282cf7aaf60bb76325e0b6 SHA512 afc8edfff090a76e707788f3ffc1dbfd5233b50bbcfd165929d68e9b19c67cc5658acc61ec34efb011d22c642ea930949b4d5d13baef4706e31ead714ef13f36 +AUX icingadb.service 319 BLAKE2B 392afaa7f8abd0e06c18198b7089b6bb6fd862b3ad5ecb08ed6c36d0bb335b1a983f1122301780c163282348912e15a5903ac479a8e1eb73c033627008e10919 SHA512 623b1db5ca2209c27c548da039dddc9631669d2ac32491cd6409e970818ef7bfd6032f5e74003bf470c6175f869c29be145fbd01b0be378eb30237c0e1741006 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 DIST icingadb-1.1.1-deps.tar.xz 9308260 BLAKE2B 95d9e87bc48661af9eeee5b14beea50fcee5ad5fdf846e207795e676b3a0f8a7b95f9410ef3ab97e490be275928f8d21e8b4c54d15fd9b4c0c4036504c4d885c SHA512 d43819ac8979e4396def929bc2cc0777683b5afb2d80d3c95c83a46b5ef2e9463b93e338c1ba1fafee780e4dc7ded53d0044d15258565a01acd178fde85c39ca DIST icingadb-1.1.1.tar.gz 3868785 BLAKE2B 9f07cfca9acbe170189f28c42d71433c1d1faba55f6a25348b3a5cb76675f72df5e2c8c0f2c984830766a6239db4e1098da9e5daddb5dbd3c24b42c8058161b6 SHA512 25dab9cb93d786b6bccb3e305cf9f36d7910e8919a87148805fee61378c072107838741a2066eddcbadde9f1d345d79e9d12c46b87789ac79b272fb4d01d3ab4 +DIST icingadb-1.2.0-deps.tar.xz 9714708 BLAKE2B e79ab63b8bec42ee61cb402db37dbb346f9521aa4188667e3bfe98ea5c3a44f8bada4e228c2f8e06c73d522fa3a97aa11eb23bb7e54500b53c4191f4a458f6a1 SHA512 83c3aed34923c23ea723220e637e54788435ef53837a454ebad00ce0e714c7c33a1e57adaef5702b5e2ebe541659286cb9889e4680986c0bd786b9aa48d87291 +DIST icingadb-1.2.0.tar.gz 3345811 BLAKE2B 7cf985e1209ee1bab9f0ee63745fd367ed15000d9807cf776e0301691c11d1dfb63c88e39dfa522ab1ab3daf0ee0165993e82747b32fb8db1ec6fab3857c0c70 SHA512 ab5e01b4ef606c765970e4f32b26d79f956c2363e9ce4213e037413ecbde5cbc85c57cd8c7ae730524c1c103306dd6f78cce47fd758cb58384f1ad0bc963b920 EBUILD icingadb-1.1.0.ebuild 894 BLAKE2B b39b05c2cc9b28bf36cb5226dfa94db33388fbec092c36e95256bc45d3227254a1be2c5dbd0055743a436578077bf1d70e11e0a9976dbc866e6c1c8bba462034 SHA512 87a0d21a1621185bdf117c67429b74bba3b34eee3d2899460e0f995e832b85fd7c8efc48807078b9f3452f19a44809f5b2affad6042052ae728ed02b7f1ae146 EBUILD icingadb-1.1.1.ebuild 883 BLAKE2B 118b15f927b355b4514ee4276d3c5357fab07b9a47f86c5200162069584cab8a96f9640f09f95f299b3538fe709132f9af21c4d0f010090ef61a6ebed3c0c080 SHA512 9a4e12ef6557ab2a9af9ec60ac63fb9592a5572123c48d94a85478361e300f96d3f6b74eb4dfc7d7ed2cefe1c77e8d92b34c8affe2a7caddd79b0e2b4a5ede04 +EBUILD icingadb-1.2.0.ebuild 1195 BLAKE2B d5a399159a87a63e5a0131783168753d0b248bb49153d1266ff0ae9b98dfff5243d590c0abba343c1f5d6f164273b8470b3a0203b44697a9f531701558557cfc SHA512 d2ccde56fa02b1c6a6a0757ffc23b01b627095dcf5d8159b917482c34f7bd099de2dba44550410a9c43a659da95e9d7eaddb111157a7f2bd89c447fb4ba9b23a MISC metadata.xml 593 BLAKE2B faea52f504ea9b34d73f4770add41e0013b8d16144323fafb53c9f5a3cdd38f533056fe274f21baf007224099afdfbe8dcdb676c6976a470d3c4561676713e03 SHA512 898730acbd59f190c54985498180517f96c183ff58633bbab1ca9fa2077364b8f479974831f3c29ac36010dc2bab265548ced6a16ff2c236d6226f32aeb4c4d9 diff --git a/net-misc/icingadb/files/icingadb.service b/net-misc/icingadb/files/icingadb.service new file mode 100644 index 000000000000..c55d36764788 --- /dev/null +++ b/net-misc/icingadb/files/icingadb.service @@ -0,0 +1,13 @@ +[Unit] +Description=Icinga DB +Documentation=https://icinga.com/docs/icingadb/latest/ +After=network-online.target redis.service mariadb.service postgresql.service + +[Service] +Type=notify +ExecStart=@EPREFIX@/usr/sbin/icingadb --config /etc/icingadb/config.yml +User=icinga +Group=icinga + +[Install] +WantedBy=multi-user.target diff --git a/net-misc/icingadb/icingadb-1.2.0.ebuild b/net-misc/icingadb/icingadb-1.2.0.ebuild new file mode 100644 index 000000000000..b29d48bda9dc --- /dev/null +++ b/net-misc/icingadb/icingadb-1.2.0.ebuild @@ -0,0 +1,55 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit go-module systemd + +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://dev.gentoo.org/~sbraz/distfiles/${P}-deps.tar.xz +" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~arm64" + +RDEPEND=" + acct-user/icinga + acct-group/icinga +" + +DOCS=( config.example.yml doc README.md schema ) + +src_prepare() { + default + sed -e "s|@EPREFIX@|${EPREFIX}|" "${FILESDIR}/icingadb.service" > "${T}/icingadb.service" || die +} + +src_compile() { + local cmd + for cmd in icingadb icingadb-migrate; do + pushd "cmd/${cmd}" || die + ego build + popd || die + done +} + +src_install() { + local cmd + for cmd in icingadb icingadb-migrate; do + dobin "cmd/${cmd}/${cmd}" + done + einstalldocs + + newinitd "${FILESDIR}/icingadb.initd" "${PN}" + systemd_dounit "${T}/icingadb.service" + + keepdir /etc/icingadb + keepdir /var/log/icingadb + + fperms 0750 /etc/icingadb /var/log/icingadb + fowners icinga:icinga /etc/icingadb /var/log/icingadb +} |