Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 05 Jan 2017 21:35:37 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 215809] sysutils/apcupsd missing --enable-modbus-usb config option
Message-ID:  <bug-215809-13@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D215809

            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@FreeBSD.org
          Reporter: ipluta@wp.pl
          Assignee: itetcu@FreeBSD.org
             Flags: maintainer-feedback?(itetcu@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+=3D         -L${LOCALBASE}/lib

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

 #PORTDOCS=3D     ${PORTNAME}.pdf

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

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-215809-13>