misc/121121: PATCH: Add IPX files to be removed to OptionalObsoleteFiles.inc

Richard Tector richardtector at thekeelecentre.com
Tue Feb 26 14:20:01 UTC 2008


>Number:         121121
>Category:       misc
>Synopsis:       PATCH: Add IPX files to be removed to OptionalObsoleteFiles.inc
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Feb 26 14:20:01 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator:     Richard Tector
>Release:        FreeBSD 7.0-PRERELEASE
>Organization:
CAPL Limited
>Environment:
FreeBSD daffy.tector.org.uk 7.0-PRERELEASE FreeBSD 7.0-PRERELEASE #0: Mon Feb 25 18:07:37 GMT 2008     richard at daffy.tector.org.uk:/usr/obj/usr/src/sys/DAFFY  amd64
>Description:
The attached patch adds a list of files that can be removed if WITHOUT_IPX has been set for a build with make check=old or delete-old. It removes the libraries, binaries, manpages and includes only installed when the above knob has not been set.

NB. I have also added for removal the compat libraries installed for 32bit systems. Other sections in the patched file do not do this, but it works fine on an i386 system I have.
>How-To-Repeat:

>Fix:
See attached patch



Patch attached with submission follows:

--- tools/build/mk/OptionalObsoleteFiles.inc.old	2008-01-21 18:47:37.000000000 +0000
+++ tools/build/mk/OptionalObsoleteFiles.inc	2008-02-26 14:15:31.000000000 +0000
@@ -578,9 +578,25 @@
 OLD_FILES+=usr/share/man/man8/ippool.8.gz
 .endif
 
-#.if ${MK_IPX} == no
-# to be filled in
-#.endif
+.if ${MK_IPX} == no
+OLD_LIBS+=lib/libipx.so.4
+OLD_FILES+=usr/include/netipx/ipx.h
+OLD_FILES+=usr/include/netipx/ipx_if.h
+OLD_FILES+=usr/include/netipx/ipx_pcb.h
+OLD_FILES+=usr/include/netipx/ipx_var.h
+OLD_FILES+=usr/include/netipx/spx.h
+OLD_FILES+=usr/include/netipx/spx_debug.h
+OLD_FILES+=usr/include/netipx/spx_timer.h
+OLD_FILES+=usr/include/netipx/spx_var.h
+OLD_DIRS+=usr/include/netipx
+OLD_FILES+=usr/lib/libipx.a
+OLD_FILES+=usr/lib/libipx.so
+OLD_FILES+=usr/lib32/libipx.a
+OLD_FILES+=usr/lib32/libipx.so
+OLD_LIBS+=use/lib32/libipx.so.4
+OLD_FILES+=usr/sbin/IPXrouted
+OLD_FILES+=usr/share/man/man8/IPXrouted.8.gz
+.endif
 
 .if ${MK_KERBEROS} == no
 OLD_FILES+=usr/bin/ksu


>Release-Note:
>Audit-Trail:
>Unformatted:


More information about the freebsd-bugs mailing list