aboutsummaryrefslogtreecommitdiff
path: root/naemon/PKGBUILD
diff options
context:
space:
mode:
authorIsmaël Bouya <ismael.bouya@normalesup.org>2019-07-03 19:11:55 +0200
committerIsmaël Bouya <ismael.bouya@normalesup.org>2019-07-03 19:11:55 +0200
commit9c1e810f2a01db3747c8fde07cd5f9a0b4cfccd3 (patch)
tree4c91957a2858e86d54bc16bb14657ac200a76159 /naemon/PKGBUILD
parenta6ed304cd17d06cd087df6fc54a8034816abe545 (diff)
downloadAUR-9c1e810f2a01db3747c8fde07cd5f9a0b4cfccd3.tar.gz
AUR-9c1e810f2a01db3747c8fde07cd5f9a0b4cfccd3.tar.zst
AUR-9c1e810f2a01db3747c8fde07cd5f9a0b4cfccd3.zip
Upgrade naemon and naemon-livestatus
upgpkg: naemon-livestatus 1.0.10-1 upstream release upgpkg: naemon 1.0.10-1 upstream release
Diffstat (limited to 'naemon/PKGBUILD')
-rw-r--r--naemon/PKGBUILD22
1 files changed, 13 insertions, 9 deletions
diff --git a/naemon/PKGBUILD b/naemon/PKGBUILD
index 8bdb6bf..63aa98c 100644
--- a/naemon/PKGBUILD
+++ b/naemon/PKGBUILD
@@ -2,8 +2,8 @@
2# Contributor: Jonathan Steel <jsteel at archlinux.org> 2# Contributor: Jonathan Steel <jsteel at archlinux.org>
3 3
4pkgname=naemon 4pkgname=naemon
5pkgver=1.0.9 5pkgver=1.0.10
6pkgrel=2 6pkgrel=1
7pkgdesc="System and network monitoring application" 7pkgdesc="System and network monitoring application"
8arch=('i686' 'x86_64') 8arch=('i686' 'x86_64')
9url="http://naemon.org" 9url="http://naemon.org"
@@ -14,20 +14,24 @@ optdepends=('logrotate'
14 'naemon-livestatus: Event broker' 14 'naemon-livestatus: Event broker'
15 'monitoring-plugins') 15 'monitoring-plugins')
16makedepends=('gperf' 'help2man') 16makedepends=('gperf' 'help2man')
17source=(http://labs.consol.de/naemon/release/v$pkgver/src/$pkgname-$pkgver.tar.gz 17source=("naemon-git::git+https://github.com/naemon/naemon-core.git#commit=c2a8730538846f342911764cd7731015f1a6f284"
18 $pkgname-tmpfiles.conf 18 $pkgname-tmpfiles.conf
19 $pkgname.service) 19 $pkgname.service
20sha512sums=('cf2a359a7fcf95a7668f8db35ccd23ad607c05cd85f51a9488cc183a2683da1ba9c7b0a7303d9f03825fbd13103372944267f2a99c10280004c51669e6343793' 20 overflow.patch)
21sha512sums=('SKIP'
21 '756e61e4da56ce614824c3b289d2ee0f4464bf5bcd868dcadbf31c3320967e0179aa6c5aedc16e4bb40c480ab2da8ab08c43e750168e86963a9cd552db01ea1d' 22 '756e61e4da56ce614824c3b289d2ee0f4464bf5bcd868dcadbf31c3320967e0179aa6c5aedc16e4bb40c480ab2da8ab08c43e750168e86963a9cd552db01ea1d'
22 '28944f2bd918c0718496ce490d0c2da97a127f71cfb23348620cb6c86fc88e206a07409d32dc8c9a9b5b2d1a8106b400c3e1edf3a6b7aca30ac125a38ebed3b2') 23 '28944f2bd918c0718496ce490d0c2da97a127f71cfb23348620cb6c86fc88e206a07409d32dc8c9a9b5b2d1a8106b400c3e1edf3a6b7aca30ac125a38ebed3b2'
24 'ec1ccf09f8c02e8f6dfdf2f6b80eed4b3e07df85703d89bdfdefe0bd9380b832a7f9a1c2976f17f55d74dbb3b1888ae28bf0551c78cb8bbc3acb08cd1e4a85da')
23backup=('etc/logrotate.d/naemon' 25backup=('etc/logrotate.d/naemon'
24 'etc/naemon/naemon.cfg' 26 'etc/naemon/naemon.cfg'
25 'etc/naemon/resource.cfg') 27 'etc/naemon/resource.cfg')
26install=$pkgname.install 28install=$pkgname.install
27 29
28build() { 30build() {
29 cd "$srcdir/$pkgname-$pkgver" 31 cd "$srcdir/$pkgname-git"
30 32
33 patch -p1 < $srcdir/overflow.patch
34 ./autogen.sh
31 ./configure --prefix=/usr \ 35 ./configure --prefix=/usr \
32 --bindir=/usr/bin \ 36 --bindir=/usr/bin \
33 --datadir="/usr/share/naemon" \ 37 --datadir="/usr/share/naemon" \
@@ -50,14 +54,14 @@ build() {
50} 54}
51 55
52check() { 56check() {
53 cd "$srcdir/$pkgname-$pkgver" 57 cd "$srcdir/$pkgname-git"
54 58
55 # One of the tests fail for some reason, upstream notified. 59 # One of the tests fail for some reason, upstream notified.
56 make check || true 60 make check || true
57} 61}
58 62
59package() { 63package() {
60 cd "$srcdir/$pkgname-$pkgver" 64 cd "$srcdir/$pkgname-git"
61 65
62 make DESTDIR="$pkgdir" install 66 make DESTDIR="$pkgdir" install
63 67