Subject: bin/34630: GNU sdiff(1) replacement
To: None <,>
From: None <>
List: netbsd-bugs
Date: 09/26/2006 19:25:01
>Number:         34630
>Category:       bin
>Synopsis:       GNU sdiff(1) replacement
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    bin-bug-people
>State:          open
>Class:          support
>Submitter-Id:   net
>Arrival-Date:   Tue Sep 26 19:25:00 +0000 2006
>Originator:     Mindaugas <unex at linija org>
>Release:        NetBSD 3.0_STABLE
System: NetBSD 3.0_STABLE
Architecture: i386
Machine: i386
While one of NetBSD goals is keeping minimal GPL code in the base system,
we can consider GNU sdiff(1) replacement with OpenBSD sdiff(1), licensed
in public domain. From their sdiff(1) manual:
  "sdiff was written from scratch for the public domain by Ray Lai
  "Although undocumented, sdiff supports all options supported by GNU sdiff.
   Some options require GNU diff."
IMHO, the code quality of this application is enough for doing this replacement.
Files adapted from OpenBSD source tree with few modifications for NetBSD.

Please take a decision.


Make the sdiff directory at src/usr.bin, add the SUBDIR in src/usr.bin/Makefile.
After this change src/gnu/usr.bin/diffutils/sdiff is not needed and the Makefile
should be modified. Regenerate distribution lists.

Files will be mailed in reply as attachements.