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.6 systemd platform.
Download (HTTP): http://downloads.sourceforge.net/rpcbind/rpcbind-0.2.1.tar.bz2
Download MD5 sum: 0a5f9c2142af814c55d957aaab3bcc68
Download size: 109 KB
Estimated disk space required: 1.9 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 && sed -i "/error = getaddrinfo/s:rpcbind:sunrpc:" src/rpcinfo.c
Install rpcbind by running the following commands:
./configure --prefix=/usr --bindir=/sbin --with-rpcuser=root && 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.
To start the rpcbind daemon at boot, install
the systemd unit from the blfs-systemd-units-20140907 package by
running the following command as the root
user:
make install-rpcbind
Last updated on 2014-08-25 12:54:44 -0700