parent
25c61987d4
commit
58b096127d
3 changed files with 33 additions and 0 deletions
3
srcpkgs/icinga2/INSTALL
Normal file
3
srcpkgs/icinga2/INSTALL
Normal file
|
@ -0,0 +1,3 @@
|
|||
chown icinga:icinga -R /etc/icinga2;
|
||||
install -gicinga -oicinga -d /var/log/icinga2
|
||||
install -gicinga -oicinga -d /var/lib/icinga2
|
3
srcpkgs/icinga2/files/icinga2/run
Normal file
3
srcpkgs/icinga2/files/icinga2/run
Normal file
|
@ -0,0 +1,3 @@
|
|||
#!/bin/sh
|
||||
install -oicinga -gicinga -d /run/icinga2
|
||||
exec icinga2 daemon 2>&1
|
27
srcpkgs/icinga2/template
Normal file
27
srcpkgs/icinga2/template
Normal file
|
@ -0,0 +1,27 @@
|
|||
# Template file for 'icinga2'
|
||||
pkgname=icinga2
|
||||
version=2.4.10
|
||||
revision=1
|
||||
short_desc="Icinga is a scalable and extensible monitoring system"
|
||||
nocross=yes
|
||||
build_style=cmake
|
||||
configure_args="-DCMAKE_INSTALL_SYSCONFDIR=/etc -DICINGA2_RUNDIR=/run -DCMAKE_INSTALL_LOCALSTATEDIR=/var -DICINGA2_PLUGINDIR=/usr/lib/monitoring-plugins/"
|
||||
hostmakedepends="flex git"
|
||||
makedepends="libressl-devel boost-devel yajl-devel libmysqlclient-devel libedit-devel postgresql-libs-devel"
|
||||
depends="monitoring-plugins"
|
||||
maintainer="Corné Oppelaar <hello@eaterofco.de>"
|
||||
license="GPL-2"
|
||||
homepage="https://www.icinga.org/"
|
||||
distfiles="https://github.com/Icinga/icinga2/archive/v${version}.tar.gz"
|
||||
checksum="c2963430503c382cc4d5083b05731c0b965b5ffa960e900c0827b83789f0425e"
|
||||
|
||||
system_accounts="icinga"
|
||||
system_groups="icingacmd"
|
||||
icinga_pgroup="icingacmd"
|
||||
icinga_groups="icinga"
|
||||
|
||||
post_install() {
|
||||
vsv icinga2
|
||||
# remove useless files
|
||||
rm -rf "${DESTDIR}/etc/sysconfig"
|
||||
}
|
Loading…
Reference in a new issue