Blame SOURCES/tcp_wrappers-7.6-inetdconf.patch

23cc51
diff -up tcp_wrappers_7.6/tcpdmatch.8.inetdconf tcp_wrappers_7.6/tcpdmatch.8
23cc51
--- tcp_wrappers_7.6/tcpdmatch.8.inetdconf	2010-06-16 14:39:32.000000000 +0200
23cc51
+++ tcp_wrappers_7.6/tcpdmatch.8	2010-06-16 14:42:25.000000000 +0200
23cc51
@@ -2,9 +2,9 @@
23cc51
 .SH NAME
23cc51
 tcpdmatch \- tcp wrapper oracle
23cc51
 .SH SYNOPSYS
23cc51
-tcpdmatch [-d] [-i inet_conf] daemon client
23cc51
+tcpdmatch [-d] daemon client
23cc51
 .sp
23cc51
-tcpdmatch [-d] [-i inet_conf] daemon[@server] [user@]client
23cc51
+tcpdmatch [-d] daemon[@server] [user@]client
23cc51
 .SH DESCRIPTION
23cc51
 .PP
23cc51
 \fItcpdmatch\fR predicts how the tcp wrapper would handle a specific
23cc51
@@ -48,10 +48,6 @@ The default user name is `unknown'.
23cc51
 .IP -d
23cc51
 Examine \fIhosts.allow\fR and \fIhosts.deny\fR files in the current
23cc51
 directory instead of the default ones.
23cc51
-.IP "-i inet_conf"
23cc51
-Specify this option when \fItcpdmatch\fR is unable to find your
23cc51
-\fIinetd.conf\fR or \fItlid.conf\fR network configuration file, or when
23cc51
-you suspect that the program uses the wrong one.
23cc51
 .SH EXAMPLES
23cc51
 To predict how \fItcpd\fR would handle a telnet request from the local
23cc51
 system:
23cc51
@@ -82,11 +78,8 @@ The default locations of the \fItcpd\fR 
23cc51
 .SH SEE ALSO
23cc51
 .na
23cc51
 .nf
23cc51
-tcpdchk(8), tcpd configuration checker
23cc51
 hosts_access(5), format of the tcpd access control tables.
23cc51
 hosts_options(5), format of the language extensions.
23cc51
-inetd.conf(5), format of the inetd control file.
23cc51
-tlid.conf(5), format of the tlid control file.
23cc51
 .SH AUTHORS
23cc51
 .na
23cc51
 .nf
23cc51
diff -up tcp_wrappers_7.6/tcpdmatch.c.inetdconf tcp_wrappers_7.6/tcpdmatch.c
23cc51
--- tcp_wrappers_7.6/tcpdmatch.c.inetdconf	2010-06-16 14:37:09.000000000 +0200
23cc51
+++ tcp_wrappers_7.6/tcpdmatch.c	2010-06-16 14:39:18.000000000 +0200
23cc51
@@ -140,25 +140,6 @@ char  **argv;
23cc51
     }
23cc51
 
23cc51
     /*
23cc51
-     * Analyze the inetd (or tlid) configuration file, so that we can warn
23cc51
-     * the user about services that may not be wrapped, services that are not
23cc51
-     * configured, or services that are wrapped in an incorrect manner. Allow
23cc51
-     * for services that are not run from inetd, or that have tcpd access
23cc51
-     * control built into them.
23cc51
-     */
23cc51
-    inetcf = inet_cfg(inetcf);
23cc51
-    inet_set("portmap", WR_NOT);
23cc51
-    inet_set("rpcbind", WR_NOT);
23cc51
-    switch (inet_get(daemon)) {
23cc51
-    case WR_UNKNOWN:
23cc51
-	tcpd_warn("%s: no such process name in %s", daemon, inetcf);
23cc51
-	break;
23cc51
-    case WR_NOT:
23cc51
-	tcpd_warn("%s: service possibly not wrapped", daemon);
23cc51
-	break;
23cc51
-    }
23cc51
-
23cc51
-    /*
23cc51
      * Check accessibility of access control files.
23cc51
      */
23cc51
     (void) check_path(hosts_allow_table, &st);
23cc51
@@ -319,10 +300,9 @@ char  **argv;
23cc51
 static void usage(myname)
23cc51
 char   *myname;
23cc51
 {
23cc51
-    fprintf(stderr, "usage: %s [-d] [-i inet_conf] daemon[@host] [user@]host\n",
23cc51
+    fprintf(stderr, "usage: %s [-d] daemon[@host] [user@]host\n",
23cc51
 	    myname);
23cc51
     fprintf(stderr, "	-d: use allow/deny files in current directory\n");
23cc51
-    fprintf(stderr, "	-i: location of inetd.conf file\n");
23cc51
     exit(1);
23cc51
 }
23cc51