public inbox for libc-alpha@sourceware.org
 help / color / mirror / Atom feed
* licensing status for files without notice
@ 2018-01-02 17:56 Christoph Hellwig
  2018-01-02 18:29 ` Joseph Myers
  0 siblings, 1 reply; 5+ messages in thread
From: Christoph Hellwig @ 2018-01-02 17:56 UTC (permalink / raw)
  To: libc-alpha

Hi all,

what license are files in glibc under that do not have an explicit
copyright notice?

My practical case is that I have a test cased that reuses the general
structure and small amounts of code from tst-pselect.c, and I'd like
to keep the license and an attribution in tact.

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: licensing status for files without notice
  2018-01-02 17:56 licensing status for files without notice Christoph Hellwig
@ 2018-01-02 18:29 ` Joseph Myers
  2018-01-02 18:39   ` Florian Weimer
  0 siblings, 1 reply; 5+ messages in thread
From: Joseph Myers @ 2018-01-02 18:29 UTC (permalink / raw)
  To: Christoph Hellwig; +Cc: libc-alpha

On Tue, 2 Jan 2018, Christoph Hellwig wrote:

> Hi all,
> 
> what license are files in glibc under that do not have an explicit
> copyright notice?

We should put a standard LGPL notice on any such files more than ten lines 
long.  (However, to get the copyright dates for an old file without a 
copyright notice it may be necessary to check history.git for when the 
file was actually created, because of problems with the coalescing of 
commits into subsequent ChangeLog commits in earlier history.)

-- 
Joseph S. Myers
joseph@codesourcery.com

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: licensing status for files without notice
  2018-01-02 18:29 ` Joseph Myers
@ 2018-01-02 18:39   ` Florian Weimer
  2018-01-02 20:43     ` Joseph Myers
  2018-01-02 21:04     ` Carlos O'Donell
  0 siblings, 2 replies; 5+ messages in thread
From: Florian Weimer @ 2018-01-02 18:39 UTC (permalink / raw)
  To: Joseph Myers, Christoph Hellwig; +Cc: libc-alpha

[-- Attachment #1: Type: text/plain, Size: 682 bytes --]

On 01/02/2018 07:29 PM, Joseph Myers wrote:
> On Tue, 2 Jan 2018, Christoph Hellwig wrote:
> 
>> Hi all,
>>
>> what license are files in glibc under that do not have an explicit
>> copyright notice?
> 
> We should put a standard LGPL notice on any such files more than ten lines
> long.  (However, to get the copyright dates for an old file without a
> copyright notice it may be necessary to check history.git for when the
> file was actually created, because of problems with the coalescing of
> commits into subsequent ChangeLog commits in earlier history.)

I think the ChangeLog files themselves are sufficiently accurate to 
determine the year of the change.

Thanks,
Florian

[-- Attachment #2: tst-pselect.patch --]
[-- Type: text/x-patch, Size: 1293 bytes --]

Subject: [PATCH] misc/tst-pselect.c: Add copyright header
To: libc-alpha@sourceware.org

The initial year is based on the date in the original ChangeLog entry
(2006-01-21).

2018-01-02  Florian Weimer  <fweimer@redhat.com>

	* misc/tst-pselect.c: Add copyright header.

diff --git a/misc/tst-pselect.c b/misc/tst-pselect.c
index 0d11a809a0..fc28d64238 100644
--- a/misc/tst-pselect.c
+++ b/misc/tst-pselect.c
@@ -1,3 +1,20 @@
+/* Copyright (C) 2006-2018 Free Software Foundation, Inc.
+   This file is part of the GNU C Library.
+
+   The GNU C Library is free software; you can redistribute it and/or
+   modify it under the terms of the GNU Lesser General Public
+   License as published by the Free Software Foundation; either
+   version 2.1 of the License, or (at your option) any later version.
+
+   The GNU C Library is distributed in the hope that it will be useful,
+   but WITHOUT ANY WARRANTY; without even the implied warranty of
+   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+   Lesser General Public License for more details.
+
+   You should have received a copy of the GNU Lesser General Public
+   License along with the GNU C Library; if not, see
+   <http://www.gnu.org/licenses/>.  */
+
 #include <errno.h>
 #include <signal.h>
 #include <stdio.h>

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: licensing status for files without notice
  2018-01-02 18:39   ` Florian Weimer
@ 2018-01-02 20:43     ` Joseph Myers
  2018-01-02 21:04     ` Carlos O'Donell
  1 sibling, 0 replies; 5+ messages in thread
From: Joseph Myers @ 2018-01-02 20:43 UTC (permalink / raw)
  To: Florian Weimer; +Cc: Christoph Hellwig, libc-alpha

On Tue, 2 Jan 2018, Florian Weimer wrote:

> On 01/02/2018 07:29 PM, Joseph Myers wrote:
> > On Tue, 2 Jan 2018, Christoph Hellwig wrote:
> > 
> > > Hi all,
> > > 
> > > what license are files in glibc under that do not have an explicit
> > > copyright notice?
> > 
> > We should put a standard LGPL notice on any such files more than ten lines
> > long.  (However, to get the copyright dates for an old file without a
> > copyright notice it may be necessary to check history.git for when the
> > file was actually created, because of problems with the coalescing of
> > commits into subsequent ChangeLog commits in earlier history.)
> 
> I think the ChangeLog files themselves are sufficiently accurate to determine
> the year of the change.

Yes, if the addition of such a file is mentioned in a ChangeLog, that can 
be used to determine the start year for the copyright range.

-- 
Joseph S. Myers
joseph@codesourcery.com

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: licensing status for files without notice
  2018-01-02 18:39   ` Florian Weimer
  2018-01-02 20:43     ` Joseph Myers
@ 2018-01-02 21:04     ` Carlos O'Donell
  1 sibling, 0 replies; 5+ messages in thread
From: Carlos O'Donell @ 2018-01-02 21:04 UTC (permalink / raw)
  To: Florian Weimer, Joseph Myers, Christoph Hellwig; +Cc: libc-alpha

On 01/02/2018 10:39 AM, Florian Weimer wrote:
> On 01/02/2018 07:29 PM, Joseph Myers wrote:
>> On Tue, 2 Jan 2018, Christoph Hellwig wrote:
>>
>>> Hi all,
>>>
>>> what license are files in glibc under that do not have an explicit
>>> copyright notice?
>>
>> We should put a standard LGPL notice on any such files more than ten lines
>> long.  (However, to get the copyright dates for an old file without a
>> copyright notice it may be necessary to check history.git for when the
>> file was actually created, because of problems with the coalescing of
>> commits into subsequent ChangeLog commits in earlier history.)
> 
> I think the ChangeLog files themselves are sufficiently accurate to determine the year of the change.
> 
> Thanks,
> Florian
> 
> tst-pselect.patch
> 
> 
> Subject: [PATCH] misc/tst-pselect.c: Add copyright header
> To: libc-alpha@sourceware.org
> 
> The initial year is based on the date in the original ChangeLog entry
> (2006-01-21).
> 
> 2018-01-02  Florian Weimer  <fweimer@redhat.com>
> 
> 	* misc/tst-pselect.c: Add copyright header.

LGTM.

Relevant ChangeLog was ChangeLog.old/ChangeLog.16.

Entry was for 2006-01-21, the file in question was created by Ulrich Drepper
while at Red Hat.

The git history is also accurate.

Reviewed-by: Carlos O'Donell <carlos@redhat.com>

> diff --git a/misc/tst-pselect.c b/misc/tst-pselect.c
> index 0d11a809a0..fc28d64238 100644
> --- a/misc/tst-pselect.c
> +++ b/misc/tst-pselect.c
> @@ -1,3 +1,20 @@
> +/* Copyright (C) 2006-2018 Free Software Foundation, Inc.
> +   This file is part of the GNU C Library.
> +
> +   The GNU C Library is free software; you can redistribute it and/or
> +   modify it under the terms of the GNU Lesser General Public
> +   License as published by the Free Software Foundation; either
> +   version 2.1 of the License, or (at your option) any later version.
> +
> +   The GNU C Library is distributed in the hope that it will be useful,
> +   but WITHOUT ANY WARRANTY; without even the implied warranty of
> +   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
> +   Lesser General Public License for more details.
> +
> +   You should have received a copy of the GNU Lesser General Public
> +   License along with the GNU C Library; if not, see
> +   <http://www.gnu.org/licenses/>.  */
> +
>  #include <errno.h>
>  #include <signal.h>
>  #include <stdio.h>


-- 
Cheers,
Carlos.

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2018-01-02 21:04 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-01-02 17:56 licensing status for files without notice Christoph Hellwig
2018-01-02 18:29 ` Joseph Myers
2018-01-02 18:39   ` Florian Weimer
2018-01-02 20:43     ` Joseph Myers
2018-01-02 21:04     ` Carlos O'Donell

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).