]> git.ipfire.org Git - people/stevee/ipfire-2.x.git/commit
libtirpc: Update to version 1.3.6
authorAdolf Belka <adolf.belka@ipfire.org>
Tue, 19 Nov 2024 21:11:03 +0000 (22:11 +0100)
committerArne Fitzenreiter <arne_f@ipfire.org>
Fri, 13 Dec 2024 09:02:30 +0000 (10:02 +0100)
commitc419a39aaa8ccd04d68526a3a4121f1f1f85edc2
treedbf6adbafa21b5f7a4fbe7cf33b164c3430e6559
parent0cdad09a6365d9187107262a9498ba8d2307c086
libtirpc: Update to version 1.3.6

- Update from version 1.3.5 to 1.3.6
- Update of rootfile not required
- Changelog
    1.3.6
    configure.ac: Using autoupdate updated to the latest autoconf macros
    svc_fd_create: skip getsockname on a non-network socket
     As svcfd_create(3) said, it can:
     Create a service on top of any open file descriptor.
     But getsockname and getpeername in svc_fd_create assume that
     fd should be a connected socket.
     This patch will leave xp_raddr and xp_laddr uninitialized
     if fd is not a connected socket.
    detect whether linker supports --version-script
    check for gss_pname_to_uid or hardcode an early return if we can't use
     aname to localname
    test for IPV6_PKTINFO and potentially define __APPLE_USE_RFC_3542 to expose
     macos supports both RFC 2292 and RFC 3542 versions of ipv6 options and
     you choose which to expose, with a define
    macos uses the same mutex primitives as linux and so can use these defines
    check for struct rpcent in netdb.h before redefining
     macos defines it in netdb.h
    include string.h when we need a memset prototype for
    attempt to use machine/endian.h if endian.h does not exist
     macos has the former, not the latter
    updated macOS support for tirpc [2/7] SOL_IP vs IPPROTO_IP
     in order to have protocol numbers on macOS, we need to first determine
     we don't have SOL_IP, and then that we do have IPPROTO_IP, and then
     define the former as the latter. do the same for IPV6
    check for getpeereid
     macos ships with it, this avoids trying to build a replacement for a defined
     function
    rpcb_prot.x: Update _PATH_RPCBINDSOCK
     2f9ce0c updated rpcb_prot.h, but rpcb_prot.x must be updated as well.
    Move rpcbind.sock to /run
     Most of the distros have /var/run as symlink to /run.
     Because /var may be a separate partition, and could even be mounted via
     NFS, having to look directly to /run help to avoid issues rpcbind
     startup early in boot when /var might not be available.

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
lfs/libtirpc