1
0
forked from rpms/rpcbind

Removed the documentation about the non-existent

This commit is contained in:
Steve Dickson 2008-06-27 18:38:33 +00:00
parent 33e86f3132
commit 3de7950511
2 changed files with 46 additions and 1 deletions

View File

@ -0,0 +1,37 @@
commit 718ab7ebcf913051f901939b8ae4c7ae67ffcafe
Author: Ulrich Drepper <drepper@redhat.com>
Date: Fri Jun 27 14:31:20 2008 -0400
Removed the documentation about the non-existent '-L' flag
Signed-off-by: Ulrich Drepper <drepper@redhat.com>
Signed-off-by: Steve Dickson <steved@redhat.com>
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 */

View File

@ -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 <steved@redhat.com> 0.1.5-4
- Removed the documentation about the non-existent
'-L' flag (bz 446915)
* Fri Jun 27 2008 Steve Dickson <steved@redhat.com> 0.1.5-3
- Set password and service lookups to be local (bz 447092)