[arch-commits] Commit in monitoring-plugins/repos (2 files)
Felix Yan
felixonmars at archlinux.org
Fri Nov 9 22:19:39 UTC 2018
Date: Friday, November 9, 2018 @ 22:19:39
Author: felixonmars
Revision: 404920
archrelease: copy trunk to community-staging-x86_64
Added:
monitoring-plugins/repos/community-staging-x86_64/
monitoring-plugins/repos/community-staging-x86_64/PKGBUILD
(from rev 404919, monitoring-plugins/trunk/PKGBUILD)
----------+
PKGBUILD | 46 ++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 46 insertions(+)
Copied: monitoring-plugins/repos/community-staging-x86_64/PKGBUILD (from rev 404919, monitoring-plugins/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD (rev 0)
+++ community-staging-x86_64/PKGBUILD 2018-11-09 22:19:39 UTC (rev 404920)
@@ -0,0 +1,46 @@
+# Maintainer: Jonathan Steel <jsteel at archlinux.org>
+# Contributor: Idares <idares at seznam dot cz>
+
+pkgname=monitoring-plugins
+pkgver=2.2
+pkgrel=4
+pkgdesc="Plugins for Icinga, Naemon, Nagios, Shinken, Sensu and other monitoring applications"
+arch=('x86_64')
+url="http://www.monitoring-plugins.org"
+license=('GPL3')
+makedepends=('net-snmp' 'postgresql-libs' 'libdbi' 'libmariadbclient'
+ 'procps-ng' 'iputils' 'fping' 'dnsutils' 'rpcbind' 'smbclient' 'openssh'
+ 'inetutils' 'postfix' 'perl-net-snmp')
+optdepends=('net-snmp: for SNMP checking'
+ 'postgresql-libs: for check_pgsql'
+ 'libmariadbclient: for check_mysql_query and check_mysql'
+ 'libdbi: for check_dbi'
+ 'libldap: for check_ldap')
+provides=('nagios-plugins')
+conflicts=('nagios-plugins')
+replaces=('nagios-plugins')
+source=(https://www.monitoring-plugins.org/download/$pkgname-$pkgver.tar.gz)
+md5sums=('549e243ba1fb5c5b3be3a86961de40a7')
+
+build() {
+ cd $pkgname-$pkgver
+
+ ./configure --prefix=/usr --libexecdir=/usr/lib/monitoring-plugins \
+ --with-ping-command='/usr/bin/ping -4 -n -U -w %d -c %d %s' \
+ --with-ping6-command='/usr/bin/ping -6 -n -U -w %d -c %d %s'
+
+ make
+}
+
+package() {
+ cd $pkgname-$pkgver
+
+ make DESTDIR="$pkgdir" install
+
+ install -Dm644 COPYING "$pkgdir"/usr/share/licenses/$pkgname/COPYING
+
+ for i in ABOUT-NLS ACKNOWLEDGEMENTS AUTHORS CODING ChangeLog \
+ FAQ NEWS README REQUIREMENTS SUPPORT THANKS; do
+ install -Dm644 $i "$pkgdir"/usr/share/doc/$pkgname/$i
+ done
+}
More information about the arch-commits
mailing list