summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrás Wacha2016-11-16 07:16:51 +0100
committerAndrás Wacha2016-11-16 07:16:51 +0100
commit7570af051404c76b06b427f39156845c2d803b5f (patch)
tree98837183ccf9dbbe3d9ca5e07c3417c0b41c480d
downloadaur-7570af051404c76b06b427f39156845c2d803b5f.tar.gz
First commit
-rw-r--r--.SRCINFO14
-rw-r--r--PKGBUILD27
2 files changed, 41 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..77c318b4dec
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,14 @@
+pkgbase = monitoring-plugins-snmp-printer
+ pkgdesc = Monitoring plugin for Nagios, Icinga etc. for SNMP Printers
+ pkgver = 0.1.0
+ pkgrel = 1
+ url = https://exchange.nagios.org/directory/Plugins/Hardware/Printers/check_snmp_printer/details
+ arch = any
+ license = GPL
+ depends = net-snmp
+ depends = monitoring-plugins
+ source = https://exchange.nagios.org/components/com_mtree/attachment.php?link_id=633&cf_id=24
+ md5sums = 780334d0b97ba015244797481cfea201
+
+pkgname = monitoring-plugins-snmp-printer
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..dbd09003d03
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,27 @@
+# Maintainer: András Wacha <awacha aT gMaIl>
+pkgname=monitoring-plugins-snmp-printer
+pkgver=0.1.0
+pkgrel=1
+pkgdesc="Monitoring plugin for Nagios, Icinga etc. for SNMP Printers"
+arch=('any')
+url="https://exchange.nagios.org/directory/Plugins/Hardware/Printers/check_snmp_printer/details"
+license=('GPL')
+depends=('net-snmp' 'monitoring-plugins')
+makedepends=()
+checkdepends=()
+source=("https://exchange.nagios.org/components/com_mtree/attachment.php?link_id=633&cf_id=24"
+ )
+
+md5sums=('780334d0b97ba015244797481cfea201')
+
+
+prepare() {
+ cp attachment.php\?link_id\=633\&cf_id\=24 check_snmp_printer
+# patch check_kdc < check_kdc.patch
+}
+
+package() {
+ mkdir -p ${pkgdir}/usr/lib/monitoring-plugins/
+ cp check_snmp_printer ${pkgdir}/usr/lib/monitoring-plugins/check_snmp_printer
+ chmod +x ${pkgdir}/usr/lib/monitoring-plugins/check_snmp_printer
+}