[Bug 285075] net-mgmt/lldpd output options are unclear in version 1.0.19

From: <bugzilla-noreply_at_freebsd.org>
Date: Fri, 28 Feb 2025 02:57:37 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=285075

            Bug ID: 285075
           Summary: net-mgmt/lldpd output options are unclear in version
                    1.0.19
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Many People
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs@FreeBSD.org
          Reporter: dyeske@gmail.com
                CC: freebsd@simweb.ch
             Flags: maintainer-feedback?(freebsd@simweb.ch)
                CC: freebsd@simweb.ch

There is a previous commit message that says 

Remove obsolete (since 0.9.7) JSON option

This seems to imply that json output is not supported anymore.  During "make
config" there is an option to compile with XML support, but the option to
compile with JSON support was removed a while back.  I found this unusual for a
program to remove support for JSON.  I looked at the configure arguments and
saw this.

--enable-json0 Enable use of pre-0.9.2 JSON/json-c format [default=no]

After compiling the port I can run "sudo lldpctl -f json" and get valid json. 
My understanding is that there were two types of JSON that were supported and
one of them is no longer supported?  JSON and plain output is natively
supported?

I think it would be helpful to indicate in pkg-descr that the port supports
plain, XML (which depends on libxml2), and JSON output.

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