From patchwork Tue Nov 19 21:11:03 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Adolf Belka X-Patchwork-Id: 8261 Return-Path: Received: from mail01.ipfire.org (mail01.haj.ipfire.org [172.28.1.202]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1) client-signature RSA-PSS (4096 bits)) (Client CN "mail01.haj.ipfire.org", Issuer "R11" (verified OK)) by web04.haj.ipfire.org (Postfix) with ESMTPS id 4XtHHF2bDpz3x5R for ; Tue, 19 Nov 2024 21:11:37 +0000 (UTC) Received: from mail02.haj.ipfire.org (mail02.haj.ipfire.org [172.28.1.201]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) client-signature ECDSA (secp384r1)) (Client CN "mail02.haj.ipfire.org", Issuer "E6" (verified OK)) by mail01.ipfire.org (Postfix) with ESMTPS id 4XtHHB0hH6z4jd; Tue, 19 Nov 2024 21:11:34 +0000 (UTC) Received: from mail02.haj.ipfire.org (localhost [127.0.0.1]) by mail02.haj.ipfire.org (Postfix) with ESMTP id 4XtHH62F3Gz34K0; Tue, 19 Nov 2024 21:11:30 +0000 (UTC) Received: from mail01.ipfire.org (mail01.haj.ipfire.org [172.28.1.202]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1) client-signature RSA-PSS (4096 bits)) (Client CN "mail01.haj.ipfire.org", Issuer "R11" (verified OK)) by mail02.haj.ipfire.org (Postfix) with ESMTPS id 4XtHGr3k34z34CD for ; Tue, 19 Nov 2024 21:11:16 +0000 (UTC) Received: from [127.0.0.1] (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mail01.ipfire.org (Postfix) with ESMTPSA id 4XtHGr29jKzys; Tue, 19 Nov 2024 21:11:16 +0000 (UTC) DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003ed25519; t=1732050676; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=7HgaHlspdZ3YnEZM7KwzP1RUBGrCEUpz5/rjRVGSebQ=; b=aagiAJS6FnZ8okx/yEyqQFHQDXAjZ8eBrkeVD+EHO7Ht1goEJz5KyR817YMJNfvPBPpBgr IpDnI6CQTP3fLbCg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003rsa; t=1732050676; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=7HgaHlspdZ3YnEZM7KwzP1RUBGrCEUpz5/rjRVGSebQ=; b=bYK/nbSNMSXZRvNSKpILcq9fDKAQxM2t48kMpujm6PMhu8UHIKHxFxZna4072AFh/LCwPF zOr1LBfGpXCxSttS7XRqIH2p+wUcgaTgirXkOj9Qwwve8JTYzxAh5WrH99IPhVLBtsZW6A k/Fycx5V9OPr24dtiIoszMklb2lEWm8sXdKWCa3F6PFaMfbBmAjOS4jl/70u8QqNbHhipN NRJdFEK7QZJ55SdT5fpQfalBHlsqGnp9NpH73ESkJArmYKpg0kdUFXQiwJMnQj3L1LtROC gfYOdq/36n+OUFRfVBE6F+9AKbDxUud6hV5RJN4K+u1chraS2REJX/VIQ+yyZw== From: Adolf Belka To: development@lists.ipfire.org Subject: [PATCH] libtirpc: Update to version 1.3.6 Date: Tue, 19 Nov 2024 22:11:03 +0100 Message-ID: <20241119211106.2194373-15-adolf.belka@ipfire.org> In-Reply-To: <20241119211106.2194373-1-adolf.belka@ipfire.org> References: <20241119211106.2194373-1-adolf.belka@ipfire.org> MIME-Version: 1.0 Message-ID-Hash: DCAYQDXUSJ7KRPHELCIXQH6SZOUEWVSL X-Message-ID-Hash: DCAYQDXUSJ7KRPHELCIXQH6SZOUEWVSL X-MailFrom: adolf.belka@ipfire.org X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header X-Mailman-Version: 3.3.8 Precedence: list List-Id: IPFire development talk Archived-At: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: - 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 --- lfs/libtirpc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lfs/libtirpc b/lfs/libtirpc index 493e9444f..d902b08ff 100644 --- a/lfs/libtirpc +++ b/lfs/libtirpc @@ -26,7 +26,7 @@ include Config SUMMARY = Transport Independent RPC Library -VER = 1.3.5 +VER = 1.3.6 THISAPP = libtirpc-$(VER) DL_FILE = $(THISAPP).tar.bz2 @@ -44,7 +44,7 @@ objects = $(DL_FILE) $(DL_FILE) = $(DL_FROM)/$(DL_FILE) -$(DL_FILE)_BLAKE2 = 1ae1cc0be1c52bca8fbe2300159d9298b069b3f81adde7f50da3fb7049f9b9f628393dfe94e9276facfeea2b1ccdc9a52632fee4af432c36e457fd3ff2b0963c +$(DL_FILE)_BLAKE2 = 521e1e3d2ceefd668f1b0d52b7c0342b97952d322eeb7bf740bb1eb1fb88a14b0a2fce57f07a9fd3797d289f57f511085924bba3d8984f15c799468d30f47500 install : $(TARGET)