[openwrt/openwrt] libpcap: adjust with glibc and libcrypt-compat

LEDE Commits lede-commits at lists.infradead.org
Sat Jul 12 14:41:20 PDT 2025


hauke pushed a commit to openwrt/openwrt.git, branch main:
https://git.openwrt.org/34c2e7701a9a2ac49f3335ddee89956023b5a93a

commit 34c2e7701a9a2ac49f3335ddee89956023b5a93a
Author: Konstantin Demin <rockdrilla at gmail.com>
AuthorDate: Fri Jul 4 11:03:14 2025 +0300

    libpcap: adjust with glibc and libcrypt-compat
    
    glibc 2.39 has removed libcrypt completely.
    solution: link against libxcrypt built with glibc compatibility.
    
    Signed-off-by: Konstantin Demin <rockdrilla at gmail.com>
    Link: https://github.com/openwrt/openwrt/pull/19293
    Signed-off-by: Hauke Mehrtens <hauke at hauke-m.de>
---
 package/libs/libpcap/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/package/libs/libpcap/Makefile b/package/libs/libpcap/Makefile
index 052358b1f5..434a43247a 100644
--- a/package/libs/libpcap/Makefile
+++ b/package/libs/libpcap/Makefile
@@ -54,7 +54,7 @@ define Package/rpcapd
   CATEGORY:=Network
   TITLE:=Capture daemon to be controlled by a remote libpcap application
   URL:=http://www.tcpdump.org/
-  DEPENDS+= +libpcap
+  DEPENDS+= +USE_GLIBC:libcrypt-compat +libpcap
 endef
 
 ifdef CONFIG_PACKAGE_rpcapd




More information about the lede-commits mailing list