blob: 094ba4bd0bcfe9f19ecbd154e80dfcb745522341 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
# Maintainer: Mark Grimes <mgrimes at peculier dot com>
# Contributor: Idares <idares@seznam.cz>
# https://github.com/mvgrimes/aur-nagios-npre-plugin
pkgname=nagios-nrpe-plugin
pkgver=3.2.1
pkgrel=1
pkgdesc="The Nagios Server NRPE plugin (install on the monitoring machine)."
license=('GPL')
arch=('any')
url="http://www.nagios.org"
source=("http://downloads.sourceforge.net/nagios/nrpe-${pkgver}.tar.gz")
md5sums=('8997e195fea93cdceb8c7ed8ac1d43bc')
depends=(nagios)
install=nagios-nrpe-plugin.install
# nagios already depends on openssl-1.0
build() {
cd ${srcdir}/nrpe-${pkgver}
./configure \
--prefix=/usr/share/nagios \
--enable-ssl \
--with-nagios-user=nagios \
--with-nagios-group=nagios \
|| return 1
make nrpe || return 1
}
package() {
cd ${srcdir}/nrpe-${pkgver}
make DESTDIR=${pkgdir} install-plugin || return 1
}
|