summaryrefslogtreecommitdiffstats
path: root/main/nagios-plugins
diff options
context:
space:
mode:
authorJeff Bilyk <jbilyk@gmail.com>2010-08-30 18:37:10 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2010-08-31 14:43:07 +0000
commitb4b4859ace40c66919d89f00acefd3edb6d89a4d (patch)
tree0d6b8d673b6b709ee9764fd98010fefc08650729 /main/nagios-plugins
parentc76c734fc5f6e157d918e89a37d140f985c13996 (diff)
downloadaports-b4b4859ace40c66919d89f00acefd3edb6d89a4d.tar.bz2
aports-b4b4859ace40c66919d89f00acefd3edb6d89a4d.tar.xz
main/nagios-plugins: move from testing
Move nagios-plugins from testing to main
Diffstat (limited to 'main/nagios-plugins')
-rw-r--r--main/nagios-plugins/APKBUILD36
1 files changed, 36 insertions, 0 deletions
diff --git a/main/nagios-plugins/APKBUILD b/main/nagios-plugins/APKBUILD
new file mode 100644
index 000000000..da8d871bc
--- /dev/null
+++ b/main/nagios-plugins/APKBUILD
@@ -0,0 +1,36 @@
+# Maintainer: Jeff Bilyk <jbilyk@gmail.com>
+pkgname=nagios-plugins
+pkgver=1.4.15
+pkgrel=2
+pkgdesc="Plugins for Nagios to check services on hosts"
+url="http://nagiosplugins.org"
+license="GPL-2"
+depends="nagios fping net-snmp-tools bind-tools nrpe-plugin"
+makedepends="net-snmp-tools openssl-dev openldap-dev mysql-dev postgresql-dev libpq"
+source="http://downloads.sourceforge.net/nagiosplug/$pkgname-$pkgver.tar.gz"
+pkgusers="nagios"
+pkggroups="nagios"
+
+build() {
+ cd "$srcdir/$pkgname-$pkgver"
+
+ ./configure --prefix=/usr \
+ --mandir=/usr/share/man \
+ --infodir=/usr/share/info \
+ --bindir=/usr/sbin \
+ --libexecdir=/usr/lib/nagios/plugins \
+ --localstatedir=/var/nagios \
+ --with-ps-command="/bin/ps" \
+ --with-ps-format="%d %s %s %s" \
+ --with-ps-varlist="&procpid,&procuid,&procpcpu,procprog" \
+ --with-ps-cols=4 \
+ --with-ping-command="/bin/ping -c %d %s"
+ make all || return 1
+}
+
+package() {
+ cd "$srcdir/$pkgname-$pkgver"
+ make DESTDIR="$pkgdir" install
+}
+
+md5sums="56abd6ade8aa860b38c4ca4a6ac5ab0d nagios-plugins-1.4.15.tar.gz"