diff options
author | John W. De Boskey <jwd@FreeBSD.org> | 2003-07-02 20:52:54 +0000 |
---|---|---|
committer | John W. De Boskey <jwd@FreeBSD.org> | 2003-07-02 20:52:54 +0000 |
commit | 06c629c6de34eada5ed4a0a784d1b55894949233 (patch) | |
tree | d0052b36e1dd15bb7422262d9aaf59373e1505a2 | |
parent | 807972086726a117eae13e5294ffb8a3c0e6b4a2 (diff) | |
download | ports-06c629c6de34eada5ed4a0a784d1b55894949233.tar.gz ports-06c629c6de34eada5ed4a0a784d1b55894949233.zip |
Notes
-rw-r--r-- | sysutils/Makefile | 1 | ||||
-rw-r--r-- | sysutils/apcpwr/Makefile | 26 | ||||
-rw-r--r-- | sysutils/apcpwr/distinfo | 1 | ||||
-rw-r--r-- | sysutils/apcpwr/pkg-descr | 4 | ||||
-rw-r--r-- | sysutils/apcpwr/pkg-message | 13 | ||||
-rw-r--r-- | sysutils/apcpwr/pkg-plist | 2 |
6 files changed, 47 insertions, 0 deletions
diff --git a/sysutils/Makefile b/sysutils/Makefile index 84e97224970f..a24a5da603ce 100644 --- a/sysutils/Makefile +++ b/sysutils/Makefile @@ -11,6 +11,7 @@ SUBDIR += ah-tty SUBDIR += and SUBDIR += anteater + SUBDIR += apcpwr SUBDIR += apcupsd SUBDIR += arson SUBDIR += asapm 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 |