個人的な感情で言わせてもらえば、ソースコード内に仰々しいライセンス文が長々と書かれているのは大っ嫌いなのだが、大人の諸事情も飲み込まなくてはいかん。
でも正直その諸事情を理解できるほどの法知識が無いので、とりあえず身近なオープンソースのソースコードを眺めてみる。
== == == == == == == == == == == ==
サクラエディタ
== == == == == == == == == == == ==
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
sakura_core/CHokanMgr.cpp
元のシンプルな著作権表記に、年度毎の著作権表記が追加されていく形。シンプル。
/*!@file
@brief キーワード補完
@author Norio Nakatani
*/
/*
Copyright (C) 1998-2001, Norio Nakatani
Copyright (C) 2000, jepro, genta
Copyright (C) 2001, asa-o
Copyright (C) 2002, YAZAKI
Copyright (C) 2003, Moca, KEITA
Copyright (C) 2004, genta, Moca, novice
Copyright (C) 2007, ryoji
This source code is designed for sakura editor.
Please contact the copyright holders to use this code for other purpose.
*/
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
sakura_core/CEol.cpp
著作権の内容をファイルに書いた例。やっぱり長くなる。
/*!@file
@brief CEolクラスの実装
@author genta
@date 2000/05/15 新規作成 genta
*/
/*
Copyright (C) 2000-2001, genta
Copyright (C) 2000, Frozen, Moca
This software is provided 'as-is', without any express or implied
warranty. In no event will the authors be held liable for any damages
arising from the use of this software.
Permission is granted to anyone to use this software for any purpose,
including commercial applications, and to alter it and redistribute it
freely, subject to the following restrictions:
1. The origin of this software must not be misrepresented;
you must not claim that you wrote the original software.
If you use this software in a product, an acknowledgment
in the product documentation would be appreciated but is
not required.
2. Altered source versions must be plainly marked as such,
and must not be misrepresented as being the original software.
3. This notice may not be removed or altered from any source
distribution.
*/
== == == == == == == == == == == ==
UTF-8 TeraTerm Pro with TTSSH2
== == == == == == == == == == == ==
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
teraterm/common/dlglib.c
原作者の著作権表記のみの例。シンプル!
/* Tera Term
Copyright(C) 1994-1998 T. Teranishi
All rights reserved. */
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
teraterm/teraterm/commlib.c
原作者の著作権表記に、追加の著作権表記を加えた例。まだまだシンプル!
/* Tera Term
Copyright(C) 1994-1998 T. Teranishi
All rights reserved. */
/* IPv6 modification is Copyright (C) 2000, 2001 Jun-ya KATO <xxx@xxx.xx> */
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
ttssh2/putty/libputty.c
プロジェクトとしての著作権表記+引用元の著作権表記。シンプル!
/*
* Copyright(C) 2008 TeraTerm Project
*/
// PuTTY is copyright 1997-2007 Simon Tatham.
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
ttssh2/ttssh/ttssh.c
Robertさんの著作権表記。長ぇっ!
/*
Copyright (c) 1998-2001, Robert O'Callahan
All rights reserved.
Redistribution and use in source and binary forms, with or without modification,
are permitted provided that the following conditions are met:
Redistributions of source code must retain the above copyright notice, this list of
conditions and the following disclaimer.
Redistributions in binary form must reproduce the above copyright notice, this list
of conditions and the following disclaimer in the documentation and/or other materials
provided with the distribution.
The name of Robert O'Callahan may not be used to endorse or promote products derived from
this software without specific prior written permission.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS ``AS IS'' AND
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL
THE REGENTS OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
ttssh2/ttxssh/sftp.c
プロジェクトとしての著作権表記例。上を踏襲?(またはその逆?)長ぇっ!
/*
Copyright (c) 2008 TeraTerm Project
All rights reserved.
Redistribution and use in source and binary forms, with or without modification,
are permitted provided that the following conditions are met:
Redistributions of source code must retain the above copyright notice, this list of
conditions and the following disclaimer.
Redistributions in binary form must reproduce the above copyright notice, this list
of conditions and the following disclaimer in the documentation and/or other materials
provided with the distribution.
The name of Robert O'Callahan may not be used to endorse or promote products derived from
this software without specific prior written permission.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS ``AS IS'' AND
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL
THE REGENTS OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
== == == == == == == == == == == ==
boost
== == == == == == == == == == == ==
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
boost_1_35_0/boost/asio.hpp
簡易的で最低限必要な情報が詰まってる。個人的には理想に近い。
//
// asio.hpp
// ~~~~~~~~
//
// Copyright (c) 2003-2008 Christopher M. Kohlhoff (chris at kohlhoff dot com)
//
// Distributed under the Boost Software License, Version 1.0. (See accompanying
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
//
// See www.boost.org/libs/asio for documentation.
//
== == == == == == == == == == == ==
mozilla
== == == == == == == == == == == ==
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
mozilla/accessible/public/nsIAccessibilityService.idl
MPLの例。MPLだけだと、まぁ許せるかな、という程度の長さ。
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*-
*
* The contents of this file are subject to the Mozilla Public
* License Version 1.1 (the "License"); you may not use this file
* except in compliance with the License. You may obtain a copy of
* the License at http://www.mozilla.org/MPL/
*
* Software distributed under the License is distributed on an "AS
* IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
* implied. See the License for the specific language governing
* rights and limitations under the License.
*
* The Original Code is the Mozilla browser.
*
* The Initial Developer of the Original Code is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1999 Netscape Communications Corporation. All
* Rights Reserved.
*
* Original Author: Eric Vaughan (xxx@xxx.xx)
*
* Contributor(s):
*/
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
mozilla/accessible/src/atk/nsAccessNodeWrap.cpp
MPL/GPL/LGPLの例。選択肢が多い分、やっぱり文章も長くなる。
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* ***** BEGIN LICENSE BLOCK *****
* Version: MPL 1.1/GPL 2.0/LGPL 2.1
*
* The contents of this file are subject to the Mozilla Public License Version
* 1.1 (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
* http://www.mozilla.org/MPL/
*
* Software distributed under the License is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
* for the specific language governing rights and limitations under the
* License.
*
* The Original Code is mozilla.org code.
*
* The Initial Developer of the Original Code is
* Netscape Communications Corporation.
* Portions created by the Initial Developer are Copyright (C) 2003
* the Initial Developer. All Rights Reserved.
*
* Contributor(s):
* Original Author: Aaron Leventhal (xxx@xxx.xx)
*
* Alternatively, the contents of this file may be used under the terms of
* either the GNU General Public License Version 2 or later (the "GPL"), or
* the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
* in which case the provisions of the GPL or the LGPL are applicable instead
* of those above. If you wish to allow use of your version of this file only
* under the terms of either the GPL or the LGPL, and not to allow others to
* use your version of this file under the terms of the MPL, indicate your
* decision by deleting the provisions above and replace them with the notice
* and other provisions required by the GPL or the LGPL. If you do not delete
* the provisions above, a recipient may use your version of this file under
* the terms of any one of the MPL, the GPL or the LGPL.
*
* ***** END LICENSE BLOCK ***** */