diff --git a/rpcbind-0.2.1-services-sunrpc.patch b/rpcbind-0.2.1-services-sunrpc.patch deleted file mode 100644 index e943a9f..0000000 --- a/rpcbind-0.2.1-services-sunrpc.patch +++ /dev/null @@ -1,24 +0,0 @@ -diff -Nru rpcbind-0.2.1.orig/src/rpcbind.c rpcbind-0.2.1/src/rpcbind.c ---- rpcbind-0.2.1.orig/src/rpcbind.c 2014-05-10 10:49:15.907412342 +0000 -+++ rpcbind-0.2.1/src/rpcbind.c 2014-05-10 10:50:50.537551178 +0000 -@@ -117,7 +117,7 @@ - char *udp_uaddr; /* Universal UDP address */ - char *tcp_uaddr; /* Universal TCP address */ - #endif --static char servname[] = "rpcbind"; -+static char servname[] = "sunrpc"; - static char superuser[] = "superuser"; - - int main __P((int, char *[])); -diff -Nru rpcbind-0.2.1.orig/src/rpcinfo.c rpcbind-0.2.1/src/rpcinfo.c ---- rpcbind-0.2.1.orig/src/rpcinfo.c 2013-08-19 14:49:34.000000000 +0000 -+++ rpcbind-0.2.1/src/rpcinfo.c 2014-05-10 10:51:05.958410935 +0000 -@@ -632,7 +632,7 @@ - { - memset (&hints, 0, sizeof hints); - hints.ai_family = AF_INET; -- if ((error = getaddrinfo (host, "rpcbind", &hints, &res)) != 0 && -+ if ((error = getaddrinfo (host, "sunrpc", &hints, &res)) != 0 && - (error = getaddrinfo (host, "portmapper", &hints, &res)) != 0) - { - fprintf (stderr, "rpcinfo: %s: %s\n", diff --git a/rpcbind-0.2.3-services-sunrpc.patch b/rpcbind-0.2.3-services-sunrpc.patch new file mode 100644 index 0000000..471859f --- /dev/null +++ b/rpcbind-0.2.3-services-sunrpc.patch @@ -0,0 +1,23 @@ +diff -Nru rpcbind-0.2.1.orig/src/rpcbind.c rpcbind-0.2.1/src/rpcbind.c +--- rpcbind-0.2.1.orig/src/rpcbind.c 2014-05-10 10:49:15.907412342 +0000 ++++ rpcbind-0.2.1/src/rpcbind.c 2014-05-10 10:50:50.537551178 +0000 +@@ -117,7 +117,7 @@ + char *udp_uaddr; /* Universal UDP address */ + char *tcp_uaddr; /* Universal TCP address */ + #endif +-static char servname[] = "rpcbind"; ++static char servname[] = "sunrpc"; + static char superuser[] = "superuser"; + + int main __P((int, char *[])); +--- rpcbind-0.2.3/src/rpcinfo.c.orig 2015-05-09 10:44:05.776854429 +0200 ++++ rpcbind-0.2.3/src/rpcinfo.c 2015-05-09 13:01:39.717254681 +0200 +@@ -1842,7 +1842,7 @@ + + /* Get the address of the rpcbind */ + memset (&hints, 0, sizeof hints); +- if ((getaddrinfo (host, "rpcbind", &hints, &res) != 0) && ++ if ((getaddrinfo (host, "sunrpc", &hints, &res) != 0) && + (getaddrinfo (host, "portmapper",&hints, &res) != 0)) + { + rpc_createerr.cf_stat = RPC_N2AXLATEFAILURE; diff --git a/rpcbind.spec b/rpcbind.spec index 5e67888..598ac5d 100644 --- a/rpcbind.spec +++ b/rpcbind.spec @@ -1,7 +1,7 @@ %define groupid 59 %define userid 59 Name: rpcbind -Version: 0.2.2 +Version: 0.2.3 Release: 1mamba Summary: A replacement for portmap required for import or export of NFS shared directories Group: System/Servers @@ -15,7 +15,7 @@ Source2: rpcbind.socket Source3: rpcbind.sysconfig Patch0: rpcbind-0.2.1-run.patch Patch1: rpcbind-0.2.1-rpcuser.patch -Patch2: rpcbind-0.2.1-services-sunrpc.patch +Patch2: rpcbind-0.2.3-services-sunrpc.patch License: BSD ## AUTOBUILDREQ-BEGIN BuildRequires: glibc-devel @@ -100,6 +100,9 @@ fi %doc AUTHORS COPYING %changelog +* Sat May 09 2015 Automatic Build System 0.2.3-1mamba +- automatic version update by autodist + * Mon Dec 29 2014 Automatic Build System 0.2.2-1mamba - automatic update by autodist