From nobody@FreeBSD.org  Tue Jun 13 18:49:46 2006
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 454BE16A41A
	for <freebsd-gnats-submit@FreeBSD.org>; Tue, 13 Jun 2006 18:49:46 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (www.freebsd.org [216.136.204.117])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 1742B43D49
	for <freebsd-gnats-submit@FreeBSD.org>; Tue, 13 Jun 2006 18:49:46 +0000 (GMT)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.13.1/8.13.1) with ESMTP id k5DInjam094830
	for <freebsd-gnats-submit@FreeBSD.org>; Tue, 13 Jun 2006 18:49:45 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.13.1/8.13.1/Submit) id k5DInjYM094829;
	Tue, 13 Jun 2006 18:49:45 GMT
	(envelope-from nobody)
Message-Id: <200606131849.k5DInjYM094829@www.freebsd.org>
Date: Tue, 13 Jun 2006 18:49:45 GMT
From: Jason McIntyre <jmc@kerhand.co.uk>
To: freebsd-gnats-submit@FreeBSD.org
Subject: getopt.c license issue
X-Send-Pr-Version: www-2.3

>Number:         98911
>Category:       bin
>Synopsis:       [patch] getopt(1): getopt.c license issue
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    brooks
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Jun 13 18:50:13 GMT 2006
>Closed-Date:    Mon May 19 02:49:59 UTC 2008
>Last-Modified:  Mon May 19 02:50:08 UTC 2008
>Originator:     Jason McIntyre
>Release:        N/A
>Organization:
>Environment:
N/A
>Description:
hi. i recently contacted henry spencer, the author of usr.bin/getopt/getop.c,
regarding a lack of license on that file. he identified the work as his own, 
and agreed to place it in the public domain.

i've mailed netbsd people to tell them - it looks like both openbsd and
freebsd's getopt.c are imports from netbsd.

then i look at freebsd tree, and you guys have a README in there saying it's
written by ian darwin. but the initial commit message on getopt.c says it's
from netbsd.

jason
>How-To-Repeat:

>Fix:

>Release-Note:
>Audit-Trail:

From: Bruce Cran <bruce@cran.org.uk>
To: bug-followup@FreeBSD.org, jmc@kerhand.co.uk
Cc:  
Subject: Re: bin/98911: getopt(1): getopt.c license issue
Date: Sun, 04 May 2008 22:50:05 +0100

 Since this issue was raised in June 2006 NetBSD added a header at the 
 top of getopt.c:
 
 /*
   * This material, written by Henry Spencer, was released by him
   * into the public domain and is thus not subject to any copyright.
   */
 
 The FreeBSD man page for getopt(1) does record Henry as the author, but 
 the README in src/usr.bin/getopt is possibly misleading.  The original 
 message can be seen through Google Groups at 
 http://groups.google.com/group/mod.std.unix/msg/4ebaa418597b4ff0 and it 
 appears clear that Ian Darwin isn't claiming he wrote getopt but that 
 he'd found it and was posting a copy of it for others to see.  In 
 particular, note that the History section remained intact and attributed 
 Henry as the original author.
 
 -- 
 Bruce

From: Jason McIntyre <jmc@kerhand.co.uk>
To: Bruce Cran <bruce@cran.org.uk>
Cc: bug-followup@FreeBSD.org
Subject: Re: bin/98911: getopt(1): getopt.c license issue
Date: Mon, 5 May 2008 06:26:46 +0059

 On Sun, May 04, 2008 at 10:50:05PM +0100, Bruce Cran wrote:
 > Since this issue was raised in June 2006 NetBSD added a header at the 
 > top of getopt.c:
 > 
 > /*
 >  * This material, written by Henry Spencer, was released by him
 >  * into the public domain and is thus not subject to any copyright.
 >  */
 > 
 > The FreeBSD man page for getopt(1) does record Henry as the author, but 
 > the README in src/usr.bin/getopt is possibly misleading.  The original 
 > message can be seen through Google Groups at 
 > http://groups.google.com/group/mod.std.unix/msg/4ebaa418597b4ff0 and it 
 > appears clear that Ian Darwin isn't claiming he wrote getopt but that 
 > he'd found it and was posting a copy of it for others to see.  In 
 > particular, note that the History section remained intact and attributed 
 > Henry as the original author.
 > 
 
 i see your point. however the README does not exactly do a great job of
 clarifying the license - it's hard to read it and not conclude ian
 wasn;t the author.
 
 wouldn;t it be clearer to put the public domain blurb on these files?
 
 jmc

From: Bruce Cran <bruce@cran.org.uk>
To: Jason McIntyre <jmc@kerhand.co.uk>
Cc: bug-followup@FreeBSD.org
Subject: Re: bin/98911: getopt(1): getopt.c license issue
Date: Mon, 05 May 2008 08:44:42 +0100

 This is a multi-part message in MIME format.
 --------------060203030102080107070302
 Content-Type: text/plain; charset=ISO-8859-1; format=flowed
 Content-Transfer-Encoding: 7bit
 
 I agree. The README is misleading and the solution used by NetBSD is 
 much clearer.  I think the README should possibly be removed and the 
 attached patch used to add the comment to the top of getopt.c instead.
 
 -- 
 Bruce
 
 --------------060203030102080107070302
 Content-Type: text/plain;
  name="getopt.c.diff"
 Content-Transfer-Encoding: 7bit
 Content-Disposition: inline;
  filename="getopt.c.diff"
 
 --- /usr/src/usr.bin/getopt/getopt.c	2002-09-05 00:29:01.000000000 +0100
 +++ getopt.c	2008-05-05 08:34:14.000000000 +0100
 @@ -1,6 +1,11 @@
  #include <sys/cdefs.h>
  __FBSDID("$FreeBSD: src/usr.bin/getopt/getopt.c,v 1.10 2002/09/04 23:29:01 dwmalone Exp $");
  
 +/*
 + * This material, written by Henry Spencer, was released by him
 + * into the public domain and is thus not subject to any copyright.
 + */
 +
  #include <stdio.h>
  #include <stdlib.h>
  #include <unistd.h>
 
 --------------060203030102080107070302--

From: Jason McIntyre <jmc@kerhand.co.uk>
To: Bruce Cran <bruce@cran.org.uk>
Cc: bug-followup@FreeBSD.org
Subject: Re: bin/98911: getopt(1): getopt.c license issue
Date: Mon, 5 May 2008 08:55:17 +0100

 On Mon, May 05, 2008 at 08:44:42AM +0100, Bruce Cran wrote:
 > I agree. The README is misleading and the solution used by NetBSD is 
 > much clearer.  I think the README should possibly be removed and the 
 > attached patch used to add the comment to the top of getopt.c instead.
 > 
 > -- 
 > Bruce
 
 ...and getopt.1 too.
 jmc
State-Changed-From-To: open->patched 
State-Changed-By: brooks 
State-Changed-When: Thu May 15 19:28:26 UTC 2008 
State-Changed-Why:  
Committed to HEAD 


Responsible-Changed-From-To: freebsd-bugs->brooks 
Responsible-Changed-By: brooks 
Responsible-Changed-When: Thu May 15 19:28:26 UTC 2008 
Responsible-Changed-Why:  
Committed to HEAD 

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

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: bin/98911: commit references a PR
Date: Thu, 15 May 2008 19:28:00 +0000 (UTC)

 brooks      2008-05-15 19:27:53 UTC
 
   FreeBSD src repository
 
   Modified files:
     usr.bin/getopt       getopt.c 
   Removed files:
     usr.bin/getopt       README 
   Log:
   getopt.c is public domain.  Add a comment to that effect.
   
   Remove confusing README.
   
   PR:             bin/98911
   Submitted by:   Jason McIntyre <jmc at kerhand dot co dot uk>
   Obtained from:  OpenBSD
   MFC after:      3 days
   
   Revision  Changes    Path
   1.2       +0 -57     src/usr.bin/getopt/README (dead)
   1.11      +5 -0      src/usr.bin/getopt/getopt.c
 _______________________________________________
 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: brooks 
State-Changed-When: Mon May 19 02:49:31 UTC 2008 
State-Changed-Why:  
Merged back as far as RELENG_5. 

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

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: bin/98911: commit references a PR
Date: Mon, 19 May 2008 02:46:08 +0000 (UTC)

 brooks      2008-05-19 02:46:02 UTC
 
   FreeBSD src repository
 
   Modified files:        (Branch: RELENG_7)
     usr.bin/getopt       getopt.c 
   Removed files:         (Branch: RELENG_7)
     usr.bin/getopt       README 
   Log:
   getopt.c is public domain. Add a comment to that effect.
   
   Remove confusing README.
   
   PR:             bin/98911
   Submitted by:   Jason McIntyre <jmc at kerhand dot co dot uk>
   Obtained from:  OpenBSD
   
   Revision   Changes    Path
   1.1.56.1   +0 -57     src/usr.bin/getopt/README (dead)
   1.10.24.1  +5 -0      src/usr.bin/getopt/getopt.c
 _______________________________________________
 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"
 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: bin/98911: commit references a PR
Date: Mon, 19 May 2008 02:47:09 +0000 (UTC)

 brooks      2008-05-19 02:47:05 UTC
 
   FreeBSD src repository
 
   Modified files:        (Branch: RELENG_6)
     usr.bin/getopt       getopt.c 
   Removed files:         (Branch: RELENG_6)
     usr.bin/getopt       README 
   Log:
   getopt.c is public domain. Add a comment to that effect.
   
   Remove confusing README.
   
   PR:             bin/98911
   Submitted by:   Jason McIntyre <jmc at kerhand dot co dot uk>
   Obtained from:  OpenBSD
   
   Revision   Changes    Path
   1.1.46.1   +0 -57     src/usr.bin/getopt/README (dead)
   1.10.14.1  +5 -0      src/usr.bin/getopt/getopt.c
 _______________________________________________
 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"
 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: bin/98911: commit references a PR
Date: Mon, 19 May 2008 02:49:06 +0000 (UTC)

 brooks      2008-05-19 02:49:03 UTC
 
   FreeBSD src repository
 
   Modified files:        (Branch: RELENG_5)
     usr.bin/getopt       getopt.c 
   Removed files:         (Branch: RELENG_5)
     usr.bin/getopt       README 
   Log:
   getopt.c is public domain. Add a comment to that effect.
   
   Remove confusing README.
   
   PR:             bin/98911
   Submitted by:   Jason McIntyre <jmc at kerhand dot co dot uk>
   Obtained from:  OpenBSD
   
   Revision  Changes    Path
   1.1.38.1  +0 -57     src/usr.bin/getopt/README (dead)
   1.10.8.1  +5 -0      src/usr.bin/getopt/getopt.c
 _______________________________________________
 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"
 
>Unformatted:
