105.7. libtirpc-1.3.8
Libraries that support programs that use the Remote Procedure Call (RPC) API
1.3.8-1 · BSD-3-Clause · 0.1 SBU · 1.0 MiB, 78 files · 41_system, 202 of 1047 · ports/core/net-libs/libtirpc
Homepage: https://sourceforge.net/projects/libtirpc/
libtirpc is the transport-independent Sun RPC library: the client and server calls, XDR encoding, rpcbind registration and the /etc/netconfig transport table. musl has no RPC code of its own, so every program here that speaks ONC RPC links this library instead, among them nfs-utils, samba, libvirt and lsof.
Depends on: libbsd, rpcsvc-proto, krb5.
Required by (10): iproute2, liblxi, libsigrok, libvirt, linuxcnc, lsof, nfs-utils, openbabel, R, samba.
Sources: libtirpc-1.3.8.tar.bz2 (558.6 KiB). Every step kpkg takes applies to this port.
Install: script/chroot/exec.sh bash -c 'source script/phases/41_system/phase.env && kpkg install libtirpc'
build.sh:
./configure \
--prefix=/usr \
--sysconfdir=/etc \
--enable-gssapi \
--enable-rpcdb
make
make DESTDIR=$PKG install
--enable-gssapi— Build RPCSEC_GSS, the Kerberos-authenticated RPC security flavour that NFS’ssec=krb5mounts use. It is configure’s default, and configure stops ifgssapi.horkrb5-configis missing, so krb5 is independs.--enable-rpcdb— Compile libtirpc’s owngetrpcent(),getrpcbyname()andgetrpcbynumber(), which look RPC program names up in/etc/rpc, and export them from the library. Upstream leaves them out by default, for a C library that has its own; musl’s<netdb.h>declares none of them./etc/rpcitself comes from iana-etc.
Libraries: libtirpc.a, libtirpc.so.
Directories: /usr/include/tirpc, /usr/share/licenses/libtirpc.