apc-upsd is a daemon with flexible configuration for APC ups models.
This commit is contained in:
parent
a48078fdea
commit
2c03e7503c
31
sysutils/apc-upsd/Makefile
Normal file
31
sysutils/apc-upsd/Makefile
Normal 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>
|
3
sysutils/apc-upsd/files/md5
Normal file
3
sysutils/apc-upsd/files/md5
Normal file
@ -0,0 +1,3 @@
|
||||
MD5 (apc-upsd.tgz) = a68788a3a5eecef64c952b5ae8a57a8a
|
||||
RMD160 (apc-upsd.tgz) = 608173a9253cca1e68438e5700c2d68dfcee4354
|
||||
SHA1 (apc-upsd.tgz) = 38e2848cab626ba1e760966ff02061baa10218dd
|
1
sysutils/apc-upsd/pkg/COMMENT
Normal file
1
sysutils/apc-upsd/pkg/COMMENT
Normal file
@ -0,0 +1 @@
|
||||
UPS software for APC ups models.
|
2
sysutils/apc-upsd/pkg/DESCR
Normal file
2
sysutils/apc-upsd/pkg/DESCR
Normal file
@ -0,0 +1,2 @@
|
||||
apc-upsd is a daemon with flexible configuration for APC ups models.
|
||||
|
6
sysutils/apc-upsd/pkg/PLIST
Normal file
6
sysutils/apc-upsd/pkg/PLIST
Normal 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
|
Loading…
x
Reference in New Issue
Block a user