[arch-commits] Commit in monitoring-plugins/repos (4 files)

Jonathan Steel jsteel at archlinux.org
Tue Mar 14 14:12:55 UTC 2017


    Date: Tuesday, March 14, 2017 @ 14:12:55
  Author: jsteel
Revision: 216260

archrelease: copy trunk to community-staging-i686, community-staging-x86_64

Added:
  monitoring-plugins/repos/community-staging-i686/
  monitoring-plugins/repos/community-staging-i686/PKGBUILD
    (from rev 216259, monitoring-plugins/trunk/PKGBUILD)
  monitoring-plugins/repos/community-staging-x86_64/
  monitoring-plugins/repos/community-staging-x86_64/PKGBUILD
    (from rev 216259, monitoring-plugins/trunk/PKGBUILD)

-----------------------------------+
 community-staging-i686/PKGBUILD   |   46 ++++++++++++++++++++++++++++++++++++
 community-staging-x86_64/PKGBUILD |   46 ++++++++++++++++++++++++++++++++++++
 2 files changed, 92 insertions(+)

Copied: monitoring-plugins/repos/community-staging-i686/PKGBUILD (from rev 216259, monitoring-plugins/trunk/PKGBUILD)
===================================================================
--- community-staging-i686/PKGBUILD	                        (rev 0)
+++ community-staging-i686/PKGBUILD	2017-03-14 14:12:55 UTC (rev 216260)
@@ -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=2
+pkgdesc="Plugins for Icinga, Naemon, Nagios, Shinken, Sensu and other monitoring applications"
+arch=('i686' '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
+}

Copied: monitoring-plugins/repos/community-staging-x86_64/PKGBUILD (from rev 216259, monitoring-plugins/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2017-03-14 14:12:55 UTC (rev 216260)
@@ -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=2
+pkgdesc="Plugins for Icinga, Naemon, Nagios, Shinken, Sensu and other monitoring applications"
+arch=('i686' '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