From fc7bdc886324e1824a824b4fd0f86001ad841ed0 Mon Sep 17 00:00:00 2001 From: Steve Dickson Date: Feb 19 2020 02:41:24 +0000 Subject: Updated to the latest upstream RC release: libtirpc-1-2-6-rc2 (bz 1799601) Signed-off-by: Steve Dickson --- diff --git a/libtirpc-1.2.6-rc2.patch b/libtirpc-1.2.6-rc2.patch new file mode 100644 index 0000000..f80d40f --- /dev/null +++ b/libtirpc-1.2.6-rc2.patch @@ -0,0 +1,71 @@ +diff --git a/doc/bindresvport.blacklist b/doc/bindresvport.blacklist +index 8904277..a7ed193 100644 +--- a/doc/bindresvport.blacklist ++++ b/doc/bindresvport.blacklist +@@ -8,6 +8,7 @@ + 631 # cups + 636 # ldaps + 664 # Secure ASF, used by IPMI on some cards ++774 # rpasswd + 921 # lwresd + 993 # imaps + 995 # pops +diff --git a/src/rpc_com.h b/src/rpc_com.h +index 10bec79..76badef 100644 +--- a/src/rpc_com.h ++++ b/src/rpc_com.h +@@ -61,8 +61,7 @@ void __xprt_unregister_unlocked(SVCXPRT *); + void __xprt_set_raddr(SVCXPRT *, const struct sockaddr_storage *); + + +-SVCXPRT **__svc_xports; +-int __svc_maxrec; ++extern int __svc_maxrec; + + #ifdef __cplusplus + } +diff --git a/src/rpc_soc.c b/src/rpc_soc.c +index ac7d312..fde121d 100644 +--- a/src/rpc_soc.c ++++ b/src/rpc_soc.c +@@ -613,6 +613,13 @@ authdes_pk_create(servername, pkey, window, syncaddr, ckey) + des_block *ckey; /* optional conversation key to use */ + { return (NULL); } + ++AUTH * ++authdes_seccreate(const char *servername, const u_int win, ++ const char *timehost, const des_block *ckey) ++{ ++ return (NULL); ++} ++ + #endif + + +diff --git a/src/svc.c b/src/svc.c +index b59467b..6db164b 100644 +--- a/src/svc.c ++++ b/src/svc.c +@@ -57,6 +57,9 @@ + + #define max(a, b) (a > b ? a : b) + ++static SVCXPRT **__svc_xports; ++int __svc_maxrec; ++ + /* + * The services list + * Each entry represents a set of procedures (an rpc program). +diff --git a/src/xdr_float.c b/src/xdr_float.c +index 26bc865..349d48f 100644 +--- a/src/xdr_float.c ++++ b/src/xdr_float.c +@@ -83,7 +83,7 @@ static struct sgl_limits { + }; + #else + +-#include ++#include + #define IEEEFP + + #endif /* vax */ diff --git a/libtirpc.spec b/libtirpc.spec index c391e20..dd71ab1 100644 --- a/libtirpc.spec +++ b/libtirpc.spec @@ -2,7 +2,7 @@ Name: libtirpc Version: 1.2.5 -Release: 1%{?dist} +Release: 1.rc2%{?dist} Summary: Transport Independent RPC Library License: SISSL and BSD URL: http://git.linux-nfs.org/?p=steved/libtirpc.git;a=summary @@ -11,6 +11,8 @@ Source0: http://downloads.sourceforge.net/libtirpc/libtirpc-%{version}.tar.bz2 BuildRequires: automake, autoconf, libtool, pkgconfig BuildRequires: krb5-devel +Patch001: libtirpc-1.2.6-rc2.patch + %description This package contains SunLib's implementation of transport-independent RPC (TI-RPC) documentation. This library forms a piece of the base of @@ -110,6 +112,9 @@ mv %{buildroot}%{_mandir}/man3 %{buildroot}%{_mandir}/man3t %{_mandir}/*/* %changelog +* Tue Feb 18 2020 teve Dickson 1.2.5-1.rc2 +- Updated to the latest upstream RC release: libtirpc-1-2-6-rc2 (bz 1799601) + * Wed Jan 29 2020 Fedora Release Engineering - 1.2.5-1 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild