diff options
author | Ismaël Bouya <ismael.bouya@normalesup.org> | 2019-07-03 19:11:55 +0200 |
---|---|---|
committer | Ismaël Bouya <ismael.bouya@normalesup.org> | 2019-07-03 19:11:55 +0200 |
commit | 9c1e810f2a01db3747c8fde07cd5f9a0b4cfccd3 (patch) | |
tree | 4c91957a2858e86d54bc16bb14657ac200a76159 /naemon/PKGBUILD | |
parent | a6ed304cd17d06cd087df6fc54a8034816abe545 (diff) | |
download | AUR-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/PKGBUILD | 22 |
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 | ||
4 | pkgname=naemon | 4 | pkgname=naemon |
5 | pkgver=1.0.9 | 5 | pkgver=1.0.10 |
6 | pkgrel=2 | 6 | pkgrel=1 |
7 | pkgdesc="System and network monitoring application" | 7 | pkgdesc="System and network monitoring application" |
8 | arch=('i686' 'x86_64') | 8 | arch=('i686' 'x86_64') |
9 | url="http://naemon.org" | 9 | url="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') |
16 | makedepends=('gperf' 'help2man') | 16 | makedepends=('gperf' 'help2man') |
17 | source=(http://labs.consol.de/naemon/release/v$pkgver/src/$pkgname-$pkgver.tar.gz | 17 | source=("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 |
20 | sha512sums=('cf2a359a7fcf95a7668f8db35ccd23ad607c05cd85f51a9488cc183a2683da1ba9c7b0a7303d9f03825fbd13103372944267f2a99c10280004c51669e6343793' | 20 | overflow.patch) |
21 | sha512sums=('SKIP' | ||
21 | '756e61e4da56ce614824c3b289d2ee0f4464bf5bcd868dcadbf31c3320967e0179aa6c5aedc16e4bb40c480ab2da8ab08c43e750168e86963a9cd552db01ea1d' | 22 | '756e61e4da56ce614824c3b289d2ee0f4464bf5bcd868dcadbf31c3320967e0179aa6c5aedc16e4bb40c480ab2da8ab08c43e750168e86963a9cd552db01ea1d' |
22 | '28944f2bd918c0718496ce490d0c2da97a127f71cfb23348620cb6c86fc88e206a07409d32dc8c9a9b5b2d1a8106b400c3e1edf3a6b7aca30ac125a38ebed3b2') | 23 | '28944f2bd918c0718496ce490d0c2da97a127f71cfb23348620cb6c86fc88e206a07409d32dc8c9a9b5b2d1a8106b400c3e1edf3a6b7aca30ac125a38ebed3b2' |
24 | 'ec1ccf09f8c02e8f6dfdf2f6b80eed4b3e07df85703d89bdfdefe0bd9380b832a7f9a1c2976f17f55d74dbb3b1888ae28bf0551c78cb8bbc3acb08cd1e4a85da') | ||
23 | backup=('etc/logrotate.d/naemon' | 25 | backup=('etc/logrotate.d/naemon' |
24 | 'etc/naemon/naemon.cfg' | 26 | 'etc/naemon/naemon.cfg' |
25 | 'etc/naemon/resource.cfg') | 27 | 'etc/naemon/resource.cfg') |
26 | install=$pkgname.install | 28 | install=$pkgname.install |
27 | 29 | ||
28 | build() { | 30 | build() { |
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 | ||
52 | check() { | 56 | check() { |
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 | ||
59 | package() { | 63 | package() { |
60 | cd "$srcdir/$pkgname-$pkgver" | 64 | cd "$srcdir/$pkgname-git" |
61 | 65 | ||
62 | make DESTDIR="$pkgdir" install | 66 | make DESTDIR="$pkgdir" install |
63 | 67 | ||