diff options
| author | Francesco Colista <fcolista@alpinelinux.org> | 2017-11-03 13:04:50 +0000 |
|---|---|---|
| committer | Francesco Colista <fcolista@alpinelinux.org> | 2017-11-03 13:05:03 +0000 |
| commit | a47efc325c65c9c07d2f9d685cd236cd45f79117 (patch) | |
| tree | 9fbe718391a976e17942cf3d1c34ade10a040c9f /community/monitoring-plugins | |
| parent | c60c2c80d6bdc7c05a96698e3b3e17adc52cf1a8 (diff) | |
| download | aports-a47efc325c65c9c07d2f9d685cd236cd45f79117.tar.bz2 aports-a47efc325c65c9c07d2f9d685cd236cd45f79117.tar.xz | |
community/monitoring-plugins: add ping command with correct parameters to make check_ping work
Diffstat (limited to 'community/monitoring-plugins')
| -rw-r--r-- | community/monitoring-plugins/APKBUILD | 18 |
1 files changed, 8 insertions, 10 deletions
diff --git a/community/monitoring-plugins/APKBUILD b/community/monitoring-plugins/APKBUILD index 8b1cab43ab..cd316fcd03 100644 --- a/community/monitoring-plugins/APKBUILD +++ b/community/monitoring-plugins/APKBUILD @@ -2,25 +2,22 @@ # Maintainer: Francesco Colista <fcolista@alpinelinux.org> pkgname=monitoring-plugins pkgver="2.2" -pkgrel=1 +pkgrel=2 pkgdesc="Plugins for Icinga, Naemon, Nagios, Shinken, Sensu and other monitoring applications" url="http://www.monitoring-plugins.org" arch="all" license="GPL3" -depends="" -depends_dev="" options="suid" -makedepends="$depends_dev linux-headers libdbi-dev - libressl-dev mariadb-dev postgresql-dev perl-dev" -install="" +makedepends="linux-headers libdbi-dev libressl-dev +mariadb-dev postgresql-dev perl-dev" subpackages="$pkgname-doc" source="https://www.monitoring-plugins.org/download/$pkgname-$pkgver.tar.gz" builddir="$srcdir"/$pkgname-$pkgver prepare() { - default_prepare || return 1 - update_config_guess || return 1 - update_config_sub || return 1 + default_prepare + update_config_guess + update_config_sub } build() { @@ -29,12 +26,13 @@ build() { --prefix=/usr \ --libexecdir=/usr/lib/monitoring-plugins \ --with-perl="$(which perl)" \ + --with-ping-command="/bin/ping -c %d %s" \ --with-openssl \ --with-pgsql=/usr \ --with-dbi \ --with-mysql \ --with-ipv6 - make || return 1 + make } package() { |
