From patchwork Mon Mar 22 07:28:27 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Adolf Belka X-Patchwork-Id: 3967 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 (P-384) client-signature ECDSA (P-384)) (Client CN "mail01.haj.ipfire.org", Issuer "R3" (verified OK)) by web04.haj.ipfire.org (Postfix) with ESMTPS id 4F3mMD30sRz40Qq for ; Mon, 22 Mar 2021 07:28:40 +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 ECDSA (P-384) client-signature ECDSA (P-384)) (Client CN "mail02.haj.ipfire.org", Issuer "R3" (verified OK)) by mail01.ipfire.org (Postfix) with ESMTPS id 4F3mM70qzyz5QN; Mon, 22 Mar 2021 07:28:35 +0000 (UTC) Received: from mail02.haj.ipfire.org (localhost [127.0.0.1]) by mail02.haj.ipfire.org (Postfix) with ESMTP id 4F3mM66vnzz2ycj; Mon, 22 Mar 2021 07:28:34 +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 (P-384) client-signature ECDSA (P-384)) (Client CN "mail01.haj.ipfire.org", Issuer "R3" (verified OK)) by mail02.haj.ipfire.org (Postfix) with ESMTPS id 4F3mM5709Tz2xd1 for ; Mon, 22 Mar 2021 07:28:33 +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 ECDSA (P-384) server-digest SHA384) (No client certificate requested) by mail01.ipfire.org (Postfix) with ESMTPSA id 4F3mM054l5z5Pm; Mon, 22 Mar 2021 07:28:28 +0000 (UTC) DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003ed25519; t=1616398108; 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; bh=JqWuvaP6ime2d0j8cop4qhlFP+zx1h2NCSAaoL25oqE=; b=wAZWTKbxYuJLHswe9Jmbck4zBGh52AOpaBgDybEOG3aUE9DXK12kb7u0wruwYZNNhsebIv eCATFQPl1lLxcrAQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003rsa; t=1616398108; 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; bh=JqWuvaP6ime2d0j8cop4qhlFP+zx1h2NCSAaoL25oqE=; b=ACDPQec2XfIdStPtfHdO9av/nZk/mrXUYIfVF4bOBYcnuAlAxLypFFQzM2QJ/zoXgZjMuW 7sgzoxwVCQm+TMesvjRTA7gITTvhM6CdI6UNPICt7+/7Hbo+tHuMa82de4Da0RhiVqnxsi e1+HjGghD34Lc1Rp0sdBWaWhUphPELycxVzrKqQqnUffpxkFByovxq3Ba2cRGQkU+LlGrq uzGrrLgfK20/tF9EC0ZmbbPVwpyxY/6aG7j7DA1Ny8s4K9zutrHGoZfD0q/7RJpI4sIzmf RQlGIN1w3bKHnMwvEBwR+XD6IDfRIq6a8huzUsKqfwqn46PswoR+R1ZeEdPw7w== From: Adolf Belka To: development@lists.ipfire.org Subject: [PATCH 1/4] nfs: Update to 2.5.3 Date: Mon, 22 Mar 2021 08:28:27 +0100 Message-Id: <20210322072827.1456-1-adolf.belka@ipfire.org> MIME-Version: 1.0 X-BeenThere: development@lists.ipfire.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: IPFire development talk List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: development-bounces@lists.ipfire.org Sender: "Development" - Update from 2.5.1 to 2.5.3 - No update to rootfile required - Changelog Changelog for each version has around 500 lines so there is too much to put here. The full change logs for each version can be found at https://sourceforge.net/projects/nfs/files/nfs-utils/ Two bug fixes in 2.5.2 and four in 2.5.3 as follows Author: Steve Dickson Date: Tue Feb 2 11:02:47 2021 -0500 mount: fix parsing of default options A recent patch to change configfile.c to use parse_opt.c contained code which was intended to remove all "default*" options from the list before that could be passed to the kernel. This code didn't work, so default* options WERE passed to the kernel, and the kernel complained and failed the mount attempt. A more recent patch attempted to fix this by not including the "default*" options in the option list at all. This resulting in global-default defaults over-riding per-mount or per-server defaults. This patch reverse the "more recent" patch, and fixes the original patch by providing correct code to remove all "default*" options before the kernel can see them. Fixes: 88c22f924f1b ("mount: convert configfile.c to use parse_opt.c") Fixes: 8142542bda28 ("mount: parse default values correctly") Author: Steve Dickson Date: Wed Jan 6 13:12:12 2021 -0500 mount: parse default values correctly Commit 88c22f92 converted the configfile.c routines to use the parse_opt interfaces which broke how default values from nfsmount.conf are managed. Default values can not be added to the mount string handed to the kernel. They must be interpreted into the correct mount options then passed to the kernel. Fixes: https://bugzilla.redhat.com/show_bug.cgi?id=1912877 Author: Steve Dickson Date: Mon Nov 9 14:34:15 2020 -0500 nfs-v4client.target: NFSv4 only client target. To allow v4 only clients, create an systemd nfs-client target that does not "Wants" a rpc-statd notify Fixes: https://bugzilla.redhat.com/show_bug.cgi?id=1886634 Author: Steve Dickson Date: Fri Sep 4 14:15:53 2020 -0400 rpc.idmapd: Do not free config variables Commit 93e8f092e added a conf_cleanup() call to clean up memory after the config file was parsed. It turns out that memory still needed and it is not very much so the call is removed. Fixes: https://bugzilla.redhat.com/show_bug.cgi?id=1873965 Author: Steve Dickson Date: Wed Aug 5 14:59:23 2020 -0400 rpc.idmapd: Turn down the verbosity in flush_inotify() Commit 27a8e146 introduce a debugging message that was not cover by a check if verbose is set, which cause a large number of message to be logged on every kerberos mount Fixes: https://bugzilla.redhat.com/show_bug.cgi?id=1867172 Signed-off-by: Adolf Belka --- lfs/nfs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lfs/nfs b/lfs/nfs index 3e2f56b7e..55accfb28 100644 --- a/lfs/nfs +++ b/lfs/nfs @@ -24,7 +24,7 @@ include Config -VER = 2.5.1 +VER = 2.5.3 THISAPP = nfs-utils-$(VER) DL_FILE = $(THISAPP).tar.xz @@ -32,7 +32,7 @@ DL_FROM = $(URL_IPFIRE) DIR_APP = $(DIR_SRC)/$(THISAPP) TARGET = $(DIR_INFO)/$(THISAPP) PROG = nfs -PAK_VER = 14 +PAK_VER = 15 DEPS = libnfsidmap rpcbind @@ -44,7 +44,7 @@ objects = $(DL_FILE) $(DL_FILE) = $(DL_FROM)/$(DL_FILE) -$(DL_FILE)_MD5 = d14294d5efcd9aada28f4dab871a44a6 +$(DL_FILE)_MD5 = dd8100f51bf838f2a396c86163c9a0e3 install : $(TARGET) From patchwork Mon Mar 22 07:28:42 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Adolf Belka X-Patchwork-Id: 3968 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 (P-384) client-signature ECDSA (P-384)) (Client CN "mail01.haj.ipfire.org", Issuer "R3" (verified OK)) by web04.haj.ipfire.org (Postfix) with ESMTPS id 4F3mMM3DTqz40Qq for ; Mon, 22 Mar 2021 07:28:47 +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 ECDSA (P-384) client-signature ECDSA (P-384)) (Client CN "mail02.haj.ipfire.org", Issuer "R3" (verified OK)) by mail01.ipfire.org (Postfix) with ESMTPS id 4F3mMM17nBz5Pm; Mon, 22 Mar 2021 07:28:47 +0000 (UTC) Received: from mail02.haj.ipfire.org (localhost [127.0.0.1]) by mail02.haj.ipfire.org (Postfix) with ESMTP id 4F3mMM0Wtpz2ycs; Mon, 22 Mar 2021 07:28:47 +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 (P-384) client-signature ECDSA (P-384)) (Client CN "mail01.haj.ipfire.org", Issuer "R3" (verified OK)) by mail02.haj.ipfire.org (Postfix) with ESMTPS id 4F3mML1NhYz2xd1 for ; Mon, 22 Mar 2021 07:28:46 +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 ECDSA (P-384) server-digest SHA384) (No client certificate requested) by mail01.ipfire.org (Postfix) with ESMTPSA id 4F3mMK05lFz1MG; Mon, 22 Mar 2021 07:28:44 +0000 (UTC) DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003ed25519; t=1616398125; 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; bh=PzcJzqMwEPcx12OokUfCi9Yyhr2IYklyA7znn5KES7Y=; b=nGnkTbQvKy0LmkIeUdUW9VAx7QzJqbgSqoxTeLia+WvtbbtAcQp3uAphrRIS51Y170WqWg 0ChZEtWuosUTjAAA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003rsa; t=1616398125; 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; bh=PzcJzqMwEPcx12OokUfCi9Yyhr2IYklyA7znn5KES7Y=; b=s2n/nBQUbQ4nnQrxml9ssbec03poUEpB8aCDCNWxDnWgMgdCgbz/nViiSKnpC6UT7TKw7F mMnoxqXVPAynGOrZsBkorUpAy2u1AslMhsjwwxFTV2onQR3JLhevCEwOcpkPDKMkfMTWlY 9kGCXZ+izdrKzIu4doz0fD4f933n47wD6fjeNxOuOuscIvdBidI1NqU55PbdOAoyfsDNnK zdgWiYDazz37Uicb+R5dpANtwZka9T1iMCAZsW9NGUkS5vsiqMIDBJ/cvNvEj7cgKUssDx FYrEYrrNRESzMiiUBSC6WKuk9Yx9OzEcZ/lwv6ADIEvVJd61WQyEjGxCgQ+yVg== From: Adolf Belka To: development@lists.ipfire.org Subject: [PATCH 2/4] libnfsidmap: Update to 0.27 Date: Mon, 22 Mar 2021 08:28:42 +0100 Message-Id: <20210322072842.1510-1-adolf.belka@ipfire.org> MIME-Version: 1.0 X-BeenThere: development@lists.ipfire.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: IPFire development talk List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: development-bounces@lists.ipfire.org Sender: "Development" - Update from 0.26 to 0.27 - Update to rootfile not required - Dependency of nfs addon - Changelog Too many lines to put whole log here. Full change log can be viewed at https://fedorapeople.org/~steved/libnfsidmap/0.27/ One bux fix Author: Steve Dickson Date: Fri Sep 2 10:07:52 2016 -0400 libnfsidmap: Make sure __res_querydomain is resolvable Fail the build when __res_querydomain is not resolvable Fixes: https://bugzilla.redhat.com/show_bug.cgi?id=1372136 Signed-off-by: Adolf Belka --- lfs/libnfsidmap | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lfs/libnfsidmap b/lfs/libnfsidmap index d0fd46355..1980d9306 100644 --- a/lfs/libnfsidmap +++ b/lfs/libnfsidmap @@ -24,7 +24,7 @@ include Config -VER = 0.26 +VER = 0.27 THISAPP = libnfsidmap-$(VER) DL_FILE = $(THISAPP).tar.bz2 @@ -32,7 +32,7 @@ DL_FROM = $(URL_IPFIRE) DIR_APP = $(DIR_SRC)/$(THISAPP) TARGET = $(DIR_INFO)/$(THISAPP) PROG = libnfsidmap -PAK_VER = 1 +PAK_VER = 2 #CFLAGS += -I/usr/include/tirpc @@ -44,7 +44,7 @@ objects = $(DL_FILE) $(DL_FILE) = $(DL_FROM)/$(DL_FILE) -$(DL_FILE)_MD5 = 2c0cf0e2b1665d51fa9a783679494888 +$(DL_FILE)_MD5 = 27cfb22f1ee85e51b863b71858a97da0 install : $(TARGET) From patchwork Mon Mar 22 07:28:55 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Adolf Belka X-Patchwork-Id: 3969 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 (P-384) client-signature ECDSA (P-384)) (Client CN "mail01.haj.ipfire.org", Issuer "R3" (verified OK)) by web04.haj.ipfire.org (Postfix) with ESMTPS id 4F3mMb4BdQz40Qq for ; Mon, 22 Mar 2021 07:28:59 +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 ECDSA (P-384) client-signature ECDSA (P-384)) (Client CN "mail02.haj.ipfire.org", Issuer "R3" (verified OK)) by mail01.ipfire.org (Postfix) with ESMTPS id 4F3mMb26BRz5QS; Mon, 22 Mar 2021 07:28:59 +0000 (UTC) Received: from mail02.haj.ipfire.org (localhost [127.0.0.1]) by mail02.haj.ipfire.org (Postfix) with ESMTP id 4F3mMb1WbDz2xyg; Mon, 22 Mar 2021 07:28:59 +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 (P-384) client-signature ECDSA (P-384)) (Client CN "mail01.haj.ipfire.org", Issuer "R3" (verified OK)) by mail02.haj.ipfire.org (Postfix) with ESMTPS id 4F3mMZ56VJz2x9X for ; Mon, 22 Mar 2021 07:28:58 +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 ECDSA (P-384) server-digest SHA384) (No client certificate requested) by mail01.ipfire.org (Postfix) with ESMTPSA id 4F3mMZ1tB9z5QR; Mon, 22 Mar 2021 07:28:58 +0000 (UTC) DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003ed25519; t=1616398138; 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; bh=XOB1hiw+2pGG8nHzt4hyXKaR65lJGEicjFlGKL+6SGc=; b=xxw7XJRx4k/GSGAPHD38DLSZaJZHvlJOvb22yP9panP7bgR4KKPN3t5T7HacypEV7re1Ga /AsjHTBimYpJkcBw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003rsa; t=1616398138; 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; bh=XOB1hiw+2pGG8nHzt4hyXKaR65lJGEicjFlGKL+6SGc=; b=PETvfOvzYDzBWNkfKXFwY00tRkZltdLjO9+qMJLulTwENFrnqFui5oTjTph9iexjWj6kDL R6aDdd3lG365hnYBBDs5OvBQKwgY5YBm6gESUOxeNOto/ycP+ylstFLqaML1a2l48OuCUY eOdZL1X0174TmLgVugFxjbSXgZqeCVVUXqk7teBwrsicIpoJeZzcCoAQT59C6E28q3aRxa 7LZYsKIxHGjtjlHVC4rUiYr0QoZ9doFXGjfHLwK20KaSVHmy3uwr9gVcs0NnHHR17OTm6U VT0C5OuCbjCMeAB1quCyPXnJjE4voYlXnV7odtkPDioMjjhW0fGecmdeG7+wDQ== From: Adolf Belka To: development@lists.ipfire.org Subject: [PATCH 3/4] libtirpc: Update to 1.3.1 Date: Mon, 22 Mar 2021 08:28:55 +0100 Message-Id: <20210322072855.1562-1-adolf.belka@ipfire.org> MIME-Version: 1.0 X-BeenThere: development@lists.ipfire.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: IPFire development talk List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: development-bounces@lists.ipfire.org Sender: "Development" - Update from 1.0.2 to 1.3.1 - libtirpc-1.0.2-glibc-2.26.patch no longer needed as changes are now included in the tarball - Updated rootfile - Dependency of rpcbind addon which is a dependency for the nfs addon - Changelog No changelog file provided anymore. Only git commits available See http://git.linux-nfs.org/?p=steved/libtirpc.git;a=log for details Signed-off-by: Adolf Belka --- config/rootfiles/packages/libtirpc | 1 + lfs/libtirpc | 7 +++---- src/patches/libtirpc-1.0.2-glibc-2.26.patch | 12 ------------ 3 files changed, 4 insertions(+), 16 deletions(-) delete mode 100644 src/patches/libtirpc-1.0.2-glibc-2.26.patch diff --git a/config/rootfiles/packages/libtirpc b/config/rootfiles/packages/libtirpc index e19756373..ed7f33242 100644 --- a/config/rootfiles/packages/libtirpc +++ b/config/rootfiles/packages/libtirpc @@ -1,3 +1,4 @@ +etc/bindresvport.blacklist etc/netconfig #usr/include/tirpc #usr/include/tirpc/netconfig.h diff --git a/lfs/libtirpc b/lfs/libtirpc index 1938ab771..0b529724c 100644 --- a/lfs/libtirpc +++ b/lfs/libtirpc @@ -24,7 +24,7 @@ include Config -VER = 1.0.2 +VER = 1.3.1 THISAPP = libtirpc-$(VER) DL_FILE = $(THISAPP).tar.bz2 @@ -32,7 +32,7 @@ DL_FROM = $(URL_IPFIRE) DIR_APP = $(DIR_SRC)/$(THISAPP) TARGET = $(DIR_INFO)/$(THISAPP) PROG = libtirpc -PAK_VER = 2 +PAK_VER = 3 DEPS = @@ -46,7 +46,7 @@ objects = $(DL_FILE) $(DL_FILE) = $(DL_FROM)/$(DL_FILE) -$(DL_FILE)_MD5 = d5a37f1dccec484f9cabe2b97e54e9a6 +$(DL_FILE)_MD5 = f222e258c129c6da2f8f9cfe7f1ed745 install : $(TARGET) @@ -80,7 +80,6 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects)) @$(PREBUILD) @rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar jxf $(DIR_DL)/$(DL_FILE) $(UPDATE_AUTOMAKE) - cd $(DIR_APP) && patch -Np1 < $(DIR_SRC)/src/patches/libtirpc-1.0.2-glibc-2.26.patch cd $(DIR_APP) && ./configure --prefix=/usr --sysconfdir=/etc --disable-gssapi --disable-ipv6 cd $(DIR_APP) && make $(MAKETUNING) $(EXTRA_MAKE) cd $(DIR_APP) && make install diff --git a/src/patches/libtirpc-1.0.2-glibc-2.26.patch b/src/patches/libtirpc-1.0.2-glibc-2.26.patch deleted file mode 100644 index 6d583e614..000000000 --- a/src/patches/libtirpc-1.0.2-glibc-2.26.patch +++ /dev/null @@ -1,12 +0,0 @@ -diff --git a/src/xdr_sizeof.c b/src/xdr_sizeof.c -index d23fbd1..79d6707 100644 ---- a/src/xdr_sizeof.c -+++ b/src/xdr_sizeof.c -@@ -39,6 +39,7 @@ - #include - #include - #include -+#include - #include "un-namespace.h" - - /* ARGSUSED */ From patchwork Mon Mar 22 07:29:06 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Adolf Belka X-Patchwork-Id: 3970 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 (P-384) client-signature ECDSA (P-384)) (Client CN "mail01.haj.ipfire.org", Issuer "R3" (verified OK)) by web04.haj.ipfire.org (Postfix) with ESMTPS id 4F3mMv03twz40Qq for ; Mon, 22 Mar 2021 07:29:15 +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 ECDSA (P-384) client-signature ECDSA (P-384)) (Client CN "mail02.haj.ipfire.org", Issuer "R3" (verified OK)) by mail01.ipfire.org (Postfix) with ESMTPS id 4F3mMn2jSNz5QS; Mon, 22 Mar 2021 07:29:09 +0000 (UTC) Received: from mail02.haj.ipfire.org (localhost [127.0.0.1]) by mail02.haj.ipfire.org (Postfix) with ESMTP id 4F3mMn271zz2xyg; Mon, 22 Mar 2021 07:29:09 +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 (P-384) client-signature ECDSA (P-384)) (Client CN "mail01.haj.ipfire.org", Issuer "R3" (verified OK)) by mail02.haj.ipfire.org (Postfix) with ESMTPS id 4F3mMm4LR1z2xd1 for ; Mon, 22 Mar 2021 07:29:08 +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 ECDSA (P-384) server-digest SHA384) (No client certificate requested) by mail01.ipfire.org (Postfix) with ESMTPSA id 4F3mMm0DRRz5QR; Mon, 22 Mar 2021 07:29:08 +0000 (UTC) DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003ed25519; t=1616398148; 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; bh=HMcgOH31wkRbrBfg4UHDqMCXmhC5mzfD5ReM8XKBuOM=; b=G8KM+AmJQlgmmz/4hjQgzLxd/hVZ+oGqtFlqd2vP+RRFBkfqPuHtT3KFwfjbqas3VMMEXW tTuoGXuzgqLwxRBQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003rsa; t=1616398148; 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; bh=HMcgOH31wkRbrBfg4UHDqMCXmhC5mzfD5ReM8XKBuOM=; b=AK3123nPcoKnNohhyJ/srv/GR6otdIelgEKEzhrNjEkNdot+ZhTSQq7d11wtAGWCupX4Ev xoz7OqWjbclHXiYyTBTMCXR4Z6f291AlEXCkt3IrDRI4CHp3DO7lbYEMDwAGU2ORE4+ojc puCzaTi3kx8XkDVDYxozMax64y7wbVxatrKckoKN+v7IWJRyK3WlH8WuQotDqVII75fNDA CKXS09UwLrjOqFIS3jXIhpQQPfKJwn4WmfdAW3keP6w6TFAXtsqTA96yab3egYX9ssPrG5 4zsX+avKzLdudfSSozu/ZnUqpoyv5AmDuBctmnYTAOHpLZIhRTCR6pFZDOK50A== From: Adolf Belka To: development@lists.ipfire.org Subject: [PATCH 4/4] rpcbind: Update to 1.2.5 Date: Mon, 22 Mar 2021 08:29:06 +0100 Message-Id: <20210322072906.1616-1-adolf.belka@ipfire.org> MIME-Version: 1.0 X-BeenThere: development@lists.ipfire.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: IPFire development talk List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: development-bounces@lists.ipfire.org Sender: "Development" - Update from 0.2.3 to 1.2.5 - rpcbind-0.2.3-tirpc_fix-1.patch no longer needed as changes are now included in the tarball - Updated rootfile - Dependency of nfs addon package - Changelog Too many lines to put in here Full change logs for 0.2.4 and 1.2.5 can be found at https://sourceforge.net/projects/rpcbind/files/rpcbind/ No bug fixes in 0.2.4 One bug fix in 1.2.5 Author: Steve Dickson Date: Sat Dec 16 15:31:21 2017 -0500 rpcbind.service: Not pulling the rpcbind.target According to systemd.special(7) manpage: rpcbind.target The portmapper/rpcbind pulls in this target and orders itself before it, to indicate its availability. systemd automatically adds dependencies of type After= for this target unit to all SysV init script service units with an LSB header referring to the "$portmap" facility. Fixes: https://bugzilla.redhat.com/show_bug.cgi?id=1431574 Signed-off-by: Adolf Belka --- config/rootfiles/packages/rpcbind | 3 +- lfs/rpcbind | 7 ++- .../rpcbind/rpcbind-0.2.3-tirpc_fix-1.patch | 48 ------------------- 3 files changed, 5 insertions(+), 53 deletions(-) delete mode 100644 src/patches/rpcbind/rpcbind-0.2.3-tirpc_fix-1.patch diff --git a/config/rootfiles/packages/rpcbind b/config/rootfiles/packages/rpcbind index 52702076b..94f09c9a0 100644 --- a/config/rootfiles/packages/rpcbind +++ b/config/rootfiles/packages/rpcbind @@ -1,5 +1,6 @@ etc/rc.d/init.d/rpcbind -sbin/rpcbind sbin/rpcinfo +usr/sbin/rpcbind #usr/share/man/man8/rpcbind.8 #usr/share/man/man8/rpcinfo.8 + diff --git a/lfs/rpcbind b/lfs/rpcbind index 3c379c99e..8db905011 100644 --- a/lfs/rpcbind +++ b/lfs/rpcbind @@ -24,7 +24,7 @@ include Config -VER = 0.2.3 +VER = 1.2.5 THISAPP = rpcbind-$(VER) DL_FILE = $(THISAPP).tar.bz2 @@ -32,7 +32,7 @@ DL_FROM = $(URL_IPFIRE) DIR_APP = $(DIR_SRC)/$(THISAPP) TARGET = $(DIR_INFO)/$(THISAPP) PROG = rpcbind -PAK_VER = 2 +PAK_VER = 3 DEPS = libtirpc @@ -44,7 +44,7 @@ objects = $(DL_FILE) $(DL_FILE) = $(DL_FROM)/$(DL_FILE) -$(DL_FILE)_MD5 = c8875246b2688a1adfbd6ad43480278d +$(DL_FILE)_MD5 = ed46f09b9c0fa2d49015f6431bc5ea7b install : $(TARGET) @@ -78,7 +78,6 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects)) @$(PREBUILD) @rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar jxf $(DIR_DL)/$(DL_FILE) cd $(DIR_APP) && sed -i "/servname/s:rpcbind:sunrpc:" src/rpcbind.c - cd $(DIR_APP) && patch -Np1 -i $(DIR_SRC)/src/patches/rpcbind/rpcbind-0.2.3-tirpc_fix-1.patch cd $(DIR_APP) && ./configure \ --prefix=/usr \ --bindir=/sbin \ diff --git a/src/patches/rpcbind/rpcbind-0.2.3-tirpc_fix-1.patch b/src/patches/rpcbind/rpcbind-0.2.3-tirpc_fix-1.patch deleted file mode 100644 index bdf73a331..000000000 --- a/src/patches/rpcbind/rpcbind-0.2.3-tirpc_fix-1.patch +++ /dev/null @@ -1,48 +0,0 @@ -Submitted By: Bruce Dubbs -Date: 2015-11-29 -Initial Package Version: 0.2.3 -Upstream Status: Already in upstream git repository -Origin: Upstream -Description: This patch fixes rpcbind to be able to build with - recent tirpc versions. - -From 9194122389f2a56b1cd1f935e64307e2e963c2da Mon Sep 17 00:00:00 2001 -From: Steve Dickson -Date: Mon, 2 Nov 2015 17:05:18 -0500 -Subject: [PATCH] handle_reply: Don't use the xp_auth pointer directly - -In the latest libtirpc version to access the xp_auth -one must use the SVC_XP_AUTH macro. To be backwards -compatible a couple ifdefs were added to use the -macro when it exists. - -Signed-off-by: Steve Dickson ---- - src/rpcb_svc_com.c | 7 +++++++ - 1 file changed, 7 insertions(+) - -diff --git a/src/rpcb_svc_com.c b/src/rpcb_svc_com.c -index 4ae93f1..22d6c84 100644 ---- a/src/rpcb_svc_com.c -+++ b/src/rpcb_svc_com.c -@@ -1295,10 +1295,17 @@ handle_reply(int fd, SVCXPRT *xprt) - a.rmt_localvers = fi->versnum; - - xprt_set_caller(xprt, fi); -+#if defined(SVC_XP_AUTH) -+ SVC_XP_AUTH(xprt) = svc_auth_none; -+#else - xprt->xp_auth = &svc_auth_none; -+#endif - svc_sendreply(xprt, (xdrproc_t) xdr_rmtcall_result, (char *) &a); -+#if !defined(SVC_XP_AUTH) - SVCAUTH_DESTROY(xprt->xp_auth); - xprt->xp_auth = NULL; -+#endif -+ - done: - if (buffer) - free(buffer); --- -1.8.2.1 -