aboutsummaryrefslogtreecommitdiff
path: root/sysutils/apcpwr
diff options
context:
space:
mode:
authorJohn W. De Boskey <jwd@FreeBSD.org>2003-07-02 20:52:54 +0000
committerJohn W. De Boskey <jwd@FreeBSD.org>2003-07-02 20:52:54 +0000
commit06c629c6de34eada5ed4a0a784d1b55894949233 (patch)
treed0052b36e1dd15bb7422262d9aaf59373e1505a2 /sysutils/apcpwr
parent807972086726a117eae13e5294ffb8a3c0e6b4a2 (diff)
downloadports-06c629c6de34eada5ed4a0a784d1b55894949233.tar.gz
ports-06c629c6de34eada5ed4a0a784d1b55894949233.zip
New port. Control APC 9211 over the net via snmp.
Notes
Notes: svn path=/head/; revision=84075
Diffstat (limited to 'sysutils/apcpwr')
-rw-r--r--sysutils/apcpwr/Makefile26
-rw-r--r--sysutils/apcpwr/distinfo1
-rw-r--r--sysutils/apcpwr/pkg-descr4
-rw-r--r--sysutils/apcpwr/pkg-message13
-rw-r--r--sysutils/apcpwr/pkg-plist2
5 files changed, 46 insertions, 0 deletions
diff --git a/sysutils/apcpwr/Makefile b/sysutils/apcpwr/Makefile
new file mode 100644
index 000000000000..f379127b13e6
--- /dev/null
+++ b/sysutils/apcpwr/Makefile
@@ -0,0 +1,26 @@
+# ports collection makefile for: apcpwr
+# Date created: 1 June 2003
+# Whom: jwd
+#
+# $FreeBSD$
+#
+
+PORTNAME= apcpwr
+PORTVERSION= 1.2
+CATEGORIES= sysutils net
+MASTER_SITES= ${MASTER_SITE_LOCAL}
+MASTER_SITE_SUBDIR= jwd
+
+MAINTAINER= jwd@FreeBSD.org
+COMMENT= Control APC 9211 MasterSwitchs via snmp
+
+RUN_DEPENDS= snmpwalk:${PORTSDIR}/net/net-snmp
+
+MAN8= apcpwr.8
+
+post-install:
+ @ ${ECHO}
+ @ ${SED} -e "s:%%PREFIX%%:${PREFIX}:g" pkg-message | fmt
+ @ ${ECHO}
+
+.include <bsd.port.mk>
diff --git a/sysutils/apcpwr/distinfo b/sysutils/apcpwr/distinfo
new file mode 100644
index 000000000000..4b5302601da5
--- /dev/null
+++ b/sysutils/apcpwr/distinfo
@@ -0,0 +1 @@
+MD5 (apcpwr-1.2.tar.gz) = ed4122bb7d81c757129563eb00da75b1
diff --git a/sysutils/apcpwr/pkg-descr b/sysutils/apcpwr/pkg-descr
new file mode 100644
index 000000000000..9a6e5219304c
--- /dev/null
+++ b/sysutils/apcpwr/pkg-descr
@@ -0,0 +1,4 @@
+Apcpwr is a utility to control the power outlets of an APC
+Masterswitch 9211 via snmp.
+
+jwd@FreeBSD.org
diff --git a/sysutils/apcpwr/pkg-message b/sysutils/apcpwr/pkg-message
new file mode 100644
index 000000000000..44320d5c8b2e
--- /dev/null
+++ b/sysutils/apcpwr/pkg-message
@@ -0,0 +1,13 @@
+Please copy the file
+%%PREFIX%%/etc/apcpwr.conf.dist
+to
+%%PREFIX%%/etc/apcpwr.conf
+and make the appropriate changes.
+It is suggested that apcpwr.conf only be readable by root as
+it contains the read/write community strings required to
+communicate with the APC MasterSwitch.
+
+WARNING: WARNING WARNING WARNING WARNING WARNING WARNING
+
+This port is usable only by root unless the perl utility
+program /usr/bin/suidperl is installed with setuid permissions.
diff --git a/sysutils/apcpwr/pkg-plist b/sysutils/apcpwr/pkg-plist
new file mode 100644
index 000000000000..5928e155beaf
--- /dev/null
+++ b/sysutils/apcpwr/pkg-plist
@@ -0,0 +1,2 @@
+bin/apcpwr
+etc/apcpwr.conf.dist