summaryrefslogtreecommitdiff
path: root/sysutils
diff options
context:
space:
mode:
authorghen <ghen>2006-08-16 13:30:35 +0000
committerghen <ghen>2006-08-16 13:30:35 +0000
commitfc9825e148747c6f73daca48cf3b5e3bab91f24f (patch)
tree493e84ee29d4458a57881d1db49d08bab6c27546 /sysutils
parentb4afde22c8c3f25d5f997874568cac1cd5a8df11 (diff)
downloadpkgsrc-fc9825e148747c6f73daca48cf3b5e3bab91f24f.tar.gz
ups-nut-snmp provides the SNMP driver from the Network UPS Tools.
Import it as a separate package because it requires net/net-snmp.
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/ups-nut-snmp/DESCR1
-rw-r--r--sysutils/ups-nut-snmp/Makefile18
-rw-r--r--sysutils/ups-nut-snmp/PLIST3
3 files changed, 22 insertions, 0 deletions
diff --git a/sysutils/ups-nut-snmp/DESCR b/sysutils/ups-nut-snmp/DESCR
new file mode 100644
index 00000000000..717a3b7b987
--- /dev/null
+++ b/sysutils/ups-nut-snmp/DESCR
@@ -0,0 +1 @@
+ups-nut-snmp provides the SNMP driver from the Network UPS Tools.
diff --git a/sysutils/ups-nut-snmp/Makefile b/sysutils/ups-nut-snmp/Makefile
new file mode 100644
index 00000000000..ec5f5d1fa9e
--- /dev/null
+++ b/sysutils/ups-nut-snmp/Makefile
@@ -0,0 +1,18 @@
+# $NetBSD: Makefile,v 1.1.1.1 2006/08/16 13:30:35 ghen Exp $
+
+.include "../../sysutils/ups-nut/Makefile.common"
+
+PKGNAME= ${DISTNAME:S/nut/ups-nut-snmp/}
+COMMENT= Network UPS Tools SNMP driver
+
+DEPENDS+= ups-nut-2.*:../../sysutils/ups-nut
+
+BUILD_TARGET= all snmp
+INSTALL_TARGET= install-snmp
+
+BUILD_DEFS+= NUT_STATEDIR
+
+CONFIGURE_ARGS+= --with-drvpath=${NUT_DRVDIR:Q}
+
+.include "../../net/net-snmp/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/sysutils/ups-nut-snmp/PLIST b/sysutils/ups-nut-snmp/PLIST
new file mode 100644
index 00000000000..612edbc6778
--- /dev/null
+++ b/sysutils/ups-nut-snmp/PLIST
@@ -0,0 +1,3 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2006/08/16 13:30:35 ghen Exp $
+libexec/nut/snmp-ups
+man/man8/snmp-ups.8