- chown -R 44:44 "$pkgdir"/var/{cache,log}/$pkgbase
- chmod -R 770 "$pkgdir"/var/{cache,log}/$pkgbase
-
- install -Dm644 "$srcdir"/$pkgbase.service \
- "$pkgdir"/usr/lib/systemd/system/$pkgbase.service
-
- # Remove init script
- rm -rf "$pkgdir"/etc/init.d
-}
-
-package_naemon-livestatus() {
-pkgdesc="Standard API for Naemon"
-depends=('icu')
-
- cd $pkgbase-$pkgver
-
- make DESTDIR="$pkgdir" install-livestatus
-}
-
-package_naemon-thruk() {
-pkgdesc="Monitoring Webinterface for Naemon"
-depends=('gd' 'mariadb-clients' 'apache' 'mod_fcgid')
-backup=('etc/naemon/cgi.cfg' 'etc/naemon/htpasswd'
- 'etc/naemon/log4perl.conf' 'etc/naemon/menu_local.conf'
- 'etc/naemon/naglint.conf' 'etc/httpd/conf/extra/thruk.conf'
- 'etc/httpd/conf/extra/thruk_cookie_auth_vhost.conf'
- 'etc/naemon/thruk_local.conf' 'etc/naemon/thruk.conf'
- 'etc/naemon/conf.d/thruk_bp_generated.cfg'
- 'etc/naemon/conf.d/thruk_templates.cfg' 'etc/logrotate.d/thruk')
-
- cd $pkgbase-$pkgver