aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJeff Bilyk <jbilyk@gmail.com>2010-09-01 16:51:38 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2010-09-02 12:28:55 +0000
commit437ec46f4b7d85591865b0987634246e7e47b4fb (patch)
treee700b774d74bc7913ee643c20c3827cf0c06adda
parentcec8ddec2e8e239027f8dd8d381cc9cda8efd167 (diff)
downloadaports-437ec46f4b7d85591865b0987634246e7e47b4fb.tar.bz2
aports-437ec46f4b7d85591865b0987634246e7e47b4fb.tar.xz
main/nrpe: remove check_nrpe executable from nrpe package
Fixes conflict between nrpe-plugin and nrpe packages by removing check_nrpe executable from nrpe package
-rw-r--r--main/nrpe/APKBUILD4
1 files changed, 3 insertions, 1 deletions
diff --git a/main/nrpe/APKBUILD b/main/nrpe/APKBUILD
index fd66dba15f..f2f3cf0a75 100644
--- a/main/nrpe/APKBUILD
+++ b/main/nrpe/APKBUILD
@@ -1,7 +1,7 @@
# Maintainer: Jeff Bilyk <jbilyk@gmail.com>
pkgname=nrpe
pkgver=2.12
-pkgrel=6
+pkgrel=7
pkgusers="nagios"
pkggroups="nagios"
pkgdesc="NRPE allows you to remotely execute Nagios plugins on other Linux/Unix machines."
@@ -30,6 +30,8 @@ build() {
package() {
cd "$srcdir"/$pkgname-$pkgver
make DESTDIR="$pkgdir" install install-daemon-config
+ #remove plugin since its in separate package
+ rm -rf "$pkgdir"/usr/lib
install -Dm755 "$srcdir"/nrpe.initd "$pkgdir"/etc/init.d/nrpe
install -Dm644 "$srcdir"/nrpe.confd "$pkgdir"/etc/conf.d/nrpe
}