summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 3f3f1dbee08b342921bec42d9dd0d84c81f7066e (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
# Maintainer: AndrĂ¡s Wacha <awacha aT gMaIl>
pkgname=monitoring-plugins-kdc
pkgver=1.0
pkgrel=1
pkgdesc="Monitoring plugin for Nagios, Icinga etc. for KDCs"
arch=('any')
url="https://exchange.nagios.org/directory/Plugins/Security/check_kdc/details"
license=('GPL' 'Perl-Artistic')
depends=('perl' 'monitoring-plugins')
makedepends=()
checkdepends=()
source=("https://exchange.nagios.org/components/com_mtree/attachment.php?link_id=1287&cf_id=24"
	"check_kdc.patch")
md5sums=('2b86dee78f2f24540edbe846b6504043'
         '9666e179db04e81904b80bea39cb1980')


prepare() {
    cp attachment.php\?link_id\=1287\&cf_id\=24 check_kdc
    patch check_kdc < check_kdc.patch
}

package() {
    mkdir -p ${pkgdir}/usr/lib/monitoring-plugins/
    cp check_kdc  ${pkgdir}/usr/lib/monitoring-plugins/check_kdc
    chmod +x ${pkgdir}/usr/lib/monitoring-plugins/check_kdc
}