svn commit: trunk/busybox: console-tools include

Yann E. MORIN yann.morin.1998 at anciens.enib.fr
Fri Sep 22 09:34:06 UTC 2006


On Friday 22 September 2006 101, aldot at busybox.net wrote:
> Author: aldot
> Date: 2006-09-22 01:18:41 -0700 (Fri, 22 Sep 2006)
> New Revision: 16176
> 
> Log:
> - add new applet resize.
[--SNIP--]
> Added: trunk/busybox/console-tools/resize.c
> ===================================================================
> --- trunk/busybox/console-tools/resize.c	2006-09-22 02:52:41 UTC (rev 16175)
> +++ trunk/busybox/console-tools/resize.c	2006-09-22 08:18:41 UTC (rev 16176)
> @@ -0,0 +1,38 @@
> +/* vi: set sw=4 ts=4: */
> +/*
> + * resize - set terminal width and height.
> + *
> + * Copyright 2006 Bernhard Fischer
> + *
> + * Licensed under GPLv2 or later, see file LICENSE in this tarball for details.
> + */

Please note:
  1) The code in BusyBox in GPLv2 (only).
  2) The submitted patch was GPLv2 or later.
  3) The result of "agregating" those two codes is licensed using the common
     denominator, that is GPLv2 (only).

I have thought of a little way to present things. You can see it as a bit
mask, each bit being one license grant. When "agregating" code from different
licenses, the result is licensed under the bitwise-AND of the two (or more)
license grants. If you end up with 0 (no bit set), then there is no common
license, and merging is forbidden (unless you are eager to go to court).

Exemple in this case:
 - bit #0 means licensed under GPLv2
 - bit #1 means licensed under "or any later version"

 - BusyBox has bit #0 set, and bit #1 unset:          01
 - The patch has both bits set (GPLv2, or later):   & 11
 - The result has bit #0 set, and bit #1 unset:     = 01

 - Thus the result is GPLv2 (only).

Regards,
Yann E. MORIN.

-- 
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +0/33 662376056 | Software  Designer | \ / CAMPAIGN     |   ^                |
| --==< °_° >==-- °------------.-------:  X  AGAINST      |  /e\  There is no  |
| http://ymorin.is-a-geek.org/ | (*_*) | / \ HTML MAIL    |  """  conspiracy.  |
°------------------------------°-------°------------------°--------------------°



More information about the busybox-cvs mailing list