sysutils/apcupsd: Port improvements

- Remove DOCS option, not used.
  - Remove files/apcupsd.conf.net-slave.sample, not used.
  - Improve GAPCMON option. (qa warning)

This doesn't change the way apcupsd works.
Changes obtained in sysutils/appctrl.
This commit is contained in:
Danilo G. Baio 2019-11-02 14:11:09 +00:00
parent 9b50c8e7ca
commit c5761c4269
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=516327
2 changed files with 6 additions and 22 deletions

View File

@ -29,7 +29,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 \
@ -60,9 +60,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