patched to move /var/run/rpcbind.sock to /run/rpcbind.sock [release 0.2.5-3mamba;Wed Oct 01 2014]

This commit is contained in:
Silvan Calarco 2024-01-06 05:55:52 +01:00
parent 18caa61934
commit a85a04da16
3 changed files with 49 additions and 1 deletions

View File

@ -0,0 +1,14 @@
diff -Nru libtirpc-0.2.5.orig/doc/netconfig libtirpc-0.2.5/doc/netconfig
--- libtirpc-0.2.5.orig/doc/netconfig 2014-08-08 18:24:34.000000000 +0200
+++ libtirpc-0.2.5/doc/netconfig 2014-10-01 12:02:30.301450403 +0200
@@ -12,8 +12,8 @@
#
udp tpi_clts v inet udp - -
tcp tpi_cots_ord v inet tcp - -
-udp6 tpi_clts v inet6 udp - -
-tcp6 tpi_cots_ord v inet6 tcp - -
+udp6 tpi_clts - inet6 udp - -
+tcp6 tpi_cots_ord - inet6 tcp - -
rawip tpi_raw - inet - - -
local tpi_cots_ord - loopback - - -
unix tpi_cots_ord - loopback - - -

View File

@ -0,0 +1,24 @@
diff -Nru libtirpc-0.2.5.orig/tirpc/rpc/rpcb_prot.h libtirpc-0.2.5/tirpc/rpc/rpcb_prot.h
--- libtirpc-0.2.5.orig/tirpc/rpc/rpcb_prot.h 2014-08-08 18:24:34.000000000 +0200
+++ libtirpc-0.2.5/tirpc/rpc/rpcb_prot.h 2014-10-01 15:30:21.161591481 +0200
@@ -476,7 +476,7 @@
#define RPCBVERS_3 RPCBVERS
#define RPCBVERS_4 RPCBVERS4
-#define _PATH_RPCBINDSOCK "/var/run/rpcbind.sock"
+#define _PATH_RPCBINDSOCK "/run/rpcbind.sock"
#else /* ndef _KERNEL */
#ifdef __cplusplus
diff -Nru libtirpc-0.2.5.orig/tirpc/rpc/rpcb_prot.x libtirpc-0.2.5/tirpc/rpc/rpcb_prot.x
--- libtirpc-0.2.5.orig/tirpc/rpc/rpcb_prot.x 2014-08-08 18:24:34.000000000 +0200
+++ libtirpc-0.2.5/tirpc/rpc/rpcb_prot.x 2014-10-01 15:30:10.606591115 +0200
@@ -410,7 +410,7 @@
%#define RPCBVERS_3 RPCBVERS
%#define RPCBVERS_4 RPCBVERS4
%
-%#define _PATH_RPCBINDSOCK "/var/run/rpcbind.sock"
+%#define _PATH_RPCBINDSOCK "/run/rpcbind.sock"
%
%#else /* ndef _KERNEL */
%#ifdef __cplusplus

View File

@ -1,6 +1,6 @@
Name: libtirpc
Version: 0.2.5
Release: 1mamba
Release: 3mamba
Summary: A port of Suns Transport-Independent RPC library to Linux
Group: System/Libraries
Vendor: openmamba
@ -11,6 +11,8 @@ Source: http://downloads.sourceforge.net/project/libtirpc/libtirpc/%{vers
Patch0: libtirpc-0.2.2-add-multiple-inclusion-protection-to-rpc_des.patch
Patch1: libtirpc-0.2.3-remove-nis.patch
Patch2: libtirpc-0.2.5-remove-des.patch
Patch3: libtirpc-0.2.5-netconfig-disable-ipv6.patch
Patch4: libtirpc-0.2.5-var-run.patch
License: BSD
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
@ -37,6 +39,8 @@ This package contains static libraries and header files need for development.
%setup -q
%patch1 -p1
%patch2 -p1
%patch3 -p1
%patch4 -p1
sed -i "s|AM_CONFIG_HEADER|AC_CONFIG_HEADERS|" configure.ac
%build
@ -78,6 +82,12 @@ autoreconf -f -i
%doc ChangeLog NEWS README TODO
%changelog
* Wed Oct 01 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 0.2.5-3mamba
- patched to move /var/run/rpcbind.sock to /run/rpcbind.sock
* Wed Oct 01 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 0.2.5-2mamba
- netconfig: patch to disable ipv6 (see https://bugzilla.redhat.com/show_bug.cgi?id=249121)
* Sat Sep 13 2014 Automatic Build System <autodist@mambasoft.it> 0.2.5-1mamba
- automatic update by autodist