All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jerry Van Baren <gvb.uboot@gmail.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] U-book and GPLv3? (fwd)
Date: Mon, 29 Jun 2009 22:03:09 -0400	[thread overview]
Message-ID: <4A49725D.6000508@gmail.com> (raw)
In-Reply-To: <20090618145128.69F27832E416@gemini.denx.de>

The discussion has mostly been emotional to date.  Here are some 
statistics (not necessarily perfect, but pretty close)...

Total number of files (after removing the .git files):
$ find . -type f | wc -l
6055

Number of files that are identified as being copyrighted:
$ grep -l -i -r 'Copyright' * | wc -l
5173

List of files with copyrights:
$ grep -l -i -r 'Copyright' * | sort > ~/ucopy.txt

List of all files:
$ find . -type f | sed 's/.\///' | sort > ~/ufiles.txt

List of files *WITHOUT* the string "copyright" in them:
$ comm -3 ~/ufiles.txt ~/ucopy.txt > ~/nocopyright.txt

Of the above, 130 of the files have the GPL in the header but not the 
string "copyright" - incomplete headers:
for file in `cat ~/nocopyright.txt` ; do grep -il 'General Public 
License' $file ; done | wc -l
130

---------------------------------------------------------------------

Total number of files that are GPLv2:
$ grep -i -r 'Free Software Foundation' * | grep -i 'version 2' > 
~/ugplv2.txt
$ wc -l ~/ugplv2.txt
4588

Number of files that are GPLv2 *or later*:
$ grep -i -r 'Free Software Foundation' * | grep -i 'either version 2' | 
wc -l
4512

76 files are GPLv2 *ONLY*:
$ grep -i -v 'either version 2' ~/ugplv2.txt | awk '{print $1}' | sed 
's/:$//'
board/stxgp3/ddr.c
board/netstar/eeprom_start.S
board/sbc8560/ddr.c
board/mpc8540eval/ddr.c
board/socrates/ddr.c
board/pm856/ddr.c
board/freescale/p2020ds/ddr.c
board/freescale/mpc8541cds/ddr.c
board/freescale/mpc8641hpcn/ddr.c
board/freescale/mpc8555cds/ddr.c
board/freescale/mpc8536ds/ddr.c
board/freescale/mpc8568mds/ddr.c
board/freescale/mpc8548cds/ddr.c
board/freescale/mpc8610hpcd/ddr.c
board/freescale/mpc8544ds/ddr.c
board/freescale/mpc8560ads/ddr.c
board/freescale/mpc8572ds/ddr.c
board/freescale/mpc8569mds/ddr.c
board/freescale/mpc8540ads/ddr.c
board/atum8548/ddr.c
board/stxssa/ddr.c
board/xes/xpedite5200/ddr.c
board/voiceblue/voiceblue.c
board/voiceblue/eeprom_start.S
board/voiceblue/setup.S
board/pm854/ddr.c
board/sbc8641d/ddr.c
board/sbc8548/ddr.c
common/ddr_spd.c
cpu/mpc86xx/fdt.c
cpu/mpc86xx/ddr-8641.c
cpu/mpc85xx/ddr-gen3.c
cpu/mpc85xx/ddr-gen2.c
cpu/mpc85xx/ddr-gen1.c
cpu/mpc8xxx/ddr/ctrl_regs.c
cpu/mpc8xxx/ddr/Makefile
cpu/mpc8xxx/ddr/ddr.h
cpu/mpc8xxx/ddr/ddr2_dimm_params.c
cpu/mpc8xxx/ddr/common_timing_params.h
cpu/mpc8xxx/ddr/ddr1_dimm_params.c
cpu/mpc8xxx/ddr/options.c
cpu/mpc8xxx/ddr/main.c
cpu/mpc8xxx/ddr/util.c
cpu/mpc8xxx/ddr/ddr3_dimm_params.c
cpu/mpc8xxx/ddr/lc_common_dimm_params.c
drivers/gpio/pca953x.c
drivers/pci/fsl_pci_init.c
drivers/misc/ds4510.c
drivers/mtd/nand/nand.c
drivers/i2c/fsl_i2c.c
drivers/usb/host/ehci-pci.c
drivers/usb/host/r8a66597.h
drivers/usb/host/ehci.h
drivers/usb/host/r8a66597-hcd.c
drivers/usb/host/ehci-core.h
drivers/usb/host/ehci-hcd.c
drivers/mmc/omap3_mmc.c
include/asm-ppc/fsl_ddr_sdram.h
include/asm-ppc/fsl_i2c.h
include/asm-ppc/fsl_dma.h
include/asm-ppc/mpc8xxx_spi.h
include/asm-ppc/fsl_ddr_dimm_params.h
include/pca953x.h
include/ds4510.h
include/configs/MPC8610HPCD.h
include/configs/voiceblue.h
include/spi_flash.h
include/ddr_spd.h
include/asm-m68k/fsl_i2c.h
include/addr_map.h
include/sha1.h
include/nand.h
include/asm-arm/arch-omap3/mmc.h
include/asm-arm/arch-omap3/mmc_host_def.h
lib_generic/sha1.c
lib_generic/addr_map.c


Number of files that are BSD licensed (but the seven (7) libfdt files 
are dual-licensed "GPLv2 or later" / BSD):
$ grep -r 'EXPRESS OR IMPLIED WARRANTIES' * | wc -l
156

Number of doc/* files (most have no copyright statement):
$ find doc/ -type f | wc -l
147

Number of doc/* files that *do* have a copyright statement:
$ grep -il copyright doc/* | wc -l
15


This implies...
    156 -    7 = 149 files use the BSD license (7 dual licensed)
   5173 - 4588 - 149 = 436 files have license header problems
                           or a different license?
   6055 - 5173 = 882 files don't have a copyright statement in them.
    147 -   15 = 132 doc/* files have no copyright
    882 -  132 = 750 files are not doc/* files and don't have copyright

Best regards,
gvb

  parent reply	other threads:[~2009-06-30  2:03 UTC|newest]

Thread overview: 174+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <E1MHHUe-00046l-SR@fencepost.gnu.org>
2009-06-18 14:51 ` [U-Boot] U-book and GPLv3? (fwd) Wolfgang Denk
2009-06-18 15:42   ` Mike Frysinger
2009-06-18 15:46   ` Jean-Christophe PLAGNIOL-VILLARD
2009-06-18 15:56     ` Jon Smirl
2009-06-19  8:30       ` Detlev Zundel
2009-06-19  0:46   ` Jerry Van Baren
2009-06-19 22:18     ` Richard Stallman
2009-06-23 16:33       ` Detlev Zundel
2009-06-23 19:26         ` Scott Wood
2009-06-23 19:41           ` Mike Frysinger
2009-06-23 21:14             ` Jean-Christophe PLAGNIOL-VILLARD
2009-06-24  9:17               ` Detlev Zundel
2009-06-24 14:16                 ` Matthew Lear
2009-06-24 16:45                   ` Detlev Zundel
2009-06-24 17:41                     ` Mike Frysinger
2009-06-25 11:22                       ` Detlev Zundel
2009-06-25 13:56                         ` Mike Frysinger
2009-06-25 14:11                           ` Detlev Zundel
2009-06-25  0:59                   ` Richard Stallman
2009-06-25  9:55                     ` Thomas Doerfler
2009-06-25 23:29                       ` Richard Stallman
2009-06-26  0:17                         ` Mike Frysinger
2009-06-27 20:07                           ` Richard Stallman
2009-06-26  6:11                         ` Thomas Doerfler
2009-06-25 14:00                     ` Mike Frysinger
2009-06-25 15:38                       ` ksi at koi8.net
2009-06-25 16:07                         ` Jean-Christian de Rivaz
2009-06-25 16:39                           ` ksi at koi8.net
2009-06-25 19:10                             ` Jean-Christian de Rivaz
2009-06-25 19:38                               ` ksi at koi8.net
2009-06-25 20:22                                 ` Jean-Christian de Rivaz
2009-06-25 20:45                                   ` ksi at koi8.net
2009-06-25 21:44                                     ` Jean-Christian de Rivaz
2009-06-25 22:11                                       ` ksi at koi8.net
2009-06-26  9:03                                         ` Jean-Christian de Rivaz
2009-06-26  4:50                         ` Richard Stallman
2009-06-26 21:35                       ` Richard Stallman
2009-06-25  0:59               ` Richard Stallman
2009-06-25 21:24                 ` Jean-Christophe PLAGNIOL-VILLARD
2009-06-26  4:50                   ` Richard Stallman
2009-06-26  7:22                     ` Jean-Christophe PLAGNIOL-VILLARD
2009-06-26 12:10                       ` Detlev Zundel
2009-06-27  9:01                         ` Thomas Doerfler
2009-06-28 20:28                           ` Richard Stallman
2009-06-29  7:05                             ` Thomas Doerfler
2009-06-27  9:03                         ` Thomas Doerfler
2009-06-26 21:35                       ` Richard Stallman
2009-06-27 19:05                         ` Jean-Christophe PLAGNIOL-VILLARD
2009-06-28 20:28                           ` Richard Stallman
2009-06-24  9:12             ` Detlev Zundel
2009-06-24 11:43               ` Mike Frysinger
2009-06-24 13:17                 ` Detlev Zundel
2009-06-24 14:38                   ` Mike Frysinger
2009-06-24 16:34                     ` Detlev Zundel
2009-06-24 16:57                       ` Scott Wood
2009-06-25 12:30                         ` Richard Stallman
2009-06-25 19:40                           ` Scott Wood
2009-06-24 17:32                       ` Mike Frysinger
2009-06-25 11:04                         ` Detlev Zundel
2009-06-25 13:53                           ` Mike Frysinger
2009-06-25 14:20                             ` Detlev Zundel
2009-06-25 14:37                               ` Mike Frysinger
2009-06-26  8:25                                 ` Detlev Zundel
2009-06-26 13:41                                   ` Mike Frysinger
2009-06-26 13:56                                     ` Detlev Zundel
2009-06-26 14:17                                       ` Mike Frysinger
2009-06-26 15:11                                         ` Detlev Zundel
2009-06-26 16:23                                           ` Mike Frysinger
2009-06-25 14:41                               ` Detlev Zundel
2009-06-25 18:37                                 ` Mike Frysinger
2009-06-26  8:21                                   ` Detlev Zundel
2009-06-26 13:48                                     ` Mike Frysinger
2009-06-29 15:17                                 ` Robin Getz
2009-06-29 18:48                                   ` Richard Stallman
2009-06-29 19:45                                     ` Robin Getz
2009-06-30 14:04                                       ` Richard Stallman
2009-06-30 17:14                                         ` Robin Getz
2009-06-30 19:12                                           ` Richard Stallman
2009-06-30 22:29                                             ` Robin Getz
2009-07-01 11:46                                               ` Richard Stallman
2009-07-01 13:11                                                 ` Graeme Russ
2009-07-01 13:55                                                   ` Jerry Van Baren
2009-07-01 14:51                                                 ` Robin Getz
2009-07-02  8:35                                                   ` Pink Boy
2009-07-02 13:56                                                   ` Richard Stallman
2009-07-02 14:59                                                     ` Robin Getz
2009-07-02 16:11                                                       ` Larry Johnson
2009-07-02 17:12                                                         ` Robin Getz
2009-07-02 22:34                                                           ` Pink Boy
2009-07-02 17:21                                                       ` Jean-Christian de Rivaz
2009-07-03 13:48                                                       ` Richard Stallman
2009-07-01  5:58                                             ` Thomas Dörfler
2009-07-02 13:56                                               ` Richard Stallman
2009-07-02 14:44                                                 ` Jon Smirl
2009-07-02 16:06                                                   ` Mike Frysinger
2009-07-03 13:47                                                   ` Richard Stallman
2009-07-03 15:51                                                     ` [U-Boot] U-boot " Wolfgang Wegner
2009-07-03 22:52                                                       ` Richard Stallman
2009-07-04  0:29                                                     ` [U-Boot] U-book " Jon Smirl
2009-07-06 18:04                                                     ` Scott Wood
2009-06-30 19:12                                           ` Richard Stallman
2009-06-30 21:01                                             ` Robin Getz
2009-07-01 11:45                                               ` Richard Stallman
2009-07-01 14:27                                                 ` Robin Getz
2009-07-02 13:56                                                   ` Richard Stallman
2009-06-30 19:12                                           ` Richard Stallman
2009-06-30 22:46                                             ` Robin Getz
2009-07-01 11:45                                               ` Richard Stallman
2009-06-25 23:29                         ` Richard Stallman
2009-06-26  0:02                           ` Mike Frysinger
2009-06-27 20:07                             ` Richard Stallman
2009-06-28 18:48                               ` Mike Frysinger
2009-06-25  0:59                 ` Richard Stallman
2009-06-25  3:35                   ` Mike Frysinger
2009-06-25 16:48                     ` Chris Morgan
2009-06-25 19:25                       ` Scott Wood
2009-06-24  9:09           ` Detlev Zundel
2009-06-24 16:24             ` Scott Wood
2009-06-24 16:36               ` Jon Smirl
2009-06-24 16:56                 ` Detlev Zundel
2009-06-24 19:16                   ` Jon Smirl
2009-06-25 11:25                     ` Detlev Zundel
2009-06-25 10:48               ` Detlev Zundel
2009-06-25  0:58             ` Richard Stallman
2009-06-24 17:16         ` Grant Likely
2009-06-25  0:59         ` Richard Stallman
     [not found]   ` <fa686aa40906181853g3ce4ebeagc7b7cc93010a6a9c@mail.gmail.com>
2009-06-19  1:53     ` Grant Likely
2009-06-19  8:40   ` Detlev Zundel
2009-06-25 14:11     ` Mike Frysinger
2009-06-27 20:18       ` Jean-Christophe PLAGNIOL-VILLARD
2009-06-27 22:50         ` ksi at koi8.net
2009-06-29 14:56           ` Arno Fischer
2009-06-29 15:27             ` Frank Svendsbøe
2009-06-29 16:00               ` Mike Frysinger
2009-06-29 16:33               ` Detlev Zundel
2009-07-07 11:51       ` Haavard Skinnemoen
2009-07-07 13:12         ` Wolfgang Denk
2009-07-07 13:50           ` Haavard Skinnemoen
2009-07-07 14:43             ` Wolfgang Denk
2009-07-07 15:18               ` Haavard Skinnemoen
2009-07-07 15:28               ` Jon Smirl
2009-07-07 16:26                 ` Wolfgang Denk
2009-06-25 18:46   ` Thomas Doerfler
2009-06-25 18:52     ` ksi at koi8.net
2009-06-25 19:04     ` Mike Frysinger
2009-06-30  2:03   ` Jerry Van Baren [this message]
2009-06-30 14:05     ` Richard Stallman
2009-06-30 14:16       ` Jerry Van Baren
2009-06-30 14:30         ` Detlev Zundel
2009-06-30 15:11       ` Eric Nelson
2009-06-30 19:12         ` Richard Stallman
2009-06-30 17:07     ` Scott Wood
2009-07-01  0:01     ` Jerry Van Baren
2009-07-06 10:55   ` [U-Boot] U-book and GPLv3? Wolfgang Denk
2009-07-06 12:41     ` Jon Smirl
2009-07-06 14:40       ` Wolfgang Denk
2009-07-06 16:06       ` ksi at koi8.net
2009-07-07 10:05       ` Richard Stallman
2009-07-07 16:50         ` Scott Wood
2009-07-06 15:44     ` Jerry Van Baren
2009-07-06 18:46       ` Wolfgang Denk
2009-07-07 19:16         ` Remy Bohmer
2009-07-07 21:17           ` Wolfgang Denk
2009-07-07 10:05       ` Richard Stallman
2009-07-07 13:24     ` Robin Getz
2009-07-07 20:07     ` Remy Bohmer
2009-07-07 21:24       ` Wolfgang Denk
2009-07-09 16:10     ` Kumar Gala
2009-07-09 17:54       ` Mike Frysinger
2009-07-09 18:01         ` Kumar Gala
2009-07-09 19:49         ` Remy Bohmer
2009-07-09 20:26           ` Mike Frysinger
2009-07-10 12:49           ` Robert Schwebel
2009-07-09 20:04       ` Wolfgang Denk

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4A49725D.6000508@gmail.com \
    --to=gvb.uboot@gmail.com \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.