sysutils/apcupsd: sync with upstream

Taken from: HardenedBSD
This commit is contained in:
Franco Fichtner 2019-11-03 13:02:54 +01:00
parent 31aeb4977a
commit 8542ff2c4a
2 changed files with 6 additions and 22 deletions

View file

@ -31,7 +31,7 @@ SUB_FILES= pkg-message
CONFLICTS_INSTALL= apcctrl
OPTIONS_DEFINE= APCDUMB_DRV APCSMART_DRV CGI CLIENT_ONLY DOCS GAPCMON MODBUS \
OPTIONS_DEFINE= APCDUMB_DRV APCSMART_DRV CGI CLIENT_ONLY GAPCMON MODBUS \
MODBUS_USB PCNET_DRV SHUTDOWN_POWEROFF SNMP_DRV SNMP_DRV_OLD \
TCP_WRAPPERS TEST_DRV USB_DRV
OPTIONS_DEFAULT= APCDUMB_DRV APCSMART_DRV MODBUS MODBUS_USB PCNET_DRV \
@ -62,9 +62,11 @@ CLIENT_ONLY_CONFIGURE_ON= --enable-net \
--disable-apcsmart --disable-dumb --disable-usb \
--disable-snmp --disable-test --disable-pcnet
GAPCMON_CONFIGURE_ENABLE= gapcmon
GAPCMON_USES= pkgconfig
GAPCMON_USE= GNOME=gconf2
GAPCMON_CONFLICTS= gapcmon-[0-9]*
GAPCMON_USES= gnome pkgconfig xorg
GAPCMON_USE= GNOME=cairo,gconf2,gdkpixbuf2 XORG=x11,xext
GAPCMON_LIB_DEPENDS= libfontconfig.so:x11-fonts/fontconfig \
libfreetype.so:print/freetype2
GAPCMON_CONFLICTS= gapcmon
MODBUS_CONFIGURE_ENABLE= modbus
MODBUS_USB_CONFIGURE_ENABLE= modbus-usb
PCNET_DRV_CONFIGURE_ENABLE= pcnet

View file

@ -1,18 +0,0 @@
## apcupsd.conf v1.1 ##
#
# apcupsd 3.10.X
#
# "apcupsd" netslave file
#
UPSCABLE ether
UPSTYPE net
DEVICE usv.koellers.net:3551
LOCKFILE /var/spool/lock
EVENTSFILE /var/log/apcupsd.events
UPSCLASS standalone
UPSMODE disable
NISPORT 3551
#
# Use this to control the poll time.
# the default is 60 or 1 minute
NETTIME 30