2009-11-19 08:33:03

by Rusty Russell

[permalink] [raw]
Subject: Licensing on lib/bsearch.c?

Hi Tim, Andre,

I note that the license header on lib/bsearch.c is GPLv2. I wanted to
steal it for SAMBA, which is GPLv3. This is one reason all my kernel code is
v2 or later.

If you don't have strong objections, could you send something like the
following so I don't have to reimplement and re-test?

Thanks,
Rusty.

Subject: bsearch: extend license to GPL 2+

Rusty asked nicely.

diff --git a/lib/bsearch.c b/lib/bsearch.c
--- a/lib/bsearch.c
+++ b/lib/bsearch.c
@@ -6,7 +6,8 @@
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License as
- * published by the Free Software Foundation; version 2.
+ * published by the Free Software Foundation; either version 2 of
+ * the License, or (at your option) any later version.
*/

#include <linux/module.h>


2009-11-19 15:39:44

by André Goddard Rosa

[permalink] [raw]
Subject: Re: Licensing on lib/bsearch.c?

On Thu, Nov 19, 2009 at 6:33 AM, Rusty Russell <[email protected]> wrote:
> Hi Tim, Andre,
>
> ? I note that the license header on lib/bsearch.c is GPLv2. ?I wanted to
> steal it for SAMBA, which is GPLv3. ?This is one reason all my kernel code is
> v2 or later.
>
> If you don't have strong objections, could you send something like the
> following so I don't have to reimplement and re-test?
>
> Thanks,
> Rusty.
>
> Subject: bsearch: extend license to GPL 2+
>
> Rusty asked nicely.
>
> diff --git a/lib/bsearch.c b/lib/bsearch.c
> --- a/lib/bsearch.c
> +++ b/lib/bsearch.c
> @@ -6,7 +6,8 @@
> ?*
> ?* This program is free software; you can redistribute it and/or
> ?* modify it under the terms of the GNU General Public License as
> - * published by the Free Software Foundation; version 2.
> + * published by the Free Software Foundation; either version 2 of
> + * the License, or (at your option) any later version.
> ?*/
>
> ?#include <linux/module.h>
>

Hi, Rusty!

It's surely fine by me:

Acked-by: Andr? Goddard Rosa <[email protected]>

Tim?

Thank you,
Andr?

2009-11-21 21:15:26

by Tim Abbott

[permalink] [raw]
Subject: Re: Licensing on lib/bsearch.c?

On Thu, 19 Nov 2009, Rusty Russell wrote:

> Hi Tim, Andre,
>
> I note that the license header on lib/bsearch.c is GPLv2. I wanted to
> steal it for SAMBA, which is GPLv3. This is one reason all my kernel code is
> v2 or later.
>
> If you don't have strong objections, could you send something like the
> following so I don't have to reimplement and re-test?

Rusty,

I'd be happy to release it under a more permissive license.

-Tim Abbott

bsearch: relicense under MIT/X11 license.

Rusty asked nicely.

Signed-off-by: Tim Abbott <[email protected]>
---
lib/bsearch.c | 22 +++++++++++++++++++---
1 files changed, 19 insertions(+), 3 deletions(-)

diff --git a/lib/bsearch.c b/lib/bsearch.c
index 4297c98..5555bb2 100644
--- a/lib/bsearch.c
+++ b/lib/bsearch.c
@@ -4,9 +4,25 @@
* Copyright (C) 2008-2009 Ksplice, Inc.
* Author: Tim Abbott <[email protected]>
*
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU General Public License as
- * published by the Free Software Foundation; version 2.
+ * Permission is hereby granted, free of charge, to any person
+ * obtaining a copy of this software and associated documentation files
+ * (the "Software"), to deal in the Software without restriction,
+ * including without limitation the rights to use, copy, modify, merge,
+ * publish, distribute, sublicense, and/or sell copies of the Software,
+ * and to permit persons to whom the Software is furnished to do so,
+ * subject to the following conditions:
+ *
+ * The above copyright notice and this permission notice shall be
+ * included in all copies or substantial portions of the Software.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+ * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+ * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+ * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS
+ * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
+ * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
+ * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+ * SOFTWARE.
*/

#include <linux/module.h>
--
1.6.5.2