From 3de7950511b4a773b5b41a7507d064a8cb535e9a Mon Sep 17 00:00:00 2001 From: Steve Dickson Date: Jun 27 2008 18:38:33 +0000 Subject: Removed the documentation about the non-existent --- diff --git a/rpcbind-0.1.5-man-cleanup.patch b/rpcbind-0.1.5-man-cleanup.patch new file mode 100644 index 0000000..c96fce6 --- /dev/null +++ b/rpcbind-0.1.5-man-cleanup.patch @@ -0,0 +1,37 @@ +commit 718ab7ebcf913051f901939b8ae4c7ae67ffcafe +Author: Ulrich Drepper +Date: Fri Jun 27 14:31:20 2008 -0400 + + Removed the documentation about the non-existent '-L' flag + + Signed-off-by: Ulrich Drepper + Signed-off-by: Steve Dickson + +diff --git a/man/rpcbind.8 b/man/rpcbind.8 +index 7985f0f..32806d4 100644 +--- a/man/rpcbind.8 ++++ b/man/rpcbind.8 +@@ -115,10 +115,6 @@ accepts these requests only from the loopback interface for security reasons. + This change is necessary for programs that were compiled with earlier + versions of the rpc library and do not make those requests using the + loopback interface. +-.It Fl L +-Allow old-style local connections over the loopback interface. +-Without this flag, local connections are only allowed over a local socket, +-.Pa /var/run/rpcbind.sock . + .It Fl l + Turn on libwrap connection logging. + .It Fl s +diff --git a/src/rpcbind.c b/src/rpcbind.c +index 550fefd..5e7e744 100644 +--- a/src/rpcbind.c ++++ b/src/rpcbind.c +@@ -739,7 +739,7 @@ parseargs(int argc, char *argv[]) + { + int c; + oldstyle_local = 1; +- while ((c = getopt(argc, argv, "dwah:ilLs")) != -1) { ++ while ((c = getopt(argc, argv, "dwah:ils")) != -1) { + switch (c) { + case 'a': + doabort = 1; /* when debugging, do an abort on */ diff --git a/rpcbind.spec b/rpcbind.spec index 65dd994..a8aa176 100644 --- a/rpcbind.spec +++ b/rpcbind.spec @@ -2,7 +2,7 @@ Name: rpcbind Version: 0.1.5 -Release: 3%{?dist} +Release: 4%{?dist} Summary: Universal Addresses to RPC Program Number Mapper Group: System Environment/Daemons License: GPL @@ -28,6 +28,7 @@ Obsoletes: portmap <= 4.0-65.3 Patch1: rpcbind-0.1.4-iff_up.patch Patch2: rpcbind-0.1.5-setgid.patch Patch3: rpcbind-0.1.5-nss-config.patch +Patch4: rpcbind-0.1.5-man-cleanup.patch %description The rpcbind utility is a server that converts RPC program numbers into @@ -39,7 +40,10 @@ RPC calls on a server on that machine. %patch1 -p1 %patch2 -p1 +# 447092: restrict passwd database search to local files %patch3 -p1 +# 446915: Man page documents non-existing -L option +%patch4 -p1 %build %ifarch s390 s390x @@ -119,6 +123,10 @@ fi %dir %attr(700,rpc,rpc) /var/lib/rpcbind %changelog +* Fri Jun 27 2008 Steve Dickson 0.1.5-4 +- Removed the documentation about the non-existent + '-L' flag (bz 446915) + * Fri Jun 27 2008 Steve Dickson 0.1.5-3 - Set password and service lookups to be local (bz 447092)