From khera@kciLink.com  Fri Jun  2 12:20:21 2000
Return-Path: <khera@kciLink.com>
Received: from kci.kciLink.com (kci.kciLink.com [204.117.82.1])
	by hub.freebsd.org (Postfix) with ESMTP id EECAE37B530
	for <FreeBSD-gnats-submit@freebsd.org>; Fri,  2 Jun 2000 12:20:19 -0700 (PDT)
	(envelope-from khera@kciLink.com)
Received: from onceler.kcilink.com (onceler.kciLink.com [204.117.82.2])
	by kci.kciLink.com (Postfix) with ESMTP id 81CA5E8D2
	for <FreeBSD-gnats-submit@freebsd.org>; Fri,  2 Jun 2000 15:20:18 -0400 (EDT)
Received: (from khera@localhost)
	by onceler.kcilink.com (8.9.3/8.9.3) id PAA06638;
	Fri, 2 Jun 2000 15:20:18 -0400 (EDT)
	(envelope-from khera@kci.kcilink.com)
Message-Id: <200006021920.PAA06638@onceler.kcilink.com>
Date: Fri, 2 Jun 2000 15:20:18 -0400 (EDT)
From: <khera@kciLink.com>
Reply-To: khera@kciLink.com
To: FreeBSD-gnats-submit@freebsd.org
Subject: ypserv not linked with tcp wrappers
X-Send-Pr-Version: 3.2

>Number:         18967
>Category:       bin
>Synopsis:       ypserv not linked with tcp wrappers
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Fri Jun 02 12:30:00 PDT 2000
>Closed-Date:    Sat Feb 9 12:31:48 PST 2002
>Last-Modified:  Sat Feb 09 12:31:59 PST 2002
>Originator:     Vivek Khera
>Release:        FreeBSD 3.4-STABLE i386
>Organization:
>Environment:

	
FreeBSD 3.4-STABLE as of mid-may

>Description:

	
the ypserv man pages have lengthy discussion about why tcp wrappers
are not linked because they are not part of the base system, but they
are now, with recent FreeBSD.

>How-To-Repeat:

	
N/A
>Fix:
	
	
Please update ypserv to link against the tcp wrappers and alter the
man pages accordingly.

>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: gnats-admin->freebsd-bugs 
Responsible-Changed-By: asmodai 
Responsible-Changed-When: Sun Jun 4 02:26:57 PDT 2000 
Responsible-Changed-Why:  
Fix botched PR> 

This shouldn't be too hard.  Probably sheldonh or green will fix this. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=18967 
State-Changed-From-To: open->feedback 
State-Changed-By: ashp 
State-Changed-When: Sat Feb 9 11:57:24 PST 2002 
State-Changed-Why:  
Does this patch work correctly for you?  If you have no problems, 
I can find someone to commit it.  (Note, this is my first time 
fiddling with the build system, I expect it's done wrongly.) 

diff -u ypserv.orig/Makefile ypserv/Makefile 
--- ypserv.orig/Makefile	Sat Feb  9 15:01:52 2002 
+++ ypserv/Makefile	Sat Feb  9 15:01:09 2002 
@@ -7,6 +7,7 @@ 
MAN=	ypserv.8 ypinit.8 

CFLAGS+= -I. -DDB_CACHE 
+LDADD= -lwrap 

CLEANFILES= yp_svc.c ypxfr_clnt.c yp.h 

diff -u ypserv.orig/ypserv.8 ypserv/ypserv.8 
--- ypserv.orig/ypserv.8	Sat Feb  9 15:01:58 2002 
+++ ypserv/ypserv.8	Sat Feb  9 15:04:14 2002 
@@ -273,18 +273,7 @@ 
.Nm 
program also has support for Wietse Venema's 
.Em tcpwrapper 
-package, though it is not compiled in by default since 
-the 
-.Em tcpwrapper 
-package is not distributed with 
-.Fx . 
-However, if you have 
-.Pa libwrap.a 
-and 
-.Pa tcpd.h , 
-you can easily recompile 
-.Nm 
-with them. 
+package. 
This allows the administrator to use the tcpwrapper 
configuration files 
.Pa ( /etc/hosts.allow 

http://www.FreeBSD.org/cgi/query-pr.cgi?pr=18967 
State-Changed-From-To: feedback->closed 
State-Changed-By: ashp 
State-Changed-When: Sat Feb 9 12:31:48 PST 2002 
State-Changed-Why:  
Oh.  Bugger.  Mark beat me to it. 

http://www.FreeBSD.org/cgi/query-pr.cgi?pr=18967 
>Unformatted:
