[packages/busybox] disable inetd RPC on musl
arekm
arekm at pld-linux.org
Tue Aug 18 10:00:57 CEST 2026
commit 7a2f20e1ce8926b0dd95a570031f8d7fcbbb69bf
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date: Tue Aug 18 09:54:10 2026 +0200
disable inetd RPC on musl
musl has no getrpcbyname(), so the static x32 link fails
busybox.spec | 4 ++++
1 file changed, 4 insertions(+)
---
diff --git a/busybox.spec b/busybox.spec
index e6ba234..b2f8f99 100644
--- a/busybox.spec
+++ b/busybox.spec
@@ -210,6 +210,8 @@ install -d built
install %{SOURCE2} .config
%if %{with musl}
sed -i -e 's|CONFIG_FEATURE_VI_REGEX_SEARCH=y|# CONFIG_FEATURE_VI_REGEX_SEARCH is not set|g' .config
+# musl has no getrpcbyname()
+sed -i -e 's|CONFIG_FEATURE_INETD_RPC=y|# CONFIG_FEATURE_INETD_RPC is not set|g' .config
%endif
echo 'CONFIG_EXTRA_LDLIBS="%{?with_glibc:%{tirpcslibs}} %{?with_musl:%{tirpcslibs}}"' >> .config
%{__make} oldconfig
@@ -244,6 +246,8 @@ echo 'CONFIG_EXTRA_LDLIBS="%{?with_glibc:%{tirpcslibs}} %{?with_musl:%{tirpcslib
%endif
%if %{with musl}
sed -i -e 's|CONFIG_FEATURE_VI_REGEX_SEARCH=y|# CONFIG_FEATURE_VI_REGEX_SEARCH is not set|g' .config
+# musl has no getrpcbyname()
+sed -i -e 's|CONFIG_FEATURE_INETD_RPC=y|# CONFIG_FEATURE_INETD_RPC is not set|g' .config
sed -i -e 's|CONFIG_EXTRA_COMPAT=y|# CONFIG_EXTRA_COMPAT is not set|g' .config
%endif
%{__make} oldconfig
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/busybox.git/commitdiff/7a2f20e1ce8926b0dd95a570031f8d7fcbbb69bf
More information about the pld-cvs-commit
mailing list