From nobody@FreeBSD.org  Sun Feb 10 08:05:23 2008
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 6729316A418
	for <freebsd-gnats-submit@FreeBSD.org>; Sun, 10 Feb 2008 08:05:23 +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 4EB4113C4E7
	for <freebsd-gnats-submit@FreeBSD.org>; Sun, 10 Feb 2008 08:05:23 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.14.2/8.14.2) with ESMTP id m1A83CgS067550
	for <freebsd-gnats-submit@FreeBSD.org>; Sun, 10 Feb 2008 08:03:12 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.14.2/8.14.1/Submit) id m1A83CGS067549;
	Sun, 10 Feb 2008 08:03:12 GMT
	(envelope-from nobody)
Message-Id: <200802100803.m1A83CGS067549@www.freebsd.org>
Date: Sun, 10 Feb 2008 08:03:12 GMT
From: KAMIYA Satosi <mimoriso@gmail.com>
To: freebsd-gnats-submit@FreeBSD.org
Subject: [patch] OptionalObsoleteFiles.inc - Add files to remove when WITHOUT_IPX and WITHOUT_GCOV are defined
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         120492
>Category:       bin
>Synopsis:       [patch] OptionalObsoleteFiles.inc - Add files to remove when WITHOUT_IPX and WITHOUT_GCOV are defined
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    antoine
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Feb 10 08:10:02 UTC 2008
>Closed-Date:    Sun Mar 30 14:01:55 UTC 2008
>Last-Modified:  Sun Mar 30 14:01:55 UTC 2008
>Originator:     KAMIYA Satosi
>Release:        7.0-RC2
>Organization:
>Environment:
FreeBSD svn01.un.cosat.com 7.0-RC2 FreeBSD 7.0-RC2 #2: Sun Feb 10 09:32:55 JST 2008     h@svn01.un.cosat.com:/usr/obj/usr/src/sys/COSATSVN01  i386
>Description:
'cd /usr/src; make delete-old' should delete files specified files when WITHOUT_IPX and WITHOUT_GCOV are defined
>How-To-Repeat:
write 2 lines in /etc/src.conf:
  WITHOUT_IPX=
  WITHOUT_GCOV=
then, do 'cd /usr/src; make delete-old'

>Fix:
% diff -u /usr/src/tools/build/mk/OptionalObsoleteFiles.inc{.orig,}
--- /usr/src/tools/build/mk/OptionalObsoleteFiles.inc.orig      2008-02-10 16:53:30.000000000 +0900
+++ /usr/src/tools/build/mk/OptionalObsoleteFiles.inc   2008-02-10 16:55:03.000000000 +0900
@@ -385,9 +385,9 @@
 # to be filled in
 #.endif
 
-#.if ${MK_GCOV} == no
-# to be filled in
-#.endif
+.if ${MK_GCOV} == no
+OLD_FILES+=usr/bin/gcov
+.endif
 
 #.if ${MK_GDB} == no
 # to be filled in
@@ -578,9 +578,13 @@
 OLD_FILES+=usr/share/man/man8/ippool.8.gz
 .endif
 
-#.if ${MK_IPX} == no
-# to be filled in
-#.endif
+.if ${MK_IPX} == no
+OLD_FILES+=usr/bin/ncplist
+OLD_FILES+=usr/bin/ncplogin
+OLD_FILES+=usr/bin/ncplogout
+OLD_FILES+=usr/sbin/mount_nwfs
+OLD_FILES+=usr/sbin/IPXrouted
+.endif
 
 .if ${MK_KERBEROS} == no
 OLD_FILES+=usr/bin/ksu


>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-bugs->antoine 
Responsible-Changed-By: antoine 
Responsible-Changed-When: Tue Feb 19 22:30:51 UTC 2008 
Responsible-Changed-Why:  
Take. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=120492 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: bin/120492: commit references a PR
Date: Fri, 29 Feb 2008 18:59:58 +0000 (UTC)

 antoine     2008-02-29 18:59:28 UTC
 
   FreeBSD src repository
 
   Modified files:
     tools/build/mk       OptionalObsoleteFiles.inc 
   Log:
   Add files to remove when MK_GCOV, MK_IPX or MK_NCP are defined.
   
   Note: it may be a good idea to deduce obsolete usr/lib32/ files from
   obsolete lib/ and usr/lib/ files.
   
   PR:             120492
   PR:             121118
   PR:             121121
   Submitted by:   KAMIYA Satosi, Richard Tector
   Approved by:    rwatson (mentor)
   MFC after:      1 month
   
   Revision  Changes    Path
   1.13      +57 -9     src/tools/build/mk/OptionalObsoleteFiles.inc
 _______________________________________________
 cvs-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/cvs-all
 To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
 
State-Changed-From-To: open->patched 
State-Changed-By: antoine 
State-Changed-When: Fri Feb 29 19:03:12 UTC 2008 
State-Changed-Why:  
patched in HEAD. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=120492 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: bin/120492: commit references a PR
Date: Sun, 30 Mar 2008 13:56:27 +0000 (UTC)

 antoine     2008-03-30 13:56:13 UTC
 
   FreeBSD src repository
 
   Modified files:        (Branch: RELENG_7)
     tools/build/mk       OptionalObsoleteFiles.inc 
   Log:
   MFC to RELENG_7:
     Add files to remove when MK_GCOV, MK_IPX or MK_NCP are defined.
   
     PR:             120492
     PR:             121118
     PR:             121121
     Submitted by:   KAMIYA Satosi, Richard Tector
     Approved by:    rwatson (mentor)
     MFC after:      1 month
   
   Revision  Changes    Path
   1.11.2.2  +61 -9     src/tools/build/mk/OptionalObsoleteFiles.inc
 _______________________________________________
 cvs-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/cvs-all
 To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
 
State-Changed-From-To: patched->closed 
State-Changed-By: antoine 
State-Changed-When: Sun Mar 30 14:01:06 UTC 2008 
State-Changed-Why:  
Close: merged to RELENG_7. Thanks! 

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