[Momonga-devel.ja:00020] Re: License タグについて


小松です。本題からは外れますが。

From: Tadaaki OKABE <kabe@xxxxxxx>
Subject: [Momonga-devel.ja:00015] Re: License タグについて
Date: Wed, Jul 10, 2002 at 08:46:43AM JST

>  Momonga Projectとして使用する“License”タグの一覧を
>  用意すれば、混乱は少なくなるのではないでしょうか。
> 
>  たとえば、あるパッケージで“License: GPL”とあった場
>  合、Momonga Projectでは、“GPL version 2”を指す、と
>  わかるようになっていればよいかと。
> 
>  パッケージ作成者もその一覧を参照して、License:タグを
>  付けるようにする、と。

これは賛成です。
さっき cvs の spec から License: タグだけを取り出して見てみたのですが、
結構わかりにくい/まぎらわしいものがあると思います。
また、表記の揺れもかなりあります。
例えば BSD style license でも 

    "BSD" "BSD-like" "BSDlike" "The modified BSD license" 
    "Modified BSD-style license" "BSDish" "BSD-style" "BSD style license"

だけの種類がありますし、また
独自ライセンスのものは "freeware" だったり "distributable" だったりします。
さらに、例えば "GPL and Artistic" と書いた時に
これが dual license なのか、それとも複数のライセンスのものが混ざっているのかも
よくわからなかったりします。
(例えば LPRng は "GPL and Artistic" となっていますが、
 これは GPL と Artistic license の dual license ですし、
 逆に "GPL and Ruby License" となっている ruby-rd2html-ext は
 GPL な code と ruby license の code が混ざっています)。
 
この辺を統一するためにも、
また、パッケージ作成者が License: タグをつけるのに
頭を悩ませなくてもすむように、
ライセンス一覧は作った方がいいと思います。

# って、ここまで書いて気付いたのですが、
# ほそのさんが日記に書いてることとほぼ同じだ。。。(^_^;


議論の叩き台になるように、現在使われている License: の一覧を
メールの最後につけます(長いです)。
また、この一覧を出力する途中で気付いたのですが、
以下のパッケージでは License: ではなく Copyright: が使われているので、
修正した方がいいかもしれません。

# 数が合わないのは、1つの spec file に複数の License: タグが書かれている
# パッケージがあるためです。


[Copyright: タグが使われているもの]
bash$ cd $momongacvs/pkgs
bash$ for d in *; do 
        if [ -d $d -a "$d" != CVS ]; then 
          grep -q '^License[[:blank:]]*:[[:blank:]]*\([A-Za-z0-9].*\)[[:blank:]]*$' $d/*.spec || echo $d; 
	fi ; 
      done
autotrace
crux
donkey
gimageview
pptpd


[License: タグ一覧]
bash$ cd $momongacvs/pkgs
bash$ for d in *; do 
        if [ -d $d -a "$d" != CVS ]; then 
	  sed -n 's/^License[[:blank:]]*:[[:blank:]]*\([A-Za-z0-9].*\)[[:blank:]]*$/\1/p' $d/*.spec ; 
	fi ; 
      done | sort | uniq -c | sort -nr
    626	GPL
    102	LGPL
     97	distributable
     63	BSD
     43	Distributable
     42	GPL2
     16	MIT
     12	freeware
     11	Public Domain
      6	public domain
      6	LGPL/GPL
      4	See License
      4	GPL or Artistic
      4	BSD-like
      4	Artistic
      3	distributable 
      3	Ruby's
      3	Ruby License
      3	GPL/LGPL
      3	Commercial
      3	Apache Software License
      2	unknown
      2	none
      2	X, distributable
      2	W3C Copyright (BSD like).
      2	The modified BSD license
      2	Public domain
      2	OSI certified
      2	MPL
      2	IBM Public License
      2	GPL, LGPL
      2	GPL or BSD
      2	GNU
      2	Freely distributable
      2	Free
      2	BSDlike
      2	Apacheish
      2	Apache
      1	suite yourself
      1	freeware.  See COPYRIGHT file.
      1	free
      1	distributable and BSD Style
      1	distributable GPL
      1	commercial
      1	artistic
      1	XFree86
      1	X Consortium-like
      1	WINEL
      1	W3C (see: http://www.w3.org/Consortium/Legal/copyright-software.html);
      1	W3C
      1	University College London
      1	UCB
      1	Shareware
      1	Ruby
      1	QPL/GPL
      1	QPL
      1	PSF - see LICENSE
      1	PHP
      1	Original Licence (See Copyright and README.plus)
      1	Opensource
      1	OpenSource
      1	OpenLDAP
      1	Open Group Public License
      1	OPL
      1	Nonfree
      1	None
      1	NONE
      1	Motonori Nakamura and WIDE Project
      1	Momonga
      1	Modified BSD-style license
      1	MPL/GPL
      1	MIT/X Consortium License
      1	MIT/X Consortium
      1	MIT-like
      1	LGPL2
      1	LGPL and others
      1	LGPL 
      1	GPLv2 or XFree86
      1	GPL2 or later
      1	GPL2 & OPL
      1	GPL/distributable
      1	GPL/XFree86
      1	GPL/QPL
      1	GPL, URW holds copyright
      1	GPL or artistic
      1	GPL or artisitic
      1	GPL and Ruby License
      1	GPL and Artistic
      1	GPL (programs), relaxed LGPL (libraries), and public domain (docs)
      1	GNU GPL version 2
      1	GNU GPL Version 2 or any later version.
      1	Freeware (see LICENSE)
      1	Freeware
      1	Freely distributable and usable
      1	Distrubutable
      1	Distributable for non-commercial
      1	Distributable - Copyright 1989,1990 by Paul Sutcliffe Jr.
      1	Copyright (c) 1995,1998 NEC Corporation.  Freely Distributable
      1	Copyright (C) 1999, ASCII Corporation
      1	Copyright (C) 1997 and 1998 WIDE Project.  All rights reserved.
      1	BSDish
      1	BSD-style, 1998-2000 The Johns Hopkins University
      1	BSD-style
      1	BSD-like or LGPL
      1	BSD,GPL,SUN(see: source code)
      1	BSD style license
      1	BSD like
      1	Apache-style
      1	Apache Software Lisense
      1	ASIS
      1	3DFX GLIDE Source Code General Public License

-- 
---------------------------------------
東京大学大学院総合文化研究科
広域科学専攻相関基礎科学系 
  佐々研究室  博士3年
    小松  晋一朗            
mailto:koma2@xxxxxxxxxxxxxxxxxxxx
http://kamuy.c.u-tokyo.ac.jp/~koma2/
---------------------------------------