diff options
author | ghen <ghen@pkgsrc.org> | 2006-08-16 13:30:35 +0000 |
---|---|---|
committer | ghen <ghen@pkgsrc.org> | 2006-08-16 13:30:35 +0000 |
commit | b2b8b9ef84909168c8b4662535592951f6601611 (patch) | |
tree | 493e84ee29d4458a57881d1db49d08bab6c27546 /sysutils | |
parent | 7db06935e6dcd58138bb0f7093a5c730e4ad183c (diff) | |
download | pkgsrc-b2b8b9ef84909168c8b4662535592951f6601611.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/DESCR | 1 | ||||
-rw-r--r-- | sysutils/ups-nut-snmp/Makefile | 18 | ||||
-rw-r--r-- | sysutils/ups-nut-snmp/PLIST | 3 |
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 |