Skip to content

Commit

Permalink
sysutils/apcupsd: Port improvements
Browse files Browse the repository at this point in the history
  - 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.
  • Loading branch information
dbaio committed Nov 2, 2019
1 parent 9b50c8e commit c5761c4
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 22 deletions.
10 changes: 6 additions & 4 deletions sysutils/apcupsd/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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 \
Expand Down Expand Up @@ -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
Expand Down
18 changes: 0 additions & 18 deletions sysutils/apcupsd/files/apcupsd.conf.net-slave.sample

This file was deleted.

0 comments on commit c5761c4

Please sign in to comment.