summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorJonathan Steel2017-05-10 12:49:49 +0100
committerJonathan Steel2017-05-10 12:49:49 +0100
commit17d23b1f92b85a0cbe159e8b9efb145b57497a79 (patch)
treea58555f7b5285d795299b6154a463c23a701e726
parentfc32031d0ad41908c32104fd9f9e85e52e6c71ab (diff)
downloadaur-17d23b1f92b85a0cbe159e8b9efb145b57497a79.tar.gz
Fix Panorama View and remove thruk.conf from backup
Create panorama directory for "Panorama View" to work and remove thruk.conf from backup which should not be edited; use thruk_local.conf instead.
-rw-r--r--.SRCINFO5
-rw-r--r--PKGBUILD7
2 files changed, 6 insertions, 6 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 92948d0cf86..724138bbae4 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,9 +1,9 @@
# Generated by mksrcinfo v8
-# Thu May 4 14:30:13 UTC 2017
+# Wed May 10 11:49:46 UTC 2017
pkgbase = thruk
pkgdesc = Multibackend monitoring webinterface for Naemon, Nagios, Icinga and Shinken
pkgver = 2.14
- pkgrel = 2
+ pkgrel = 3
url = http://thruk.org
arch = any
license = GPL2
@@ -29,7 +29,6 @@ pkgbase = thruk
backup = etc/thruk/naglint.conf
backup = etc/httpd/conf/extra/thruk.conf
backup = etc/thruk/thruk_local.conf
- backup = etc/thruk/thruk.conf
source = http://download.thruk.org/pkg/v2.14/src/thruk-2.14.tar.gz
md5sums = ac36a64794e6f44fe34d03473b616875
diff --git a/PKGBUILD b/PKGBUILD
index 45b6881a0d8..1310e7968da 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,7 +2,7 @@
pkgname=thruk
pkgver=2.14
-pkgrel=2
+pkgrel=3
pkgdesc="Multibackend monitoring webinterface for Naemon, Nagios, Icinga and Shinken"
arch=('any')
url="http://thruk.org"
@@ -16,7 +16,7 @@ replaces=('naemon-thruk')
backup=('etc/thruk/cgi.cfg' 'etc/thruk/htpasswd'
'etc/thruk/log4perl.conf' 'etc/thruk/menu_local.conf'
'etc/thruk/naglint.conf' 'etc/httpd/conf/extra/thruk.conf'
- 'etc/thruk/thruk_local.conf' 'etc/thruk/thruk.conf')
+ 'etc/thruk/thruk_local.conf')
source=(http://download.thruk.org/pkg/v$pkgver/src/$pkgname-$pkgver.tar.gz)
md5sums=('ac36a64794e6f44fe34d03473b616875')
@@ -46,6 +46,7 @@ package() {
make DESTDIR="$pkgdir"/ install
install -Dm644 support/apache_fcgid.conf "$pkgdir"/etc/httpd/conf/extra/$pkgname.conf
+ install -dm755 "$pkgdir"/etc/thruk/panorama
- chown -R 33:33 "$pkgdir"/var/lib/thruk/ "$pkgdir"/var/log/thruk/
+ chown -R 33:33 "$pkgdir"/var/{lib,log}/thruk/ "$pkgdir"/etc/thruk/panorama/
}