libpcap: adjust with glibc and libcrypt-compat
authorKonstantin Demin <[email protected]>
Fri, 4 Jul 2025 08:03:14 +0000 (11:03 +0300)
committerHauke Mehrtens <[email protected]>
Sat, 12 Jul 2025 21:38:19 +0000 (23:38 +0200)
glibc 2.39 has removed libcrypt completely.
solution: link against libxcrypt built with glibc compatibility.

Signed-off-by: Konstantin Demin <[email protected]>
Link: https://github.com/openwrt/openwrt/pull/19293
Signed-off-by: Hauke Mehrtens <[email protected]>
package/libs/libpcap/Makefile

index 052358b1f5c08fa9efc9a3e506bc06a0d02928df..434a43247a0b70f466376e1435a18325c9840dbb 100644 (file)
@@ -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