mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-01-15 21:52:11 +01:00
54 lines
1.5 KiB
Plaintext
54 lines
1.5 KiB
Plaintext
# Contributor: Francesco Colista <fcolista@alpinelinux.org>
|
|
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
|
|
pkgname=monitoring-plugins
|
|
pkgver=2.3.5
|
|
pkgrel=0
|
|
pkgdesc="Plugins for Icinga, Naemon, Nagios, Shinken, Sensu and other monitoring applications"
|
|
url="https://www.monitoring-plugins.org"
|
|
arch="all"
|
|
license="GPL-3.0-or-later"
|
|
options="suid !check" # Tests require interactive output and connecting to various URLs
|
|
depends="iputils procps bind-tools"
|
|
makedepends="
|
|
gettext-dev
|
|
libdbi-dev
|
|
libpq-dev
|
|
linux-headers
|
|
mariadb-connector-c-dev
|
|
net-snmp-tools
|
|
openssl-dev
|
|
perl-dev
|
|
perl-net-snmp
|
|
"
|
|
checkdepends="cmd:ksh"
|
|
subpackages="$pkgname-lang $pkgname-doc"
|
|
source="https://www.monitoring-plugins.org/download/monitoring-plugins-$pkgver.tar.gz"
|
|
|
|
build() {
|
|
./configure \
|
|
--prefix=/usr \
|
|
--libexecdir=/usr/lib/monitoring-plugins \
|
|
--with-perl="$(which perl)" \
|
|
--with-ping-command="/bin/ping -n -U -w %d -c %d %s" \
|
|
--with-ping6-command="/bin/ping6 -n -U -w %d -c %d %s" \
|
|
--with-openssl \
|
|
--with-pgsql=/usr \
|
|
--with-dbi \
|
|
--with-mysql \
|
|
--with-ipv6
|
|
make
|
|
}
|
|
|
|
package() {
|
|
make DESTDIR="$pkgdir" install
|
|
|
|
for i in ABOUT-NLS ACKNOWLEDGEMENTS AUTHORS CODING ChangeLog \
|
|
FAQ NEWS README REQUIREMENTS SUPPORT THANKS; do
|
|
install -Dm644 $i "$pkgdir"/usr/share/doc/$pkgname/$i
|
|
done
|
|
}
|
|
|
|
sha512sums="
|
|
bb04d547584a4aed82bfd605d129b652b45c7356c0610fb1da53a57b2ab889b67afccdd53998e2612ec06571bdc5fc238ef0d378b96e29ec072f657e74eabd55 monitoring-plugins-2.3.5.tar.gz
|
|
"
|