From 781ef771f046a43335ee054e32645643a5ac39f8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Isma=C3=ABl=20Bouya?= Date: Wed, 3 Jul 2019 19:11:55 +0200 Subject: Upgrade naemon and naemon-livestatus upgpkg: naemon-livestatus 1.0.10-1 upstream release upgpkg: naemon 1.0.10-1 upstream release --- PKGBUILD | 22 +++++++++++++--------- 1 file changed, 13 insertions(+), 9 deletions(-) (limited to 'PKGBUILD') diff --git a/PKGBUILD b/PKGBUILD index 8bdb6bf..63aa98c 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -2,8 +2,8 @@ # Contributor: Jonathan Steel pkgname=naemon -pkgver=1.0.9 -pkgrel=2 +pkgver=1.0.10 +pkgrel=1 pkgdesc="System and network monitoring application" arch=('i686' 'x86_64') url="http://naemon.org" @@ -14,20 +14,24 @@ optdepends=('logrotate' 'naemon-livestatus: Event broker' 'monitoring-plugins') makedepends=('gperf' 'help2man') -source=(http://labs.consol.de/naemon/release/v$pkgver/src/$pkgname-$pkgver.tar.gz +source=("naemon-git::git+https://github.com/naemon/naemon-core.git#commit=c2a8730538846f342911764cd7731015f1a6f284" $pkgname-tmpfiles.conf - $pkgname.service) -sha512sums=('cf2a359a7fcf95a7668f8db35ccd23ad607c05cd85f51a9488cc183a2683da1ba9c7b0a7303d9f03825fbd13103372944267f2a99c10280004c51669e6343793' + $pkgname.service + overflow.patch) +sha512sums=('SKIP' '756e61e4da56ce614824c3b289d2ee0f4464bf5bcd868dcadbf31c3320967e0179aa6c5aedc16e4bb40c480ab2da8ab08c43e750168e86963a9cd552db01ea1d' - '28944f2bd918c0718496ce490d0c2da97a127f71cfb23348620cb6c86fc88e206a07409d32dc8c9a9b5b2d1a8106b400c3e1edf3a6b7aca30ac125a38ebed3b2') + '28944f2bd918c0718496ce490d0c2da97a127f71cfb23348620cb6c86fc88e206a07409d32dc8c9a9b5b2d1a8106b400c3e1edf3a6b7aca30ac125a38ebed3b2' + 'ec1ccf09f8c02e8f6dfdf2f6b80eed4b3e07df85703d89bdfdefe0bd9380b832a7f9a1c2976f17f55d74dbb3b1888ae28bf0551c78cb8bbc3acb08cd1e4a85da') backup=('etc/logrotate.d/naemon' 'etc/naemon/naemon.cfg' 'etc/naemon/resource.cfg') install=$pkgname.install build() { - cd "$srcdir/$pkgname-$pkgver" + cd "$srcdir/$pkgname-git" + patch -p1 < $srcdir/overflow.patch + ./autogen.sh ./configure --prefix=/usr \ --bindir=/usr/bin \ --datadir="/usr/share/naemon" \ @@ -50,14 +54,14 @@ build() { } check() { - cd "$srcdir/$pkgname-$pkgver" + cd "$srcdir/$pkgname-git" # One of the tests fail for some reason, upstream notified. make check || true } package() { - cd "$srcdir/$pkgname-$pkgver" + cd "$srcdir/$pkgname-git" make DESTDIR="$pkgdir" install -- cgit v1.2.3