~alpine/devel

main/nrpe: Add nrpe-plugin subpackage v1 PROPOSED

Jeff Bilyk: 2
 main/nrpe: Add nrpe-plugin subpackage
 main/nrpe: Update maintainer

 2 files changed, 9 insertions(+), 3 deletions(-)
Export patchset (mbox)
How do I use this?

Copy & paste the following snippet into your terminal to import this patchset into git:

curl -s https://lists.alpinelinux.org/~alpine/devel/patches/111/mbox | git am -3
Learn more about email & git

[alpine-devel] [PATCH 1/2] main/nrpe: Add nrpe-plugin subpackage Export this patch

Add check_nrpe to it's own subpackage to make it possible to add the Nagios plugin without installing daemon
---
 main/nrpe/APKBUILD |    9 ++++++++-
 1 files changed, 8 insertions(+), 1 deletions(-)

diff --git a/main/nrpe/APKBUILD b/main/nrpe/APKBUILD
index d78e894..10fdd50 100644
--- a/main/nrpe/APKBUILD
+++ b/main/nrpe/APKBUILD
@@ -11,7 +11,7 @@ license="GPL"
depends=""
makedepends="openssl-dev perl"
install="nrpe.pre-install"
subpackages=
subpackages="$pkgname-plugin"
source="http://downloads.sourceforge.net/nagios/$pkgname-$pkgver.tar.gz
	nrpe.initd
	nrpe.confd"
@@ -23,6 +23,7 @@ build() {
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--infodir=/usr/share/info \
		--libexecdir=/usr/lib/nagios/plugins \
		--enable-command-args
	make || return 1
}
@@ -34,6 +35,12 @@ package() {
	install -Dm644 "$srcdir"/nrpe.confd "$pkgdir"/etc/conf.d/nrpe
}

plugin() {
	pkgdesc="Nagios plugin to check result via NRPE daemon"
	cd "$srcdir"/$pkgname-$pkgver
	make DESTDIR="$subpkgdir" install-plugin
}

md5sums="b2d75e2962f1e3151ef58794d60c9e97  nrpe-2.12.tar.gz
3263044303bbfdfbbc8127cfa991ab51  nrpe.initd
6bd25a1ace9e108c5014a83adcad15b3  nrpe.confd"
-- 
1.7.2.1



---
Unsubscribe:  alpine-devel+unsubscribe@lists.alpinelinux.org
Help:         alpine-devel+help@lists.alpinelinux.org
---

[alpine-devel] [PATCH 2/2] main/nrpe: Update maintainer Export this patch

Update maintainer from blank
---
 main/nrpe/APKBUILD |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)

diff --git a/main/nrpe/APKBUILD b/main/nrpe/APKBUILD
index 10fdd50..da0e560 100644
--- a/main/nrpe/APKBUILD
+++ b/main/nrpe/APKBUILD
@@ -1,5 +1,4 @@
# Contributor: 
# Maintainer: 
# Maintainer: Jeff Bilyk <jbilyk@gmail.com> 
pkgname=nrpe
pkgver=2.12
pkgrel=5
-- 
1.7.2.1



---
Unsubscribe:  alpine-devel+unsubscribe@lists.alpinelinux.org
Help:         alpine-devel+help@lists.alpinelinux.org
---