From nobody@FreeBSD.org  Tue Feb 23 21:13:08 2010
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 86E2E106566C
	for <freebsd-gnats-submit@FreeBSD.org>; Tue, 23 Feb 2010 21:13:08 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21])
	by mx1.freebsd.org (Postfix) with ESMTP id 8FAAA8FC13
	for <freebsd-gnats-submit@FreeBSD.org>; Tue, 23 Feb 2010 21:13:08 +0000 (UTC)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.14.3/8.14.3) with ESMTP id o1NLD8NB016798
	for <freebsd-gnats-submit@FreeBSD.org>; Tue, 23 Feb 2010 21:13:08 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.14.3/8.14.3/Submit) id o1NLD7wn016797;
	Tue, 23 Feb 2010 21:13:07 GMT
	(envelope-from nobody)
Message-Id: <201002232113.o1NLD7wn016797@www.freebsd.org>
Date: Tue, 23 Feb 2010 21:13:07 GMT
From: Richard Tector <richard@tector.org.uk>
To: freebsd-gnats-submit@FreeBSD.org
Subject: Add NIS related files to OptionalObsoleteFiles.inc
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         144243
>Category:       conf
>Synopsis:       [patch] Add NIS related files to OptionalObsoleteFiles.inc
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Feb 23 21:20:01 UTC 2010
>Closed-Date:    Thu Feb 13 16:34:07 CET 2014
>Last-Modified:  Thu Feb 13 16:34:07 CET 2014
>Originator:     Richard Tector
>Release:        FreeBSD 8.0-STABLE
>Organization:
>Environment:
FreeBSD ezekiel.thekeelecentre.com 8.0-STABLE FreeBSD 8.0-STABLE #0: Tue Feb 23 17:13:10 GMT 2010     richard@ezekiel.thekeelecentre.com:/usr/obj/usr/src/sys/GENERIC  i386
>Description:
The patch below adds support for the removal of NIS related files when  WITHOUT_NIS=true using: make check-old* and delete-old* targets.
>How-To-Repeat:
Build/install world with WITHOUT_NIS=true
make check-old does not list now out of date NIS related files.
>Fix:
Apply attached patch and re-run: make check-old, etc.

Patch attached with submission follows:

--- tools/build/mk/OptionalObsoleteFiles.inc.old        2010-02-23 20:48:43.000000000 +0000
+++ tools/build/mk/OptionalObsoleteFiles.inc    2010-02-23 21:05:30.000000000 +0000
@@ -950,9 +950,31 @@
 OLD_FILES+=usr/share/man/man1/nc.1.gz
 .endif

-#.if ${MK_NIS} == no
-# to be filled in
-#.endif
+.if ${MK_NIS} == no
+OLD_FILES+=usr/bin/ypcat
+OLD_FILES+=usr/bin/ypchfn
+OLD_FILES+=usr/bin/ypchpass
+OLD_FILES+=usr/bin/ypchsh
+OLD_FILES+=usr/bin/ypmatch
+OLD_FILES+=usr/bin/yppasswd
+OLD_FILES+=usr/bin/ypwhich
+OLD_FILES+=usr/include/ypclnt.h
+OLD_FILES+=usr/sbin/yp_mkdb
+OLD_FILES+=usr/sbin/ypbind
+OLD_FILES+=usr/sbin/ypinit
+OLD_FILES+=usr/sbin/yppoll
+OLD_FILES+=usr/sbin/yppush
+OLD_FILES+=usr/sbin/ypserv
+OLD_FILES+=usr/sbin/ypset
+OLD_FILES+=usr/lib/libypclnt.a
+OLD_LIBS+=usr/lib/libypclnt.so
+OLD_FILES+=usr/libexec/mknetid
+OLD_FILES+=usr/libexec/yppwupdate
+OLD_FILES+=usr/libexec/ypxfr
+OLD_FILES+=usr/sbin/rpc.yppasswdd
+OLD_FILES+=usr/sbin/rpc.ypupdated
+OLD_FILES+=usr/sbin/rpc.ypxfrd
+.endif

 #.if ${MK_NLS} == no
 # to be filled in


>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: brueffer 
State-Changed-When: Thu Feb 13 16:33:21 CET 2014 
State-Changed-Why:  
This was added as part of a bigger patch in r261521.  Thanks for the 
contribution! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=144243 
>Unformatted:
