From: Lars Alex Pedersen <lapeddk@gmail.com>
To: ptxdist@pengutronix.de
Cc: Lars Alex Pedersen <lapeddk@gmail.com>
Subject: [ptxdist] [PATCH 2/2] lldpd: Version bump 1.0.13 -> 1.0.19
Date: Tue, 2 Sep 2025 15:55:12 +0200 [thread overview]
Message-ID: <20250902135512.267857-2-lapeddk@gmail.com> (raw)
In-Reply-To: <20250902135512.267857-1-lapeddk@gmail.com>
* New configure options explicitly set default or disabled, except for
LLDPD_CTL_SOCKET and LLDPD_PID_FILE, which can be changed.
Signed-off-by: Lars Alex Pedersen <lapeddk@gmail.com>
---
rules/lldpd.in | 10 ++++++++++
rules/lldpd.make | 28 ++++++++++++++++++++++++----
2 files changed, 34 insertions(+), 4 deletions(-)
diff --git a/rules/lldpd.in b/rules/lldpd.in
index 8b253ba83..5e99254d0 100644
--- a/rules/lldpd.in
+++ b/rules/lldpd.in
@@ -36,6 +36,16 @@ config LLDPD_PRIVSEP_CHROOT
prompt "Which directory to use to chroot lldpd"
default "/var/run/lldpd"
+config LLDPD_CTL_SOCKET
+ string
+ prompt "Path to socket for communication with lldpd"
+ default "/var/run/lldpd.socket"
+
+config LLDPD_PID_FILE
+ string
+ prompt "Path to lldpd PID file"
+ default "/var/run/lldpd.pid"
+
config LLDPD_CDP
bool
prompt "Enable Cisco Discovery Protocol"
diff --git a/rules/lldpd.make b/rules/lldpd.make
index b6e321a7c..b419ebe4b 100644
--- a/rules/lldpd.make
+++ b/rules/lldpd.make
@@ -15,8 +15,8 @@ PACKAGES-$(PTXCONF_LLDPD) += lldpd
#
# Paths and names
#
-LLDPD_VERSION := 1.0.13
-LLDPD_MD5 := 40fab1279e4203191dd32d2057f1c3fe
+LLDPD_VERSION := 1.0.19
+LLDPD_MD5 := c05268312d4bf19bad995406c3c30418
LLDPD := lldpd-$(LLDPD_VERSION)
LLDPD_SUFFIX := tar.gz
LLDPD_URL := http://media.luffy.cx/files/lldpd//$(LLDPD).$(LLDPD_SUFFIX)
@@ -31,8 +31,19 @@ LLDPD_LICENSE := ISC
LLDPD_CONF_TOOL := autoconf
LLDPD_CONF_OPT := $(CROSS_AUTOCONF_USR) \
--disable-doxygen-doc \
+ --disable-doxygen-dot \
+ --disable-doxygen-man \
+ --disable-doxygen-rtf \
+ --disable-doxygen-xml \
+ --disable-doxygen-chm \
+ --disable-doxygen-chi \
+ --disable-doxygen-html \
+ --disable-doxygen-ps \
+ --disable-doxygen-pdf \
--enable-hardening \
+ --enable-pie \
--disable-sanitizers \
+ --disable-fuzzer \
--disable-gcov \
--disable-json0 \
--disable-dtrace \
@@ -46,16 +57,25 @@ LLDPD_CONF_OPT := $(CROSS_AUTOCONF_USR) \
--$(call ptx/endis, PTXCONF_LLDPD_DOT3)-dot3 \
--$(call ptx/endis, PTXCONF_LLDPD_CUSTOM_TLV)-custom \
--$(call ptx/endis, PTXCONF_LLDPD_OLDIES)-oldies \
+ --with-libbsd \
--without-embedded-libevent \
--with-readline \
--$(call ptx/wwo, PTXCONF_LLDPD_SNMP)-snmp \
--$(call ptx/wwo, PTXCONF_LLDPD_XML)-xml \
--without-seccomp \
- --with-libbsd \
+ --without-launchddaemonsdir \
--with-systemdsystemunitdir=/usr/lib/systemd/system \
+ --without-sysusersdir \
+ --without-apparmordir \
--with-privsep-user="$(PTXCONF_LLDPD_PRIVSEP_USER)" \
--with-privsep-group="$(PTXCONF_LLDPD_PRIVSEP_GROUP)" \
- --with-privsep-chroot="$(PTXCONF_LLDPD_PRIVSEP_CHROOT)"
+ --with-privsep-chroot="$(PTXCONF_LLDPD_PRIVSEP_CHROOT)" \
+ --with-lldpd-ctl-socket="$(PTXCONF_LLDPD_CTL_SOCKET)" \
+ --with-lldpd-pid-file="$(PTXCONF_LLDPD_PID_FILE)" \
+ --with-netlink-max-receive-bufsize=1048576 \
+ --with-netlink-receive-bufsize=0 \
+ --with-netlink-send-bufsize=0
+
# ----------------------------------------------------------------------------
# Target-Install
--
2.51.0
prev parent reply other threads:[~2025-09-02 13:55 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-09-02 13:55 [ptxdist] [PATCH 1/2] libbsd: Version bump 0.11.7 -> 0.12.2 Lars Alex Pedersen
2025-09-02 13:55 ` Lars Alex Pedersen [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20250902135512.267857-2-lapeddk@gmail.com \
--to=lapeddk@gmail.com \
--cc=ptxdist@pengutronix.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox