1 http://projects.archlinux.org/svntogit/packages.git/tree/trunk/rpcbind-sunrpc.patch?h=packages/rpcbind
3 Lookup "sunrpc" instead of "rpcbind" in /etc/services, since the former is the
6 diff -ru3 rpcbind-0.2.3/src/rpcbind.c rpcbind-0.2.3.new/src/rpcbind.c
7 --- rpcbind-0.2.3/src/rpcbind.c 2015-04-27 17:07:43.000000000 +0300
8 +++ rpcbind-0.2.3.new/src/rpcbind.c 2015-05-18 16:29:24.938380694 +0300
10 char *udp_uaddr; /* Universal UDP address */
11 char *tcp_uaddr; /* Universal TCP address */
13 -static char servname[] = "rpcbind";
14 +static char servname[] = "sunrpc";
15 static char superuser[] = "superuser";
17 int main __P((int, char *[]));
18 diff -ru3 rpcbind-0.2.3/src/rpcinfo.c rpcbind-0.2.3.new/src/rpcinfo.c
19 --- rpcbind-0.2.3/src/rpcinfo.c 2015-04-27 17:07:43.000000000 +0300
20 +++ rpcbind-0.2.3.new/src/rpcinfo.c 2015-05-18 16:30:14.197025336 +0300
23 /* Get the address of the rpcbind */
24 memset (&hints, 0, sizeof hints);
25 - if ((getaddrinfo (host, "rpcbind", &hints, &res) != 0) &&
26 + if ((getaddrinfo (host, "sunrpc", &hints, &res) != 0) &&
27 (getaddrinfo (host, "portmapper",&hints, &res) != 0))
29 rpc_createerr.cf_stat = RPC_N2AXLATEFAILURE;