2016-03-17 12:07:48 +00:00
|
|
|
# Template file for 'icinga2'
|
|
|
|
pkgname=icinga2
|
2016-09-12 06:13:26 +00:00
|
|
|
version=2.5.4
|
2016-09-28 02:10:52 +00:00
|
|
|
revision=2
|
2016-03-17 12:07:48 +00:00
|
|
|
build_style=cmake
|
2016-09-12 06:13:26 +00:00
|
|
|
configure_args="-DCMAKE_INSTALL_SYSCONFDIR=/etc
|
|
|
|
-DCMAKE_INSTALL_LOCALSTATEDIR=/var -DICINGA2_RUNDIR=/run
|
|
|
|
-DICINGA2_PLUGINDIR=/usr/lib/monitoring-plugins/"
|
2016-03-17 12:07:48 +00:00
|
|
|
hostmakedepends="flex git"
|
2016-09-12 06:13:26 +00:00
|
|
|
makedepends="libressl-devel boost-devel libmysqlclient-devel libedit-devel
|
|
|
|
yajl-devel postgresql-libs-devel"
|
2016-03-17 12:07:48 +00:00
|
|
|
depends="monitoring-plugins"
|
2016-09-12 06:13:26 +00:00
|
|
|
conf_files="/etc/$pkgname/*.conf
|
|
|
|
/etc/$pkgname/conf.d/*.conf
|
|
|
|
/etc/$pkgname/features-available/*.conf"
|
2016-07-30 05:05:47 +00:00
|
|
|
short_desc="A scalable and extensible monitoring system"
|
2016-03-17 12:07:48 +00: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"
|
2016-09-12 06:13:26 +00:00
|
|
|
checksum=f22ca17cd9951598ab6a1bc27c1ef82b9f1bb49795f69066ccd4d499faa240fc
|
2016-03-17 12:07:48 +00:00
|
|
|
|
2016-07-30 05:32:12 +00:00
|
|
|
nocross="https://build.voidlinux.eu/builders/armv7l_builder/builds/25979/steps/shell_3/logs/stdio"
|
|
|
|
|
2016-03-17 12:07:48 +00:00
|
|
|
system_accounts="icinga"
|
|
|
|
system_groups="icingacmd"
|
2016-07-30 05:32:12 +00:00
|
|
|
icinga_groups="icingacmd"
|
2016-03-17 12:07:48 +00:00
|
|
|
|
|
|
|
post_install() {
|
|
|
|
vsv icinga2
|
|
|
|
# remove useless files
|
2016-07-30 05:05:47 +00:00
|
|
|
rm -rf ${DESTDIR}/etc/{init.d,sysconfig}
|
2016-03-17 12:07:48 +00:00
|
|
|
}
|