rpms/rpcbind/F-8 rpcbind-0.1.4-recvfrom-fix.patch, NONE, 1.1 rpcbind.spec, 1.24, 1.25
Steve Dickson (steved)
fedora-extras-commits at redhat.com
Thu Jan 24 18:43:08 UTC 2008
- Previous message (by thread): rpms/postgresql-ip4r/devel postgresql-ip4r.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
- Next message (by thread): rpms/postgresql-ip4r/EL-5 postgresql-ip4r.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: steved
Update of /cvs/pkgs/rpms/rpcbind/F-8
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv1087
Modified Files:
rpcbind.spec
Added Files:
rpcbind-0.1.4-recvfrom-fix.patch
Log Message:
- Fixed connectivity with Mac OS clients by making sure handle_reply()
sets the correct fromlen in its recvfrom() call (bz 244492)
rpcbind-0.1.4-recvfrom-fix.patch:
--- NEW FILE rpcbind-0.1.4-recvfrom-fix.patch ---
commit 24bc988ad64b927c062f2464963151da70c0ce68
Author: Anders Blomdell <anders.blomdell at control.lth.se>
Date: Thu Jan 24 13:34:58 2008 -0500
Fixed connectivity with Mac OS clients by making sure handle_reply()
sets the correct fromlen in its recvfrom() call
Signed-off-by: Steve Dickson <steved at redhat.com>
diff --git a/src/rpcb_svc_com.c b/src/rpcb_svc_com.c
index 131c05c..8f6b4c7 100644
--- a/src/rpcb_svc_com.c
+++ b/src/rpcb_svc_com.c
@@ -1246,6 +1246,7 @@ handle_reply(int fd, SVCXPRT *xprt)
goto done;
do {
+ fromlen = sizeof(ss);
inlen = recvfrom(fd, buffer, RPC_BUF_MAX, 0,
(struct sockaddr *)&ss, &fromlen);
} while (inlen < 0 && errno == EINTR);
Index: rpcbind.spec
===================================================================
RCS file: /cvs/pkgs/rpms/rpcbind/F-8/rpcbind.spec,v
retrieving revision 1.24
retrieving revision 1.25
diff -u -r1.24 -r1.25
--- rpcbind.spec 17 Dec 2007 20:00:57 -0000 1.24
+++ rpcbind.spec 24 Jan 2008 18:42:35 -0000 1.25
@@ -2,7 +2,7 @@
Name: rpcbind
Version: 0.1.4
-Release: 12%{?dist}
+Release: 13%{?dist}
Summary: Universal Addresses to RPC Program Number Mapper
Group: System Environment/Daemons
License: GPL
@@ -32,6 +32,7 @@
Patch5: rpcbind-0.1.4-iff_up.patch
Patch6: rpcbind-0.1.4-libwrap.patch
Patch7: rpcbind-0.1.4-localaddr.patch
+Patch8: rpcbind-0.1.4-recvfrom-fix.patch
%description
The rpcbind utility is a server that converts RPC program numbers into
@@ -51,6 +52,8 @@
%patch6 -p1
# 358621: rpcbind-0.1.4-8.fc7 breaks NFS
%patch7 -p1
+# 244492: New rpcbind breaks connectivity with some NIS clients
+%patch8 -p1
%build
@@ -131,6 +134,10 @@
%dir %attr(700,rpc,rpc) /var/lib/rpcbind
%changelog
+* Thu Jan 24 2008 Steve Dickson <steved at redhat.com> 0.1.4-13
+- Fixed connectivity with Mac OS clients by making sure handle_reply()
+ sets the correct fromlen in its recvfrom() call (bz 244492)
+
* Mon Dec 17 2007 Steve Dickson <steved at redhat.com> 0.1.4-12
- Changed is_loopback() and check_access() see if the calling
address is an address on a local interface, just not a loopback
- Previous message (by thread): rpms/postgresql-ip4r/devel postgresql-ip4r.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
- Next message (by thread): rpms/postgresql-ip4r/EL-5 postgresql-ip4r.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the fedora-extras-commits
mailing list