ipkg ${WHICH}
ipkg -m acnb ${REISERFSPROGS}
ipkg -m acnb ${POPT}
-CFLAGS="${CFLAGS} -fPIC" ipkg -m acnb ${LIBTIRPC}
+ipkg -m acnb ${LIBTIRPC} "--disable-static --disable-gssapi"
ipkg ${PAM}
ipkg ${SHADOW}
ipkg -m noac ${OPENSSL}
# Networking
ipkg -m noac -s tcp_wrappers ${TCPWRAPPERS}
-ipkg -m acnb ${RPCBIND} "--bindir=/sbin"
+ipkg -m acnb ${RPCBIND} "--bindir=/sbin --with-rpcuser=root"
LIBS="-lpthread" ipkg -m acnb ${NFS_UTILS} " \
--disable-nfsv4 \
--disable-nfsv41 \
hvconfig_pre()
{
+ # WARNING: THIS SHOULD be replaced by --enable-obsolete-rpc in glibc installation...
+ # Then remove package ${RPCNIS_HEADERS}.......
+
# Glibc-2.14 and later do not install NIS and RPC related headers by
# default. If needed, install them here:
if [ ! -r /usr/include/rpc/rpc.h ]; then
fi
# Need autoreconf after applying patch
- cd /tmp/${PACKAGE}
- autoreconf
+ cd ${LFS_TMP}/${PACKAGE}
+ autoreconf -i
}
hvbuild_post()
#!/bin/bash
-hvbuild_post()
+hvconfig_pre()
{
- sed -i -e 's/^sunrpc/rpcbind/' /etc/services
+ cd ${LFS_TMP}/${PACKAGE}
+
+ sed -i '/servname/s:rpcbind:sunrpc:' src/rpcbind.c
+ sed -i '/error = getaddrinfo/s:rpcbind:sunrpc:' src/rpcinfo.c
+}
+hvbuild_post()
+{
install -v -m740 ${SCRDIR}/bootscripts/rpcbind /etc/rc.d/init.d
bootscript_add_rc3 rpcbind 10 75
}