The most recent release version of lldpd is 1.0.18. It's been out since 01/14/2024, whereas the version in the ports tree was released 2 years ago. The port should be upgraded to the latest supported version.
I am working on a patch for this update and some other improvements/fixes. However, there are a few portlint warnings that require further investigation, so it will take a little more time to prepare. Mathieu Simon, would you be interested in transferring the maintainer role for this port to me?
See review D45168. QA == portlint: OK poudriere: OK -- testport on 13.3-RELEASE amd64 with all options enabled except DTRACE testport QA warnings: * Error: /usr/local/sbin/lldpd is linked to /usr/local/lib/libpkg.so.4 from ports-mgmt/pkg but it is not declared as a dependency Warning: you need LIB_DEPENDS+=libpkg.so:ports-mgmt/pkg This appears to be due to an undeclared dependency in net-mgmt/net-snmp. * Warning: you might not need LIB_DEPENDS on libevent.so The cause of this warning is unclear. The configure phase correctly detects the presence of a "system" libevent. checking for libevent >= 2.0.5... yes checking if system libevent works as expected... yes ... Libevent.......: system The resulting binary is linked against libevent from the port. % ldd /usr/local/sbin/lldpd | grep event libevent-2.1.so.7 => /usr/local/lib/libevent-2.1.so.7 (0x3d3f8615000)
maintainer timeout (four months) Build testing aside, does this run as intended?
(In reply to Charlie Li from comment #3) Yes, it runs as expected. It has accumulated about four weeks of run time on a few 13.3 systems, and about another four weeks on the same systems after upgrading them to 14.1. Host systems are Dell PowerEdge with Broadcom BCM5720C and Intel X710, and GigaByte with Intel I210 and Intel I219-LM. Peer electronics are Juniper EX and Dell EMC switches. I've also tested on several hosts for shorter periods in combination with a Ubiquiti USW-Pro switch: SuperMicro MB with Intel I350 and Intel X520; ASUS MB with Broadcom BCM5719C; and Intel MB with Intel I218-LM.
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=1000579bdadac0138ab1e8cae05325d5726465a9 commit 1000579bdadac0138ab1e8cae05325d5726465a9 Author: John W. O'Brien <john@saltant.com> AuthorDate: 2024-07-26 01:55:11 +0000 Commit: Charlie Li <vishwin@FreeBSD.org> CommitDate: 2024-07-26 02:07:21 +0000 net-mgmt/lldpd: Update to 1.0.18 - Use writable chroot for timezone file - USES=pkgconfig to detect system libevent - Remove obsolete (since 0.9.7) JSON option - Remove unnecessary USES=libedit with XML option - Pet portlint and other minor improvements Changelogs: - https://github.com/lldpd/lldpd/releases/tag/1.0.15 - https://github.com/lldpd/lldpd/releases/tag/1.0.16 - https://github.com/lldpd/lldpd/releases/tag/1.0.17 - https://github.com/lldpd/lldpd/releases/tag/1.0.18 PR: 277851 Reported by: ngie Reviewed by: ngie Approved by: maintainer timeout (three months) Sponsored by: Saltant Solutions LLC Differential Revision: https://reviews.freebsd.org/D45168 net-mgmt/lldpd/Makefile | 34 +++++++++++++--------------------- net-mgmt/lldpd/distinfo | 6 +++--- net-mgmt/lldpd/files/README.bsd | 9 +-------- net-mgmt/lldpd/pkg-plist | 1 + 4 files changed, 18 insertions(+), 32 deletions(-)
Committed, thanks! Maintainer reset can be revisited in the next update if maintainer-timeout happens again.