aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLeo <thinkabit.ukim@gmail.com>2019-05-25 23:20:49 -0300
committerFrancesco Colista <fcolista@alpinelinux.org>2019-05-27 15:06:50 +0000
commit9727e629f2134583a0a7754ae7a46166bbb13c9f (patch)
tree0890e4c3d0eec66bcf522b3e0dd415ce7d88b675
parent264451c8d2b19c53ca3130dae2998abc4337f93c (diff)
downloadaports-9727e629f2134583a0a7754ae7a46166bbb13c9f.tar.bz2
aports-9727e629f2134583a0a7754ae7a46166bbb13c9f.tar.xz
community/monitoring-plugins: modernize, fix license.
-rw-r--r--community/monitoring-plugins/APKBUILD16
1 files changed, 7 insertions, 9 deletions
diff --git a/community/monitoring-plugins/APKBUILD b/community/monitoring-plugins/APKBUILD
index ccd2fc8adc..58827acb85 100644
--- a/community/monitoring-plugins/APKBUILD
+++ b/community/monitoring-plugins/APKBUILD
@@ -1,20 +1,20 @@
# Contributor: Francesco Colista <fcolista@alpinelinux.org>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=monitoring-plugins
-pkgver="2.2"
-pkgrel=11
+pkgver=2.2
+pkgrel=12
pkgdesc="Plugins for Icinga, Naemon, Nagios, Shinken, Sensu and other monitoring applications"
url="https://www.monitoring-plugins.org"
arch="all"
-license="GPL-3.0"
-options="suid"
+license="GPL-3.0-or-later"
+options="suid !check" # Tests require interactive output and connecting to various URLs
depends="iputils procps"
-makedepends="linux-headers libdbi-dev openssl-dev
-mariadb-connector-c-dev postgresql-dev perl-dev procps"
+makedepends="linux-headers libdbi-dev openssl-dev
+mariadb-connector-c-dev postgresql-dev perl-dev"
+checkdepends="cmd:ksh"
subpackages="$pkgname-doc"
source="https://www.monitoring-plugins.org/download/$pkgname-$pkgver.tar.gz
mariadb.patch"
-builddir="$srcdir"/$pkgname-$pkgver
prepare() {
default_prepare
@@ -23,7 +23,6 @@ prepare() {
}
build() {
- cd "$builddir"
./configure \
--prefix=/usr \
--libexecdir=/usr/lib/monitoring-plugins \
@@ -39,7 +38,6 @@ build() {
}
package() {
- cd "$builddir"
make DESTDIR="$pkgdir" install
for i in ABOUT-NLS ACKNOWLEDGEMENTS AUTHORS CODING ChangeLog \