wb2osz / direwolf

Dire Wolf is a software "soundcard" AX.25 packet modem/TNC and APRS encoder/decoder. It can be used stand-alone to observe APRS traffic, as a tracker, digipeater, APRStt gateway, or Internet Gateway (IGate). For more information, look at the bottom 1/4 of this page and in https://github.com/wb2osz/direwolf/blob/dev/doc/README.md
GNU General Public License v2.0
1.56k stars 305 forks source link

Need cmake option to disable Integration with Avahi mDNS #451

Open dranch opened 1 year ago

dranch commented 1 year ago

Per Rich WA3WLH,

I just built 1.7a on x86_86 Bullseye and upon testing noted the start up messages about integration with avahi. Unlike the comment block at the top of dns_sd_avahi.c my preference is no integration with avahi. I did not see an option in the Makefile to prevent integration with avahi and am not familiar enough with cmake to determine if there is an option there. I also did not see a command line nor a runtime config option.

--

Per WB2OSZ for a current work around:

There is currently no option to disable this (at this time). The easiest way would be to edit CMakeLists.txt and remove -DUSE_AVAHI_CLIENT from this line:

set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -DUSE_AVAHI_CLIENT")