[Bug 215809] sysutils/apcupsd missing --enable-modbus-usb config option

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Thu Jan 5 21:35:38 UTC 2017


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=215809

            Bug ID: 215809
           Summary: sysutils/apcupsd missing --enable-modbus-usb config
                    option
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: itetcu at FreeBSD.org
          Reporter: ipluta at wp.pl
          Assignee: itetcu at FreeBSD.org
             Flags: maintainer-feedback?(itetcu at FreeBSD.org)

--enable-modbus-usb configure option appeared in apcupsd some time ago but
sysutils/apcupsd did not follow. The patch below fixes that. Please apply, if
possible.

--- apcupsd/Makefile    2016-12-04 11:30:47.000000000 +0100
+++ apcupsd.enable-modbus-usb/Makefile  2017-01-05 21:42:25.659985000 +0100
@@ -29,8 +29,8 @@
 LIBS+=         -L${LOCALBASE}/lib

 OPTIONS_DEFINE=        APCSMART_DRV APCDUMB_DRV CLIENT_ONLY CGI PCNET_DRV USB
SNMP_DRV \
-               SNMP_DRV_OLD TCP_WRAPPERS TEST_DRV GAPCMON DOCS MODBUS
-OPTIONS_DEFAULT=       APCSMART_DRV APCDUMB_DRV PCNET_DRV USB TCP_WRAPPERS
MODBUS
+               SNMP_DRV_OLD TCP_WRAPPERS TEST_DRV GAPCMON DOCS MODBUS
MODBUS_USB
+OPTIONS_DEFAULT=       APCSMART_DRV APCDUMB_DRV PCNET_DRV USB TCP_WRAPPERS
MODBUS MODBUS_USB
 APCSMART_DRV_DESC=     Compile APC SmartUPS serial driver
 APCDUMB_DRV_DESC=      Compile dumb UPS driver
 CLIENT_ONLY_DESC=      Only NIS client (no network server or drivers)
@@ -43,6 +43,7 @@
 TEST_DRV_DESC=         Compile TEST driver
 GAPCMON_DESC=          Build GTK GUI front-end
 MODBUS_DESC=           Compile with MODBUS driver
+MODBUS_USB_DESC=       Compile with MODBUS USB driver

 #PORTDOCS=     ${PORTNAME}.pdf

@@ -62,6 +63,7 @@
 USB_CONFIGURE_ENABLE=          usb
 SNMP_DRV_CONFIGURE_ENABLE=     snmp
 MODBUS_CONFIGURE_ENABLE=       modbus
+MODBUS_USB_CONFIGURE_ENABLE=   modbus-usb
 SNMP_DRV_OLD_CONFIGURE_ENABLE= net-snmp
 SNMP_DRV_OLD_LIB_DEPENDS=      libnetsnmp.so:net-mgmt/net-snmp
 TCP_WRAPPERS_CONFIGURE_WITH=   libwrap=yes

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-ports-bugs mailing list