apc-upsd is a daemon with flexible configuration for APC ups models.

This commit is contained in:
kevlo 1999-12-28 11:22:00 +00:00
parent a48078fdea
commit 2c03e7503c
5 changed files with 43 additions and 0 deletions

View File

@ -0,0 +1,31 @@
# New ports collection makefile for: apc-upsd
# Date created: 28 Dec 1999
# Whom: Kevin Lo <kevlo@openbsd.org>
#
# $OpenBSD: Makefile,v 1.1.1.1 1999/12/28 11:22:00 kevlo Exp $
#
DISTNAME= apc-upsd
PKGNAME= apc-upsd
CATEGORIES= sysutils
MASTER_SITES= http://www.knienieder.com/software/
MAINTAINER= kevlo@openbsd.org
EXTRACT_SUFX= .tgz
WRKSRC= ${WRKDIR}/${PKGNAME}/src
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/apc-upsd ${PREFIX}/sbin
post-install:
@${MKDIR} ${PREFIX}/share/doc/apc-upsd
${INSTALL_DATA} ${WRKSRC}/../doc/smart-protocol ${PREFIX}/share/doc/apc-upsd
if [ ! -f /etc/apc-upsd.conf ] ; then \
${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 644 \
${WRKSRC}/apc-upsd.conf /etc/apc-upsd.conf; \
fi
.include <bsd.port.mk>

View File

@ -0,0 +1,3 @@
MD5 (apc-upsd.tgz) = a68788a3a5eecef64c952b5ae8a57a8a
RMD160 (apc-upsd.tgz) = 608173a9253cca1e68438e5700c2d68dfcee4354
SHA1 (apc-upsd.tgz) = 38e2848cab626ba1e760966ff02061baa10218dd

View File

@ -0,0 +1 @@
UPS software for APC ups models.

View File

@ -0,0 +1,2 @@
apc-upsd is a daemon with flexible configuration for APC ups models.

View File

@ -0,0 +1,6 @@
sbin/apc-upsd
share/doc/apc-upsd/smart-protocol
@dirrm share/doc/apc-upsd
@cwd /etc
@cwd /etc
apc-upsd.conf