2016-03-17 13:07:48 +01:00
|
|
|
# Template file for 'icinga2'
|
|
|
|
pkgname=icinga2
|
|
|
|
version=2.4.10
|
2016-07-30 07:05:47 +02:00
|
|
|
revision=2
|
2016-03-17 13:07:48 +01:00
|
|
|
build_style=cmake
|
2016-07-30 07:10:13 +02:00
|
|
|
configure_args="-DCMAKE_INSTALL_SYSCONFDIR=/etc -DCMAKE_INSTALL_LOCALSTATEDIR=/var -DICINGA2_RUNDIR=/run -DICINGA2_PLUGINDIR=/usr/lib/monitoring-plugins/"
|
2016-03-17 13:07:48 +01:00
|
|
|
hostmakedepends="flex git"
|
|
|
|
makedepends="libressl-devel boost-devel yajl-devel libmysqlclient-devel libedit-devel postgresql-libs-devel"
|
|
|
|
depends="monitoring-plugins"
|
2016-07-30 07:10:13 +02:00
|
|
|
conf_files="/etc/$pkgname/*.conf /etc/$pkgname/conf.d/*.conf /etc/$pkgname/features-available/*.conf"
|
2016-07-30 07:05:47 +02:00
|
|
|
short_desc="A scalable and extensible monitoring system"
|
2016-03-17 13:07:48 +01:00
|
|
|
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"
|
|
|
|
|
|
|
|
post_install() {
|
|
|
|
vsv icinga2
|
|
|
|
# remove useless files
|
2016-07-30 07:05:47 +02:00
|
|
|
rm -rf ${DESTDIR}/etc/{init.d,sysconfig}
|
2016-03-17 13:07:48 +01:00
|
|
|
}
|