The rpcbind program is a replacement for portmap. It is required for import or export of Network File System (NFS) shared directories.
This package is known to build and work properly using an LFS-7.9 platform.
Download (HTTP): http://downloads.sourceforge.net/rpcbind/rpcbind-0.2.3.tar.bz2
Download MD5 sum: c8875246b2688a1adfbd6ad43480278d
Download size: 120 KB
Estimated disk space required: 2 MB
Estimated build time: less than 0.1 SBU
User Notes: http://wiki.linuxfromscratch.org/blfs/wiki/rpcbind
In order to get rpcbind to work properly, first fix the package to use correct service name:
sed -i "/servname/s:rpcbind:sunrpc:" src/rpcbind.c &&
Install rpcbind by running the following commands:
patch -Np1 -i ../rpcbind-0.2.3-tirpc_fix-1.patch && ./configure --prefix=/usr \ --bindir=/sbin \ --with-rpcuser=root \ --without-systemdsystemunitdir && make
This package does not come with a test suite.
Now, as the root
user:
make install
--with-rpcuser=root: This works around an error in the configure script.
--without-systemdsystemunitdir: BLFS does not support systemd.
Install the /etc/rc.d/init.d/rpcbind
init script included
in the blfs-bootscripts-20150924 package.
make install-rpcbind
Last updated on 2016-02-23 16:02:26 -0800