diff options
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 22 |
1 files changed, 13 insertions, 9 deletions
@@ -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 | ||