ckb linux オプション 2 - computex | 株式会社 …”使用になる前に このたびはckb...

275
CKB Linux オプション 2.1 導入ガイド (第 2 版) Copyright (C)2014 (株)コンピューテックス

Upload: trandang

Post on 17-Jul-2019

231 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: CKB Linux オプション 2 - COMPUTEX | 株式会社 …”使用になる前に このたびはCKB Linux オプション2.1 をお買い上げいただきありがとうございます。

CKB Linux オプション 2.1

導入ガイド (第 2 版)

Copyright (C)2014 (株)コンピューテックス

Page 2: CKB Linux オプション 2 - COMPUTEX | 株式会社 …”使用になる前に このたびはCKB Linux オプション2.1 をお買い上げいただきありがとうございます。

ご使用になる前に このたびは CKB Linux オプション 2.1 をお買い上げいただきありがとうございます。

CKB Linux オプション 2.1 をご使用になる前にマニュアルをよくお読みいただき、正しくお使いください。

本製品を輸出する(日本国外への持出含む)場合、またはソフトウェアを国内非居住者に提供する場合は外国為替及び外国貿易法

に従って必要な手続きをお取りください。

本製品および付属のマニュアル、回路図、ソフトウェア等の一部、または全部を無断で使用することや、複製することはできません。

本製品の内容、および仕様に関しては製品の信頼性、機能、設計の改良により将来予告なしに変更することがあります。

CSIDE に関する著作権は(株)コンピューテックスに帰属します。

CSIDE、PALMiCEおよび COMPUTEXは、(株)コンピューテックスの登録商標です。

MicrosoftおよびWindowsは、米国Microsoft Corporation の、米国、日本およびその他の国における登録商標または商標です。

Linux は、Linus Torvalds 氏の日本およびその他の国における登録商標または商標です。

その他本書で取り上げる会社名および製品名などは、一般に各メーカーの商標、または登録商標です。

あわせて当社WEBサイトに掲載されている「保証規定」も必ずご確認ください。

http://www.computex.co.jp/support/guarantee/index.htm

Page 3: CKB Linux オプション 2 - COMPUTEX | 株式会社 …”使用になる前に このたびはCKB Linux オプション2.1 をお買い上げいただきありがとうございます。

目 次

第 1 章 はじめに ........................................................................................................ 1 1.1 はじめに ....................................................................................................................................................................... 1

1.2 製品構成について ................................................................................................................................................... 3

1.3 準備するもの ............................................................................................................................................................. 4

1.4 コマンド表記について ............................................................................................................................................... 5

1.5 動作環境 ................................................................................................................................................................... 5

第 2 章 VMware のセットアップ .............................................................................. 6 2.1 はじめに ....................................................................................................................................................................... 6

2.2 インストール ................................................................................................................................................................ 6

第 3 章 Ubuntu のセットアップ ................................................................................ 8 3.1 はじめに ....................................................................................................................................................................... 8

3.2 インストール ................................................................................................................................................................ 8

3.3 その他の設定 ..........................................................................................................................................................22

3.3.1 仮想マシンの設定 ...................................................................................................................................22

3.3.2 DVD ドライブの設定 ................................................................................................................................23

第 4 章 CKB Linux SDK V2.01.01 のセットアップ .......................................... 25 4.1 はじめに .....................................................................................................................................................................25

4.2 インストール ..............................................................................................................................................................25

4.3 開発環境のセットアップ ........................................................................................................................................25

4.3.1 開発環境セットアップ・スクリプトの実行 ...........................................................................................25

4.3.2 samba 共有 ...............................................................................................................................................27

4.3.3 開発環境セットアップ・スクリプトの解説 ...........................................................................................29

第 5 章 ビルド .......................................................................................................... 30 5.1 はじめに .....................................................................................................................................................................30

5.2 ビルド ..........................................................................................................................................................................30

5.2.1 イニシャル・ビルド・スクリプトの実行 ....................................................................................................30

5.2.2 イニシャル・ビルド・スクリプトの解説 ....................................................................................................31

5.2.3 再ビルド ......................................................................................................................................................32

第 6 章 ハードウェアの接続 .................................................................................. 33 6.1 はじめに .....................................................................................................................................................................33

6.2 ハードウェアの接続図............................................................................................................................................33

6.2.1 USB シリアル・コンバータの準備 ..........................................................................................................34

第 7 章 フラッシュ・メモリへの書き込み ............................................................... 35

Page 4: CKB Linux オプション 2 - COMPUTEX | 株式会社 …”使用になる前に このたびはCKB Linux オプション2.1 をお買い上げいただきありがとうございます。

7.1 はじめに .....................................................................................................................................................................35

7.1.1 シリアル・ケーブルを使ったフラッシュ書き込み(CKB-1808,CKB-3352) ..................................36

7.1.2 シリアル・ケーブルを使ったフラッシュ書き込み(CKB-RZ/A1H) .................................................39

第 8 章 CKB Linux の実行 ................................................................................. 43 8.1 はじめに .....................................................................................................................................................................43

8.2 u-boot 環境変数 ..................................................................................................................................................43

8.2.1 CKB-1808 u-boot 環境変数 ............................................................................................................43

8.2.2 CKB-3352 u-boot 環境変数 ............................................................................................................44

8.2.3 CKB-RZ/A1H u-boot 環境変数 .....................................................................................................45

8.3 ログイン ......................................................................................................................................................................46

8.4 ネットワークの設定 .................................................................................................................................................46

8.4.1 ネットワークの初期設定値 ...................................................................................................................46

8.4.2 無線 LAN への接続...............................................................................................................................47

8.4.3 ネットワークの設定確認 ........................................................................................................................53

第 9 章 C-Shark を使用してデバッグする ........................................................ 54 9.1 はじめに .....................................................................................................................................................................54

9.2 インストール ..............................................................................................................................................................54

9.2.1 C-Shark のインストール .........................................................................................................................54

9.2.2 CSIDE デーモン(csided)のインストール ............................................................................................57

9.3 デバッグの開始 ........................................................................................................................................................57

9.3.1 ターゲットとの接続 ...................................................................................................................................57

9.3.2 CSIDE デーモン(csided)の起動 .........................................................................................................58

9.3.3 CSIDE の起動 ..........................................................................................................................................58

第 10 章 PALMiCE3 を使用してデバッグする .................................................. 65 10.1 はじめに ...................................................................................................................................................................65

10.2 ハードウェアの接続 ..............................................................................................................................................65

10.3 CSIDE の起動.......................................................................................................................................................66

10.4 Linux デバッグ・モード ..........................................................................................................................................67

10.4.1 Linux-APDLIB の導入 .......................................................................................................................67

10.4.2 カーネル・パッチの適用 ........................................................................................................................67

10.4.3 vmlinux デバッグ情報のロード............................................................................................................67

10.4.4 Linux デバッグ設定 ...............................................................................................................................68

10.5 カーネル/ローダブル・モジュールのデバッグ ....................................................................................................68

10.6 アプリケーションのデバッグ...................................................................................................................................68

第 11 章 CKB Linux SDK に含まれるソフトウェア .......................................... 69 11.1 ライセンスについて ................................................................................................................................................69

11.1.1 ソース・パッケージのリスト ....................................................................................................................69

11.1.2 ライセンス .................................................................................................................................................70

Page 5: CKB Linux オプション 2 - COMPUTEX | 株式会社 …”使用になる前に このたびはCKB Linux オプション2.1 をお買い上げいただきありがとうございます。

CKB Linux オプション 2.1 導入ガイド 第 1 章 はじめに 1

第1章 はじめに

1.1 はじめに

本書「CKB Linuxオプション 2.1 導入ガイド」は、産業機器向けの本格的な組込みボードとしてラインアップする CKB ボード

に、組み込み Linux の開発環境である「CKB Linux SDK V2.01.01」を導入するためのマニュアルです。

まず、CKB Linux 開発ではホスト・パソコン(Windows パソコン)に Linux クロス開発環境の構築を行います。

CKB Linux SDK V2.01.01 では、CKB-RZ/A1H, CKB-3352, CKB-1808 の各ボードに対応しています。

対応 CKB-3352(0-B 以前) CKB-3352(0-C以降) CKB-1808 CKB-RZ/A1H

V2.01.00 以前 ○ × ○ ○

V2.01.01 以降 ○ ○ ○ ○

CKB-3352(0-C以降)ボードでは、V2.01.01 以降を使用してください。

開発環境の構築には「CKB Linux SDK V2.01.01」で提供するソフトウェアの他に、次のソフトウェアが必要です。

VMware Player Ver5.0.3 (VMware-player-5.0.3-1410761.exe)

下記のサイトからダウンロードしてください。

http://www.vmware.com/jp/

Ubuntu Ver12.04.2 LTS (ubuntu-ja-12.04.2-desktop-i386.iso)

下記のサイトからダウンロードしてください。

http://www.ubuntulinux.jp/

CKB Linux SDK V2.01.01のセットアップからビルド、そしてフラッシュ・メモリへの書き込みまでを以下の手順で行います。

「第 2 章 VMware のセットアップ」 ならびに

「第 3 章 Ubuntu のセットアップ」 参照

「第 4 章 CKB Linux SDK V2.01.01 のセットアップ」 参照

「第 5 章 ビルド」 参照

「第 7 章 フラッシュ・メモリへの書き込み」参照

ホスト・パソコンのセットアップ

VMware Player と Ubuntu をインストール

CKB Linux SDK のセットアップ

ビルド

フラッシュ・メモリへの書き込み

完了

Page 6: CKB Linux オプション 2 - COMPUTEX | 株式会社 …”使用になる前に このたびはCKB Linux オプション2.1 をお買い上げいただきありがとうございます。

CKB Linux オプション 2.1 導入ガイド 第 1 章 はじめに 2

また、「第 9 章 C-Shark を使用してデバッグする」と「第 10 章 PALMiCE3 を使用してデバッグする」では、それぞれ

C-Shark(評価版)、PALMiCE3(別売品)でのデバッグ方法について紹介しています。

CKB Linux オプション 2.1 に付属する「CKB Linux SDK」は無償でいつでも当社ホームページからダウンロード可能

です。本ソフトウェアを使用する場合は十分な動作確認を行ってください。

まあ、各ソフトウェアのライセンスに従ってお取扱いください。

Note

Page 7: CKB Linux オプション 2 - COMPUTEX | 株式会社 …”使用になる前に このたびはCKB Linux オプション2.1 をお買い上げいただきありがとうございます。

CKB Linux オプション 2.1 導入ガイド 第 1 章 はじめに 3

1.2 製品構成について

CKB Linux オプション 2.1 の製品構成は以下のとおりです。

品名 内容

AC電源アダプタ 5V 1.6A 品

CKB Linux SDK V2.01.01

(DVD-ROM)

開発環境一式

CKB Linux オプション 2.1 導入ガイド(PDF)

CKB-RZ/A1H 組み込み Linuxユーザーズ・マニュアル V2.1 (PDF)

CKB-3352 組み込み Linux ユーザーズ・マニュアル V2.1 (PDF)

CKB-1808 組み込み Linux ユーザーズ・マニュアル V2.1 (PDF)

ビルド済み実行バイナリ・ファイル一式

C-Shark ARM 評価版

CKB 用 buildroot パッチ・ファイル

各種ソース一式

Linux カーネル

busybox

uClibc

bootloader

U-Boot

その他、サンプル・アプリケーション

クロス・コンパイラ(arm-linux-gcc) 一式

無線 LAN(CM-J100)用 Linux ドライバ

UART フラッシュ書込みソフト(uartflasher_CKB)一式

microSD カード 4GB

LAN ケーブル ストレート 1m

USB シリアル・コンバータ ホスト側 USB を RS-232C に変換するコネクタ

USB ケーブル USB シリアル・コンバータ用

梱包物一覧 紙冊子

実際に開発する場合は、いずれかの CKB ボード本体が必要です。

回路図やハードウェア・マニュアルは各 CKB ボードに付属する CD-ROM に同梱されています。

Note

Page 8: CKB Linux オプション 2 - COMPUTEX | 株式会社 …”使用になる前に このたびはCKB Linux オプション2.1 をお買い上げいただきありがとうございます。

CKB Linux オプション 2.1 導入ガイド 第 1 章 はじめに 4

1.3 準備するもの

CKB Linux オプション 2.1 (本製品)

CKB 専用 AC電源アダプタ

CKB Linux SDK V2 (DVD-ROM)

microSD カード

LAN ケーブル

USB シリアル・コンバータ

USB ケーブル

以下はユーザ様にてご用意してください。

組み込みボード CKB-RZ/A1H (別売)

CKB-RZ/A1H ボード本体

2 芯電源ケーブル

CKB-RZ/A1H CD (CD-ROM)

組み込みボード CKB-3352 (別売)

CKB-3352 ボード本体

2 芯電源ケーブル

CKB-3352 CD (CD-ROM)

組み込みボード CKB-1808 (別売)

CKB-1808 ボード本体

2 芯電源ケーブル

CKB-1808 CD (CD-ROM)

無線 LAN ボード CM-J100 (別売 / SDIO 接続、無線 LAN 機能を使用する場合に必要です。)

CM-J100 本体

LCD ボード CKB-LCD-02 (別売 / LCD 機能を使用する場合に必要です。)

CKB-LCD-02 ボード本体 (タッチパネル付き LCD ボード)

接続ケーブル

CKB-1808, CKB-3352, CKB-RZ/A1H で使用できます

作業用パソコン (ユーザ様にてご用意ください)

仕様に関しては「1.5 動作環境」を参照してください。

VMware Player (ユーザ様にてご用意ください)

VMware Player 5.以上を推奨。無償版を使用可能です。

Linux 開発環境(Linux ホスト)を動作させるために、作業用パソコンにインストールします。

ホスト・パソコンがインターネットに接続できない場合は、あらかじめ入手しておいてください。

Ubuntu 12.04 LTS (ユーザ様にてご用意ください)

Ubuntu 12.04 LTS を推奨。

Linux 開発環境です。VMware Player 上で動作させます。

ホスト・パソコンがインターネットに接続できない場合は、開発に必要なパッケージとともにあらかじめ入手しておいてくださ

い。

Page 9: CKB Linux オプション 2 - COMPUTEX | 株式会社 …”使用になる前に このたびはCKB Linux オプション2.1 をお買い上げいただきありがとうございます。

CKB Linux オプション 2.1 導入ガイド 第 1 章 はじめに 5

1.4 コマンド表記について

本マニュアルで説明する表記について説明します。

コマンドの表記は以下のように記述します。

コマンド表記 説明

WINPC> command parameter … Windows ホスト・パソコンで実行するコマンドを示します。

LINUXPC$ command parameter … Linux ホスト(Ubuntu)で実行するコマンドを示します。

U-BOOT> command parameter … CKB ボードのコンソールで実行する U-Boot コマンドを示します。

CKB# command parameter … CKB ボードのコンソールで実行する Linux コマンドを示します。

Linuxホストと、CKBボードのコマンド・プロンプトが“#”の場合は root権限で、”$”の場合はユーザ権限で実行してください。

1.5 動作環境

VMware Player と、Linux ホストをインストールするには、以下の環境が必要です。

動作環境

ホスト・パソコン 対応 OS が動作するパソコン

CPU intel Core i シリーズ(2 コア以上) 2GHz 以上

メモリ 4GB 以上

HDD 500GB 以上

DVD ドライブ DVD-R メディアの読み込みが可能であること インストール時に必要

USB USB2.0

LAN インターフェース 100BASE-TX 以上

CKB-3352 では 1000BASE-T を推奨

開発に必要なソフトウェア(Linux パッケージ等)をオンラ

インで入手する場合はインターネットに接続可能のこと

RS-232C ポート USB シリアル変換アダプタを使用する場合は不要

メモリカードリーダ microSDHC スロット搭載。

または microSDHC→USB 変換アダプタ

microSDHC 規格 (4GB 以上)に対応していないと正しく

読み書きできません。

OS Windows Vista 32 ビット版

Windows 7 32 ビット版、64 ビット版 Windows 8, Windows 8.1

PALMiCE3 を使用する場合の動作パソコンのスペックにつきましては「PALMiCE3 ユーザーズ・マニュアル」をご覧ください。

このマニュアルでは、Windows 8 を使って説明します。

Page 10: CKB Linux オプション 2 - COMPUTEX | 株式会社 …”使用になる前に このたびはCKB Linux オプション2.1 をお買い上げいただきありがとうございます。

CKB Linux オプション 2.1 導入ガイド 第 2 章 VMware のセットアップ 6

第2章 VMware のセットアップ

2.1 はじめに

組み込み Linux を開発するには、ソフトウェアを構築するのに Linux パソコンを使いますが、ここでは Windows パソコン上に仮想

PCを構築可能な VMware Player をインストールして、その中に Linux ホストとして Ubuntu をインストールする方法を記載します。

インストールを行う前に他に作業中のアプリケーションがあれば、データを保存して終了してください。

2.2 インストール

ダウンロードした VMware Player インストーラを起動します。

ここでは VMware-player-5.0.3-1410761.exeを使ったインストール例を記述します。

1. [次へ]を押します。

2. インストール先を指定し、[次へ]を押します。

Page 11: CKB Linux オプション 2 - COMPUTEX | 株式会社 …”使用になる前に このたびはCKB Linux オプション2.1 をお買い上げいただきありがとうございます。

CKB Linux オプション 2.1 導入ガイド 第 2 章 VMware のセットアップ 7

3. ショートカットの作成について希望の設定をおこない、[次へ]を押します。

4. インストールを開始するには、[続行]を押します。

5. インストールには数分かかる場合があります。他の操作をせずにお待ちください。完了したら VMware Player のインストー

ルは完了です。

次の章では、VMwareを起動して Ubuntu のインストールを行います。

Page 12: CKB Linux オプション 2 - COMPUTEX | 株式会社 …”使用になる前に このたびはCKB Linux オプション2.1 をお買い上げいただきありがとうございます。

CKB Linux オプション 2.1 導入ガイド 第 3 章 Ubuntu のセットアップ 8

第3章 Ubuntu のセットアップ

3.1 はじめに

他に作業中のアプリケーションがあれば、データを保存して終了してください。

インターネットに接続可能な状態であることを確認してください。

3.2 インストール

VMware Playerを起動します。

1. VMware Player が起動します。まずは、[新規仮想マシンの作成]を押します。

Page 13: CKB Linux オプション 2 - COMPUTEX | 株式会社 …”使用になる前に このたびはCKB Linux オプション2.1 をお買い上げいただきありがとうございます。

CKB Linux オプション 2.1 導入ガイド 第 3 章 Ubuntu のセットアップ 9

2. インストール元に[インストーラ ディスク イメージ ファイル]を選択し、ダウンロードした Ubuntu のイメージ・ファイル

(ubuntu-ja-12.04.2-desktop-i386.iso)を指定して、[次へ]を押します。

3. フルネームおよびユーザ名とパスワードを設定します。入力したら、[次へ]を押します。

ここでは、ユーザ名(フルネーム)からパスワードをすべて"ubuntu"として説明します。

ユーザ名とパスワードを別の文字列で指定した場合は以降の説明で出てくる”ubuntu”のユーザ名とパスワードを指定し

た内容に読み替えてください。

Page 14: CKB Linux オプション 2 - COMPUTEX | 株式会社 …”使用になる前に このたびはCKB Linux オプション2.1 をお買い上げいただきありがとうございます。

CKB Linux オプション 2.1 導入ガイド 第 3 章 Ubuntu のセットアップ 10

4. 仮想マシン名および仮想マシンのデータを保存する場所を指定します。入力したら、[次へ]を押します。

5. 仮想マシンに使用するハードディスクの最大サイズを指定します。ここでは 30GB以上に設定することを推奨します。また、

[仮想ディスクを複数のファイルに分割]することを推奨します。

Page 15: CKB Linux オプション 2 - COMPUTEX | 株式会社 …”使用になる前に このたびはCKB Linux オプション2.1 をお買い上げいただきありがとうございます。

CKB Linux オプション 2.1 導入ガイド 第 3 章 Ubuntu のセットアップ 11

6. 設定内容を確認し間違いがなければ、[完了]を押します。

7. Ubuntu のインストールが開始されます。インストールには数分から数十分かかります。

インストール中に「ソフトウェアの更新」ダイアログが表示されます。

ここでは、[ダウンロードしてインストール]を選択してください。

Page 16: CKB Linux オプション 2 - COMPUTEX | 株式会社 …”使用になる前に このたびはCKB Linux オプション2.1 をお買い上げいただきありがとうございます。

CKB Linux オプション 2.1 導入ガイド 第 3 章 Ubuntu のセットアップ 12

8. Ubuntu のインストールが行われます。

9. ubuntu のインストールが完了するとログイン画面が表示されます。

ここでは、ユーザ名と同じ"ubuntu"というパスワードを入力します。

手順とは異なるパスワードを登録した場合は、そのパスワードを指定してください。

Page 17: CKB Linux オプション 2 - COMPUTEX | 株式会社 …”使用になる前に このたびはCKB Linux オプション2.1 をお買い上げいただきありがとうございます。

CKB Linux オプション 2.1 導入ガイド 第 3 章 Ubuntu のセットアップ 13

10. ubuntu のデスクトップ画面にログインできました。

しばらく時間が経つと「Update information」ダイアログが出る場合がありますが、後の説明で同じ設定を行うのでここでは

あえて[Close]を押して無視します。

11. まず最初に ubuntu の設定を行っていきます。

ここでの設定では、言語、キーボード、時計を日本(語)に設定していきます。

最初に ubuntu の左側タスクバーの上から 9 個目の[System Settings]アイコンを押します。

「All Settings」ウィンドウで[User Accounts]アイコンを押します。

Page 18: CKB Linux オプション 2 - COMPUTEX | 株式会社 …”使用になる前に このたびはCKB Linux オプション2.1 をお買い上げいただきありがとうございます。

CKB Linux オプション 2.1 導入ガイド 第 3 章 Ubuntu のセットアップ 14

12. アカウント「ubuntu」の Language が「English」になっています。

13. これを「Japanese」に変更します。

Page 19: CKB Linux オプション 2 - COMPUTEX | 株式会社 …”使用になる前に このたびはCKB Linux オプション2.1 をお買い上げいただきありがとうございます。

CKB Linux オプション 2.1 導入ガイド 第 3 章 Ubuntu のセットアップ 15

14. ここで一旦ログアウトします。右上のアイコンを押してメニューを開いて[Log Out...]を選択します。

15. 「Log Out」ダイアログが出るので[Log Out]ボタンを押します。

Page 20: CKB Linux オプション 2 - COMPUTEX | 株式会社 …”使用になる前に このたびはCKB Linux オプション2.1 をお買い上げいただきありがとうございます。

CKB Linux オプション 2.1 導入ガイド 第 3 章 Ubuntu のセットアップ 16

16. ログイン画面から「ubuntu」アカウントで再びログインします。

パスワードは「●●●●…」と表示されますが、インストール時に設定した「ubuntu」を入力します。

17. 標準フォルダーの名前をどうするか選択できます。ここでは日本語フォルダー名に変更しておきます。

[名前を更新する]ボタンを押してください。

ここまでで ubuntu のデスクトップやメニューが日本語で表示されます。

Page 21: CKB Linux オプション 2 - COMPUTEX | 株式会社 …”使用になる前に このたびはCKB Linux オプション2.1 をお買い上げいただきありがとうございます。

CKB Linux オプション 2.1 導入ガイド 第 3 章 Ubuntu のセットアップ 17

18. 再び、ubuntu の左側タスクバーの上から 9 個目の[システム設定]アイコンを押します。

19. アイコンの説明が日本語になっています。次にキーボードを日本語キーボードに変更します。

[すべての設定]から[キーボードレイアウト]アイコンをクリックします。

Page 22: CKB Linux オプション 2 - COMPUTEX | 株式会社 …”使用になる前に このたびはCKB Linux オプション2.1 をお買い上げいただきありがとうございます。

CKB Linux オプション 2.1 導入ガイド 第 3 章 Ubuntu のセットアップ 18

20. 左ペインに「英語(US)」のみが表示されていますので、左ペイン下の[+]ボタンを押します。

21. レイアウトの選択から自分のパソコンにあったキーボードを選択します。

通常は「日本語」を選択して[追加]ボタンを押してください。

Page 23: CKB Linux オプション 2 - COMPUTEX | 株式会社 …”使用になる前に このたびはCKB Linux オプション2.1 をお買い上げいただきありがとうございます。

CKB Linux オプション 2.1 導入ガイド 第 3 章 Ubuntu のセットアップ 19

22. 右ペインに「日本語」が追加されました。「日本語」を選択して[ ]ボタンを押してください。

23. 「英語(US)」の上に「日本語」が移動して、上部キーボードマーク横の文字が「en」から「ja」になってキーボードレイアウトが

変更されます。[すべての設定]メニューをクリックして元に戻ります。

Page 24: CKB Linux オプション 2 - COMPUTEX | 株式会社 …”使用になる前に このたびはCKB Linux オプション2.1 をお買い上げいただきありがとうございます。

CKB Linux オプション 2.1 導入ガイド 第 3 章 Ubuntu のセットアップ 20

24. 次に[時刻と日付]アイコンをクリックして日本標準時に時計を合わせます。

25. 世界地図から日本付近をクリックすると[場所]が「Tokyo」となって日本の標準時に変更されます。

[すべての設定]メニューをクリックして元に戻ります。

ここまでで ubuntu の日本語環境ができあがります。

Page 25: CKB Linux オプション 2 - COMPUTEX | 株式会社 …”使用になる前に このたびはCKB Linux オプション2.1 をお買い上げいただきありがとうございます。

CKB Linux オプション 2.1 導入ガイド 第 3 章 Ubuntu のセットアップ 21

26. インターネットに接続するためには、ネットワーク・プロキシの設定が必要な場合があります。

なお、お使いのネットワーク環境の詳細についてはネットワーク管理者にお問い合わせください。

[ネットワーク]アイコンをクリックしてネットワークの設定を行います。

27. [ネットワークプロキシ]をクリックして「手動」でお使いのネットワークにあわせた設定を行います。

必要であれば[システム全体に適用する]を押し、この設定をシステム全体に反映します。

システム設定ウィンドウを閉じてデスクトップを表示してください。

ここまでで ubuntu の設定は終了です。

Page 26: CKB Linux オプション 2 - COMPUTEX | 株式会社 …”使用になる前に このたびはCKB Linux オプション2.1 をお買い上げいただきありがとうございます。

CKB Linux オプション 2.1 導入ガイド 第 3 章 Ubuntu のセットアップ 22

3.3 その他の設定

その他、変更が必要になる可能性のある事柄について説明します。

3.3.1 仮想マシンの設定

仮想マシンの設定を変更するには、あらかじめ仮想マシンをシャットダウン状態にしてください。

VMware Player を起動します。対象の仮想マシンを選択し、[仮想マシン設定の編集]を押します。

お使いのホスト PCの仕様に応じてハードウェアの設定をカスタマイズしてください。

設定が正しければ[OK]ボタンを押して設定を完了します。

ホストPCがマルチコアプロセッサ(Core i7等)の場合は、[プロセッサ]の割り当て数を増やすことにより仮想マシンのパフォーマ

ンスが向上します。

Note

Page 27: CKB Linux オプション 2 - COMPUTEX | 株式会社 …”使用になる前に このたびはCKB Linux オプション2.1 をお買い上げいただきありがとうございます。

CKB Linux オプション 2.1 導入ガイド 第 3 章 Ubuntu のセットアップ 23

仮想マシンを再起動するには、[仮想マシンの再生]を押します。

3.3.2 DVD ドライブの設定

Ubuntu 上から DVD ドライブを読み込めない場合は設定を確認してください。

対象の DVD ドライブのアイコン上で右クリックメニューを表示し、[設定]を選択します。

DVD の物理ドライブの指定において、[自動検出]でうまくいかない場合はドライブを明示的に指定します。

設定が正しければ[OK]ボタンを押して設定を終了します。

Page 28: CKB Linux オプション 2 - COMPUTEX | 株式会社 …”使用になる前に このたびはCKB Linux オプション2.1 をお買い上げいただきありがとうございます。

CKB Linux オプション 2.1 導入ガイド 第 3 章 Ubuntu のセットアップ 24

対象の DVD ドライブのアイコン上で右クリックメニューを表示し、[接続]を選択します。

DVD ドライブにメディアを挿入します。自動マウントに成功するとイメージの内容が表示されます。

[SDK]フォルダをホーム(ubuntu)フォルダにドラッグ&ドロップにてコピーしてください。

Page 29: CKB Linux オプション 2 - COMPUTEX | 株式会社 …”使用になる前に このたびはCKB Linux オプション2.1 をお買い上げいただきありがとうございます。

CKB Linux オプション 2.1 導入ガイド 第 4 章 CKB Linux SDK V2.01.01 のセットアップ 25

第4章 CKB Linux SDK V2.01.01 のセットアップ

4.1 はじめに

CKB Linux SDK V2.01.01のセットアップについて説明します。

4.2 インストール

付属 DVD-ROM を DVD ドライブにセットして、クロス開発環境のパッケージを仮想マシンにコピーします。

付属 DVD-ROM の[SDK]フォルダを ubuntu にコピーします。

4.3 開発環境のセットアップ

4.3.1 開発環境セットアップ・スクリプトの実行

ターミナルを開いて、コピーした内容を確認します。コマンドは、

LINUXPC:~/SDK$ ll

または

LINUXPC:~/SDK$ ls -laF

とします。

セットアップを始めるには、

LINUXPC:~/SDK$ sh initial-setup-packages-ckb-sdk.sh

と実行します。

sudo コマンドを実行するためにパスワードを求められた場合はパスワードを入力します。

Page 30: CKB Linux オプション 2 - COMPUTEX | 株式会社 …”使用になる前に このたびはCKB Linux オプション2.1 をお買い上げいただきありがとうございます。

CKB Linux オプション 2.1 導入ガイド 第 4 章 CKB Linux SDK V2.01.01 のセットアップ 26

パッケージのインストールを確認されますので、"Y"を入力して作業を進めます。

パッケージのインストールには数分から数十分かかります。

SMB 用のパスワードを設定します。

確認用に同じパスワードを入力します。

スクリプトが終了したら、セットアップは完了です。

Page 31: CKB Linux オプション 2 - COMPUTEX | 株式会社 …”使用になる前に このたびはCKB Linux オプション2.1 をお買い上げいただきありがとうございます。

CKB Linux オプション 2.1 導入ガイド 第 4 章 CKB Linux SDK V2.01.01 のセットアップ 27

4.3.2 samba 共有

前項のセットアップが完了すると、Windowsホスト・パソコンから Linuxホストのフォルダが共有フォルダとしてアクセスできるよう

になります。

1. ubuntu の端末から、ubuntu 自身の IP アドレスを確認します。

ここでは、192.168.0.135 に設定されています。

Page 32: CKB Linux オプション 2 - COMPUTEX | 株式会社 …”使用になる前に このたびはCKB Linux オプション2.1 をお買い上げいただきありがとうございます。

CKB Linux オプション 2.1 導入ガイド 第 4 章 CKB Linux SDK V2.01.01 のセットアップ 28

2. Windows ホスト・パソコンの「エクスプローラ」のアドレス・バーに"\\"を付けて直接 IP アドレスを指定します。

「\\192.168.0.135」、または、ユーザ名も含めて「\\192.168.0.135\ubuntu」と入力します。

3. Windows のユーザ名とパスワードが異なる場合は、以下のダイアログが表示されます。

ここでは、Linux ホストのユーザ名(ubuntu)とパスワード(ubuntu)を入力します。

4. パスワードを入力することで以下のように、ユーザ名(ubuntu)のホーム・フォルダが表示されます。

Page 33: CKB Linux オプション 2 - COMPUTEX | 株式会社 …”使用になる前に このたびはCKB Linux オプション2.1 をお買い上げいただきありがとうございます。

CKB Linux オプション 2.1 導入ガイド 第 4 章 CKB Linux SDK V2.01.01 のセットアップ 29

4.3.3 開発環境セットアップ・スクリプトの解説

前項で実行した開発環境セットアップ・スクリプト(initial-setup-packages-ckb-sdk.sh)の内容について説明します。

#!/bin/sh

シェルスクリプトであることを宣言します。

sudo apt-get update

最新のパッケージ・リストを取得します。

sudo apt-get install ncurses-dev uboot-mkimage bison flex gettext texinfo g++ subversion git-core netpbm samba

CKB Linux SDK に必要なパッケージをインストールします。

sudo cp smb.conf.sample /etc/samba/smb.conf

samba 用コンフィグ・ファイルをコピーします。

sudo smbpasswd -a username

samba 用のパスワードを設定します。

sudo /etc/init.d/smbd restart

samba を再起動します。

sudo コマンドを実行するにはパスワードが必要になります。連続して sudo コマンドを使用する場合、一定時間内

であればパスワードを再入力する必要はありません。

Note

Page 34: CKB Linux オプション 2 - COMPUTEX | 株式会社 …”使用になる前に このたびはCKB Linux オプション2.1 をお買い上げいただきありがとうございます。

CKB Linux オプション 2.1 導入ガイド 第 5 章 ビルド 30

第5章 ビルド

5.1 はじめに

CKB Linux SDK V2.01.01 に含まれる Linux 開発環境は、buildroot というソフトウェアで提供しています。

buildrootは、クロス gcc コンパイラ、U-Boot、Linux カーネル、各種アプリケーションとライブラリのソースからビルドするまでを

一連の make コマンドで簡単に行えるソフトウェアです。

この buildroot に、CKB ボードに必要なソースの修正パッチや独自のアプリケーションをアドオンしたものが、CKB Linux SDK

V2.01.01です。

ここでは、buildroot をビルドし、U-Boot、Linux カーネル、アプリケーションの構築方法を記述します。

5.2 ビルド

ビルドを行うには、あらかじめ開発環境のセットアップを完了してください。

5.2.1 イニシャル・ビルド・スクリプトの実行

buidlroot の解凍から make までを実行するスクリプト・ファイル「initial-buildroot-make.sh」を用意しています。このイニシャル・

ビルド・スクリプトを実行して U-Boot、Linux カーネル、アプリケーションをビルドします。

ターミナルを開いて、イニシャル・ビルド・スクリプトを実行します。

LINUXPC:~/SDK$ sh initial-buildroot-make.sh ckb-rza1h

initial-buildroot-make.sh の引数は、使用するボードによって{ckb-rza1h | ckb-3352 | ckb-1808}の何れかを指定してください。

ソース・ファイルからすべてをビルドするには数十分からホスト・パソコンのスペックによっては数時間かかる場合があります。

ビルドに成功すると、SDK フォルダ下の buildroot-{日付}/output/images ディレクトリ内にイメージ・ファイルが作成されます。

イメージ・ファイルの書き込みについては「第 7 章 フラッシュ・メモリへの書き込み」を参照してください。

Page 35: CKB Linux オプション 2 - COMPUTEX | 株式会社 …”使用になる前に このたびはCKB Linux オプション2.1 をお買い上げいただきありがとうございます。

CKB Linux オプション 2.1 導入ガイド 第 5 章 ビルド 31

5.2.2 イニシャル・ビルド・スクリプトの解説

前項で実行したイニシャル・ビルド・スクリプト「initial-buildroot-make.sh」の処理内容について説明します。

#!/bin/sh

シェルスクリプトであることを宣言します。

tar zxf buildroot-*.tgz

ソース・ファイルを展開します。

cd buildroot-*

カレント・ディレクトリを移動します。

ln -s ../dl dl

リンクを設定します。

make ckb-rza1h_defconfig

CKB-RZ/A1H 用の buildroot のコンフィグレーション・ファイルを作成します。(引数によって選択されます。)

make引数の defconfigは使用するボードにより、{ckb-rza1h_defconfig | ckb-3352_defconfig | ckb-1808_defconfig}の何れかを

指定してください。

make

ビルドを行います。

Page 36: CKB Linux オプション 2 - COMPUTEX | 株式会社 …”使用になる前に このたびはCKB Linux オプション2.1 をお買い上げいただきありがとうございます。

CKB Linux オプション 2.1 導入ガイド 第 5 章 ビルド 32

5.2.3 再ビルド

ソースを変更するなどして再ビルドが必要なときは、buildroot のディレクトリで make コマンドを使用します。

make コマンドでよく使う引数には下記のようなものがあります。

LINUXPC:~/SDK/buildroot-{日付}$ make clean

生成したオブジェクト、イメージを削除します。

LINUXPC:~/SDK buildroot-{日付}$ make all

すべてをビルドします。

その他 make コマンドの使い方については、市販の解説書などを参考にしてください。

Page 37: CKB Linux オプション 2 - COMPUTEX | 株式会社 …”使用になる前に このたびはCKB Linux オプション2.1 をお買い上げいただきありがとうございます。

CKB Linux オプション 2.1 導入ガイド 第 6 章 ハードウェアの接続 33

第6章 ハードウェアの接続

6.1 はじめに

この章では CKB Linux SDK V2.01.01 を使用する為のハードウェアの接続について説明します。

6.2 ハードウェアの接続図

組み込み Linux を開発するには以下のようにハードウェアを接続してください。

黒色文字:本製品(CKB Linuxオプション 2.1)に含まれるもの

赤色文字:別売り

*1:本製品(CKB Linux オプション 2.1)を使用する場合に必要です。

*2:SDIO接続、無線 LAN 機能を使用する場合に必要です。

*3:LCD 機能を使用する場合に必要です。 CKB Linux SDK V2.01.01 は全機種で CKB-LCD-02 をデフォルトに

しています。以前の CKB-LCD-01 をご使用の場合は buildrootの Target Options にて LCD ボードの変更が

必要です。

青色文字:ユーザ様にてご用意ください。

Page 38: CKB Linux オプション 2 - COMPUTEX | 株式会社 …”使用になる前に このたびはCKB Linux オプション2.1 をお買い上げいただきありがとうございます。

CKB Linux オプション 2.1 導入ガイド 第 6 章 ハードウェアの接続 34

6.2.1 USB シリアル・コンバータの準備

CKB Linux オプション 2.1 に付属の USB シリアル・コンバータの使用方法について記述します。

1. Windows ホスト・パソコンをインターネットに接続してください。

2. CKB Linux オプション 2.1 に付属の USB シリアル・コンバータを Windows パソコンの USB ホストに接続してください。

3. デバイス・ドライバが Windows Update により自動認識されます。

「USB Serial Port」の COM 番号を控えておいてください。

ここでは、「COM7」で説明を続けます。

4. USB シリアル・コンバータを CKB ボードの RS-232C コネクタに接続してください。

Page 39: CKB Linux オプション 2 - COMPUTEX | 株式会社 …”使用になる前に このたびはCKB Linux オプション2.1 をお買い上げいただきありがとうございます。

CKB Linux オプション 2.1 導入ガイド 第 7 章 フラッシュ・メモリへの書き込み 35

第7章 フラッシュ・メモリへの書き込み

7.1 はじめに

本書では CKB ボードに実装されているフラッシュ・メモリへの書き込み方法を説明します。ここでは、代表的な書き換え方法

のみ説明します。 その他の方法については各 CKB ボードの「組み込み Linux ユーザーズ・マニュアル 2」を参照してください。

ボード フラッシュ・メモリ ブートモード 書き込み方法

CKB-1808 NOR フラッシュ UART ブート シリアルケーブルで転送

CKB-3352 NOR フラッシュ UART ブート シリアルケーブルで転送

CKB-RZ/A1H SPI フラッシュ eSD ブート シリアルケーブルで転送

Linux に書き込むバイナリ・イメージは、以下になります。

内容 イメージ・ファイル名 フラッシュ・メモリ 物理アドレス

CKB-RZ/A1H CKB-3352 CKB-1808

1 次ブートローダ bootloader.bin 不要 0x000000 – 0x01FFFF(128KB)

U-Boot ブートローダ u-boot.bin 0x000000 – 0x07FFFF(512KB) 0x020000 – 0x07FFFF(384KB)

ブートの LCD 画像 title_image.bin 0x080000 – 0x0DFFFF(384KB)

U-Boot 環境変数 --- 0x0E0000 – 0x0FFFFF(128KB)

Linux カーネル+initrd uImage.bin 0x100000 – 0xEFFFFF(14MB)

予備 --- 0xF00000 – 0xFFFFFF(1MB)

Page 40: CKB Linux オプション 2 - COMPUTEX | 株式会社 …”使用になる前に このたびはCKB Linux オプション2.1 をお買い上げいただきありがとうございます。

CKB Linux オプション 2.1 導入ガイド 第 7 章 フラッシュ・メモリへの書き込み 36

7.1.1 シリアル・ケーブルを使ったフラッシュ書き込み(CKB-1808,CKB-3352)

シリアル・ケーブルを使って Windows ホストから、CKB-1808 または、CKB-3352 ボードの NOR フラッシュを書き換える方法を

記述します。

Windows 用書き込みプログラム(uartflasher_CKB.exe)は、CKB Linux SDK V2.01.01 DVD-ROMの[Flash-images\{機種名}]

フォルダにあります。

1. CKB ボードのディップ・スイッチを UART ブートに変更してください。

CKB-1808 の場合 CKB-3352 の場合

S1 SW2-1 SW2-2

UART1 側 OFF ON

2. Windows パソコンから、uartflasher_CKB.exe を実行してください。

Page 41: CKB Linux オプション 2 - COMPUTEX | 株式会社 …”使用になる前に このたびはCKB Linux オプション2.1 をお買い上げいただきありがとうございます。

CKB Linux オプション 2.1 導入ガイド 第 7 章 フラッシュ・メモリへの書き込み 37

3. 1 次ブートローダ「bootloader.bin」、2 次ブートローダ「u-boot.bin」、Linux カーネル「uImage」、LCD 起動画像

「title_image.bin」を書き込むには、uartflasher_CKB ダイアログにて以下の設定を行います。

「title_image.bin」は、LCD ボードを使用しない場合は不要です。

Com port COM7 (Windows のデバイス・ドライバが指定した COM 番号)

Target CKB-1808 (CKB-1808 の場合)

CKB-3352 (CKB-3352 の場合)

Init file {Linux ホスト}\SDK\buildroot-{日付}\output\images\init_CKB-1808.bin (CKB-1808 の場合)

{Linux ホスト}\SDK\buildroot-{日付}\output\images\init_CKB-3352.bin (CKB-3352 の場合)

Image type System images

Bootloader {Linux ホスト}\SDK\buildroot-{日付}\output\images\bootloader.bin

U-Boot {Linux ホスト}\SDK\buildroot-{日付}\output\images\u-boot.bin

Linux Kernel {Linux ホスト}\SDK\buildroot-{日付}\output\images\uImage.bin

Title image {Linux ホスト}\SDK\buildroot-{日付}\output\images\title_image.bin

Page 42: CKB Linux オプション 2 - COMPUTEX | 株式会社 …”使用になる前に このたびはCKB Linux オプション2.1 をお買い上げいただきありがとうございます。

CKB Linux オプション 2.1 導入ガイド 第 7 章 フラッシュ・メモリへの書き込み 38

4. [Write to flash]ボタンを押します。

5. uartflasher_CKB のメッセージ・ボックスに「Waiting for BOOTME... (power on or reset target now)」と表示されたら、CKB

ボードの電源を ON または、リセット・ボタンを押すと転送と書き込みを開始します。

6. 書込みが完了すると、以下のダイアログが表示されます。

7. 必要なバイナリ・ファイルを書き込んだら CKB ボードのディップ・スイッチを NOR ブートに変更して再起動してください。

CKB-1808 の場合 CKB-3352 の場合

S1 SW2-1 SW2-2

NOR 側 ON OFF

Page 43: CKB Linux オプション 2 - COMPUTEX | 株式会社 …”使用になる前に このたびはCKB Linux オプション2.1 をお買い上げいただきありがとうございます。

CKB Linux オプション 2.1 導入ガイド 第 7 章 フラッシュ・メモリへの書き込み 39

7.1.2 シリアル・ケーブルを使ったフラッシュ書き込み(CKB-RZ/A1H)

シリアル・ケーブルを使って Windows ホストから、CKB-RZ/A1Hボードの SPI フラッシュを書き換える方法を記述します。

Windows 用書き込みプログラム(uartflasher_CKB.exe)は、CKB Linux SDK V2.01.01 DVD-ROMの[Flash-images\ckb-rza1h}]

フォルダにあります。

また、CKB-RZ/A1H では、SPIフラッシュを Windows ホストの RS-232C経由で転送する為に、モニタ・プログラム

(init_CKB-RZA1H.bin が書かれた microSD カードを用意します。

まず、Windows ホスト・パソコンに microSD カードを挿入し、仮想マシンの Ubuntu ホストに microSD カードを認識させます。

Ubuntu ホストのパーティション情報から microSD のデバイス名を特定します。

入力としてモニタ・プログラムのバイナリ・ファイルを指定し、出力先として microSD のデバイスを指定します。

LINUXPC$ cat /proc/partitions

major minor #blocks name

11 0 1048575 sr0

8 0 41943040 sda

8 1 40893440 sda1

8 2 1 sda2

8 80 3858432 sdb ← sdb が microSD の場合

8 81 3857408 sdb1

microSD にパーティションがある場合は、sdb1、sdb2…等のデバイスがあります。 この場合は、パーティションを全て削除して

からモニタ・プログラムを書き込んでください。

パーティションを削除する場合は、fdisk コマンドで行います。

$ sudo fdisk /dev/sdb

コマンド (m でヘルプ): p ← p コマンドで確認

ディスク /dev/sdb: 3951 MB, 3951034368 バイト

ヘッド 26, セクタ 34, シリンダ 8729, 合計 7716864 セクタ

Units = セクタ数 of 1 * 512 = 512 バイト

セクタサイズ (論理 / 物理): 512 バイト / 512 バイト

I/O サイズ (最小 / 推奨): 512 バイト / 512 バイト

ディスク識別子: 0xffffffff

デバイス ブート 始点 終点 ブロック Id システム

/dev/sdb1 2048 7716863 3857408 b W95 FAT32

コマンド (m でヘルプ): d ← d コマンドで削除

選択したパーティション 1 ← 削除するパーティション番号を指定

コマンド (m でヘルプ): w ← w コマンドで変更を保存

パーティションテーブルは変更されました!

ioctl() を呼び出してパーティションテーブルを再読込みします。

ディスクを同期しています。

Page 44: CKB Linux オプション 2 - COMPUTEX | 株式会社 …”使用になる前に このたびはCKB Linux オプション2.1 をお買い上げいただきありがとうございます。

CKB Linux オプション 2.1 導入ガイド 第 7 章 フラッシュ・メモリへの書き込み 40

モニタ・プログラムの microSD への書き込みは dd コマンドで行います。

LINUXPC:~/SDK/buildroot-{日付}$ sudo dd if=output/images/init_CKB-RZA1H.bin of=/dev/sdb

57+0 レコード入力

57+0 レコード出力

29184 バイト (29 kB) コピーされました、 0.34774 秒、 83.9 kB/秒

準備が整いましたら、microSDカードをホスト・パソコンから取り出して、CKB-RZ/A1Hの microSDカード・スロットに挿入してく

ださい。

以下の手順で uartflasher_CKB.exe により SPI フラッシュを書き換えます。

1. CKB ボードにモニタ・プログラムが書き込まれた microSD カードが挿入されていることを確認して、CKB ボードのディッ

プ・スイッチを eSD ブートに変更してください。

CKB-RZ/A1H の場合 状態

SW1-1 ON

2. Windows パソコンから、uartflasher_CKB.exe を実行してください。

Page 45: CKB Linux オプション 2 - COMPUTEX | 株式会社 …”使用になる前に このたびはCKB Linux オプション2.1 をお買い上げいただきありがとうございます。

CKB Linux オプション 2.1 導入ガイド 第 7 章 フラッシュ・メモリへの書き込み 41

3. ブートローダ「u-boot.bin」、Linux カーネル「uImage.bin」、LCD起動画像「title_image.bin」を書き込むには、

uartflasher_CKB ダイアログにて以下の設定を行います。

「title_image.bin」は、LCD ボードを使用しない場合は不要です。

Com port COM7 (Windows のデバイス・ドライバが指定した COM 番号)

Target CKB-RZ/A1H

Image type System images

U-Boot {Linux ホスト}\SDK\buildroot-{日付}\output\images\u-boot.bin

Linux Kernel {Linux ホスト}\SDK\buildroot-{日付}\output\images\uImage.bin

Title image {Linux ホスト}\SDK\buildroot-{日付}\output\images\title_image.bin

uartflasher.exe のデフォルトで入力されている Linux Kernel は、uImage となっています。 uImage.bin に書き換えてください。

4. [Write to flash]ボタンを押します。

Page 46: CKB Linux オプション 2 - COMPUTEX | 株式会社 …”使用になる前に このたびはCKB Linux オプション2.1 をお買い上げいただきありがとうございます。

CKB Linux オプション 2.1 導入ガイド 第 7 章 フラッシュ・メモリへの書き込み 42

5. uartflasher_CKB のメッセージ・ボックスに「Waiting for target... (power on or reset target now)」と表示されたら、CKB ボ

ードの電源を ON または、リセット・ボタンを押すと転送と書き込みを開始します。

6. 書込みが完了すると、以下のダイアログが表示されます。

7. 必要なバイナリ・ファイルを書き込んだら CKB ボードのディップ・スイッチを SPI ブートに変更して再起動してください。

CKB-RZ/A1H の場合 状態

SW1-1 OFF

Page 47: CKB Linux オプション 2 - COMPUTEX | 株式会社 …”使用になる前に このたびはCKB Linux オプション2.1 をお買い上げいただきありがとうございます。

CKB Linux オプション 2.1 導入ガイド 第 8 章 CKB Linux の実行 43

第8章 CKB Linux の実行

8.1 はじめに

CKB Linux の実行方法について説明します。

8.2 u-boot 環境変数

8.2.1 CKB-1808 u-boot 環境変数

CKB-1808 では、出荷時に NOR フラッシュに u-boot と Linux カーネルが書き込み済みです。

u-bootのプロンプトから、printenv コマンドで現在の環境変数を確認してください。

U-BOOT>printenv

baudrate=115200

bootargs=console=ttyS1,115200n8

bootcmd=fread_kernel 0xC0007FC0; bootm 0xC0007FC0

bootdelay=3

bootfile="uImage.bin"

mmcboot=mmc rescan 0; fatload mmc 0:1 0xC0007FC0 /uImage.bin; bootm 0xC0007FC0

norboot=fread_kernel 0xC0007FC0; bootm 0xC0007FC0

r=bootm 0xC0007FC0

stderr=serial

stdin=serial

stdout=serial

この中から、ブートに関わる環境変数を設定します。

NOR フラッシュに書かれたカーネルを実行する場合

=> setenv bootcmd ‘fread_kernel 0x0C007FC0;bootm 0x0C007FC0’

環境変数を保存する場合は、以下のコマンドを実行します。

=> saveenv

microSD カードに書かれたカーネルを実行する場合

=> setenv bootcmd ‘mmc rescan 0; fatload mmc 0:1 0xC0007FC0 /uImage.bin; bootm 0xC0007FC0’

環境変数を保存する場合は、以下のコマンドを実行します。

=> saveenv

上記 bootcmdで設定されたコマンドがリセット時に実行されます。

環境変数を初期化したい場合は、以下のコマンドで保存した環境変数を削除します。

=> protect off 0:0x600E0000

=> erase 0:0x600E0000 +0x20000

=> protect on 0:0x600E0000

Page 48: CKB Linux オプション 2 - COMPUTEX | 株式会社 …”使用になる前に このたびはCKB Linux オプション2.1 をお買い上げいただきありがとうございます。

CKB Linux オプション 2.1 導入ガイド 第 8 章 CKB Linux の実行 44

8.2.2 CKB-3352 u-boot 環境変数

CKB-3352 では、出荷時に NOR フラッシュに u-boot と Linux カーネルが書き込み済みです。

u-bootのプロンプトから、printenv コマンドで現在の環境変数を確認してください。

U-BOOT>printenv

baudrate=115200

bootargs=console=ttyO0,115200n8

bootcmd=fread_kernel 0x80007FC0; bootm 0x80007FC0

bootdelay=3

mmcboot=mmc rescan 0; fatload mmc 0:1 0x80007FC0 /uImage.bin; bootm 0x80007FC0

norboot=fread_kernel 0x80007FC0; bootm 0x80007FC0

r=bootm 0x80007FC0

stderr=serial

stdin=serial

stdout=serial

この中から、ブートに関わる環境変数を設定します。

NOR フラッシュに書かれたカーネルを実行する場合

=> setenv bootcmd ‘fread_kernel 0x0C007FC0;bootm 0x0C007FC0’

環境変数を保存する場合は、以下のコマンドを実行します。

=> saveenv

microSD カードに書かれたカーネルを実行する場合

=> setenv bootcmd ‘mmc rescan 0; fatload mmc 0:1 0x80007FC0 /uImage.bin; bootm 0x80007FC0’

環境変数を保存する場合は、以下のコマンドを実行します。

=> saveenv

上記 bootcmdで設定されたコマンドがリセット時に実行されます。

環境変数を初期化したい場合は、以下のコマンドで保存した環境変数を削除します。

=> protect off 7

=> erase 7

=> protect on 7

Page 49: CKB Linux オプション 2 - COMPUTEX | 株式会社 …”使用になる前に このたびはCKB Linux オプション2.1 をお買い上げいただきありがとうございます。

CKB Linux オプション 2.1 導入ガイド 第 8 章 CKB Linux の実行 45

8.2.3 CKB-RZ/A1H u-boot 環境変数

CKB-RZ/A1Hで、u-bootから Linux カーネルを実行するには、環境変数の設定が必要です。

u-bootのプロンプトから、printenv コマンドで現在の環境変数を確認してください。

U-BOOT>printenv

baudrate=115200

bootargs=console=ttySC0,115200

bootcmd=bootm 0x0C007FC0

bootdelay=3

ethact=sh_eth

ethaddr=00:a0:0b:xx:xx:xx

fk=flash_titleimage 0x20100000;flash_kernel 0x0C007FC0

r=bootm 0x0C007FC0

spiboot=fread_kernel 0x0C007FC0;bootm 0x0C007FC0

stderr=serial

stdin=serial

stdout=serial

usbboot=usb start;fatload usb 0 0x0C007FC0 /uImage.bin;bootm 0x0C007FC0

この中から、ブートに関わる環境変数を設定します。

SPI フラッシュに書かれたカーネルを実行する場合

=> setenv bootcmd ‘fread_kernel 0x0C007FC0;bootm 0x0C007FC0’

環境変数を保存する場合は、以下のコマンドを実行します。

=> saveenv

USB メモリに書かれたカーネルを実行する場合

=> setenv bootcmd ‘usb start;fatload usb 0 0x0C007FC0 /uImage.bin;bootm 0x0C007FC0’

環境変数を保存する場合は、以下のコマンドを実行します。

=> saveenv

上記 bootcmdで設定されたコマンドがリセット時に実行されます。

環境変数を初期化したい場合は、以下のコマンドで保存した環境変数を削除します。

=> sf probe

=> sf erase 0xE0000 0x20000

Page 50: CKB Linux オプション 2 - COMPUTEX | 株式会社 …”使用になる前に このたびはCKB Linux オプション2.1 をお買い上げいただきありがとうございます。

CKB Linux オプション 2.1 導入ガイド 第 8 章 CKB Linux の実行 46

8.3 ログイン

CKB Linux が起動すると、コンソールにログイン・プロンプトが表示されます。

デフォルトのユーザ名は"root"でパスワードはありません。

以下のようにログインしてください。

Welcome to CKB-XXXX

ckb-xxxx login: root

#

8.4 ネットワークの設定

CKB Linux は、出荷時の設定で有線 LAN、無線 LAN がすぐに使用できるようになっています。

尚、無線 LAN は、別売の"CM-J100"が必要です。

8.4.1 ネットワークの初期設定値

CKB Linux は、出荷時に以下の設定でインターフェースが設定されています。

有線 LANは、DHCPサーバから自動取得する設定になっています。同一ネットワーク上の DHCP サーバから IPアドレスを取

得しますので、DHCPサーバのある LAN に接続してください。

無線 LAN は初期値でアクセス・ポイント・モードに設定されているので固定 IP アドレス"192.168.100.1"を設定しています。

CKB ボードの無線 LAN に接続するクライアント PCは、”192.168.100.100~192.168.100.254”に自動割り当てされます。

インターフェース 有線 LAN(eth0) 無線 LAN(wlan0)

IP アドレスの設定

DHCP サーバから取得

固定 IP

IP アドレス 192.168.100.1

ネットマスク 255.255.255.0

ネットワーク 192.168.100.0

ブロードキャスト 192.168.100.255

ゲートウェイ 192.168.100.1

無線モード

---

アクセス・ポイント・モード

無線セキュリティ WPA/WPA2-PSK(TKIP/AES)

無線 SSID "CKB{MAC アドレス}"

無線パスワード "pass1234"

Page 51: CKB Linux オプション 2 - COMPUTEX | 株式会社 …”使用になる前に このたびはCKB Linux オプション2.1 をお買い上げいただきありがとうございます。

CKB Linux オプション 2.1 導入ガイド 第 8 章 CKB Linux の実行 47

8.4.2 無線 LAN への接続

CKB ボードは別売の"CM-J100"を使用する事ですぐに無線 LAN を使った通信機能が使用できます。

セキュリティの初期設定はアクセス・ポイント・モードで WPA/WPA2-PSK(TKIP/AES)です。

IP アドレスの初期値は"192.168.100.1"固定に設定し、DHCPサーバを起動しています。そのため、CKB ボードと接続する機

器(パソコンなど)は、”192.168.100.2”などの固定 IP または、DHCP による IP の自動取得により CKB ボードと接続してください。

以下に無線 LAN が搭載されたWindows パソコン(Windows 8)と、"CKB ボード+CM-J100"との接続例を示します。

ここでは、CM-J100 の MACアドレスが「00:A0:0B:11:22:57」のものを使用して説明します。

1. CKB ボードの Linux を起動します。

CKB ボードの初期設定では、無線 LAN はアクセス・ポイント・モードで SSID が"CKB{MAC アドレス}"、無線セキュリティが

"WPA/WPA2-PSK(TKIP/AES)"、無線パスワードが"pass1234"に設定されています。

2. Windows パソコンのタスクバー右側の通知アイコン(ネットワーク)をクリックします。

3. ”CKB00a00b112257”をクリックします。無線 LAN の MACアドレスによってこの SSID は変わります。

例えば、MACアドレスが、”00:A0:0B:11:22:57”の場合は、SSID が、”CKB00a00b112257”になります。

Page 52: CKB Linux オプション 2 - COMPUTEX | 株式会社 …”使用になる前に このたびはCKB Linux オプション2.1 をお買い上げいただきありがとうございます。

CKB Linux オプション 2.1 導入ガイド 第 8 章 CKB Linux の実行 48

4. [接続]ボタンを押します。

5. セキュリティキーに"pass1234"と入力します。

6. 「PCの共有をオンにしてこのネットワークのデバイスに接続しますか?」と表示される場合は、「はい」、「いいえ」のどちらでも

構いませんので選択します。

Page 53: CKB Linux オプション 2 - COMPUTEX | 株式会社 …”使用になる前に このたびはCKB Linux オプション2.1 をお買い上げいただきありがとうございます。

CKB Linux オプション 2.1 導入ガイド 第 8 章 CKB Linux の実行 49

7. "CKB00a00b112257"が接続状態となります。

ここまでの設定で、CKB ボードの IP アドレスが、”192.168.100.1”、Windows パソコンの無線 LAN側の IP アドレスが、CKB

ボードの DHCPサーバから”192.168.100.100~192.168.100.254”の中から自動割り当てされた状態になります。

8. Windows パソコン側の IPアドレスを変更したい場合は、以下、タスクバー右側の通知アイコン(ネットワーク)で右ポップアッ

プ・メニューより、[ネットワークと共有センターを開く]をクリックします。

9. [Wi-Fi(CKB00a00b112257)]を選択します。

Page 54: CKB Linux オプション 2 - COMPUTEX | 株式会社 …”使用になる前に このたびはCKB Linux オプション2.1 をお買い上げいただきありがとうございます。

CKB Linux オプション 2.1 導入ガイド 第 8 章 CKB Linux の実行 50

10. [プロパティ]ボタンを押します。

11. [Wi-Fi のプロパティ]-[ネットワーク]タブから、[インターネット プロトコル バージョン 4(TCP/IPv4))]を選択して[プロパティ]

ボタンを押します。

Page 55: CKB Linux オプション 2 - COMPUTEX | 株式会社 …”使用になる前に このたびはCKB Linux オプション2.1 をお買い上げいただきありがとうございます。

CKB Linux オプション 2.1 導入ガイド 第 8 章 CKB Linux の実行 51

12. 「192.168.100.2」などの固定 IPを指定するか DHCPサーバによる IP アドレスを自動取得する設定を行います。

ここでは、[IP アドレスを自動的に取得する]を選択します。

[OK]ボタンを押して、「Wi-Fi のプロパティ」を閉じてください。

13. これで、Windows パソコンと CKB ボードが無線 LANで接続されています。

WindowsパソコンとCKBボードが正常に接続されていることを確認するためにWindowsパソコンのコマンド・プロンプトから

CKB ボードで設定した IP アドレスに対して pingを行います。以下のように応答が返ってくれば接続が成功しています。

ここまでで接続できていない場合は、最初から設定を見直してください。

WINPC> ping 192.168.100.1

192.168.100.1 に ping を送信しています 32 バイトのデータ:

192.168.100.1 からの応答: バイト数 =32 時間 =8ms TTL=64

192.168.100.1 からの応答: バイト数 =32 時間 =4ms TTL=64

192.168.100.1 からの応答: バイト数 =32 時間 =4ms TTL=64

Page 56: CKB Linux オプション 2 - COMPUTEX | 株式会社 …”使用になる前に このたびはCKB Linux オプション2.1 をお買い上げいただきありがとうございます。

CKB Linux オプション 2.1 導入ガイド 第 8 章 CKB Linux の実行 52

14. Windows パソコンからブラウザで CKB ボードに接続します。

Windows パソコンのブラウザは、「Mozila Firefox」または、「Google Chrome」を推奨します。

アドレスバーに CKB ボードの IP アドレスを指定すると CKB ボードの HTTP サンプルが開きます。

CKB ボードの HTTP サーバの使い方については、「組み込み Linux ユーザーズ・マニュアル 2」を参照してください。

Windowsパソコンと接続するとき「制限あり」や「アクセス制限」と表示されることがあります。これは、CKB ボードがインタ

ーネットに接続されていないためで無線 LAN 通信は問題なく行えます。

Note

Page 57: CKB Linux オプション 2 - COMPUTEX | 株式会社 …”使用になる前に このたびはCKB Linux オプション2.1 をお買い上げいただきありがとうございます。

CKB Linux オプション 2.1 導入ガイド 第 8 章 CKB Linux の実行 53

8.4.3 ネットワークの設定確認

接続されているネットワークは以下のコマンドで確認できます。

有線 LAN の確認

CKB# ifconfig eth0

eth0 Link encap:Ethernet HWaddr 00:A0:0B:21:00:01

inet addr:192.168.0.128 Bcast:192.168.0.255 Mask:255.255.255.0

inet6 addr: fe80::2a0:bff:fe00:1/64 Scope:Link

UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1

RX packets:1442 errors:0 dropped:115 overruns:0 frame:0

TX packets:203 errors:0 dropped:0 overruns:0 carrier:0

collisions:0 txqueuelen:1000

RX bytes:129565 (126.5 KiB) TX bytes:111417 (108.8 KiB)

Interrupt:33

HWaddr MACアドレスです。出荷時にコンピューテックスのベンダ・コードが設定されています。

inet addr ここで設定されている IP アドレスにより同一ネットワーク上の機器からアクセスできます。

無線 LAN の確認

CKB# ifconfig wlan0

wlan0 Link encap:Ethernet HWaddr 00:A0:0B:23:00:01

inet addr:192.168.100.1 Bcast:192.168.0.255 Mask:255.255.255.0

inet6 addr: fe80::2a0:bff:fe23:3/64 Scope:Link

UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1

RX packets:0 errors:0 dropped:0 overruns:0 frame:0

TX packets:6 errors:0 dropped:0 overruns:0 carrier:0

collisions:0 txqueuelen:1000

RX bytes:129565 (0.0 B) TX bytes:111417 (576.0 B)

Interrupt:33

HWaddr MACアドレスです。出荷時にコンピューテックスのベンダ・コードが設定されています。

inet addr ここで設定されている IP アドレスにより同一ネットワーク上の機器からアクセスできます。

Page 58: CKB Linux オプション 2 - COMPUTEX | 株式会社 …”使用になる前に このたびはCKB Linux オプション2.1 をお買い上げいただきありがとうございます。

CKB Linux オプション 2.1 導入ガイド 第 9 章 C-Shark を使用してデバッグする 54

第9章 C-Shark を使用してデバッグする

9.1 はじめに

本キットには、CSIDE C-Shark ARM(評価版)が付属します。(以下 C-Shark)

C-Shark を使用したデバッグ方法について説明します。

9.2 インストール

9.2.1 C-Shark のインストール

付属DVD-ROMの「\C-Shark ARM 評価版」フォルダから、[CSIDE C-Shark ARM(評価版)-Setup.exe]を起動します。

1. 内容を確認し、[次へ]を押します。

2. ソフトウェア使用許諾書に同意したら[同意する]を選んで、[次へ]を押します。

Page 59: CKB Linux オプション 2 - COMPUTEX | 株式会社 …”使用になる前に このたびはCKB Linux オプション2.1 をお買い上げいただきありがとうございます。

CKB Linux オプション 2.1 導入ガイド 第 9 章 C-Shark を使用してデバッグする 55

3. ユーザ名と組織名を入力し、[次へ]を押します。

4. インストール先フォルダを指定し、[次へ]を押します。

5. [すべてインストール]を選択し、[次へ]を押します。

Page 60: CKB Linux オプション 2 - COMPUTEX | 株式会社 …”使用になる前に このたびはCKB Linux オプション2.1 をお買い上げいただきありがとうございます。

CKB Linux オプション 2.1 導入ガイド 第 9 章 C-Shark を使用してデバッグする 56

6. プログラムグループのフォルダ名を入力し、[次へ]を押します。

7. 追加のオプション項目について希望する選択をし、[次へ]を押します。

8. 設定を確認し間違いがなければ、[インストール]を押します。

Page 61: CKB Linux オプション 2 - COMPUTEX | 株式会社 …”使用になる前に このたびはCKB Linux オプション2.1 をお買い上げいただきありがとうございます。

CKB Linux オプション 2.1 導入ガイド 第 9 章 C-Shark を使用してデバッグする 57

9. [終了]を押します。

9.2.2 CSIDE デーモン(csided)のインストール

CKB Linux では、CSIDE デーモンが CKB Linux SDK V2.01.01 に組み込まれていますのでインストールは不要です。

CSIDE デーモンについての詳細は「CSIDE C-Shark ARM ユーザーズ・マニュアル」を参照してください。

CKB に付属する CSIDE デーモンは、「C-Shark ARM」、「C-Shark ARM 評価版」の何れでも使用可能です。

9.3 デバッグの開始

9.3.1 ターゲットとの接続

ターゲットとは有線 LANで接続します。

Page 62: CKB Linux オプション 2 - COMPUTEX | 株式会社 …”使用になる前に このたびはCKB Linux オプション2.1 をお買い上げいただきありがとうございます。

CKB Linux オプション 2.1 導入ガイド 第 9 章 C-Shark を使用してデバッグする 58

9.3.2 CSIDE デーモン(csided)の起動

CSIDE デーモン(csided)を起動します。

CKB ボードの Linux コンソールから

CKB# csided

と実行します。

9.3.3 CSIDE の起動

設定を確認し、[起動する]を押します。

CKB ボードの IP アドレスと、共有ライブラリを指定して[更新]を押します。

スレッドのデバッグを行う場合はデバッグ情報付きの"libpthread-0.9.33.2.so"を指定する必要があります。

デバッグ情報付の"libpthread-0.9.33.2.so"は、コンパイルされた Linux SDK の以下のファイルです。

CKB-1808 の場合

{Ubuntu ホスト IP}\{buildroot ディレクトリ\output\host\usr\arm-buildroot-linux-uclibcgnueabi\sysroot\lib

\libpthread-0.9.33.2.so

CKB-3352, CKB-RZ/A1H の場合

{Ubuntu ホスト IP}\{buildroot ディレクトリ\output\host\usr\arm-buildroot-linux-uclibcgnueabihf\sysroot\lib

\libpthread-0.9.33.2.so

Page 63: CKB Linux オプション 2 - COMPUTEX | 株式会社 …”使用になる前に このたびはCKB Linux オプション2.1 をお買い上げいただきありがとうございます。

CKB Linux オプション 2.1 導入ガイド 第 9 章 C-Shark を使用してデバッグする 59

ターゲットとの接続に成功したら、つぎに、[ファイルロード]を選択します。

サンプル・プログラムを選択し、オブジェクトの項で[オブジェクトとデバッグ情報をロードする]を選択します。

設定できたら、[追加]を押します。

コンパイルしたサンプル・プログラムは、ネットワーク共有するか Windows ホスト・パソコンにコピーを保存しておきま

す。ターゲットのファイル・システムをリード・オンリーにしている場合などはデバッグ情報のみをロードする事でター

ゲット上のオブジェクトをそのまま使用してデバッグすることも可能です。

サンプル・プログラムを main 関数からデバッグする場合は、ファイル・ロード時に[新しいプロセスを生成して main()

でブレークする]にチェックしてファイル・ロードを行ってください。

Note

Page 64: CKB Linux オプション 2 - COMPUTEX | 株式会社 …”使用になる前に このたびはCKB Linux オプション2.1 をお買い上げいただきありがとうございます。

CKB Linux オプション 2.1 導入ガイド 第 9 章 C-Shark を使用してデバッグする 60

登録が正しければ、[ダウンロード]を押します。

ここで、ターゲット配置先ディレクトリ(例では/usr/bin)に転送されたサンプル・プログラムを実行します。

ターゲット Linux のコンソールから、

CKB# calender

と実行します。

CSIDE に戻り、メニューの[表示][Linux システム情報]を選んでプロセス一覧を表示します。

サンプル・プログラム(calender)を選択し、右クリック・メニューから、[アタッチ]を選択します。

Page 65: CKB Linux オプション 2 - COMPUTEX | 株式会社 …”使用になる前に このたびはCKB Linux オプション2.1 をお買い上げいただきありがとうございます。

CKB Linux オプション 2.1 導入ガイド 第 9 章 C-Shark を使用してデバッグする 61

アタッチに成功したことを確認します。下図では[デバッグ対象]が自動的に切り替わっています。

Page 66: CKB Linux オプション 2 - COMPUTEX | 株式会社 …”使用になる前に このたびはCKB Linux オプション2.1 をお買い上げいただきありがとうございます。

CKB Linux オプション 2.1 導入ガイド 第 9 章 C-Shark を使用してデバッグする 62

ここで、強制ブレークをします。

ブレークしたことを確認します。

メニューの[表示][コード]を選んでコード・ウィンドウを開きます。

ソース・ファイル一覧からソース・ファイル(例では calender.c)を選択します。

下記のようなダイアログが表示され、ソース・ファイルのパスを訊かれます。ここでは[OK]ボタンを押します。

(ディレクトリ名はサンプル・プログラムをコンパイルしたときのパスになります。)

Page 67: CKB Linux オプション 2 - COMPUTEX | 株式会社 …”使用になる前に このたびはCKB Linux オプション2.1 をお買い上げいただきありがとうございます。

CKB Linux オプション 2.1 導入ガイド 第 9 章 C-Shark を使用してデバッグする 63

ファイル・ダイアログが表示されるので、ソース・ファイルを指定します。

プログラムを停止させたい場所にブレークポイントを設定します。

ブレークポイントの設定ができたら、[プログラム実行]を押します。

Page 68: CKB Linux オプション 2 - COMPUTEX | 株式会社 …”使用になる前に このたびはCKB Linux オプション2.1 をお買い上げいただきありがとうございます。

CKB Linux オプション 2.1 導入ガイド 第 9 章 C-Shark を使用してデバッグする 64

ブレークポイントでブレークしたことを確認します。

C-Shark ARM 評価版は、1 ヶ月の使用に限定されます。引き続きご使用の場合は、製品版の購入をお願いします。

Page 69: CKB Linux オプション 2 - COMPUTEX | 株式会社 …”使用になる前に このたびはCKB Linux オプション2.1 をお買い上げいただきありがとうございます。

CKB Linux オプション 2.1 導入ガイド 第 10 章 PALMiCE3 を使用してデバッグする 65

第10章 PALMiCE3 を使用してデバッグする

10.1 はじめに

当社製 JTAGエミュレータ PALMiCE3 ARM とオプション・ライブラリの Linux-APDLIB を使用してデバッグする手順を説明

します。 PALMiCE3 と CKB ボードとの接続には別売の JTAG プローブ「SWJ-PRB-MIL20-20HP」が必要です。

また、PALMiCE3 でデバッグする場合にロードする必要のあるファイルはデバッグ情報になります。本 SDK でビルドした実

行バイナリを、各 CKB シリーズの「組み込み Linuxユーザーズ・マニュアル」に記述された方法で、フラッシュ・メモリに書き込

んでください。

デバッグ情報と実行バイナリが同じコンパイルによって生成されたファイルでない場合は正常なデバッグができないので注

意してください。

10.2 ハードウェアの接続

以下の図のように、Windows ホスト・パソコン、PALMiCE3 と、CKB ボードを接続してください。

Page 70: CKB Linux オプション 2 - COMPUTEX | 株式会社 …”使用になる前に このたびはCKB Linux オプション2.1 をお買い上げいただきありがとうございます。

CKB Linux オプション 2.1 導入ガイド 第 10 章 PALMiCE3 を使用してデバッグする 66

10.3 CSIDE の起動

CKB Linux SDK V2.01.01 には、PALMiCE3 でデバッグを行う為に必要な PALMiCE3 用のプロジェクト・ファイルを SDK の

フォルダに用意しています。

VMware Player上の Ubuntu と共有された SDKのフォルダにあるプロジェクト・ファイル(PALMiCE3-{Board名称}.cpf)をダブ

ルクリックして CSIDE を起動します。

CSIDE の起動が完了するとプログラムを実行可能な状態になります。

ここで、メニューの[実行][実行]を選択すると、プログラムが実行されて U-Bootが起動します。

U-Bootがオートブートになっていない場合に Linux を起動するには下記のようにコマンドを入力します。

U-BOOT> run spiboot

Linux が起動すると、ログイン・プロンプトが表示されます。

Page 71: CKB Linux オプション 2 - COMPUTEX | 株式会社 …”使用になる前に このたびはCKB Linux オプション2.1 をお買い上げいただきありがとうございます。

CKB Linux オプション 2.1 導入ガイド 第 10 章 PALMiCE3 を使用してデバッグする 67

10.4 Linux デバッグ・モード

Linux デバッグ・モードでデバッグするには下記の手順を確認してください。

Linux-APDLIB(Linux アプリケーション・デバッグ・ライブラリ)のライセンスが必要です。

Linux デバッグ・モードでサポートされるすべての機能を使用するには、カーネルにパッチを適用してください。

Linux デバッグ・モードに移行するためには、カーネルのデバッグ情報(vmlinux)をロードしてください。

Linux デバッグ・モードに移行後、 Linux デバッグ設定を行ってください。

10.4.1 Linux-APDLIB の導入

Linux-APDLIB(Linux アプリケーション・デバッグ・ライブラリ)は PALMiCE3 ARM のオプション製品です。

Linux-APDLIB を購入後、ライセンス申請ウィザードを使用して Linux-APDLIB のライセンスを有効にしてください。

10.4.2 カーネル・パッチの適用

CKB Linux SDK V2.01.01では、デフォルトで PALMiCE3を使った Linuxのデバッグが行えるようにカーネル・パッチが適用さ

れています。カーネル・パッチの適用を有効/無効の切り替えは、以下のように行います。

1. buildroot から、以下のコマンドを入力してカーネルのコンフィギュレーションを表示します。

LINUXPC:~/SDK/buildroot-{日付}$ make linux-menuconfig

2. Linux のカーネル・コンフィギュレーションから以下の項目を選択します。

Computex Linux dbglib --->

[*] Computex linux debug library support

3. 上記の項目のチェック・ボックスにて PALMiCE3 のカーネル・パッチの有効/無効が切り替えられます。

10.4.3 vmlinux デバッグ情報のロード

まず、CSIDE のメニュー[ファイル][ロード]を選択し、ファイル・サーバを開きます。

登録されている vmlinux にチェックを入れてロード対象にします。設定できたら、[ダウンロード]ボタンを押します

CSIDE でカーネルを実行して起動を確認してから、メニューから[ファイル][Linux デバッグモード]を選択します。

Page 72: CKB Linux オプション 2 - COMPUTEX | 株式会社 …”使用になる前に このたびはCKB Linux オプション2.1 をお買い上げいただきありがとうございます。

CKB Linux オプション 2.1 導入ガイド 第 10 章 PALMiCE3 を使用してデバッグする 68

10.4.4 Linux デバッグ設定

SDK に付属の PALMiCE3-{CKB ボード名}.cpf を使わない場合は、メニューの[CSIDE の設定]から[Linux デバッグ設定]

タブを選んで設定を行ってください。

「Linux デバッグ用パッチを使用してデバッグする」を選択します。

「LSP アーキテクチャ名」は、「Generic Linux 2.6.18 ARM」を選択してください。

10.5 カーネル/ローダブル・モジュールのデバッグ

カーネルのデバッグは、デバッグ情報付きの vmlinux をロードすることで、デバッグが行えます。

ローダブル・モジュールのデバッグは、デバッグしたいローダブル・モジュール(*.ko)をデバッグ情報付きでコンパイして、

CSIDE からデバッグ情報のみをロードしてください。

modprobe {ローダブル・モジュール.ko}で、ロードするとローダブル・モジュールのデバッグを行うことができます。

10.6 アプリケーションのデバッグ

アプリケーションのデバッグは、デバッグしたいアプリケーションをデバッグ情報付きでコンパイして、CSIDE からデバッグ情

報のみをロードしてください。

CKB ボードでアプリケーションを実行するとデバッグ情報をロードしたアプリケーションの main()関数でブレークしてデバッ

グを行うことができます。

Linux アプリケーションでスレッドをデバッグするには、libpthread のデバッグ情報もロードしておく必要があります。

ファイル・サーバから、アプリケーションのデバッグ情報と共に、「ELF/DWARF2[Linux](*.*)」のファイルの種類で、以下の

ファイルをロードしてください。

CKB-1808 の場合

\\{Ubuntu ホスト IP}\{buildroot ディレクトリ\output\host\usr\arm-buildroot-linux-uclibcgnueabi\sysroot\lib

\libpthread-0.9.33.2.so

CKB-3352, CKB-RZ/A1H の場合

\\{Ubuntu ホスト IP}\{buildroot ディレクトリ\output\host\usr\arm-buildroot-linux-uclibcgnueabihf\sysroot\lib

\libpthread-0.9.33.2.so

Page 73: CKB Linux オプション 2 - COMPUTEX | 株式会社 …”使用になる前に このたびはCKB Linux オプション2.1 をお買い上げいただきありがとうございます。

CKB Linux オプション 2.1 導入ガイド 第 11 章 CKB Linux SDK に含まれるソフトウェア 69

第11章 CKB Linux SDK に含まれるソフトウェア

11.1 ライセンスについて

CKB Linux SDKで提供している Linux 関連製品のソフトウェアには、以下のライセンスが含まれます。

本製品では、ライセンス形式の違いにより以下に分類しています。

GNU GENERAL PUBLIC LICENSE Version 2(GPLv2) : http://www.gnu.org/licenses/gpl-2.0.txt

GNU GENERAL PUBLIC LICENSE Version 3(GPLv3) : http://www.gnu.org/licenses/gpl-3.0.txt

GNU LIBRARY GENERAL PUBLIC LICENSE Version 2(LGPLv2) : http://www.gnu.org/licenses/lgpl-2.1.txt

GNU LIBRARY GENERAL PUBLIC LICENSE Version 3(LGPLv3) : http://www.gnu.org/licenses/lgpl-3.0.txt

OpenSSL License

This product includes software developed by OpenSSL Project for use in the OpenSSL Toolkit. (http://openssl.org/)

MIT License : http://opensource.org/licenses/mit-license.php

11.1.1 ソース・パッケージのリスト

CKB Linux SDK のパッケージに含まれるソース・パッケージのリストです。

個々のソフトウェアにおけるライセンスについては、各ソフトウェアに付属のライセンス表記を参照してください。

[ソースパッケージ] [ライセンス]

buildroot-2013.08.1.tar.bz2 GPLv2, LGPLv2

autoconf-2.69.tar.gz GPLv2 , GPLv3

automake-1.11.6.tar.gz GPLv2

avahi-0.6.31.tar.gz LGPLv2.1

binutils-2.23.2.tar.bz2 GPLv2 , LGPLv2 , GPLv3 , LGPLv3.0

bison-2.7.1.tar.gz GPLv3

bridge-utils-1.5.tar.gz GPLv2

busybox-1.21.1.tar.bz2 GPLv2

can-utils-836d3cc0122ce31a1b732d369cbd27b690c3110f.tar.gz GPLv2

crda-1.1.3.tar.bz2 ISC license

DirectFB-1.6.3.tar.gz GPLv2.1

DirectFB-examples-1.6.0.tar.gz MIT

distribute-0.6.36.tar.gz PSF or ZPL

ethtool-3.10.tar.gz GPLv2.1

expat-2.1.0.tar.gz MIT/X Consortium License

fakeroot_1.18.2.orig.tar.bz2 GPLv3

fbset-2.1.tar.gz ---

flex-2.5.37.tar.gz BSD 3-Clause License

freetype-2.4.12.tar.bz2 The FreeType Project LICENSE, GPLv2

gcc-4.7.3.tar.bz2 GPLv2 , LGPLv2.1 , GPLv3 , LGPLv3.0

gettext-0.18.3.tar.gz GPLv3

gmp-5.1.2.tar.bz2 GPLv3 , LGPLv3.0

hostapd-2.0.tar.gz BSD 3-Clause License, GPLv2

i2c-tools-3.1.0.tar.bz2 GPLv2

intltool-0.50.2.tar.gz GPLv2

iperf-2.0.5.tar.gz GPLv2

ipset-6.19.tar.bz2 GPLv2

iptables-1.4.19.1.tar.bz2 GPLv2

iw-3.10.tar.bz2 ---

libdaemon-0.14.tar.gz LGPLv2.1

libgcrypt-1.5.3.tar.bz2 LGPLv2.1

Page 74: CKB Linux オプション 2 - COMPUTEX | 株式会社 …”使用になる前に このたびはCKB Linux オプション2.1 をお買い上げいただきありがとうございます。

CKB Linux オプション 2.1 導入ガイド 第 11 章 CKB Linux SDK に含まれるソフトウェア 70

libgpg-error-1.10.tar.gz LGPLv2.1

libjpeg-turbo-1.2.1.tar.gz standard 3-clause BSD-style license

libmnl-1.0.3.tar.bz2 LGPLv2.1

libnl-3.2.21.tar.gz LGPLv2.1

libpcap-1.4.0.tar.gz BSD

libpng-1.4.12.tar.bz2 libpng License

libtool-2.4.2.tar.gz GPLv2

libusb-1.0.19.tar.bz2 LGPLv2.1

libusb-compat-0.1.4.tar.bz2 LGPLv2.1

linux-3.2.1.tar.bz2 GPLv2

linux-3.8.13.tar.bz2 GPLv2

lzo-2.06.tar.gz GPLv2

lzop-1.03.tar.gz GPLv2

M2Crypto-0.21.1.tar.gz python-m2crypto License

m4-1.4.16.tar.bz2 GPLv3

module-init-tools-3.15.tar.bz2 GPLv2

mpc-1.0.1.tar.gz LGPLv3.0

mpfr-3.1.2.tar.bz2 GPLv3 , LGPLv3.0

ncurses-5.9.tar.gz MIT

ntp-4.2.6p5.tar.gz ntp License

openssl-1.0.1e.tar.gz OpenSSL License, Original SSLeay License

pkgconf-0.8.9.tar.bz2 GPLv2

Python-2.7.3.tar.bz2 PSF License

SDL-1.2.15.tar.gz LGPLv2.1

swig-2.0.9.tar.gz GPLv3,

ti-utils-06dbdb2.tar.gz TI License

tslib-158ee49b32f83cb7b02d5315f41c2e4cff38942d.tar.gz LGPLv2

u-boot-2011.03.tar.bz2

u-boot-2012.10.tar.bz2

u-boot-2013.04.tar.bz2

u-boot-2013.07.tar.bz2

GPLv2

uClibc-0.9.33.2.tar.bz2 LGPLv2.1

wireless_tools.29.tar.gz GPLv2

wireless-regdb-2013.02.13.tar.bz2 ICS license

wpa_supplicant-2.0.tar.gz BSD

XML-Parser-2.36.tar.gz ---

zlib-1.2.8.tar.xz zlib license

複数記述されているライセンスは、それぞれの複合ライセンスになります。

11.1.2 ライセンス

buildroot から得られるライセンスを以下に記述します。

~/buildroot-{日付}$ make legal-info

::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::

buildroot: COPYING file

::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::

GNU GENERAL PUBLIC LICENSE

Version 2, June 1991

Copyright (C) 1989, 1991 Free Software Foundation, Inc.,

51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA

Everyone is permitted to copy and distribute verbatim copies

of this license document, but changing it is not allowed.

Page 75: CKB Linux オプション 2 - COMPUTEX | 株式会社 …”使用になる前に このたびはCKB Linux オプション2.1 をお買い上げいただきありがとうございます。

CKB Linux オプション 2.1 導入ガイド 第 11 章 CKB Linux SDK に含まれるソフトウェア 71

Preamble

The licenses for most software are designed to take away your

freedom to share and change it. By contrast, the GNU General Public

License is intended to guarantee your freedom to share and change free

software--to make sure the software is free for all its users. This

General Public License applies to most of the Free Software

Foundation's software and to any other program whose authors commit to

using it. (Some other Free Software Foundation software is covered by

the GNU Lesser General Public License instead.) You can apply it to

your programs, too.

When we speak of free software, we are referring to freedom, not

price. Our General Public Licenses are designed to make sure that you

have the freedom to distribute copies of free software (and charge for

this service if you wish), that you receive source code or can get it

if you want it, that you can change the software or use pieces of it

in new free programs; and that you know you can do these things.

To protect your rights, we need to make restrictions that forbid

anyone to deny you these rights or to ask you to surrender the rights.

These restrictions translate to certain responsibilities for you if you

distribute copies of the software, or if you modify it.

For example, if you distribute copies of such a program, whether

gratis or for a fee, you must give the recipients all the rights that

you have. You must make sure that they, too, receive or can get the

source code. And you must show them these terms so they know their

rights.

We protect your rights with two steps: (1) copyright the software, and

(2) offer you this license which gives you legal permission to copy,

distribute and/or modify the software.

Also, for each author's protection and ours, we want to make certain

that everyone understands that there is no warranty for this free

software. If the software is modified by someone else and passed on, we

want its recipients to know that what they have is not the original, so

that any problems introduced by others will not reflect on the original

authors' reputations.

Finally, any free program is threatened constantly by software

patents. We wish to avoid the danger that redistributors of a free

program will individually obtain patent licenses, in effect making the

program proprietary. To prevent this, we have made it clear that any

patent must be licensed for everyone's free use or not licensed at all.

The precise terms and conditions for copying, distribution and

modification follow.

GNU GENERAL PUBLIC LICENSE

Page 76: CKB Linux オプション 2 - COMPUTEX | 株式会社 …”使用になる前に このたびはCKB Linux オプション2.1 をお買い上げいただきありがとうございます。

CKB Linux オプション 2.1 導入ガイド 第 11 章 CKB Linux SDK に含まれるソフトウェア 72

TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION

0. This License applies to any program or other work which contains

a notice placed by the copyright holder saying it may be distributed

under the terms of this General Public License. The "Program", below,

refers to any such program or work, and a "work based on the Program"

means either the Program or any derivative work under copyright law:

that is to say, a work containing the Program or a portion of it,

either verbatim or with modifications and/or translated into another

language. (Hereinafter, translation is included without limitation in

the term "modification".) Each licensee is addressed as "you".

Activities other than copying, distribution and modification are not

covered by this License; they are outside its scope. The act of

running the Program is not restricted, and the output from the Program

is covered only if its contents constitute a work based on the

Program (independent of having been made by running the Program).

Whether that is true depends on what the Program does.

1. You may copy and distribute verbatim copies of the Program's

source code as you receive it, in any medium, provided that you

conspicuously and appropriately publish on each copy an appropriate

copyright notice and disclaimer of warranty; keep intact all the

notices that refer to this License and to the absence of any warranty;

and give any other recipients of the Program a copy of this License

along with the Program.

You may charge a fee for the physical act of transferring a copy, and

you may at your option offer warranty protection in exchange for a fee.

2. You may modify your copy or copies of the Program or any portion

of it, thus forming a work based on the Program, and copy and

distribute such modifications or work under the terms of Section 1

above, provided that you also meet all of these conditions:

a) You must cause the modified files to carry prominent notices

stating that you changed the files and the date of any change.

b) You must cause any work that you distribute or publish, that in

whole or in part contains or is derived from the Program or any

part thereof, to be licensed as a whole at no charge to all third

parties under the terms of this License.

c) If the modified program normally reads commands interactively

when run, you must cause it, when started running for such

interactive use in the most ordinary way, to print or display an

announcement including an appropriate copyright notice and a

notice that there is no warranty (or else, saying that you provide

a warranty) and that users may redistribute the program under

these conditions, and telling the user how to view a copy of this

License. (Exception: if the Program itself is interactive but

Page 77: CKB Linux オプション 2 - COMPUTEX | 株式会社 …”使用になる前に このたびはCKB Linux オプション2.1 をお買い上げいただきありがとうございます。

CKB Linux オプション 2.1 導入ガイド 第 11 章 CKB Linux SDK に含まれるソフトウェア 73

does not normally print such an announcement, your work based on

the Program is not required to print an announcement.)

These requirements apply to the modified work as a whole. If

identifiable sections of that work are not derived from the Program,

and can be reasonably considered independent and separate works in

themselves, then this License, and its terms, do not apply to those

sections when you distribute them as separate works. But when you

distribute the same sections as part of a whole which is a work based

on the Program, the distribution of the whole must be on the terms of

this License, whose permissions for other licensees extend to the

entire whole, and thus to each and every part regardless of who wrote it.

Thus, it is not the intent of this section to claim rights or contest

your rights to work written entirely by you; rather, the intent is to

exercise the right to control the distribution of derivative or

collective works based on the Program.

In addition, mere aggregation of another work not based on the Program

with the Program (or with a work based on the Program) on a volume of

a storage or distribution medium does not bring the other work under

the scope of this License.

3. You may copy and distribute the Program (or a work based on it,

under Section 2) in object code or executable form under the terms of

Sections 1 and 2 above provided that you also do one of the following:

a) Accompany it with the complete corresponding machine-readable

source code, which must be distributed under the terms of Sections

1 and 2 above on a medium customarily used for software interchange; or,

b) Accompany it with a written offer, valid for at least three

years, to give any third party, for a charge no more than your

cost of physically performing source distribution, a complete

machine-readable copy of the corresponding source code, to be

distributed under the terms of Sections 1 and 2 above on a medium

customarily used for software interchange; or,

c) Accompany it with the information you received as to the offer

to distribute corresponding source code. (This alternative is

allowed only for noncommercial distribution and only if you

received the program in object code or executable form with such

an offer, in accord with Subsection b above.)

The source code for a work means the preferred form of the work for

making modifications to it. For an executable work, complete source

code means all the source code for all modules it contains, plus any

associated interface definition files, plus the scripts used to

control compilation and installation of the executable. However, as a

special exception, the source code distributed need not include

anything that is normally distributed (in either source or binary

Page 78: CKB Linux オプション 2 - COMPUTEX | 株式会社 …”使用になる前に このたびはCKB Linux オプション2.1 をお買い上げいただきありがとうございます。

CKB Linux オプション 2.1 導入ガイド 第 11 章 CKB Linux SDK に含まれるソフトウェア 74

form) with the major components (compiler, kernel, and so on) of the

operating system on which the executable runs, unless that component

itself accompanies the executable.

If distribution of executable or object code is made by offering

access to copy from a designated place, then offering equivalent

access to copy the source code from the same place counts as

distribution of the source code, even though third parties are not

compelled to copy the source along with the object code.

4. You may not copy, modify, sublicense, or distribute the Program

except as expressly provided under this License. Any attempt

otherwise to copy, modify, sublicense or distribute the Program is

void, and will automatically terminate your rights under this License.

However, parties who have received copies, or rights, from you under

this License will not have their licenses terminated so long as such

parties remain in full compliance.

5. You are not required to accept this License, since you have not

signed it. However, nothing else grants you permission to modify or

distribute the Program or its derivative works. These actions are

prohibited by law if you do not accept this License. Therefore, by

modifying or distributing the Program (or any work based on the

Program), you indicate your acceptance of this License to do so, and

all its terms and conditions for copying, distributing or modifying

the Program or works based on it.

6. Each time you redistribute the Program (or any work based on the

Program), the recipient automatically receives a license from the

original licensor to copy, distribute or modify the Program subject to

these terms and conditions. You may not impose any further

restrictions on the recipients' exercise of the rights granted herein.

You are not responsible for enforcing compliance by third parties to

this License.

7. If, as a consequence of a court judgment or allegation of patent

infringement or for any other reason (not limited to patent issues),

conditions are imposed on you (whether by court order, agreement or

otherwise) that contradict the conditions of this License, they do not

excuse you from the conditions of this License. If you cannot

distribute so as to satisfy simultaneously your obligations under this

License and any other pertinent obligations, then as a consequence you

may not distribute the Program at all. For example, if a patent

license would not permit royalty-free redistribution of the Program by

all those who receive copies directly or indirectly through you, then

the only way you could satisfy both it and this License would be to

refrain entirely from distribution of the Program.

If any portion of this section is held invalid or unenforceable under

any particular circumstance, the balance of the section is intended to

apply and the section as a whole is intended to apply in other

Page 79: CKB Linux オプション 2 - COMPUTEX | 株式会社 …”使用になる前に このたびはCKB Linux オプション2.1 をお買い上げいただきありがとうございます。

CKB Linux オプション 2.1 導入ガイド 第 11 章 CKB Linux SDK に含まれるソフトウェア 75

circumstances.

It is not the purpose of this section to induce you to infringe any

patents or other property right claims or to contest validity of any

such claims; this section has the sole purpose of protecting the

integrity of the free software distribution system, which is

implemented by public license practices. Many people have made

generous contributions to the wide range of software distributed

through that system in reliance on consistent application of that

system; it is up to the author/donor to decide if he or she is willing

to distribute software through any other system and a licensee cannot

impose that choice.

This section is intended to make thoroughly clear what is believed to

be a consequence of the rest of this License.

8. If the distribution and/or use of the Program is restricted in

certain countries either by patents or by copyrighted interfaces, the

original copyright holder who places the Program under this License

may add an explicit geographical distribution limitation excluding

those countries, so that distribution is permitted only in or among

countries not thus excluded. In such case, this License incorporates

the limitation as if written in the body of this License.

9. The Free Software Foundation may publish revised and/or new versions

of the General Public License from time to time. Such new versions will

be similar in spirit to the present version, but may differ in detail to

address new problems or concerns.

Each version is given a distinguishing version number. If the Program

specifies a version number of this License which applies to it and "any

later version", you have the option of following the terms and conditions

either of that version or of any later version published by the Free

Software Foundation. If the Program does not specify a version number of

this License, you may choose any version ever published by the Free Software

Foundation.

10. If you wish to incorporate parts of the Program into other free

programs whose distribution conditions are different, write to the author

to ask for permission. For software which is copyrighted by the Free

Software Foundation, write to the Free Software Foundation; we sometimes

make exceptions for this. Our decision will be guided by the two goals

of preserving the free status of all derivatives of our free software and

of promoting the sharing and reuse of software generally.

NO WARRANTY

11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY

FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN

OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES

PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED

Page 80: CKB Linux オプション 2 - COMPUTEX | 株式会社 …”使用になる前に このたびはCKB Linux オプション2.1 をお買い上げいただきありがとうございます。

CKB Linux オプション 2.1 導入ガイド 第 11 章 CKB Linux SDK に含まれるソフトウェア 76

OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF

MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS

TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE

PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,

REPAIR OR CORRECTION.

12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING

WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR

REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,

INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING

OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED

TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY

YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER

PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE

POSSIBILITY OF SUCH DAMAGES.

END OF TERMS AND CONDITIONS

How to Apply These Terms to Your New Programs

If you develop a new program, and you want it to be of the greatest

possible use to the public, the best way to achieve this is to make it

free software which everyone can redistribute and change under these terms.

To do so, attach the following notices to the program. It is safest

to attach them to the start of each source file to most effectively

convey the exclusion of warranty; and each file should have at least

the "copyright" line and a pointer to where the full notice is found.

<one line to give the program's name and a brief idea of what it does.>

Copyright (C) <year> <name of author>

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; either version 2 of the License, or

(at your option) any later version.

This program is distributed in the hope that it will be useful,

but WITHOUT ANY WARRANTY; without even the implied warranty of

MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the

GNU General Public License for more details.

You should have received a copy of the GNU General Public License along

with this program; if not, write to the Free Software Foundation, Inc.,

51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.

Also add information on how to contact you by electronic and paper mail.

If the program is interactive, make it output a short notice like this

when it starts in an interactive mode:

Page 81: CKB Linux オプション 2 - COMPUTEX | 株式会社 …”使用になる前に このたびはCKB Linux オプション2.1 をお買い上げいただきありがとうございます。

CKB Linux オプション 2.1 導入ガイド 第 11 章 CKB Linux SDK に含まれるソフトウェア 77

Gnomovision version 69, Copyright (C) year name of author

Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.

This is free software, and you are welcome to redistribute it

under certain conditions; type `show c' for details.

The hypothetical commands `show w' and `show c' should show the appropriate

parts of the General Public License. Of course, the commands you use may

be called something other than `show w' and `show c'; they could even be

mouse-clicks or menu items--whatever suits your program.

You should also get your employer (if you work as a programmer) or your

school, if any, to sign a "copyright disclaimer" for the program, if

necessary. Here is a sample; alter the names:

Yoyodyne, Inc., hereby disclaims all copyright interest in the program

`Gnomovision' (which makes passes at compilers) written by James Hacker.

<signature of Ty Coon>, 1 April 1989

Ty Coon, President of Vice

This General Public License does not permit incorporating your program into

proprietary programs. If your program is a subroutine library, you may

consider it more useful to permit linking proprietary applications with the

library. If this is what you want to do, use the GNU Lesser General

Public License instead of this License.

::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::

avahi: LICENSE file

::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::

GNU LESSER GENERAL PUBLIC LICENSE

Version 2.1, February 1999

Copyright (C) 1991, 1999 Free Software Foundation, Inc.

51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA

Everyone is permitted to copy and distribute verbatim copies

of this license document, but changing it is not allowed.

[This is the first released version of the Lesser GPL. It also counts

as the successor of the GNU Library Public License, version 2, hence

the version number 2.1.]

Preamble

The licenses for most software are designed to take away your

freedom to share and change it. By contrast, the GNU General Public

Licenses are intended to guarantee your freedom to share and change

free software--to make sure the software is free for all its users.

Page 82: CKB Linux オプション 2 - COMPUTEX | 株式会社 …”使用になる前に このたびはCKB Linux オプション2.1 をお買い上げいただきありがとうございます。

CKB Linux オプション 2.1 導入ガイド 第 11 章 CKB Linux SDK に含まれるソフトウェア 78

This license, the Lesser General Public License, applies to some

specially designated software packages--typically libraries--of the

Free Software Foundation and other authors who decide to use it. You

can use it too, but we suggest you first think carefully about whether

this license or the ordinary General Public License is the better

strategy to use in any particular case, based on the explanations

below.

When we speak of free software, we are referring to freedom of use,

not price. Our General Public Licenses are designed to make sure that

you have the freedom to distribute copies of free software (and charge

for this service if you wish); that you receive source code or can get

it if you want it; that you can change the software and use pieces of

it in new free programs; and that you are informed that you can do

these things.

To protect your rights, we need to make restrictions that forbid

distributors to deny you these rights or to ask you to surrender these

rights. These restrictions translate to certain responsibilities for

you if you distribute copies of the library or if you modify it.

For example, if you distribute copies of the library, whether gratis

or for a fee, you must give the recipients all the rights that we gave

you. You must make sure that they, too, receive or can get the source

code. If you link other code with the library, you must provide

complete object files to the recipients, so that they can relink them

with the library after making changes to the library and recompiling

it. And you must show them these terms so they know their rights.

We protect your rights with a two-step method: (1) we copyright the

library, and (2) we offer you this license, which gives you legal

permission to copy, distribute and/or modify the library.

To protect each distributor, we want to make it very clear that

there is no warranty for the free library. Also, if the library is

modified by someone else and passed on, the recipients should know

that what they have is not the original version, so that the original

author's reputation will not be affected by problems that might be

introduced by others.

Finally, software patents pose a constant threat to the existence of

any free program. We wish to make sure that a company cannot

effectively restrict the users of a free program by obtaining a

restrictive license from a patent holder. Therefore, we insist that

any patent license obtained for a version of the library must be

consistent with the full freedom of use specified in this license.

Most GNU software, including some libraries, is covered by the

ordinary GNU General Public License. This license, the GNU Lesser

General Public License, applies to certain designated libraries, and

is quite different from the ordinary General Public License. We use

Page 83: CKB Linux オプション 2 - COMPUTEX | 株式会社 …”使用になる前に このたびはCKB Linux オプション2.1 をお買い上げいただきありがとうございます。

CKB Linux オプション 2.1 導入ガイド 第 11 章 CKB Linux SDK に含まれるソフトウェア 79

this license for certain libraries in order to permit linking those

libraries into non-free programs.

When a program is linked with a library, whether statically or using

a shared library, the combination of the two is legally speaking a

combined work, a derivative of the original library. The ordinary

General Public License therefore permits such linking only if the

entire combination fits its criteria of freedom. The Lesser General

Public License permits more lax criteria for linking other code with

the library.

We call this license the "Lesser" General Public License because it

does Less to protect the user's freedom than the ordinary General

Public License. It also provides other free software developers Less

of an advantage over competing non-free programs. These disadvantages

are the reason we use the ordinary General Public License for many

libraries. However, the Lesser license provides advantages in certain

special circumstances.

For example, on rare occasions, there may be a special need to

encourage the widest possible use of a certain library, so that it

becomes a de-facto standard. To achieve this, non-free programs must

be allowed to use the library. A more frequent case is that a free

library does the same job as widely used non-free libraries. In this

case, there is little to gain by limiting the free library to free

software only, so we use the Lesser General Public License.

In other cases, permission to use a particular library in non-free

programs enables a greater number of people to use a large body of

free software. For example, permission to use the GNU C Library in

non-free programs enables many more people to use the whole GNU

operating system, as well as its variant, the GNU/Linux operating

system.

Although the Lesser General Public License is Less protective of the

users' freedom, it does ensure that the user of a program that is

linked with the Library has the freedom and the wherewithal to run

that program using a modified version of the Library.

The precise terms and conditions for copying, distribution and

modification follow. Pay close attention to the difference between a

"work based on the library" and a "work that uses the library". The

former contains code derived from the library, whereas the latter must

be combined with the library in order to run.

GNU LESSER GENERAL PUBLIC LICENSE

TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION

0. This License Agreement applies to any software library or other

program which contains a notice placed by the copyright holder or

other authorized party saying it may be distributed under the terms of

Page 84: CKB Linux オプション 2 - COMPUTEX | 株式会社 …”使用になる前に このたびはCKB Linux オプション2.1 をお買い上げいただきありがとうございます。

CKB Linux オプション 2.1 導入ガイド 第 11 章 CKB Linux SDK に含まれるソフトウェア 80

this Lesser General Public License (also called "this License").

Each licensee is addressed as "you".

A "library" means a collection of software functions and/or data

prepared so as to be conveniently linked with application programs

(which use some of those functions and data) to form executables.

The "Library", below, refers to any such software library or work

which has been distributed under these terms. A "work based on the

Library" means either the Library or any derivative work under

copyright law: that is to say, a work containing the Library or a

portion of it, either verbatim or with modifications and/or translated

straightforwardly into another language. (Hereinafter, translation is

included without limitation in the term "modification".)

"Source code" for a work means the preferred form of the work for

making modifications to it. For a library, complete source code means

all the source code for all modules it contains, plus any associated

interface definition files, plus the scripts used to control

compilation and installation of the library.

Activities other than copying, distribution and modification are not

covered by this License; they are outside its scope. The act of

running a program using the Library is not restricted, and output from

such a program is covered only if its contents constitute a work based

on the Library (independent of the use of the Library in a tool for

writing it). Whether that is true depends on what the Library does

and what the program that uses the Library does.

1. You may copy and distribute verbatim copies of the Library's

complete source code as you receive it, in any medium, provided that

you conspicuously and appropriately publish on each copy an

appropriate copyright notice and disclaimer of warranty; keep intact

all the notices that refer to this License and to the absence of any

warranty; and distribute a copy of this License along with the

Library.

You may charge a fee for the physical act of transferring a copy,

and you may at your option offer warranty protection in exchange for a

fee.

2. You may modify your copy or copies of the Library or any portion

of it, thus forming a work based on the Library, and copy and

distribute such modifications or work under the terms of Section 1

above, provided that you also meet all of these conditions:

a) The modified work must itself be a software library.

b) You must cause the files modified to carry prominent notices

stating that you changed the files and the date of any change.

Page 85: CKB Linux オプション 2 - COMPUTEX | 株式会社 …”使用になる前に このたびはCKB Linux オプション2.1 をお買い上げいただきありがとうございます。

CKB Linux オプション 2.1 導入ガイド 第 11 章 CKB Linux SDK に含まれるソフトウェア 81

c) You must cause the whole of the work to be licensed at no

charge to all third parties under the terms of this License.

d) If a facility in the modified Library refers to a function or a

table of data to be supplied by an application program that uses

the facility, other than as an argument passed when the facility

is invoked, then you must make a good faith effort to ensure that,

in the event an application does not supply such function or

table, the facility still operates, and performs whatever part of

its purpose remains meaningful.

(For example, a function in a library to compute square roots has

a purpose that is entirely well-defined independent of the

application. Therefore, Subsection 2d requires that any

application-supplied function or table used by this function must

be optional: if the application does not supply it, the square

root function must still compute square roots.)

These requirements apply to the modified work as a whole. If

identifiable sections of that work are not derived from the Library,

and can be reasonably considered independent and separate works in

themselves, then this License, and its terms, do not apply to those

sections when you distribute them as separate works. But when you

distribute the same sections as part of a whole which is a work based

on the Library, the distribution of the whole must be on the terms of

this License, whose permissions for other licensees extend to the

entire whole, and thus to each and every part regardless of who wrote

it.

Thus, it is not the intent of this section to claim rights or contest

your rights to work written entirely by you; rather, the intent is to

exercise the right to control the distribution of derivative or

collective works based on the Library.

In addition, mere aggregation of another work not based on the Library

with the Library (or with a work based on the Library) on a volume of

a storage or distribution medium does not bring the other work under

the scope of this License.

3. You may opt to apply the terms of the ordinary GNU General Public

License instead of this License to a given copy of the Library. To do

this, you must alter all the notices that refer to this License, so

that they refer to the ordinary GNU General Public License, version 2,

instead of to this License. (If a newer version than version 2 of the

ordinary GNU General Public License has appeared, then you can specify

that version instead if you wish.) Do not make any other change in

these notices.

Once this change is made in a given copy, it is irreversible for

that copy, so the ordinary GNU General Public License applies to all

subsequent copies and derivative works made from that copy.

Page 86: CKB Linux オプション 2 - COMPUTEX | 株式会社 …”使用になる前に このたびはCKB Linux オプション2.1 をお買い上げいただきありがとうございます。

CKB Linux オプション 2.1 導入ガイド 第 11 章 CKB Linux SDK に含まれるソフトウェア 82

This option is useful when you wish to copy part of the code of

the Library into a program that is not a library.

4. You may copy and distribute the Library (or a portion or

derivative of it, under Section 2) in object code or executable form

under the terms of Sections 1 and 2 above provided that you accompany

it with the complete corresponding machine-readable source code, which

must be distributed under the terms of Sections 1 and 2 above on a

medium customarily used for software interchange.

If distribution of object code is made by offering access to copy

from a designated place, then offering equivalent access to copy the

source code from the same place satisfies the requirement to

distribute the source code, even though third parties are not

compelled to copy the source along with the object code.

5. A program that contains no derivative of any portion of the

Library, but is designed to work with the Library by being compiled or

linked with it, is called a "work that uses the Library". Such a

work, in isolation, is not a derivative work of the Library, and

therefore falls outside the scope of this License.

However, linking a "work that uses the Library" with the Library

creates an executable that is a derivative of the Library (because it

contains portions of the Library), rather than a "work that uses the

library". The executable is therefore covered by this License.

Section 6 states terms for distribution of such executables.

When a "work that uses the Library" uses material from a header file

that is part of the Library, the object code for the work may be a

derivative work of the Library even though the source code is not.

Whether this is true is especially significant if the work can be

linked without the Library, or if the work is itself a library. The

threshold for this to be true is not precisely defined by law.

If such an object file uses only numerical parameters, data

structure layouts and accessors, and small macros and small inline

functions (ten lines or less in length), then the use of the object

file is unrestricted, regardless of whether it is legally a derivative

work. (Executables containing this object code plus portions of the

Library will still fall under Section 6.)

Otherwise, if the work is a derivative of the Library, you may

distribute the object code for the work under the terms of Section 6.

Any executables containing that work also fall under Section 6,

whether or not they are linked directly with the Library itself.

6. As an exception to the Sections above, you may also combine or

link a "work that uses the Library" with the Library to produce a

work containing portions of the Library, and distribute that work

Page 87: CKB Linux オプション 2 - COMPUTEX | 株式会社 …”使用になる前に このたびはCKB Linux オプション2.1 をお買い上げいただきありがとうございます。

CKB Linux オプション 2.1 導入ガイド 第 11 章 CKB Linux SDK に含まれるソフトウェア 83

under terms of your choice, provided that the terms permit

modification of the work for the customer's own use and reverse

engineering for debugging such modifications.

You must give prominent notice with each copy of the work that the

Library is used in it and that the Library and its use are covered by

this License. You must supply a copy of this License. If the work

during execution displays copyright notices, you must include the

copyright notice for the Library among them, as well as a reference

directing the user to the copy of this License. Also, you must do one

of these things:

a) Accompany the work with the complete corresponding

machine-readable source code for the Library including whatever

changes were used in the work (which must be distributed under

Sections 1 and 2 above); and, if the work is an executable linked

with the Library, with the complete machine-readable "work that

uses the Library", as object code and/or source code, so that the

user can modify the Library and then relink to produce a modified

executable containing the modified Library. (It is understood

that the user who changes the contents of definitions files in the

Library will not necessarily be able to recompile the application

to use the modified definitions.)

b) Use a suitable shared library mechanism for linking with the

Library. A suitable mechanism is one that (1) uses at run time a

copy of the library already present on the user's computer system,

rather than copying library functions into the executable, and (2)

will operate properly with a modified version of the library, if

the user installs one, as long as the modified version is

interface-compatible with the version that the work was made with.

c) Accompany the work with a written offer, valid for at least

three years, to give the same user the materials specified in

Subsection 6a, above, for a charge no more than the cost of

performing this distribution.

d) If distribution of the work is made by offering access to copy

from a designated place, offer equivalent access to copy the above

specified materials from the same place.

e) Verify that the user has already received a copy of these

materials or that you have already sent this user a copy.

For an executable, the required form of the "work that uses the

Library" must include any data and utility programs needed for

reproducing the executable from it. However, as a special exception,

the materials to be distributed need not include anything that is

normally distributed (in either source or binary form) with the major

components (compiler, kernel, and so on) of the operating system on

which the executable runs, unless that component itself accompanies

Page 88: CKB Linux オプション 2 - COMPUTEX | 株式会社 …”使用になる前に このたびはCKB Linux オプション2.1 をお買い上げいただきありがとうございます。

CKB Linux オプション 2.1 導入ガイド 第 11 章 CKB Linux SDK に含まれるソフトウェア 84

the executable.

It may happen that this requirement contradicts the license

restrictions of other proprietary libraries that do not normally

accompany the operating system. Such a contradiction means you cannot

use both them and the Library together in an executable that you

distribute.

7. You may place library facilities that are a work based on the

Library side-by-side in a single library together with other library

facilities not covered by this License, and distribute such a combined

library, provided that the separate distribution of the work based on

the Library and of the other library facilities is otherwise

permitted, and provided that you do these two things:

a) Accompany the combined library with a copy of the same work

based on the Library, uncombined with any other library

facilities. This must be distributed under the terms of the

Sections above.

b) Give prominent notice with the combined library of the fact

that part of it is a work based on the Library, and explaining

where to find the accompanying uncombined form of the same work.

8. You may not copy, modify, sublicense, link with, or distribute

the Library except as expressly provided under this License. Any

attempt otherwise to copy, modify, sublicense, link with, or

distribute the Library is void, and will automatically terminate your

rights under this License. However, parties who have received copies,

or rights, from you under this License will not have their licenses

terminated so long as such parties remain in full compliance.

9. You are not required to accept this License, since you have not

signed it. However, nothing else grants you permission to modify or

distribute the Library or its derivative works. These actions are

prohibited by law if you do not accept this License. Therefore, by

modifying or distributing the Library (or any work based on the

Library), you indicate your acceptance of this License to do so, and

all its terms and conditions for copying, distributing or modifying

the Library or works based on it.

10. Each time you redistribute the Library (or any work based on the

Library), the recipient automatically receives a license from the

original licensor to copy, distribute, link with or modify the Library

subject to these terms and conditions. You may not impose any further

restrictions on the recipients' exercise of the rights granted herein.

You are not responsible for enforcing compliance by third parties with

this License.

11. If, as a consequence of a court judgment or allegation of patent

infringement or for any other reason (not limited to patent issues),

Page 89: CKB Linux オプション 2 - COMPUTEX | 株式会社 …”使用になる前に このたびはCKB Linux オプション2.1 をお買い上げいただきありがとうございます。

CKB Linux オプション 2.1 導入ガイド 第 11 章 CKB Linux SDK に含まれるソフトウェア 85

conditions are imposed on you (whether by court order, agreement or

otherwise) that contradict the conditions of this License, they do not

excuse you from the conditions of this License. If you cannot

distribute so as to satisfy simultaneously your obligations under this

License and any other pertinent obligations, then as a consequence you

may not distribute the Library at all. For example, if a patent

license would not permit royalty-free redistribution of the Library by

all those who receive copies directly or indirectly through you, then

the only way you could satisfy both it and this License would be to

refrain entirely from distribution of the Library.

If any portion of this section is held invalid or unenforceable under

any particular circumstance, the balance of the section is intended to

apply, and the section as a whole is intended to apply in other

circumstances.

It is not the purpose of this section to induce you to infringe any

patents or other property right claims or to contest validity of any

such claims; this section has the sole purpose of protecting the

integrity of the free software distribution system which is

implemented by public license practices. Many people have made

generous contributions to the wide range of software distributed

through that system in reliance on consistent application of that

system; it is up to the author/donor to decide if he or she is willing

to distribute software through any other system and a licensee cannot

impose that choice.

This section is intended to make thoroughly clear what is believed to

be a consequence of the rest of this License.

12. If the distribution and/or use of the Library is restricted in

certain countries either by patents or by copyrighted interfaces, the

original copyright holder who places the Library under this License

may add an explicit geographical distribution limitation excluding those

countries, so that distribution is permitted only in or among

countries not thus excluded. In such case, this License incorporates

the limitation as if written in the body of this License.

13. The Free Software Foundation may publish revised and/or new

versions of the Lesser General Public License from time to time.

Such new versions will be similar in spirit to the present version,

but may differ in detail to address new problems or concerns.

Each version is given a distinguishing version number. If the Library

specifies a version number of this License which applies to it and

"any later version", you have the option of following the terms and

conditions either of that version or of any later version published by

the Free Software Foundation. If the Library does not specify a

license version number, you may choose any version ever published by

the Free Software Foundation.

Page 90: CKB Linux オプション 2 - COMPUTEX | 株式会社 …”使用になる前に このたびはCKB Linux オプション2.1 をお買い上げいただきありがとうございます。

CKB Linux オプション 2.1 導入ガイド 第 11 章 CKB Linux SDK に含まれるソフトウェア 86

14. If you wish to incorporate parts of the Library into other free

programs whose distribution conditions are incompatible with these,

write to the author to ask for permission. For software which is

copyrighted by the Free Software Foundation, write to the Free

Software Foundation; we sometimes make exceptions for this. Our

decision will be guided by the two goals of preserving the free status

of all derivatives of our free software and of promoting the sharing

and reuse of software generally.

NO WARRANTY

15. BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO

WARRANTY FOR THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW.

EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR

OTHER PARTIES PROVIDE THE LIBRARY "AS IS" WITHOUT WARRANTY OF ANY

KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE

IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR

PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE

LIBRARY IS WITH YOU. SHOULD THE LIBRARY PROVE DEFECTIVE, YOU ASSUME

THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION.

16. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN

WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY

AND/OR REDISTRIBUTE THE LIBRARY AS PERMITTED ABOVE, BE LIABLE TO YOU

FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR

CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE

LIBRARY (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING

RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A

FAILURE OF THE LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF

SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH

DAMAGES.

END OF TERMS AND CONDITIONS

How to Apply These Terms to Your New Libraries

If you develop a new library, and you want it to be of the greatest

possible use to the public, we recommend making it free software that

everyone can redistribute and change. You can do so by permitting

redistribution under these terms (or, alternatively, under the terms

of the ordinary General Public License).

To apply these terms, attach the following notices to the library.

It is safest to attach them to the start of each source file to most

effectively convey the exclusion of warranty; and each file should

have at least the "copyright" line and a pointer to where the full

notice is found.

<one line to give the library's name and a brief idea of what it does.>

Copyright (C) <year> <name of author>

Page 91: CKB Linux オプション 2 - COMPUTEX | 株式会社 …”使用になる前に このたびはCKB Linux オプション2.1 をお買い上げいただきありがとうございます。

CKB Linux オプション 2.1 導入ガイド 第 11 章 CKB Linux SDK に含まれるソフトウェア 87

This library is free software; you can redistribute it and/or

modify it under the terms of the GNU Lesser General Public

License as published by the Free Software Foundation; either

version 2.1 of the License, or (at your option) any later version.

This library is distributed in the hope that it will be useful,

but WITHOUT ANY WARRANTY; without even the implied warranty of

MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU

Lesser General Public License for more details.

You should have received a copy of the GNU Lesser General Public

License along with this library; if not, write to the Free Software

Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA

Also add information on how to contact you by electronic and paper mail.

You should also get your employer (if you work as a programmer) or

your school, if any, to sign a "copyright disclaimer" for the library,

if necessary. Here is a sample; alter the names:

Yoyodyne, Inc., hereby disclaims all copyright interest in the

library `Frob' (a library for tweaking knobs) written by James

Random Hacker.

<signature of Ty Coon>, 1 April 1990

Ty Coon, President of Vice

That's all there is to it!

::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::

bridge-utils: COPYING file

::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::

GNU GENERAL PUBLIC LICENSE

Version 2, June 1991

Copyright (C) 1989, 1991 Free Software Foundation, Inc.

59 Temple Place, Suite 330, Boston, MA 02111-1307 USA

Everyone is permitted to copy and distribute verbatim copies

of this license document, but changing it is not allowed.

Preamble

The licenses for most software are designed to take away your

freedom to share and change it. By contrast, the GNU General Public

License is intended to guarantee your freedom to share and change free

software--to make sure the software is free for all its users. This

Page 92: CKB Linux オプション 2 - COMPUTEX | 株式会社 …”使用になる前に このたびはCKB Linux オプション2.1 をお買い上げいただきありがとうございます。

CKB Linux オプション 2.1 導入ガイド 第 11 章 CKB Linux SDK に含まれるソフトウェア 88

General Public License applies to most of the Free Software

Foundation's software and to any other program whose authors commit to

using it. (Some other Free Software Foundation software is covered by

the GNU Library General Public License instead.) You can apply it to

your programs, too.

When we speak of free software, we are referring to freedom, not

price. Our General Public Licenses are designed to make sure that you

have the freedom to distribute copies of free software (and charge for

this service if you wish), that you receive source code or can get it

if you want it, that you can change the software or use pieces of it

in new free programs; and that you know you can do these things.

To protect your rights, we need to make restrictions that forbid

anyone to deny you these rights or to ask you to surrender the rights.

These restrictions translate to certain responsibilities for you if you

distribute copies of the software, or if you modify it.

For example, if you distribute copies of such a program, whether

gratis or for a fee, you must give the recipients all the rights that

you have. You must make sure that they, too, receive or can get the

source code. And you must show them these terms so they know their

rights.

We protect your rights with two steps: (1) copyright the software, and

(2) offer you this license which gives you legal permission to copy,

distribute and/or modify the software.

Also, for each author's protection and ours, we want to make certain

that everyone understands that there is no warranty for this free

software. If the software is modified by someone else and passed on, we

want its recipients to know that what they have is not the original, so

that any problems introduced by others will not reflect on the original

authors' reputations.

Finally, any free program is threatened constantly by software

patents. We wish to avoid the danger that redistributors of a free

program will individually obtain patent licenses, in effect making the

program proprietary. To prevent this, we have made it clear that any

patent must be licensed for everyone's free use or not licensed at all.

The precise terms and conditions for copying, distribution and

modification follow.

GNU GENERAL PUBLIC LICENSE

TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION

0. This License applies to any program or other work which contains

a notice placed by the copyright holder saying it may be distributed

under the terms of this General Public License. The "Program", below,

refers to any such program or work, and a "work based on the Program"

Page 93: CKB Linux オプション 2 - COMPUTEX | 株式会社 …”使用になる前に このたびはCKB Linux オプション2.1 をお買い上げいただきありがとうございます。

CKB Linux オプション 2.1 導入ガイド 第 11 章 CKB Linux SDK に含まれるソフトウェア 89

means either the Program or any derivative work under copyright law:

that is to say, a work containing the Program or a portion of it,

either verbatim or with modifications and/or translated into another

language. (Hereinafter, translation is included without limitation in

the term "modification".) Each licensee is addressed as "you".

Activities other than copying, distribution and modification are not

covered by this License; they are outside its scope. The act of

running the Program is not restricted, and the output from the Program

is covered only if its contents constitute a work based on the

Program (independent of having been made by running the Program).

Whether that is true depends on what the Program does.

1. You may copy and distribute verbatim copies of the Program's

source code as you receive it, in any medium, provided that you

conspicuously and appropriately publish on each copy an appropriate

copyright notice and disclaimer of warranty; keep intact all the

notices that refer to this License and to the absence of any warranty;

and give any other recipients of the Program a copy of this License

along with the Program.

You may charge a fee for the physical act of transferring a copy, and

you may at your option offer warranty protection in exchange for a fee.

2. You may modify your copy or copies of the Program or any portion

of it, thus forming a work based on the Program, and copy and

distribute such modifications or work under the terms of Section 1

above, provided that you also meet all of these conditions:

a) You must cause the modified files to carry prominent notices

stating that you changed the files and the date of any change.

b) You must cause any work that you distribute or publish, that in

whole or in part contains or is derived from the Program or any

part thereof, to be licensed as a whole at no charge to all third

parties under the terms of this License.

c) If the modified program normally reads commands interactively

when run, you must cause it, when started running for such

interactive use in the most ordinary way, to print or display an

announcement including an appropriate copyright notice and a

notice that there is no warranty (or else, saying that you provide

a warranty) and that users may redistribute the program under

these conditions, and telling the user how to view a copy of this

License. (Exception: if the Program itself is interactive but

does not normally print such an announcement, your work based on

the Program is not required to print an announcement.)

These requirements apply to the modified work as a whole. If

identifiable sections of that work are not derived from the Program,

and can be reasonably considered independent and separate works in

Page 94: CKB Linux オプション 2 - COMPUTEX | 株式会社 …”使用になる前に このたびはCKB Linux オプション2.1 をお買い上げいただきありがとうございます。

CKB Linux オプション 2.1 導入ガイド 第 11 章 CKB Linux SDK に含まれるソフトウェア 90

themselves, then this License, and its terms, do not apply to those

sections when you distribute them as separate works. But when you

distribute the same sections as part of a whole which is a work based

on the Program, the distribution of the whole must be on the terms of

this License, whose permissions for other licensees extend to the

entire whole, and thus to each and every part regardless of who wrote it.

Thus, it is not the intent of this section to claim rights or contest

your rights to work written entirely by you; rather, the intent is to

exercise the right to control the distribution of derivative or

collective works based on the Program.

In addition, mere aggregation of another work not based on the Program

with the Program (or with a work based on the Program) on a volume of

a storage or distribution medium does not bring the other work under

the scope of this License.

3. You may copy and distribute the Program (or a work based on it,

under Section 2) in object code or executable form under the terms of

Sections 1 and 2 above provided that you also do one of the following:

a) Accompany it with the complete corresponding machine-readable

source code, which must be distributed under the terms of Sections

1 and 2 above on a medium customarily used for software interchange; or,

b) Accompany it with a written offer, valid for at least three

years, to give any third party, for a charge no more than your

cost of physically performing source distribution, a complete

machine-readable copy of the corresponding source code, to be

distributed under the terms of Sections 1 and 2 above on a medium

customarily used for software interchange; or,

c) Accompany it with the information you received as to the offer

to distribute corresponding source code. (This alternative is

allowed only for noncommercial distribution and only if you

received the program in object code or executable form with such

an offer, in accord with Subsection b above.)

The source code for a work means the preferred form of the work for

making modifications to it. For an executable work, complete source

code means all the source code for all modules it contains, plus any

associated interface definition files, plus the scripts used to

control compilation and installation of the executable. However, as a

special exception, the source code distributed need not include

anything that is normally distributed (in either source or binary

form) with the major components (compiler, kernel, and so on) of the

operating system on which the executable runs, unless that component

itself accompanies the executable.

If distribution of executable or object code is made by offering

access to copy from a designated place, then offering equivalent

Page 95: CKB Linux オプション 2 - COMPUTEX | 株式会社 …”使用になる前に このたびはCKB Linux オプション2.1 をお買い上げいただきありがとうございます。

CKB Linux オプション 2.1 導入ガイド 第 11 章 CKB Linux SDK に含まれるソフトウェア 91

access to copy the source code from the same place counts as

distribution of the source code, even though third parties are not

compelled to copy the source along with the object code.

4. You may not copy, modify, sublicense, or distribute the Program

except as expressly provided under this License. Any attempt

otherwise to copy, modify, sublicense or distribute the Program is

void, and will automatically terminate your rights under this License.

However, parties who have received copies, or rights, from you under

this License will not have their licenses terminated so long as such

parties remain in full compliance.

5. You are not required to accept this License, since you have not

signed it. However, nothing else grants you permission to modify or

distribute the Program or its derivative works. These actions are

prohibited by law if you do not accept this License. Therefore, by

modifying or distributing the Program (or any work based on the

Program), you indicate your acceptance of this License to do so, and

all its terms and conditions for copying, distributing or modifying

the Program or works based on it.

6. Each time you redistribute the Program (or any work based on the

Program), the recipient automatically receives a license from the

original licensor to copy, distribute or modify the Program subject to

these terms and conditions. You may not impose any further

restrictions on the recipients' exercise of the rights granted herein.

You are not responsible for enforcing compliance by third parties to

this License.

7. If, as a consequence of a court judgment or allegation of patent

infringement or for any other reason (not limited to patent issues),

conditions are imposed on you (whether by court order, agreement or

otherwise) that contradict the conditions of this License, they do not

excuse you from the conditions of this License. If you cannot

distribute so as to satisfy simultaneously your obligations under this

License and any other pertinent obligations, then as a consequence you

may not distribute the Program at all. For example, if a patent

license would not permit royalty-free redistribution of the Program by

all those who receive copies directly or indirectly through you, then

the only way you could satisfy both it and this License would be to

refrain entirely from distribution of the Program.

If any portion of this section is held invalid or unenforceable under

any particular circumstance, the balance of the section is intended to

apply and the section as a whole is intended to apply in other

circumstances.

It is not the purpose of this section to induce you to infringe any

patents or other property right claims or to contest validity of any

such claims; this section has the sole purpose of protecting the

integrity of the free software distribution system, which is

Page 96: CKB Linux オプション 2 - COMPUTEX | 株式会社 …”使用になる前に このたびはCKB Linux オプション2.1 をお買い上げいただきありがとうございます。

CKB Linux オプション 2.1 導入ガイド 第 11 章 CKB Linux SDK に含まれるソフトウェア 92

implemented by public license practices. Many people have made

generous contributions to the wide range of software distributed

through that system in reliance on consistent application of that

system; it is up to the author/donor to decide if he or she is willing

to distribute software through any other system and a licensee cannot

impose that choice.

This section is intended to make thoroughly clear what is believed to

be a consequence of the rest of this License.

8. If the distribution and/or use of the Program is restricted in

certain countries either by patents or by copyrighted interfaces, the

original copyright holder who places the Program under this License

may add an explicit geographical distribution limitation excluding

those countries, so that distribution is permitted only in or among

countries not thus excluded. In such case, this License incorporates

the limitation as if written in the body of this License.

9. The Free Software Foundation may publish revised and/or new versions

of the General Public License from time to time. Such new versions will

be similar in spirit to the present version, but may differ in detail to

address new problems or concerns.

Each version is given a distinguishing version number. If the Program

specifies a version number of this License which applies to it and "any

later version", you have the option of following the terms and conditions

either of that version or of any later version published by the Free

Software Foundation. If the Program does not specify a version number of

this License, you may choose any version ever published by the Free Software

Foundation.

10. If you wish to incorporate parts of the Program into other free

programs whose distribution conditions are different, write to the author

to ask for permission. For software which is copyrighted by the Free

Software Foundation, write to the Free Software Foundation; we sometimes

make exceptions for this. Our decision will be guided by the two goals

of preserving the free status of all derivatives of our free software and

of promoting the sharing and reuse of software generally.

NO WARRANTY

11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY

FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN

OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES

PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED

OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF

MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS

TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE

PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,

REPAIR OR CORRECTION.

Page 97: CKB Linux オプション 2 - COMPUTEX | 株式会社 …”使用になる前に このたびはCKB Linux オプション2.1 をお買い上げいただきありがとうございます。

CKB Linux オプション 2.1 導入ガイド 第 11 章 CKB Linux SDK に含まれるソフトウェア 93

12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING

WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR

REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,

INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING

OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED

TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY

YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER

PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE

POSSIBILITY OF SUCH DAMAGES.

END OF TERMS AND CONDITIONS

How to Apply These Terms to Your New Programs

If you develop a new program, and you want it to be of the greatest

possible use to the public, the best way to achieve this is to make it

free software which everyone can redistribute and change under these terms.

To do so, attach the following notices to the program. It is safest

to attach them to the start of each source file to most effectively

convey the exclusion of warranty; and each file should have at least

the "copyright" line and a pointer to where the full notice is found.

<one line to give the program's name and a brief idea of what it does.>

Copyright (C) 19yy <name of author>

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; either version 2 of the License, or

(at your option) any later version.

This program is distributed in the hope that it will be useful,

but WITHOUT ANY WARRANTY; without even the implied warranty of

MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the

GNU General Public License for more details.

You should have received a copy of the GNU General Public License

along with this program; if not, write to the Free Software

Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA

Also add information on how to contact you by electronic and paper mail.

If the program is interactive, make it output a short notice like this

when it starts in an interactive mode:

Gnomovision version 69, Copyright (C) 19yy name of author

Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.

This is free software, and you are welcome to redistribute it

under certain conditions; type `show c' for details.

Page 98: CKB Linux オプション 2 - COMPUTEX | 株式会社 …”使用になる前に このたびはCKB Linux オプション2.1 をお買い上げいただきありがとうございます。

CKB Linux オプション 2.1 導入ガイド 第 11 章 CKB Linux SDK に含まれるソフトウェア 94

The hypothetical commands `show w' and `show c' should show the appropriate

parts of the General Public License. Of course, the commands you use may

be called something other than `show w' and `show c'; they could even be

mouse-clicks or menu items--whatever suits your program.

You should also get your employer (if you work as a programmer) or your

school, if any, to sign a "copyright disclaimer" for the program, if

necessary. Here is a sample; alter the names:

Yoyodyne, Inc., hereby disclaims all copyright interest in the program

`Gnomovision' (which makes passes at compilers) written by James Hacker.

<signature of Ty Coon>, 1 April 1989

Ty Coon, President of Vice

This General Public License does not permit incorporating your program into

proprietary programs. If your program is a subroutine library, you may

consider it more useful to permit linking proprietary applications with the

library. If this is what you want to do, use the GNU Library General

Public License instead of this License.

::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::

busybox: LICENSE file

::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::

--- A note on GPL versions

BusyBox is distributed under version 2 of the General Public License (included

in its entirety, below). Version 2 is the only version of this license which

this version of BusyBox (or modified versions derived from this one) may be

distributed under.

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

GNU GENERAL PUBLIC LICENSE

Version 2, June 1991

Copyright (C) 1989, 1991 Free Software Foundation, Inc.

51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA

Everyone is permitted to copy and distribute verbatim copies

of this license document, but changing it is not allowed.

Preamble

The licenses for most software are designed to take away your

freedom to share and change it. By contrast, the GNU General Public

License is intended to guarantee your freedom to share and change free

software--to make sure the software is free for all its users. This

General Public License applies to most of the Free Software

Foundation's software and to any other program whose authors commit to

using it. (Some other Free Software Foundation software is covered by

Page 99: CKB Linux オプション 2 - COMPUTEX | 株式会社 …”使用になる前に このたびはCKB Linux オプション2.1 をお買い上げいただきありがとうございます。

CKB Linux オプション 2.1 導入ガイド 第 11 章 CKB Linux SDK に含まれるソフトウェア 95

the GNU Library General Public License instead.) You can apply it to

your programs, too.

When we speak of free software, we are referring to freedom, not

price. Our General Public Licenses are designed to make sure that you

have the freedom to distribute copies of free software (and charge for

this service if you wish), that you receive source code or can get it

if you want it, that you can change the software or use pieces of it

in new free programs; and that you know you can do these things.

To protect your rights, we need to make restrictions that forbid

anyone to deny you these rights or to ask you to surrender the rights.

These restrictions translate to certain responsibilities for you if you

distribute copies of the software, or if you modify it.

For example, if you distribute copies of such a program, whether

gratis or for a fee, you must give the recipients all the rights that

you have. You must make sure that they, too, receive or can get the

source code. And you must show them these terms so they know their

rights.

We protect your rights with two steps: (1) copyright the software, and

(2) offer you this license which gives you legal permission to copy,

distribute and/or modify the software.

Also, for each author's protection and ours, we want to make certain

that everyone understands that there is no warranty for this free

software. If the software is modified by someone else and passed on, we

want its recipients to know that what they have is not the original, so

that any problems introduced by others will not reflect on the original

authors' reputations.

Finally, any free program is threatened constantly by software

patents. We wish to avoid the danger that redistributors of a free

program will individually obtain patent licenses, in effect making the

program proprietary. To prevent this, we have made it clear that any

patent must be licensed for everyone's free use or not licensed at all.

The precise terms and conditions for copying, distribution and

modification follow.

GNU GENERAL PUBLIC LICENSE

TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION

0. This License applies to any program or other work which contains

a notice placed by the copyright holder saying it may be distributed

under the terms of this General Public License. The "Program", below,

refers to any such program or work, and a "work based on the Program"

means either the Program or any derivative work under copyright law:

that is to say, a work containing the Program or a portion of it,

either verbatim or with modifications and/or translated into another

Page 100: CKB Linux オプション 2 - COMPUTEX | 株式会社 …”使用になる前に このたびはCKB Linux オプション2.1 をお買い上げいただきありがとうございます。

CKB Linux オプション 2.1 導入ガイド 第 11 章 CKB Linux SDK に含まれるソフトウェア 96

language. (Hereinafter, translation is included without limitation in

the term "modification".) Each licensee is addressed as "you".

Activities other than copying, distribution and modification are not

covered by this License; they are outside its scope. The act of

running the Program is not restricted, and the output from the Program

is covered only if its contents constitute a work based on the

Program (independent of having been made by running the Program).

Whether that is true depends on what the Program does.

1. You may copy and distribute verbatim copies of the Program's

source code as you receive it, in any medium, provided that you

conspicuously and appropriately publish on each copy an appropriate

copyright notice and disclaimer of warranty; keep intact all the

notices that refer to this License and to the absence of any warranty;

and give any other recipients of the Program a copy of this License

along with the Program.

You may charge a fee for the physical act of transferring a copy, and

you may at your option offer warranty protection in exchange for a fee.

2. You may modify your copy or copies of the Program or any portion

of it, thus forming a work based on the Program, and copy and

distribute such modifications or work under the terms of Section 1

above, provided that you also meet all of these conditions:

a) You must cause the modified files to carry prominent notices

stating that you changed the files and the date of any change.

b) You must cause any work that you distribute or publish, that in

whole or in part contains or is derived from the Program or any

part thereof, to be licensed as a whole at no charge to all third

parties under the terms of this License.

c) If the modified program normally reads commands interactively

when run, you must cause it, when started running for such

interactive use in the most ordinary way, to print or display an

announcement including an appropriate copyright notice and a

notice that there is no warranty (or else, saying that you provide

a warranty) and that users may redistribute the program under

these conditions, and telling the user how to view a copy of this

License. (Exception: if the Program itself is interactive but

does not normally print such an announcement, your work based on

the Program is not required to print an announcement.)

These requirements apply to the modified work as a whole. If

identifiable sections of that work are not derived from the Program,

and can be reasonably considered independent and separate works in

themselves, then this License, and its terms, do not apply to those

sections when you distribute them as separate works. But when you

distribute the same sections as part of a whole which is a work based

Page 101: CKB Linux オプション 2 - COMPUTEX | 株式会社 …”使用になる前に このたびはCKB Linux オプション2.1 をお買い上げいただきありがとうございます。

CKB Linux オプション 2.1 導入ガイド 第 11 章 CKB Linux SDK に含まれるソフトウェア 97

on the Program, the distribution of the whole must be on the terms of

this License, whose permissions for other licensees extend to the

entire whole, and thus to each and every part regardless of who wrote it.

Thus, it is not the intent of this section to claim rights or contest

your rights to work written entirely by you; rather, the intent is to

exercise the right to control the distribution of derivative or

collective works based on the Program.

In addition, mere aggregation of another work not based on the Program

with the Program (or with a work based on the Program) on a volume of

a storage or distribution medium does not bring the other work under

the scope of this License.

3. You may copy and distribute the Program (or a work based on it,

under Section 2) in object code or executable form under the terms of

Sections 1 and 2 above provided that you also do one of the following:

a) Accompany it with the complete corresponding machine-readable

source code, which must be distributed under the terms of Sections

1 and 2 above on a medium customarily used for software interchange; or,

b) Accompany it with a written offer, valid for at least three

years, to give any third party, for a charge no more than your

cost of physically performing source distribution, a complete

machine-readable copy of the corresponding source code, to be

distributed under the terms of Sections 1 and 2 above on a medium

customarily used for software interchange; or,

c) Accompany it with the information you received as to the offer

to distribute corresponding source code. (This alternative is

allowed only for noncommercial distribution and only if you

received the program in object code or executable form with such

an offer, in accord with Subsection b above.)

The source code for a work means the preferred form of the work for

making modifications to it. For an executable work, complete source

code means all the source code for all modules it contains, plus any

associated interface definition files, plus the scripts used to

control compilation and installation of the executable. However, as a

special exception, the source code distributed need not include

anything that is normally distributed (in either source or binary

form) with the major components (compiler, kernel, and so on) of the

operating system on which the executable runs, unless that component

itself accompanies the executable.

If distribution of executable or object code is made by offering

access to copy from a designated place, then offering equivalent

access to copy the source code from the same place counts as

distribution of the source code, even though third parties are not

compelled to copy the source along with the object code.

Page 102: CKB Linux オプション 2 - COMPUTEX | 株式会社 …”使用になる前に このたびはCKB Linux オプション2.1 をお買い上げいただきありがとうございます。

CKB Linux オプション 2.1 導入ガイド 第 11 章 CKB Linux SDK に含まれるソフトウェア 98

4. You may not copy, modify, sublicense, or distribute the Program

except as expressly provided under this License. Any attempt

otherwise to copy, modify, sublicense or distribute the Program is

void, and will automatically terminate your rights under this License.

However, parties who have received copies, or rights, from you under

this License will not have their licenses terminated so long as such

parties remain in full compliance.

5. You are not required to accept this License, since you have not

signed it. However, nothing else grants you permission to modify or

distribute the Program or its derivative works. These actions are

prohibited by law if you do not accept this License. Therefore, by

modifying or distributing the Program (or any work based on the

Program), you indicate your acceptance of this License to do so, and

all its terms and conditions for copying, distributing or modifying

the Program or works based on it.

6. Each time you redistribute the Program (or any work based on the

Program), the recipient automatically receives a license from the

original licensor to copy, distribute or modify the Program subject to

these terms and conditions. You may not impose any further

restrictions on the recipients' exercise of the rights granted herein.

You are not responsible for enforcing compliance by third parties to

this License.

7. If, as a consequence of a court judgment or allegation of patent

infringement or for any other reason (not limited to patent issues),

conditions are imposed on you (whether by court order, agreement or

otherwise) that contradict the conditions of this License, they do not

excuse you from the conditions of this License. If you cannot

distribute so as to satisfy simultaneously your obligations under this

License and any other pertinent obligations, then as a consequence you

may not distribute the Program at all. For example, if a patent

license would not permit royalty-free redistribution of the Program by

all those who receive copies directly or indirectly through you, then

the only way you could satisfy both it and this License would be to

refrain entirely from distribution of the Program.

If any portion of this section is held invalid or unenforceable under

any particular circumstance, the balance of the section is intended to

apply and the section as a whole is intended to apply in other

circumstances.

It is not the purpose of this section to induce you to infringe any

patents or other property right claims or to contest validity of any

such claims; this section has the sole purpose of protecting the

integrity of the free software distribution system, which is

implemented by public license practices. Many people have made

generous contributions to the wide range of software distributed

through that system in reliance on consistent application of that

Page 103: CKB Linux オプション 2 - COMPUTEX | 株式会社 …”使用になる前に このたびはCKB Linux オプション2.1 をお買い上げいただきありがとうございます。

CKB Linux オプション 2.1 導入ガイド 第 11 章 CKB Linux SDK に含まれるソフトウェア 99

system; it is up to the author/donor to decide if he or she is willing

to distribute software through any other system and a licensee cannot

impose that choice.

This section is intended to make thoroughly clear what is believed to

be a consequence of the rest of this License.

8. If the distribution and/or use of the Program is restricted in

certain countries either by patents or by copyrighted interfaces, the

original copyright holder who places the Program under this License

may add an explicit geographical distribution limitation excluding

those countries, so that distribution is permitted only in or among

countries not thus excluded. In such case, this License incorporates

the limitation as if written in the body of this License.

9. The Free Software Foundation may publish revised and/or new versions

of the General Public License from time to time. Such new versions will

be similar in spirit to the present version, but may differ in detail to

address new problems or concerns.

Each version is given a distinguishing version number. If the Program

specifies a version number of this License which applies to it and "any

later version", you have the option of following the terms and conditions

either of that version or of any later version published by the Free

Software Foundation. If the Program does not specify a version number of

this License, you may choose any version ever published by the Free Software

Foundation.

10. If you wish to incorporate parts of the Program into other free

programs whose distribution conditions are different, write to the author

to ask for permission. For software which is copyrighted by the Free

Software Foundation, write to the Free Software Foundation; we sometimes

make exceptions for this. Our decision will be guided by the two goals

of preserving the free status of all derivatives of our free software and

of promoting the sharing and reuse of software generally.

NO WARRANTY

11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY

FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN

OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES

PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED

OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF

MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS

TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE

PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,

REPAIR OR CORRECTION.

12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING

WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR

REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,

Page 104: CKB Linux オプション 2 - COMPUTEX | 株式会社 …”使用になる前に このたびはCKB Linux オプション2.1 をお買い上げいただきありがとうございます。

CKB Linux オプション 2.1 導入ガイド 第 11 章 CKB Linux SDK に含まれるソフトウェア 100

INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING

OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED

TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY

YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER

PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE

POSSIBILITY OF SUCH DAMAGES.

END OF TERMS AND CONDITIONS

How to Apply These Terms to Your New Programs

If you develop a new program, and you want it to be of the greatest

possible use to the public, the best way to achieve this is to make it

free software which everyone can redistribute and change under these terms.

To do so, attach the following notices to the program. It is safest

to attach them to the start of each source file to most effectively

convey the exclusion of warranty; and each file should have at least

the "copyright" line and a pointer to where the full notice is found.

<one line to give the program's name and a brief idea of what it does.>

Copyright (C) <year> <name of author>

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; either version 2 of the License, or

(at your option) any later version.

This program is distributed in the hope that it will be useful,

but WITHOUT ANY WARRANTY; without even the implied warranty of

MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the

GNU General Public License for more details.

You should have received a copy of the GNU General Public License

along with this program; if not, write to the Free Software

Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA

Also add information on how to contact you by electronic and paper mail.

If the program is interactive, make it output a short notice like this

when it starts in an interactive mode:

Gnomovision version 69, Copyright (C) year name of author

Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.

This is free software, and you are welcome to redistribute it

under certain conditions; type `show c' for details.

The hypothetical commands `show w' and `show c' should show the appropriate

parts of the General Public License. Of course, the commands you use may

be called something other than `show w' and `show c'; they could even be

Page 105: CKB Linux オプション 2 - COMPUTEX | 株式会社 …”使用になる前に このたびはCKB Linux オプション2.1 をお買い上げいただきありがとうございます。

CKB Linux オプション 2.1 導入ガイド 第 11 章 CKB Linux SDK に含まれるソフトウェア 101

mouse-clicks or menu items--whatever suits your program.

You should also get your employer (if you work as a programmer) or your

school, if any, to sign a "copyright disclaimer" for the program, if

necessary. Here is a sample; alter the names:

Yoyodyne, Inc., hereby disclaims all copyright interest in the program

`Gnomovision' (which makes passes at compilers) written by James Hacker.

<signature of Ty Coon>, 1 April 1989

Ty Coon, President of Vice

This General Public License does not permit incorporating your program into

proprietary programs. If your program is a subroutine library, you may

consider it more useful to permit linking proprietary applications with the

library. If this is what you want to do, use the GNU Library General

Public License instead of this License.

::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::

can-utils: unknown license file(s)

::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::

::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::

crda: LICENSE file

::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::

Copyright (c) 2008, Luis R. Rodriguez <[email protected]>

Copyright (c) 2008, Johannes Berg <[email protected]>

Copyright (c) 2008, Michael Green <[email protected]>

Permission to use, copy, modify, and/or distribute this software for any

purpose with or without fee is hereby granted, provided that the above

copyright notice and this permission notice appear in all copies.

THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES

WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF

MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR

ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES

WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN

ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF

OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.

::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::

directfb-examples: COPYING file

::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::

The MIT License

Page 106: CKB Linux オプション 2 - COMPUTEX | 株式会社 …”使用になる前に このたびはCKB Linux オプション2.1 をお買い上げいただきありがとうございます。

CKB Linux オプション 2.1 導入ガイド 第 11 章 CKB Linux SDK に含まれるソフトウェア 102

Copyright (c) 2001-2008 The world wide DirectFB Open Source Community (directfb.org)

Copyright (c) 2000-2004 convergence (integrated media) GmbH

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.

::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::

directfb: COPYING file

::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::

GNU LESSER GENERAL PUBLIC LICENSE

Version 2.1, February 1999

Copyright (C) 1991, 1999 Free Software Foundation, Inc.

59 Temple Place, Suite 330, Boston, MA 02111-1307 USA

Everyone is permitted to copy and distribute verbatim copies

of this license document, but changing it is not allowed.

[This is the first released version of the Lesser GPL. It also counts

as the successor of the GNU Library Public License, version 2, hence

the version number 2.1.]

Preamble

The licenses for most software are designed to take away your

freedom to share and change it. By contrast, the GNU General Public

Licenses are intended to guarantee your freedom to share and change

free software--to make sure the software is free for all its users.

This license, the Lesser General Public License, applies to some

specially designated software packages--typically libraries--of the

Free Software Foundation and other authors who decide to use it. You

can use it too, but we suggest you first think carefully about whether

Page 107: CKB Linux オプション 2 - COMPUTEX | 株式会社 …”使用になる前に このたびはCKB Linux オプション2.1 をお買い上げいただきありがとうございます。

CKB Linux オプション 2.1 導入ガイド 第 11 章 CKB Linux SDK に含まれるソフトウェア 103

this license or the ordinary General Public License is the better

strategy to use in any particular case, based on the explanations below.

When we speak of free software, we are referring to freedom of use,

not price. Our General Public Licenses are designed to make sure that

you have the freedom to distribute copies of free software (and charge

for this service if you wish); that you receive source code or can get

it if you want it; that you can change the software and use pieces of

it in new free programs; and that you are informed that you can do

these things.

To protect your rights, we need to make restrictions that forbid

distributors to deny you these rights or to ask you to surrender these

rights. These restrictions translate to certain responsibilities for

you if you distribute copies of the library or if you modify it.

For example, if you distribute copies of the library, whether gratis

or for a fee, you must give the recipients all the rights that we gave

you. You must make sure that they, too, receive or can get the source

code. If you link other code with the library, you must provide

complete object files to the recipients, so that they can relink them

with the library after making changes to the library and recompiling

it. And you must show them these terms so they know their rights.

We protect your rights with a two-step method: (1) we copyright the

library, and (2) we offer you this license, which gives you legal

permission to copy, distribute and/or modify the library.

To protect each distributor, we want to make it very clear that

there is no warranty for the free library. Also, if the library is

modified by someone else and passed on, the recipients should know

that what they have is not the original version, so that the original

author's reputation will not be affected by problems that might be

introduced by others.

Finally, software patents pose a constant threat to the existence of

any free program. We wish to make sure that a company cannot

effectively restrict the users of a free program by obtaining a

restrictive license from a patent holder. Therefore, we insist that

any patent license obtained for a version of the library must be

consistent with the full freedom of use specified in this license.

Most GNU software, including some libraries, is covered by the

ordinary GNU General Public License. This license, the GNU Lesser

General Public License, applies to certain designated libraries, and

is quite different from the ordinary General Public License. We use

this license for certain libraries in order to permit linking those

libraries into non-free programs.

When a program is linked with a library, whether statically or using

a shared library, the combination of the two is legally speaking a

Page 108: CKB Linux オプション 2 - COMPUTEX | 株式会社 …”使用になる前に このたびはCKB Linux オプション2.1 をお買い上げいただきありがとうございます。

CKB Linux オプション 2.1 導入ガイド 第 11 章 CKB Linux SDK に含まれるソフトウェア 104

combined work, a derivative of the original library. The ordinary

General Public License therefore permits such linking only if the

entire combination fits its criteria of freedom. The Lesser General

Public License permits more lax criteria for linking other code with

the library.

We call this license the "Lesser" General Public License because it

does Less to protect the user's freedom than the ordinary General

Public License. It also provides other free software developers Less

of an advantage over competing non-free programs. These disadvantages

are the reason we use the ordinary General Public License for many

libraries. However, the Lesser license provides advantages in certain

special circumstances.

For example, on rare occasions, there may be a special need to

encourage the widest possible use of a certain library, so that it becomes

a de-facto standard. To achieve this, non-free programs must be

allowed to use the library. A more frequent case is that a free

library does the same job as widely used non-free libraries. In this

case, there is little to gain by limiting the free library to free

software only, so we use the Lesser General Public License.

In other cases, permission to use a particular library in non-free

programs enables a greater number of people to use a large body of

free software. For example, permission to use the GNU C Library in

non-free programs enables many more people to use the whole GNU

operating system, as well as its variant, the GNU/Linux operating

system.

Although the Lesser General Public License is Less protective of the

users' freedom, it does ensure that the user of a program that is

linked with the Library has the freedom and the wherewithal to run

that program using a modified version of the Library.

The precise terms and conditions for copying, distribution and

modification follow. Pay close attention to the difference between a

"work based on the library" and a "work that uses the library". The

former contains code derived from the library, whereas the latter must

be combined with the library in order to run.

GNU LESSER GENERAL PUBLIC LICENSE

TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION

0. This License Agreement applies to any software library or other

program which contains a notice placed by the copyright holder or

other authorized party saying it may be distributed under the terms of

this Lesser General Public License (also called "this License").

Each licensee is addressed as "you".

A "library" means a collection of software functions and/or data

prepared so as to be conveniently linked with application programs

Page 109: CKB Linux オプション 2 - COMPUTEX | 株式会社 …”使用になる前に このたびはCKB Linux オプション2.1 をお買い上げいただきありがとうございます。

CKB Linux オプション 2.1 導入ガイド 第 11 章 CKB Linux SDK に含まれるソフトウェア 105

(which use some of those functions and data) to form executables.

The "Library", below, refers to any such software library or work

which has been distributed under these terms. A "work based on the

Library" means either the Library or any derivative work under

copyright law: that is to say, a work containing the Library or a

portion of it, either verbatim or with modifications and/or translated

straightforwardly into another language. (Hereinafter, translation is

included without limitation in the term "modification".)

"Source code" for a work means the preferred form of the work for

making modifications to it. For a library, complete source code means

all the source code for all modules it contains, plus any associated

interface definition files, plus the scripts used to control compilation

and installation of the library.

Activities other than copying, distribution and modification are not

covered by this License; they are outside its scope. The act of

running a program using the Library is not restricted, and output from

such a program is covered only if its contents constitute a work based

on the Library (independent of the use of the Library in a tool for

writing it). Whether that is true depends on what the Library does

and what the program that uses the Library does.

1. You may copy and distribute verbatim copies of the Library's

complete source code as you receive it, in any medium, provided that

you conspicuously and appropriately publish on each copy an

appropriate copyright notice and disclaimer of warranty; keep intact

all the notices that refer to this License and to the absence of any

warranty; and distribute a copy of this License along with the

Library.

You may charge a fee for the physical act of transferring a copy,

and you may at your option offer warranty protection in exchange for a

fee.

2. You may modify your copy or copies of the Library or any portion

of it, thus forming a work based on the Library, and copy and

distribute such modifications or work under the terms of Section 1

above, provided that you also meet all of these conditions:

a) The modified work must itself be a software library.

b) You must cause the files modified to carry prominent notices

stating that you changed the files and the date of any change.

c) You must cause the whole of the work to be licensed at no

charge to all third parties under the terms of this License.

d) If a facility in the modified Library refers to a function or a

table of data to be supplied by an application program that uses

Page 110: CKB Linux オプション 2 - COMPUTEX | 株式会社 …”使用になる前に このたびはCKB Linux オプション2.1 をお買い上げいただきありがとうございます。

CKB Linux オプション 2.1 導入ガイド 第 11 章 CKB Linux SDK に含まれるソフトウェア 106

the facility, other than as an argument passed when the facility

is invoked, then you must make a good faith effort to ensure that,

in the event an application does not supply such function or

table, the facility still operates, and performs whatever part of

its purpose remains meaningful.

(For example, a function in a library to compute square roots has

a purpose that is entirely well-defined independent of the

application. Therefore, Subsection 2d requires that any

application-supplied function or table used by this function must

be optional: if the application does not supply it, the square

root function must still compute square roots.)

These requirements apply to the modified work as a whole. If

identifiable sections of that work are not derived from the Library,

and can be reasonably considered independent and separate works in

themselves, then this License, and its terms, do not apply to those

sections when you distribute them as separate works. But when you

distribute the same sections as part of a whole which is a work based

on the Library, the distribution of the whole must be on the terms of

this License, whose permissions for other licensees extend to the

entire whole, and thus to each and every part regardless of who wrote

it.

Thus, it is not the intent of this section to claim rights or contest

your rights to work written entirely by you; rather, the intent is to

exercise the right to control the distribution of derivative or

collective works based on the Library.

In addition, mere aggregation of another work not based on the Library

with the Library (or with a work based on the Library) on a volume of

a storage or distribution medium does not bring the other work under

the scope of this License.

3. You may opt to apply the terms of the ordinary GNU General Public

License instead of this License to a given copy of the Library. To do

this, you must alter all the notices that refer to this License, so

that they refer to the ordinary GNU General Public License, version 2,

instead of to this License. (If a newer version than version 2 of the

ordinary GNU General Public License has appeared, then you can specify

that version instead if you wish.) Do not make any other change in

these notices.

Once this change is made in a given copy, it is irreversible for

that copy, so the ordinary GNU General Public License applies to all

subsequent copies and derivative works made from that copy.

This option is useful when you wish to copy part of the code of

the Library into a program that is not a library.

4. You may copy and distribute the Library (or a portion or

Page 111: CKB Linux オプション 2 - COMPUTEX | 株式会社 …”使用になる前に このたびはCKB Linux オプション2.1 をお買い上げいただきありがとうございます。

CKB Linux オプション 2.1 導入ガイド 第 11 章 CKB Linux SDK に含まれるソフトウェア 107

derivative of it, under Section 2) in object code or executable form

under the terms of Sections 1 and 2 above provided that you accompany

it with the complete corresponding machine-readable source code, which

must be distributed under the terms of Sections 1 and 2 above on a

medium customarily used for software interchange.

If distribution of object code is made by offering access to copy

from a designated place, then offering equivalent access to copy the

source code from the same place satisfies the requirement to

distribute the source code, even though third parties are not

compelled to copy the source along with the object code.

5. A program that contains no derivative of any portion of the

Library, but is designed to work with the Library by being compiled or

linked with it, is called a "work that uses the Library". Such a

work, in isolation, is not a derivative work of the Library, and

therefore falls outside the scope of this License.

However, linking a "work that uses the Library" with the Library

creates an executable that is a derivative of the Library (because it

contains portions of the Library), rather than a "work that uses the

library". The executable is therefore covered by this License.

Section 6 states terms for distribution of such executables.

When a "work that uses the Library" uses material from a header file

that is part of the Library, the object code for the work may be a

derivative work of the Library even though the source code is not.

Whether this is true is especially significant if the work can be

linked without the Library, or if the work is itself a library. The

threshold for this to be true is not precisely defined by law.

If such an object file uses only numerical parameters, data

structure layouts and accessors, and small macros and small inline

functions (ten lines or less in length), then the use of the object

file is unrestricted, regardless of whether it is legally a derivative

work. (Executables containing this object code plus portions of the

Library will still fall under Section 6.)

Otherwise, if the work is a derivative of the Library, you may

distribute the object code for the work under the terms of Section 6.

Any executables containing that work also fall under Section 6,

whether or not they are linked directly with the Library itself.

6. As an exception to the Sections above, you may also combine or

link a "work that uses the Library" with the Library to produce a

work containing portions of the Library, and distribute that work

under terms of your choice, provided that the terms permit

modification of the work for the customer's own use and reverse

engineering for debugging such modifications.

You must give prominent notice with each copy of the work that the

Page 112: CKB Linux オプション 2 - COMPUTEX | 株式会社 …”使用になる前に このたびはCKB Linux オプション2.1 をお買い上げいただきありがとうございます。

CKB Linux オプション 2.1 導入ガイド 第 11 章 CKB Linux SDK に含まれるソフトウェア 108

Library is used in it and that the Library and its use are covered by

this License. You must supply a copy of this License. If the work

during execution displays copyright notices, you must include the

copyright notice for the Library among them, as well as a reference

directing the user to the copy of this License. Also, you must do one

of these things:

a) Accompany the work with the complete corresponding

machine-readable source code for the Library including whatever

changes were used in the work (which must be distributed under

Sections 1 and 2 above); and, if the work is an executable linked

with the Library, with the complete machine-readable "work that

uses the Library", as object code and/or source code, so that the

user can modify the Library and then relink to produce a modified

executable containing the modified Library. (It is understood

that the user who changes the contents of definitions files in the

Library will not necessarily be able to recompile the application

to use the modified definitions.)

b) Use a suitable shared library mechanism for linking with the

Library. A suitable mechanism is one that (1) uses at run time a

copy of the library already present on the user's computer system,

rather than copying library functions into the executable, and (2)

will operate properly with a modified version of the library, if

the user installs one, as long as the modified version is

interface-compatible with the version that the work was made with.

c) Accompany the work with a written offer, valid for at

least three years, to give the same user the materials

specified in Subsection 6a, above, for a charge no more

than the cost of performing this distribution.

d) If distribution of the work is made by offering access to copy

from a designated place, offer equivalent access to copy the above

specified materials from the same place.

e) Verify that the user has already received a copy of these

materials or that you have already sent this user a copy.

For an executable, the required form of the "work that uses the

Library" must include any data and utility programs needed for

reproducing the executable from it. However, as a special exception,

the materials to be distributed need not include anything that is

normally distributed (in either source or binary form) with the major

components (compiler, kernel, and so on) of the operating system on

which the executable runs, unless that component itself accompanies

the executable.

It may happen that this requirement contradicts the license

restrictions of other proprietary libraries that do not normally

accompany the operating system. Such a contradiction means you cannot

Page 113: CKB Linux オプション 2 - COMPUTEX | 株式会社 …”使用になる前に このたびはCKB Linux オプション2.1 をお買い上げいただきありがとうございます。

CKB Linux オプション 2.1 導入ガイド 第 11 章 CKB Linux SDK に含まれるソフトウェア 109

use both them and the Library together in an executable that you

distribute.

7. You may place library facilities that are a work based on the

Library side-by-side in a single library together with other library

facilities not covered by this License, and distribute such a combined

library, provided that the separate distribution of the work based on

the Library and of the other library facilities is otherwise

permitted, and provided that you do these two things:

a) Accompany the combined library with a copy of the same work

based on the Library, uncombined with any other library

facilities. This must be distributed under the terms of the

Sections above.

b) Give prominent notice with the combined library of the fact

that part of it is a work based on the Library, and explaining

where to find the accompanying uncombined form of the same work.

8. You may not copy, modify, sublicense, link with, or distribute

the Library except as expressly provided under this License. Any

attempt otherwise to copy, modify, sublicense, link with, or

distribute the Library is void, and will automatically terminate your

rights under this License. However, parties who have received copies,

or rights, from you under this License will not have their licenses

terminated so long as such parties remain in full compliance.

9. You are not required to accept this License, since you have not

signed it. However, nothing else grants you permission to modify or

distribute the Library or its derivative works. These actions are

prohibited by law if you do not accept this License. Therefore, by

modifying or distributing the Library (or any work based on the

Library), you indicate your acceptance of this License to do so, and

all its terms and conditions for copying, distributing or modifying

the Library or works based on it.

10. Each time you redistribute the Library (or any work based on the

Library), the recipient automatically receives a license from the

original licensor to copy, distribute, link with or modify the Library

subject to these terms and conditions. You may not impose any further

restrictions on the recipients' exercise of the rights granted herein.

You are not responsible for enforcing compliance by third parties with

this License.

11. If, as a consequence of a court judgment or allegation of patent

infringement or for any other reason (not limited to patent issues),

conditions are imposed on you (whether by court order, agreement or

otherwise) that contradict the conditions of this License, they do not

excuse you from the conditions of this License. If you cannot

distribute so as to satisfy simultaneously your obligations under this

License and any other pertinent obligations, then as a consequence you

Page 114: CKB Linux オプション 2 - COMPUTEX | 株式会社 …”使用になる前に このたびはCKB Linux オプション2.1 をお買い上げいただきありがとうございます。

CKB Linux オプション 2.1 導入ガイド 第 11 章 CKB Linux SDK に含まれるソフトウェア 110

may not distribute the Library at all. For example, if a patent

license would not permit royalty-free redistribution of the Library by

all those who receive copies directly or indirectly through you, then

the only way you could satisfy both it and this License would be to

refrain entirely from distribution of the Library.

If any portion of this section is held invalid or unenforceable under any

particular circumstance, the balance of the section is intended to apply,

and the section as a whole is intended to apply in other circumstances.

It is not the purpose of this section to induce you to infringe any

patents or other property right claims or to contest validity of any

such claims; this section has the sole purpose of protecting the

integrity of the free software distribution system which is

implemented by public license practices. Many people have made

generous contributions to the wide range of software distributed

through that system in reliance on consistent application of that

system; it is up to the author/donor to decide if he or she is willing

to distribute software through any other system and a licensee cannot

impose that choice.

This section is intended to make thoroughly clear what is believed to

be a consequence of the rest of this License.

12. If the distribution and/or use of the Library is restricted in

certain countries either by patents or by copyrighted interfaces, the

original copyright holder who places the Library under this License may add

an explicit geographical distribution limitation excluding those countries,

so that distribution is permitted only in or among countries not thus

excluded. In such case, this License incorporates the limitation as if

written in the body of this License.

13. The Free Software Foundation may publish revised and/or new

versions of the Lesser General Public License from time to time.

Such new versions will be similar in spirit to the present version,

but may differ in detail to address new problems or concerns.

Each version is given a distinguishing version number. If the Library

specifies a version number of this License which applies to it and

"any later version", you have the option of following the terms and

conditions either of that version or of any later version published by

the Free Software Foundation. If the Library does not specify a

license version number, you may choose any version ever published by

the Free Software Foundation.

14. If you wish to incorporate parts of the Library into other free

programs whose distribution conditions are incompatible with these,

write to the author to ask for permission. For software which is

copyrighted by the Free Software Foundation, write to the Free

Software Foundation; we sometimes make exceptions for this. Our

decision will be guided by the two goals of preserving the free status

Page 115: CKB Linux オプション 2 - COMPUTEX | 株式会社 …”使用になる前に このたびはCKB Linux オプション2.1 をお買い上げいただきありがとうございます。

CKB Linux オプション 2.1 導入ガイド 第 11 章 CKB Linux SDK に含まれるソフトウェア 111

of all derivatives of our free software and of promoting the sharing

and reuse of software generally.

NO WARRANTY

15. BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO

WARRANTY FOR THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW.

EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR

OTHER PARTIES PROVIDE THE LIBRARY "AS IS" WITHOUT WARRANTY OF ANY

KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE

IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR

PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE

LIBRARY IS WITH YOU. SHOULD THE LIBRARY PROVE DEFECTIVE, YOU ASSUME

THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION.

16. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN

WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY

AND/OR REDISTRIBUTE THE LIBRARY AS PERMITTED ABOVE, BE LIABLE TO YOU

FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR

CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE

LIBRARY (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING

RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A

FAILURE OF THE LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF

SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH

DAMAGES.

END OF TERMS AND CONDITIONS

How to Apply These Terms to Your New Libraries

If you develop a new library, and you want it to be of the greatest

possible use to the public, we recommend making it free software that

everyone can redistribute and change. You can do so by permitting

redistribution under these terms (or, alternatively, under the terms of the

ordinary General Public License).

To apply these terms, attach the following notices to the library. It is

safest to attach them to the start of each source file to most effectively

convey the exclusion of warranty; and each file should have at least the

"copyright" line and a pointer to where the full notice is found.

<one line to give the library's name and a brief idea of what it does.>

Copyright (C) <year> <name of author>

This library is free software; you can redistribute it and/or

modify it under the terms of the GNU Lesser General Public

License as published by the Free Software Foundation; either

version 2 of the License, or (at your option) any later version.

This library is distributed in the hope that it will be useful,

but WITHOUT ANY WARRANTY; without even the implied warranty of

Page 116: CKB Linux オプション 2 - COMPUTEX | 株式会社 …”使用になる前に このたびはCKB Linux オプション2.1 をお買い上げいただきありがとうございます。

CKB Linux オプション 2.1 導入ガイド 第 11 章 CKB Linux SDK に含まれるソフトウェア 112

MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU

Lesser General Public License for more details.

You should have received a copy of the GNU Lesser General Public

License along with this library; if not, write to the Free Software

Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA

Also add information on how to contact you by electronic and paper mail.

You should also get your employer (if you work as a programmer) or your

school, if any, to sign a "copyright disclaimer" for the library, if

necessary. Here is a sample; alter the names:

Yoyodyne, Inc., hereby disclaims all copyright interest in the

library `Frob' (a library for tweaking knobs) written by James Random Hacker.

<signature of Ty Coon>, 1 April 1990

Ty Coon, President of Vice

That's all there is to it!

::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::

ethtool: COPYING file

::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::

GNU GENERAL PUBLIC LICENSE

Version 2, June 1991

Copyright (C) 1989, 1991 Free Software Foundation, Inc.

59 Temple Place, Suite 330, Boston, MA 02111-1307 USA

Everyone is permitted to copy and distribute verbatim copies

of this license document, but changing it is not allowed.

Preamble

The licenses for most software are designed to take away your

freedom to share and change it. By contrast, the GNU General Public

License is intended to guarantee your freedom to share and change free

software--to make sure the software is free for all its users. This

General Public License applies to most of the Free Software

Foundation's software and to any other program whose authors commit to

using it. (Some other Free Software Foundation software is covered by

the GNU Library General Public License instead.) You can apply it to

your programs, too.

When we speak of free software, we are referring to freedom, not

price. Our General Public Licenses are designed to make sure that you

have the freedom to distribute copies of free software (and charge for

Page 117: CKB Linux オプション 2 - COMPUTEX | 株式会社 …”使用になる前に このたびはCKB Linux オプション2.1 をお買い上げいただきありがとうございます。

CKB Linux オプション 2.1 導入ガイド 第 11 章 CKB Linux SDK に含まれるソフトウェア 113

this service if you wish), that you receive source code or can get it

if you want it, that you can change the software or use pieces of it

in new free programs; and that you know you can do these things.

To protect your rights, we need to make restrictions that forbid

anyone to deny you these rights or to ask you to surrender the rights.

These restrictions translate to certain responsibilities for you if you

distribute copies of the software, or if you modify it.

For example, if you distribute copies of such a program, whether

gratis or for a fee, you must give the recipients all the rights that

you have. You must make sure that they, too, receive or can get the

source code. And you must show them these terms so they know their

rights.

We protect your rights with two steps: (1) copyright the software, and

(2) offer you this license which gives you legal permission to copy,

distribute and/or modify the software.

Also, for each author's protection and ours, we want to make certain

that everyone understands that there is no warranty for this free

software. If the software is modified by someone else and passed on, we

want its recipients to know that what they have is not the original, so

that any problems introduced by others will not reflect on the original

authors' reputations.

Finally, any free program is threatened constantly by software

patents. We wish to avoid the danger that redistributors of a free

program will individually obtain patent licenses, in effect making the

program proprietary. To prevent this, we have made it clear that any

patent must be licensed for everyone's free use or not licensed at all.

The precise terms and conditions for copying, distribution and

modification follow.

GNU GENERAL PUBLIC LICENSE

TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION

0. This License applies to any program or other work which contains

a notice placed by the copyright holder saying it may be distributed

under the terms of this General Public License. The "Program", below,

refers to any such program or work, and a "work based on the Program"

means either the Program or any derivative work under copyright law:

that is to say, a work containing the Program or a portion of it,

either verbatim or with modifications and/or translated into another

language. (Hereinafter, translation is included without limitation in

the term "modification".) Each licensee is addressed as "you".

Activities other than copying, distribution and modification are not

covered by this License; they are outside its scope. The act of

running the Program is not restricted, and the output from the Program

Page 118: CKB Linux オプション 2 - COMPUTEX | 株式会社 …”使用になる前に このたびはCKB Linux オプション2.1 をお買い上げいただきありがとうございます。

CKB Linux オプション 2.1 導入ガイド 第 11 章 CKB Linux SDK に含まれるソフトウェア 114

is covered only if its contents constitute a work based on the

Program (independent of having been made by running the Program).

Whether that is true depends on what the Program does.

1. You may copy and distribute verbatim copies of the Program's

source code as you receive it, in any medium, provided that you

conspicuously and appropriately publish on each copy an appropriate

copyright notice and disclaimer of warranty; keep intact all the

notices that refer to this License and to the absence of any warranty;

and give any other recipients of the Program a copy of this License

along with the Program.

You may charge a fee for the physical act of transferring a copy, and

you may at your option offer warranty protection in exchange for a fee.

2. You may modify your copy or copies of the Program or any portion

of it, thus forming a work based on the Program, and copy and

distribute such modifications or work under the terms of Section 1

above, provided that you also meet all of these conditions:

a) You must cause the modified files to carry prominent notices

stating that you changed the files and the date of any change.

b) You must cause any work that you distribute or publish, that in

whole or in part contains or is derived from the Program or any

part thereof, to be licensed as a whole at no charge to all third

parties under the terms of this License.

c) If the modified program normally reads commands interactively

when run, you must cause it, when started running for such

interactive use in the most ordinary way, to print or display an

announcement including an appropriate copyright notice and a

notice that there is no warranty (or else, saying that you provide

a warranty) and that users may redistribute the program under

these conditions, and telling the user how to view a copy of this

License. (Exception: if the Program itself is interactive but

does not normally print such an announcement, your work based on

the Program is not required to print an announcement.)

These requirements apply to the modified work as a whole. If

identifiable sections of that work are not derived from the Program,

and can be reasonably considered independent and separate works in

themselves, then this License, and its terms, do not apply to those

sections when you distribute them as separate works. But when you

distribute the same sections as part of a whole which is a work based

on the Program, the distribution of the whole must be on the terms of

this License, whose permissions for other licensees extend to the

entire whole, and thus to each and every part regardless of who wrote it.

Thus, it is not the intent of this section to claim rights or contest

your rights to work written entirely by you; rather, the intent is to

Page 119: CKB Linux オプション 2 - COMPUTEX | 株式会社 …”使用になる前に このたびはCKB Linux オプション2.1 をお買い上げいただきありがとうございます。

CKB Linux オプション 2.1 導入ガイド 第 11 章 CKB Linux SDK に含まれるソフトウェア 115

exercise the right to control the distribution of derivative or

collective works based on the Program.

In addition, mere aggregation of another work not based on the Program

with the Program (or with a work based on the Program) on a volume of

a storage or distribution medium does not bring the other work under

the scope of this License.

3. You may copy and distribute the Program (or a work based on it,

under Section 2) in object code or executable form under the terms of

Sections 1 and 2 above provided that you also do one of the following:

a) Accompany it with the complete corresponding machine-readable

source code, which must be distributed under the terms of Sections

1 and 2 above on a medium customarily used for software interchange; or,

b) Accompany it with a written offer, valid for at least three

years, to give any third party, for a charge no more than your

cost of physically performing source distribution, a complete

machine-readable copy of the corresponding source code, to be

distributed under the terms of Sections 1 and 2 above on a medium

customarily used for software interchange; or,

c) Accompany it with the information you received as to the offer

to distribute corresponding source code. (This alternative is

allowed only for noncommercial distribution and only if you

received the program in object code or executable form with such

an offer, in accord with Subsection b above.)

The source code for a work means the preferred form of the work for

making modifications to it. For an executable work, complete source

code means all the source code for all modules it contains, plus any

associated interface definition files, plus the scripts used to

control compilation and installation of the executable. However, as a

special exception, the source code distributed need not include

anything that is normally distributed (in either source or binary

form) with the major components (compiler, kernel, and so on) of the

operating system on which the executable runs, unless that component

itself accompanies the executable.

If distribution of executable or object code is made by offering

access to copy from a designated place, then offering equivalent

access to copy the source code from the same place counts as

distribution of the source code, even though third parties are not

compelled to copy the source along with the object code.

4. You may not copy, modify, sublicense, or distribute the Program

except as expressly provided under this License. Any attempt

otherwise to copy, modify, sublicense or distribute the Program is

void, and will automatically terminate your rights under this License.

However, parties who have received copies, or rights, from you under

Page 120: CKB Linux オプション 2 - COMPUTEX | 株式会社 …”使用になる前に このたびはCKB Linux オプション2.1 をお買い上げいただきありがとうございます。

CKB Linux オプション 2.1 導入ガイド 第 11 章 CKB Linux SDK に含まれるソフトウェア 116

this License will not have their licenses terminated so long as such

parties remain in full compliance.

5. You are not required to accept this License, since you have not

signed it. However, nothing else grants you permission to modify or

distribute the Program or its derivative works. These actions are

prohibited by law if you do not accept this License. Therefore, by

modifying or distributing the Program (or any work based on the

Program), you indicate your acceptance of this License to do so, and

all its terms and conditions for copying, distributing or modifying

the Program or works based on it.

6. Each time you redistribute the Program (or any work based on the

Program), the recipient automatically receives a license from the

original licensor to copy, distribute or modify the Program subject to

these terms and conditions. You may not impose any further

restrictions on the recipients' exercise of the rights granted herein.

You are not responsible for enforcing compliance by third parties to

this License.

7. If, as a consequence of a court judgment or allegation of patent

infringement or for any other reason (not limited to patent issues),

conditions are imposed on you (whether by court order, agreement or

otherwise) that contradict the conditions of this License, they do not

excuse you from the conditions of this License. If you cannot

distribute so as to satisfy simultaneously your obligations under this

License and any other pertinent obligations, then as a consequence you

may not distribute the Program at all. For example, if a patent

license would not permit royalty-free redistribution of the Program by

all those who receive copies directly or indirectly through you, then

the only way you could satisfy both it and this License would be to

refrain entirely from distribution of the Program.

If any portion of this section is held invalid or unenforceable under

any particular circumstance, the balance of the section is intended to

apply and the section as a whole is intended to apply in other

circumstances.

It is not the purpose of this section to induce you to infringe any

patents or other property right claims or to contest validity of any

such claims; this section has the sole purpose of protecting the

integrity of the free software distribution system, which is

implemented by public license practices. Many people have made

generous contributions to the wide range of software distributed

through that system in reliance on consistent application of that

system; it is up to the author/donor to decide if he or she is willing

to distribute software through any other system and a licensee cannot

impose that choice.

This section is intended to make thoroughly clear what is believed to

be a consequence of the rest of this License.

Page 121: CKB Linux オプション 2 - COMPUTEX | 株式会社 …”使用になる前に このたびはCKB Linux オプション2.1 をお買い上げいただきありがとうございます。

CKB Linux オプション 2.1 導入ガイド 第 11 章 CKB Linux SDK に含まれるソフトウェア 117

8. If the distribution and/or use of the Program is restricted in

certain countries either by patents or by copyrighted interfaces, the

original copyright holder who places the Program under this License

may add an explicit geographical distribution limitation excluding

those countries, so that distribution is permitted only in or among

countries not thus excluded. In such case, this License incorporates

the limitation as if written in the body of this License.

9. The Free Software Foundation may publish revised and/or new versions

of the General Public License from time to time. Such new versions will

be similar in spirit to the present version, but may differ in detail to

address new problems or concerns.

Each version is given a distinguishing version number. If the Program

specifies a version number of this License which applies to it and "any

later version", you have the option of following the terms and conditions

either of that version or of any later version published by the Free

Software Foundation. If the Program does not specify a version number of

this License, you may choose any version ever published by the Free Software

Foundation.

10. If you wish to incorporate parts of the Program into other free

programs whose distribution conditions are different, write to the author

to ask for permission. For software which is copyrighted by the Free

Software Foundation, write to the Free Software Foundation; we sometimes

make exceptions for this. Our decision will be guided by the two goals

of preserving the free status of all derivatives of our free software and

of promoting the sharing and reuse of software generally.

NO WARRANTY

11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY

FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN

OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES

PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED

OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF

MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS

TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE

PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,

REPAIR OR CORRECTION.

12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING

WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR

REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,

INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING

OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED

TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY

YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER

PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE

POSSIBILITY OF SUCH DAMAGES.

Page 122: CKB Linux オプション 2 - COMPUTEX | 株式会社 …”使用になる前に このたびはCKB Linux オプション2.1 をお買い上げいただきありがとうございます。

CKB Linux オプション 2.1 導入ガイド 第 11 章 CKB Linux SDK に含まれるソフトウェア 118

END OF TERMS AND CONDITIONS

How to Apply These Terms to Your New Programs

If you develop a new program, and you want it to be of the greatest

possible use to the public, the best way to achieve this is to make it

free software which everyone can redistribute and change under these terms.

To do so, attach the following notices to the program. It is safest

to attach them to the start of each source file to most effectively

convey the exclusion of warranty; and each file should have at least

the "copyright" line and a pointer to where the full notice is found.

<one line to give the program's name and a brief idea of what it does.>

Copyright (C) <year> <name of author>

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; either version 2 of the License, or

(at your option) any later version.

This program is distributed in the hope that it will be useful,

but WITHOUT ANY WARRANTY; without even the implied warranty of

MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the

GNU General Public License for more details.

You should have received a copy of the GNU General Public License

along with this program; if not, write to the Free Software

Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA

Also add information on how to contact you by electronic and paper mail.

If the program is interactive, make it output a short notice like this

when it starts in an interactive mode:

Gnomovision version 69, Copyright (C) year name of author

Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.

This is free software, and you are welcome to redistribute it

under certain conditions; type `show c' for details.

The hypothetical commands `show w' and `show c' should show the appropriate

parts of the General Public License. Of course, the commands you use may

be called something other than `show w' and `show c'; they could even be

mouse-clicks or menu items--whatever suits your program.

You should also get your employer (if you work as a programmer) or your

school, if any, to sign a "copyright disclaimer" for the program, if

necessary. Here is a sample; alter the names:

Page 123: CKB Linux オプション 2 - COMPUTEX | 株式会社 …”使用になる前に このたびはCKB Linux オプション2.1 をお買い上げいただきありがとうございます。

CKB Linux オプション 2.1 導入ガイド 第 11 章 CKB Linux SDK に含まれるソフトウェア 119

Yoyodyne, Inc., hereby disclaims all copyright interest in the program

`Gnomovision' (which makes passes at compilers) written by James Hacker.

<signature of Ty Coon>, 1 April 1989

Ty Coon, President of Vice

This General Public License does not permit incorporating your program into

proprietary programs. If your program is a subroutine library, you may

consider it more useful to permit linking proprietary applications with the

library. If this is what you want to do, use the GNU Library General

Public License instead of this License.

::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::

expat: COPYING file

::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::

Copyright (c) 1998, 1999, 2000 Thai Open Source Software Center Ltd

and Clark Cooper

Copyright (c) 2001, 2002, 2003, 2004, 2005, 2006 Expat maintainers.

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.

::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::

fbset: unknown license file(s)

::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::

::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::

freetype: docs/FTL.TXT file

::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::

The FreeType Project LICENSE

Page 124: CKB Linux オプション 2 - COMPUTEX | 株式会社 …”使用になる前に このたびはCKB Linux オプション2.1 をお買い上げいただきありがとうございます。

CKB Linux オプション 2.1 導入ガイド 第 11 章 CKB Linux SDK に含まれるソフトウェア 120

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

2006-Jan-27

Copyright 1996-2002, 2006 by

David Turner, Robert Wilhelm, and Werner Lemberg

Introduction

============

The FreeType Project is distributed in several archive packages;

some of them may contain, in addition to the FreeType font engine,

various tools and contributions which rely on, or relate to, the

FreeType Project.

This license applies to all files found in such packages, and

which do not fall under their own explicit license. The license

affects thus the FreeType font engine, the test programs,

documentation and makefiles, at the very least.

This license was inspired by the BSD, Artistic, and IJG

(Independent JPEG Group) licenses, which all encourage inclusion

and use of free software in commercial and freeware products

alike. As a consequence, its main points are that:

o We don't promise that this software works. However, we will be

interested in any kind of bug reports. (`as is' distribution)

o You can use this software for whatever you want, in parts or

full form, without having to pay us. (`royalty-free' usage)

o You may not pretend that you wrote this software. If you use

it, or only parts of it, in a program, you must acknowledge

somewhere in your documentation that you have used the

FreeType code. (`credits')

We specifically permit and encourage the inclusion of this

software, with or without modifications, in commercial products.

We disclaim all warranties covering The FreeType Project and

assume no liability related to The FreeType Project.

Finally, many people asked us for a preferred form for a

credit/disclaimer to use in compliance with this license. We thus

encourage you to use the following text:

"""

Portions of this software are copyright ゥ <year> The FreeType

Project (www.freetype.org). All rights reserved.

Page 125: CKB Linux オプション 2 - COMPUTEX | 株式会社 …”使用になる前に このたびはCKB Linux オプション2.1 をお買い上げいただきありがとうございます。

CKB Linux オプション 2.1 導入ガイド 第 11 章 CKB Linux SDK に含まれるソフトウェア 121

"""

Please replace <year> with the value from the FreeType version you

actually use.

Legal Terms

===========

0. Definitions

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

Throughout this license, the terms `package', `FreeType Project',

and `FreeType archive' refer to the set of files originally

distributed by the authors (David Turner, Robert Wilhelm, and

Werner Lemberg) as the `FreeType Project', be they named as alpha,

beta or final release.

`You' refers to the licensee, or person using the project, where

`using' is a generic term including compiling the project's source

code as well as linking it to form a `program' or `executable'.

This program is referred to as `a program using the FreeType

engine'.

This license applies to all files distributed in the original

FreeType Project, including all source code, binaries and

documentation, unless otherwise stated in the file in its

original, unmodified form as distributed in the original archive.

If you are unsure whether or not a particular file is covered by

this license, you must contact us to verify this.

The FreeType Project is copyright (C) 1996-2000 by David Turner,

Robert Wilhelm, and Werner Lemberg. All rights reserved except as

specified below.

1. No Warranty

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

THE FREETYPE PROJECT IS PROVIDED `AS IS' WITHOUT WARRANTY OF ANY

KIND, EITHER EXPRESS OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,

WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR

PURPOSE. IN NO EVENT WILL ANY OF THE AUTHORS OR COPYRIGHT HOLDERS

BE LIABLE FOR ANY DAMAGES CAUSED BY THE USE OR THE INABILITY TO

USE, OF THE FREETYPE PROJECT.

2. Redistribution

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

This license grants a worldwide, royalty-free, perpetual and

irrevocable right and license to use, execute, perform, compile,

display, copy, create derivative works of, distribute and

Page 126: CKB Linux オプション 2 - COMPUTEX | 株式会社 …”使用になる前に このたびはCKB Linux オプション2.1 をお買い上げいただきありがとうございます。

CKB Linux オプション 2.1 導入ガイド 第 11 章 CKB Linux SDK に含まれるソフトウェア 122

sublicense the FreeType Project (in both source and object code

forms) and derivative works thereof for any purpose; and to

authorize others to exercise some or all of the rights granted

herein, subject to the following conditions:

o Redistribution of source code must retain this license file

(`FTL.TXT') unaltered; any additions, deletions or changes to

the original files must be clearly indicated in accompanying

documentation. The copyright notices of the unaltered,

original files must be preserved in all copies of source

files.

o Redistribution in binary form must provide a disclaimer that

states that the software is based in part of the work of the

FreeType Team, in the distribution documentation. We also

encourage you to put an URL to the FreeType web page in your

documentation, though this isn't mandatory.

These conditions apply to any software derived from or based on

the FreeType Project, not just the unmodified files. If you use

our work, you must acknowledge us. However, no fee need be paid

to us.

3. Advertising

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

Neither the FreeType authors and contributors nor you shall use

the name of the other for commercial, advertising, or promotional

purposes without specific prior written permission.

We suggest, but do not require, that you use one or more of the

following phrases to refer to this software in your documentation

or advertising materials: `FreeType Project', `FreeType Engine',

`FreeType library', or `FreeType Distribution'.

As you have not signed this license, you are not required to

accept it. However, as the FreeType Project is copyrighted

material, only this license, or another one contracted with the

authors, grants you the right to use, distribute, and modify it.

Therefore, by using, distributing, or modifying the FreeType

Project, you indicate that you understand and accept all the terms

of this license.

4. Contacts

-----------

There are two mailing lists related to FreeType:

o [email protected]

Discusses general use and applications of FreeType, as well as

Page 127: CKB Linux オプション 2 - COMPUTEX | 株式会社 …”使用になる前に このたびはCKB Linux オプション2.1 をお買い上げいただきありがとうございます。

CKB Linux オプション 2.1 導入ガイド 第 11 章 CKB Linux SDK に含まれるソフトウェア 123

future and wanted additions to the library and distribution.

If you are looking for support, start in this list if you

haven't found anything to help you in the documentation.

o [email protected]

Discusses bugs, as well as engine internals, design issues,

specific licenses, porting, etc.

Our home page can be found at

http://www.freetype.org

--- end of FTL.TXT ---

::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::

freetype: docs/GPLv2.TXT file

::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::

GNU GENERAL PUBLIC LICENSE

Version 2, June 1991

Copyright (C) 1989, 1991 Free Software Foundation, Inc.

51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA

Everyone is permitted to copy and distribute verbatim copies

of this license document, but changing it is not allowed.

Preamble

The licenses for most software are designed to take away your

freedom to share and change it. By contrast, the GNU General Public

License is intended to guarantee your freedom to share and change free

software--to make sure the software is free for all its users. This

General Public License applies to most of the Free Software

Foundation's software and to any other program whose authors commit to

using it. (Some other Free Software Foundation software is covered by

the GNU Library General Public License instead.) You can apply it to

your programs, too.

When we speak of free software, we are referring to freedom, not

price. Our General Public Licenses are designed to make sure that you

have the freedom to distribute copies of free software (and charge for

this service if you wish), that you receive source code or can get it

if you want it, that you can change the software or use pieces of it

in new free programs; and that you know you can do these things.

To protect your rights, we need to make restrictions that forbid

anyone to deny you these rights or to ask you to surrender the rights.

These restrictions translate to certain responsibilities for you if you

Page 128: CKB Linux オプション 2 - COMPUTEX | 株式会社 …”使用になる前に このたびはCKB Linux オプション2.1 をお買い上げいただきありがとうございます。

CKB Linux オプション 2.1 導入ガイド 第 11 章 CKB Linux SDK に含まれるソフトウェア 124

distribute copies of the software, or if you modify it.

For example, if you distribute copies of such a program, whether

gratis or for a fee, you must give the recipients all the rights that

you have. You must make sure that they, too, receive or can get the

source code. And you must show them these terms so they know their

rights.

We protect your rights with two steps: (1) copyright the software, and

(2) offer you this license which gives you legal permission to copy,

distribute and/or modify the software.

Also, for each author's protection and ours, we want to make certain

that everyone understands that there is no warranty for this free

software. If the software is modified by someone else and passed on, we

want its recipients to know that what they have is not the original, so

that any problems introduced by others will not reflect on the original

authors' reputations.

Finally, any free program is threatened constantly by software

patents. We wish to avoid the danger that redistributors of a free

program will individually obtain patent licenses, in effect making the

program proprietary. To prevent this, we have made it clear that any

patent must be licensed for everyone's free use or not licensed at all.

The precise terms and conditions for copying, distribution and

modification follow.

GNU GENERAL PUBLIC LICENSE

TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION

0. This License applies to any program or other work which contains

a notice placed by the copyright holder saying it may be distributed

under the terms of this General Public License. The "Program", below,

refers to any such program or work, and a "work based on the Program"

means either the Program or any derivative work under copyright law:

that is to say, a work containing the Program or a portion of it,

either verbatim or with modifications and/or translated into another

language. (Hereinafter, translation is included without limitation in

the term "modification".) Each licensee is addressed as "you".

Activities other than copying, distribution and modification are not

covered by this License; they are outside its scope. The act of

running the Program is not restricted, and the output from the Program

is covered only if its contents constitute a work based on the

Program (independent of having been made by running the Program).

Whether that is true depends on what the Program does.

1. You may copy and distribute verbatim copies of the Program's

source code as you receive it, in any medium, provided that you

conspicuously and appropriately publish on each copy an appropriate

Page 129: CKB Linux オプション 2 - COMPUTEX | 株式会社 …”使用になる前に このたびはCKB Linux オプション2.1 をお買い上げいただきありがとうございます。

CKB Linux オプション 2.1 導入ガイド 第 11 章 CKB Linux SDK に含まれるソフトウェア 125

copyright notice and disclaimer of warranty; keep intact all the

notices that refer to this License and to the absence of any warranty;

and give any other recipients of the Program a copy of this License

along with the Program.

You may charge a fee for the physical act of transferring a copy, and

you may at your option offer warranty protection in exchange for a fee.

2. You may modify your copy or copies of the Program or any portion

of it, thus forming a work based on the Program, and copy and

distribute such modifications or work under the terms of Section 1

above, provided that you also meet all of these conditions:

a) You must cause the modified files to carry prominent notices

stating that you changed the files and the date of any change.

b) You must cause any work that you distribute or publish, that in

whole or in part contains or is derived from the Program or any

part thereof, to be licensed as a whole at no charge to all third

parties under the terms of this License.

c) If the modified program normally reads commands interactively

when run, you must cause it, when started running for such

interactive use in the most ordinary way, to print or display an

announcement including an appropriate copyright notice and a

notice that there is no warranty (or else, saying that you provide

a warranty) and that users may redistribute the program under

these conditions, and telling the user how to view a copy of this

License. (Exception: if the Program itself is interactive but

does not normally print such an announcement, your work based on

the Program is not required to print an announcement.)

These requirements apply to the modified work as a whole. If

identifiable sections of that work are not derived from the Program,

and can be reasonably considered independent and separate works in

themselves, then this License, and its terms, do not apply to those

sections when you distribute them as separate works. But when you

distribute the same sections as part of a whole which is a work based

on the Program, the distribution of the whole must be on the terms of

this License, whose permissions for other licensees extend to the

entire whole, and thus to each and every part regardless of who wrote it.

Thus, it is not the intent of this section to claim rights or contest

your rights to work written entirely by you; rather, the intent is to

exercise the right to control the distribution of derivative or

collective works based on the Program.

In addition, mere aggregation of another work not based on the Program

with the Program (or with a work based on the Program) on a volume of

a storage or distribution medium does not bring the other work under

the scope of this License.

Page 130: CKB Linux オプション 2 - COMPUTEX | 株式会社 …”使用になる前に このたびはCKB Linux オプション2.1 をお買い上げいただきありがとうございます。

CKB Linux オプション 2.1 導入ガイド 第 11 章 CKB Linux SDK に含まれるソフトウェア 126

3. You may copy and distribute the Program (or a work based on it,

under Section 2) in object code or executable form under the terms of

Sections 1 and 2 above provided that you also do one of the following:

a) Accompany it with the complete corresponding machine-readable

source code, which must be distributed under the terms of Sections

1 and 2 above on a medium customarily used for software interchange; or,

b) Accompany it with a written offer, valid for at least three

years, to give any third party, for a charge no more than your

cost of physically performing source distribution, a complete

machine-readable copy of the corresponding source code, to be

distributed under the terms of Sections 1 and 2 above on a medium

customarily used for software interchange; or,

c) Accompany it with the information you received as to the offer

to distribute corresponding source code. (This alternative is

allowed only for noncommercial distribution and only if you

received the program in object code or executable form with such

an offer, in accord with Subsection b above.)

The source code for a work means the preferred form of the work for

making modifications to it. For an executable work, complete source

code means all the source code for all modules it contains, plus any

associated interface definition files, plus the scripts used to

control compilation and installation of the executable. However, as a

special exception, the source code distributed need not include

anything that is normally distributed (in either source or binary

form) with the major components (compiler, kernel, and so on) of the

operating system on which the executable runs, unless that component

itself accompanies the executable.

If distribution of executable or object code is made by offering

access to copy from a designated place, then offering equivalent

access to copy the source code from the same place counts as

distribution of the source code, even though third parties are not

compelled to copy the source along with the object code.

4. You may not copy, modify, sublicense, or distribute the Program

except as expressly provided under this License. Any attempt

otherwise to copy, modify, sublicense or distribute the Program is

void, and will automatically terminate your rights under this License.

However, parties who have received copies, or rights, from you under

this License will not have their licenses terminated so long as such

parties remain in full compliance.

5. You are not required to accept this License, since you have not

signed it. However, nothing else grants you permission to modify or

distribute the Program or its derivative works. These actions are

prohibited by law if you do not accept this License. Therefore, by

Page 131: CKB Linux オプション 2 - COMPUTEX | 株式会社 …”使用になる前に このたびはCKB Linux オプション2.1 をお買い上げいただきありがとうございます。

CKB Linux オプション 2.1 導入ガイド 第 11 章 CKB Linux SDK に含まれるソフトウェア 127

modifying or distributing the Program (or any work based on the

Program), you indicate your acceptance of this License to do so, and

all its terms and conditions for copying, distributing or modifying

the Program or works based on it.

6. Each time you redistribute the Program (or any work based on the

Program), the recipient automatically receives a license from the

original licensor to copy, distribute or modify the Program subject to

these terms and conditions. You may not impose any further

restrictions on the recipients' exercise of the rights granted herein.

You are not responsible for enforcing compliance by third parties to

this License.

7. If, as a consequence of a court judgment or allegation of patent

infringement or for any other reason (not limited to patent issues),

conditions are imposed on you (whether by court order, agreement or

otherwise) that contradict the conditions of this License, they do not

excuse you from the conditions of this License. If you cannot

distribute so as to satisfy simultaneously your obligations under this

License and any other pertinent obligations, then as a consequence you

may not distribute the Program at all. For example, if a patent

license would not permit royalty-free redistribution of the Program by

all those who receive copies directly or indirectly through you, then

the only way you could satisfy both it and this License would be to

refrain entirely from distribution of the Program.

If any portion of this section is held invalid or unenforceable under

any particular circumstance, the balance of the section is intended to

apply and the section as a whole is intended to apply in other

circumstances.

It is not the purpose of this section to induce you to infringe any

patents or other property right claims or to contest validity of any

such claims; this section has the sole purpose of protecting the

integrity of the free software distribution system, which is

implemented by public license practices. Many people have made

generous contributions to the wide range of software distributed

through that system in reliance on consistent application of that

system; it is up to the author/donor to decide if he or she is willing

to distribute software through any other system and a licensee cannot

impose that choice.

This section is intended to make thoroughly clear what is believed to

be a consequence of the rest of this License.

8. If the distribution and/or use of the Program is restricted in

certain countries either by patents or by copyrighted interfaces, the

original copyright holder who places the Program under this License

may add an explicit geographical distribution limitation excluding

those countries, so that distribution is permitted only in or among

countries not thus excluded. In such case, this License incorporates

Page 132: CKB Linux オプション 2 - COMPUTEX | 株式会社 …”使用になる前に このたびはCKB Linux オプション2.1 をお買い上げいただきありがとうございます。

CKB Linux オプション 2.1 導入ガイド 第 11 章 CKB Linux SDK に含まれるソフトウェア 128

the limitation as if written in the body of this License.

9. The Free Software Foundation may publish revised and/or new versions

of the General Public License from time to time. Such new versions will

be similar in spirit to the present version, but may differ in detail to

address new problems or concerns.

Each version is given a distinguishing version number. If the Program

specifies a version number of this License which applies to it and "any

later version", you have the option of following the terms and conditions

either of that version or of any later version published by the Free

Software Foundation. If the Program does not specify a version number of

this License, you may choose any version ever published by the Free Software

Foundation.

10. If you wish to incorporate parts of the Program into other free

programs whose distribution conditions are different, write to the author

to ask for permission. For software which is copyrighted by the Free

Software Foundation, write to the Free Software Foundation; we sometimes

make exceptions for this. Our decision will be guided by the two goals

of preserving the free status of all derivatives of our free software and

of promoting the sharing and reuse of software generally.

NO WARRANTY

11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY

FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN

OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES

PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED

OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF

MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS

TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE

PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,

REPAIR OR CORRECTION.

12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING

WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR

REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,

INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING

OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED

TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY

YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER

PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE

POSSIBILITY OF SUCH DAMAGES.

END OF TERMS AND CONDITIONS

How to Apply These Terms to Your New Programs

If you develop a new program, and you want it to be of the greatest

possible use to the public, the best way to achieve this is to make it

Page 133: CKB Linux オプション 2 - COMPUTEX | 株式会社 …”使用になる前に このたびはCKB Linux オプション2.1 をお買い上げいただきありがとうございます。

CKB Linux オプション 2.1 導入ガイド 第 11 章 CKB Linux SDK に含まれるソフトウェア 129

free software which everyone can redistribute and change under these terms.

To do so, attach the following notices to the program. It is safest

to attach them to the start of each source file to most effectively

convey the exclusion of warranty; and each file should have at least

the "copyright" line and a pointer to where the full notice is found.

<one line to give the program's name and a brief idea of what it does.>

Copyright (C) <year> <name of author>

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; either version 2 of the License, or

(at your option) any later version.

This program is distributed in the hope that it will be useful,

but WITHOUT ANY WARRANTY; without even the implied warranty of

MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the

GNU General Public License for more details.

You should have received a copy of the GNU General Public License

along with this program; if not, write to the Free Software

Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA

Also add information on how to contact you by electronic and paper mail.

If the program is interactive, make it output a short notice like this

when it starts in an interactive mode:

Gnomovision version 69, Copyright (C) year name of author

Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.

This is free software, and you are welcome to redistribute it

under certain conditions; type `show c' for details.

The hypothetical commands `show w' and `show c' should show the appropriate

parts of the General Public License. Of course, the commands you use may

be called something other than `show w' and `show c'; they could even be

mouse-clicks or menu items--whatever suits your program.

You should also get your employer (if you work as a programmer) or your

school, if any, to sign a "copyright disclaimer" for the program, if

necessary. Here is a sample; alter the names:

Yoyodyne, Inc., hereby disclaims all copyright interest in the program

`Gnomovision' (which makes passes at compilers) written by James Hacker.

<signature of Ty Coon>, 1 April 1989

Ty Coon, President of Vice

This General Public License does not permit incorporating your program into

Page 134: CKB Linux オプション 2 - COMPUTEX | 株式会社 …”使用になる前に このたびはCKB Linux オプション2.1 をお買い上げいただきありがとうございます。

CKB Linux オプション 2.1 導入ガイド 第 11 章 CKB Linux SDK に含まれるソフトウェア 130

proprietary programs. If your program is a subroutine library, you may

consider it more useful to permit linking proprietary applications with the

library. If this is what you want to do, use the GNU Library General

Public License instead of this License.

::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::

hostapd: README file

::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::

wpa_supplicant and hostapd

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

Copyright (c) 2002-2012, Jouni Malinen <[email protected]> and contributors

All Rights Reserved.

These programs are licensed under the BSD license (the one with

advertisement clause removed).

If you are submitting changes to the project, please see CONTRIBUTIONS

file for more instructions.

This package may include either wpa_supplicant, hostapd, or both. See

README file respective subdirectories (wpa_supplicant/README or

hostapd/README) for more details.

Source code files were moved around in v0.6.x releases and compared to

earlier releases, the programs are now built by first going to a

subdirectory (wpa_supplicant or hostapd) and creating build

configuration (.config) and running 'make' there (for Linux/BSD/cygwin

builds).

License

-------

This software may be distributed, used, and modified under the terms of

BSD license:

Redistribution and use in source and binary forms, with or without

modification, are permitted provided that the following conditions are

met:

1. Redistributions of source code must retain the above copyright

notice, this list of conditions and the following disclaimer.

2. 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.

Page 135: CKB Linux オプション 2 - COMPUTEX | 株式会社 …”使用になる前に このたびはCKB Linux オプション2.1 をお買い上げいただきありがとうございます。

CKB Linux オプション 2.1 導入ガイド 第 11 章 CKB Linux SDK に含まれるソフトウェア 131

3. Neither the name(s) of the above-listed copyright holder(s) nor the

names of its contributors may 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 COPYRIGHT

OWNER 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.

::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::

i2c-tools: unknown license file(s)

::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::

::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::

iperf: unknown license file(s)

::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::

::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::

ipset: COPYING file

::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::

GNU GENERAL PUBLIC LICENSE

Version 2, June 1991

Copyright (C) 1989, 1991 Free Software Foundation, Inc.

51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA

Everyone is permitted to copy and distribute verbatim copies

of this license document, but changing it is not allowed.

Preamble

The licenses for most software are designed to take away your

freedom to share and change it. By contrast, the GNU General Public

License is intended to guarantee your freedom to share and change free

software--to make sure the software is free for all its users. This

General Public License applies to most of the Free Software

Foundation's software and to any other program whose authors commit to

using it. (Some other Free Software Foundation software is covered by

the GNU Library General Public License instead.) You can apply it to

your programs, too.

Page 136: CKB Linux オプション 2 - COMPUTEX | 株式会社 …”使用になる前に このたびはCKB Linux オプション2.1 をお買い上げいただきありがとうございます。

CKB Linux オプション 2.1 導入ガイド 第 11 章 CKB Linux SDK に含まれるソフトウェア 132

When we speak of free software, we are referring to freedom, not

price. Our General Public Licenses are designed to make sure that you

have the freedom to distribute copies of free software (and charge for

this service if you wish), that you receive source code or can get it

if you want it, that you can change the software or use pieces of it

in new free programs; and that you know you can do these things.

To protect your rights, we need to make restrictions that forbid

anyone to deny you these rights or to ask you to surrender the rights.

These restrictions translate to certain responsibilities for you if you

distribute copies of the software, or if you modify it.

For example, if you distribute copies of such a program, whether

gratis or for a fee, you must give the recipients all the rights that

you have. You must make sure that they, too, receive or can get the

source code. And you must show them these terms so they know their

rights.

We protect your rights with two steps: (1) copyright the software, and

(2) offer you this license which gives you legal permission to copy,

distribute and/or modify the software.

Also, for each author's protection and ours, we want to make certain

that everyone understands that there is no warranty for this free

software. If the software is modified by someone else and passed on, we

want its recipients to know that what they have is not the original, so

that any problems introduced by others will not reflect on the original

authors' reputations.

Finally, any free program is threatened constantly by software

patents. We wish to avoid the danger that redistributors of a free

program will individually obtain patent licenses, in effect making the

program proprietary. To prevent this, we have made it clear that any

patent must be licensed for everyone's free use or not licensed at all.

The precise terms and conditions for copying, distribution and

modification follow.

GNU GENERAL PUBLIC LICENSE

TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION

0. This License applies to any program or other work which contains

a notice placed by the copyright holder saying it may be distributed

under the terms of this General Public License. The "Program", below,

refers to any such program or work, and a "work based on the Program"

means either the Program or any derivative work under copyright law:

that is to say, a work containing the Program or a portion of it,

either verbatim or with modifications and/or translated into another

language. (Hereinafter, translation is included without limitation in

the term "modification".) Each licensee is addressed as "you".

Page 137: CKB Linux オプション 2 - COMPUTEX | 株式会社 …”使用になる前に このたびはCKB Linux オプション2.1 をお買い上げいただきありがとうございます。

CKB Linux オプション 2.1 導入ガイド 第 11 章 CKB Linux SDK に含まれるソフトウェア 133

Activities other than copying, distribution and modification are not

covered by this License; they are outside its scope. The act of

running the Program is not restricted, and the output from the Program

is covered only if its contents constitute a work based on the

Program (independent of having been made by running the Program).

Whether that is true depends on what the Program does.

1. You may copy and distribute verbatim copies of the Program's

source code as you receive it, in any medium, provided that you

conspicuously and appropriately publish on each copy an appropriate

copyright notice and disclaimer of warranty; keep intact all the

notices that refer to this License and to the absence of any warranty;

and give any other recipients of the Program a copy of this License

along with the Program.

You may charge a fee for the physical act of transferring a copy, and

you may at your option offer warranty protection in exchange for a fee.

2. You may modify your copy or copies of the Program or any portion

of it, thus forming a work based on the Program, and copy and

distribute such modifications or work under the terms of Section 1

above, provided that you also meet all of these conditions:

a) You must cause the modified files to carry prominent notices

stating that you changed the files and the date of any change.

b) You must cause any work that you distribute or publish, that in

whole or in part contains or is derived from the Program or any

part thereof, to be licensed as a whole at no charge to all third

parties under the terms of this License.

c) If the modified program normally reads commands interactively

when run, you must cause it, when started running for such

interactive use in the most ordinary way, to print or display an

announcement including an appropriate copyright notice and a

notice that there is no warranty (or else, saying that you provide

a warranty) and that users may redistribute the program under

these conditions, and telling the user how to view a copy of this

License. (Exception: if the Program itself is interactive but

does not normally print such an announcement, your work based on

the Program is not required to print an announcement.)

These requirements apply to the modified work as a whole. If

identifiable sections of that work are not derived from the Program,

and can be reasonably considered independent and separate works in

themselves, then this License, and its terms, do not apply to those

sections when you distribute them as separate works. But when you

distribute the same sections as part of a whole which is a work based

on the Program, the distribution of the whole must be on the terms of

this License, whose permissions for other licensees extend to the

entire whole, and thus to each and every part regardless of who wrote it.

Page 138: CKB Linux オプション 2 - COMPUTEX | 株式会社 …”使用になる前に このたびはCKB Linux オプション2.1 をお買い上げいただきありがとうございます。

CKB Linux オプション 2.1 導入ガイド 第 11 章 CKB Linux SDK に含まれるソフトウェア 134

Thus, it is not the intent of this section to claim rights or contest

your rights to work written entirely by you; rather, the intent is to

exercise the right to control the distribution of derivative or

collective works based on the Program.

In addition, mere aggregation of another work not based on the Program

with the Program (or with a work based on the Program) on a volume of

a storage or distribution medium does not bring the other work under

the scope of this License.

3. You may copy and distribute the Program (or a work based on it,

under Section 2) in object code or executable form under the terms of

Sections 1 and 2 above provided that you also do one of the following:

a) Accompany it with the complete corresponding machine-readable

source code, which must be distributed under the terms of Sections

1 and 2 above on a medium customarily used for software interchange; or,

b) Accompany it with a written offer, valid for at least three

years, to give any third party, for a charge no more than your

cost of physically performing source distribution, a complete

machine-readable copy of the corresponding source code, to be

distributed under the terms of Sections 1 and 2 above on a medium

customarily used for software interchange; or,

c) Accompany it with the information you received as to the offer

to distribute corresponding source code. (This alternative is

allowed only for noncommercial distribution and only if you

received the program in object code or executable form with such

an offer, in accord with Subsection b above.)

The source code for a work means the preferred form of the work for

making modifications to it. For an executable work, complete source

code means all the source code for all modules it contains, plus any

associated interface definition files, plus the scripts used to

control compilation and installation of the executable. However, as a

special exception, the source code distributed need not include

anything that is normally distributed (in either source or binary

form) with the major components (compiler, kernel, and so on) of the

operating system on which the executable runs, unless that component

itself accompanies the executable.

If distribution of executable or object code is made by offering

access to copy from a designated place, then offering equivalent

access to copy the source code from the same place counts as

distribution of the source code, even though third parties are not

compelled to copy the source along with the object code.

4. You may not copy, modify, sublicense, or distribute the Program

except as expressly provided under this License. Any attempt

Page 139: CKB Linux オプション 2 - COMPUTEX | 株式会社 …”使用になる前に このたびはCKB Linux オプション2.1 をお買い上げいただきありがとうございます。

CKB Linux オプション 2.1 導入ガイド 第 11 章 CKB Linux SDK に含まれるソフトウェア 135

otherwise to copy, modify, sublicense or distribute the Program is

void, and will automatically terminate your rights under this License.

However, parties who have received copies, or rights, from you under

this License will not have their licenses terminated so long as such

parties remain in full compliance.

5. You are not required to accept this License, since you have not

signed it. However, nothing else grants you permission to modify or

distribute the Program or its derivative works. These actions are

prohibited by law if you do not accept this License. Therefore, by

modifying or distributing the Program (or any work based on the

Program), you indicate your acceptance of this License to do so, and

all its terms and conditions for copying, distributing or modifying

the Program or works based on it.

6. Each time you redistribute the Program (or any work based on the

Program), the recipient automatically receives a license from the

original licensor to copy, distribute or modify the Program subject to

these terms and conditions. You may not impose any further

restrictions on the recipients' exercise of the rights granted herein.

You are not responsible for enforcing compliance by third parties to

this License.

7. If, as a consequence of a court judgment or allegation of patent

infringement or for any other reason (not limited to patent issues),

conditions are imposed on you (whether by court order, agreement or

otherwise) that contradict the conditions of this License, they do not

excuse you from the conditions of this License. If you cannot

distribute so as to satisfy simultaneously your obligations under this

License and any other pertinent obligations, then as a consequence you

may not distribute the Program at all. For example, if a patent

license would not permit royalty-free redistribution of the Program by

all those who receive copies directly or indirectly through you, then

the only way you could satisfy both it and this License would be to

refrain entirely from distribution of the Program.

If any portion of this section is held invalid or unenforceable under

any particular circumstance, the balance of the section is intended to

apply and the section as a whole is intended to apply in other

circumstances.

It is not the purpose of this section to induce you to infringe any

patents or other property right claims or to contest validity of any

such claims; this section has the sole purpose of protecting the

integrity of the free software distribution system, which is

implemented by public license practices. Many people have made

generous contributions to the wide range of software distributed

through that system in reliance on consistent application of that

system; it is up to the author/donor to decide if he or she is willing

to distribute software through any other system and a licensee cannot

impose that choice.

Page 140: CKB Linux オプション 2 - COMPUTEX | 株式会社 …”使用になる前に このたびはCKB Linux オプション2.1 をお買い上げいただきありがとうございます。

CKB Linux オプション 2.1 導入ガイド 第 11 章 CKB Linux SDK に含まれるソフトウェア 136

This section is intended to make thoroughly clear what is believed to

be a consequence of the rest of this License.

8. If the distribution and/or use of the Program is restricted in

certain countries either by patents or by copyrighted interfaces, the

original copyright holder who places the Program under this License

may add an explicit geographical distribution limitation excluding

those countries, so that distribution is permitted only in or among

countries not thus excluded. In such case, this License incorporates

the limitation as if written in the body of this License.

9. The Free Software Foundation may publish revised and/or new versions

of the General Public License from time to time. Such new versions will

be similar in spirit to the present version, but may differ in detail to

address new problems or concerns.

Each version is given a distinguishing version number. If the Program

specifies a version number of this License which applies to it and "any

later version", you have the option of following the terms and conditions

either of that version or of any later version published by the Free

Software Foundation. If the Program does not specify a version number of

this License, you may choose any version ever published by the Free Software

Foundation.

10. If you wish to incorporate parts of the Program into other free

programs whose distribution conditions are different, write to the author

to ask for permission. For software which is copyrighted by the Free

Software Foundation, write to the Free Software Foundation; we sometimes

make exceptions for this. Our decision will be guided by the two goals

of preserving the free status of all derivatives of our free software and

of promoting the sharing and reuse of software generally.

NO WARRANTY

11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY

FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN

OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES

PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED

OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF

MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS

TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE

PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,

REPAIR OR CORRECTION.

12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING

WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR

REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,

INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING

OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED

TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY

Page 141: CKB Linux オプション 2 - COMPUTEX | 株式会社 …”使用になる前に このたびはCKB Linux オプション2.1 をお買い上げいただきありがとうございます。

CKB Linux オプション 2.1 導入ガイド 第 11 章 CKB Linux SDK に含まれるソフトウェア 137

YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER

PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE

POSSIBILITY OF SUCH DAMAGES.

END OF TERMS AND CONDITIONS

How to Apply These Terms to Your New Programs

If you develop a new program, and you want it to be of the greatest

possible use to the public, the best way to achieve this is to make it

free software which everyone can redistribute and change under these terms.

To do so, attach the following notices to the program. It is safest

to attach them to the start of each source file to most effectively

convey the exclusion of warranty; and each file should have at least

the "copyright" line and a pointer to where the full notice is found.

<one line to give the program's name and a brief idea of what it does.>

Copyright (C) <year> <name of author>

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; either version 2 of the License, or

(at your option) any later version.

This program is distributed in the hope that it will be useful,

but WITHOUT ANY WARRANTY; without even the implied warranty of

MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the

GNU General Public License for more details.

You should have received a copy of the GNU General Public License

along with this program; if not, write to the Free Software

Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA

Also add information on how to contact you by electronic and paper mail.

If the program is interactive, make it output a short notice like this

when it starts in an interactive mode:

Gnomovision version 69, Copyright (C) year name of author

Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.

This is free software, and you are welcome to redistribute it

under certain conditions; type `show c' for details.

The hypothetical commands `show w' and `show c' should show the appropriate

parts of the General Public License. Of course, the commands you use may

be called something other than `show w' and `show c'; they could even be

mouse-clicks or menu items--whatever suits your program.

You should also get your employer (if you work as a programmer) or your

Page 142: CKB Linux オプション 2 - COMPUTEX | 株式会社 …”使用になる前に このたびはCKB Linux オプション2.1 をお買い上げいただきありがとうございます。

CKB Linux オプション 2.1 導入ガイド 第 11 章 CKB Linux SDK に含まれるソフトウェア 138

school, if any, to sign a "copyright disclaimer" for the program, if

necessary. Here is a sample; alter the names:

Yoyodyne, Inc., hereby disclaims all copyright interest in the program

`Gnomovision' (which makes passes at compilers) written by James Hacker.

<signature of Ty Coon>, 1 April 1989

Ty Coon, President of Vice

This General Public License does not permit incorporating your program into

proprietary programs. If your program is a subroutine library, you may

consider it more useful to permit linking proprietary applications with the

library. If this is what you want to do, use the GNU Library General

Public License instead of this License.

::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::

iptables: COPYING file

::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::

GNU GENERAL PUBLIC LICENSE

Version 2, June 1991

Copyright (C) 1989, 1991 Free Software Foundation, Inc.,

51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA

Everyone is permitted to copy and distribute verbatim copies

of this license document, but changing it is not allowed.

Preamble

The licenses for most software are designed to take away your

freedom to share and change it. By contrast, the GNU General Public

License is intended to guarantee your freedom to share and change free

software--to make sure the software is free for all its users. This

General Public License applies to most of the Free Software

Foundation's software and to any other program whose authors commit to

using it. (Some other Free Software Foundation software is covered by

the GNU Lesser General Public License instead.) You can apply it to

your programs, too.

When we speak of free software, we are referring to freedom, not

price. Our General Public Licenses are designed to make sure that you

have the freedom to distribute copies of free software (and charge for

this service if you wish), that you receive source code or can get it

if you want it, that you can change the software or use pieces of it

in new free programs; and that you know you can do these things.

To protect your rights, we need to make restrictions that forbid

anyone to deny you these rights or to ask you to surrender the rights.

These restrictions translate to certain responsibilities for you if you

distribute copies of the software, or if you modify it.

Page 143: CKB Linux オプション 2 - COMPUTEX | 株式会社 …”使用になる前に このたびはCKB Linux オプション2.1 をお買い上げいただきありがとうございます。

CKB Linux オプション 2.1 導入ガイド 第 11 章 CKB Linux SDK に含まれるソフトウェア 139

For example, if you distribute copies of such a program, whether

gratis or for a fee, you must give the recipients all the rights that

you have. You must make sure that they, too, receive or can get the

source code. And you must show them these terms so they know their

rights.

We protect your rights with two steps: (1) copyright the software, and

(2) offer you this license which gives you legal permission to copy,

distribute and/or modify the software.

Also, for each author's protection and ours, we want to make certain

that everyone understands that there is no warranty for this free

software. If the software is modified by someone else and passed on, we

want its recipients to know that what they have is not the original, so

that any problems introduced by others will not reflect on the original

authors' reputations.

Finally, any free program is threatened constantly by software

patents. We wish to avoid the danger that redistributors of a free

program will individually obtain patent licenses, in effect making the

program proprietary. To prevent this, we have made it clear that any

patent must be licensed for everyone's free use or not licensed at all.

The precise terms and conditions for copying, distribution and

modification follow.

GNU GENERAL PUBLIC LICENSE

TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION

0. This License applies to any program or other work which contains

a notice placed by the copyright holder saying it may be distributed

under the terms of this General Public License. The "Program", below,

refers to any such program or work, and a "work based on the Program"

means either the Program or any derivative work under copyright law:

that is to say, a work containing the Program or a portion of it,

either verbatim or with modifications and/or translated into another

language. (Hereinafter, translation is included without limitation in

the term "modification".) Each licensee is addressed as "you".

Activities other than copying, distribution and modification are not

covered by this License; they are outside its scope. The act of

running the Program is not restricted, and the output from the Program

is covered only if its contents constitute a work based on the

Program (independent of having been made by running the Program).

Whether that is true depends on what the Program does.

1. You may copy and distribute verbatim copies of the Program's

source code as you receive it, in any medium, provided that you

conspicuously and appropriately publish on each copy an appropriate

copyright notice and disclaimer of warranty; keep intact all the

Page 144: CKB Linux オプション 2 - COMPUTEX | 株式会社 …”使用になる前に このたびはCKB Linux オプション2.1 をお買い上げいただきありがとうございます。

CKB Linux オプション 2.1 導入ガイド 第 11 章 CKB Linux SDK に含まれるソフトウェア 140

notices that refer to this License and to the absence of any warranty;

and give any other recipients of the Program a copy of this License

along with the Program.

You may charge a fee for the physical act of transferring a copy, and

you may at your option offer warranty protection in exchange for a fee.

2. You may modify your copy or copies of the Program or any portion

of it, thus forming a work based on the Program, and copy and

distribute such modifications or work under the terms of Section 1

above, provided that you also meet all of these conditions:

a) You must cause the modified files to carry prominent notices

stating that you changed the files and the date of any change.

b) You must cause any work that you distribute or publish, that in

whole or in part contains or is derived from the Program or any

part thereof, to be licensed as a whole at no charge to all third

parties under the terms of this License.

c) If the modified program normally reads commands interactively

when run, you must cause it, when started running for such

interactive use in the most ordinary way, to print or display an

announcement including an appropriate copyright notice and a

notice that there is no warranty (or else, saying that you provide

a warranty) and that users may redistribute the program under

these conditions, and telling the user how to view a copy of this

License. (Exception: if the Program itself is interactive but

does not normally print such an announcement, your work based on

the Program is not required to print an announcement.)

These requirements apply to the modified work as a whole. If

identifiable sections of that work are not derived from the Program,

and can be reasonably considered independent and separate works in

themselves, then this License, and its terms, do not apply to those

sections when you distribute them as separate works. But when you

distribute the same sections as part of a whole which is a work based

on the Program, the distribution of the whole must be on the terms of

this License, whose permissions for other licensees extend to the

entire whole, and thus to each and every part regardless of who wrote it.

Thus, it is not the intent of this section to claim rights or contest

your rights to work written entirely by you; rather, the intent is to

exercise the right to control the distribution of derivative or

collective works based on the Program.

In addition, mere aggregation of another work not based on the Program

with the Program (or with a work based on the Program) on a volume of

a storage or distribution medium does not bring the other work under

the scope of this License.

Page 145: CKB Linux オプション 2 - COMPUTEX | 株式会社 …”使用になる前に このたびはCKB Linux オプション2.1 をお買い上げいただきありがとうございます。

CKB Linux オプション 2.1 導入ガイド 第 11 章 CKB Linux SDK に含まれるソフトウェア 141

3. You may copy and distribute the Program (or a work based on it,

under Section 2) in object code or executable form under the terms of

Sections 1 and 2 above provided that you also do one of the following:

a) Accompany it with the complete corresponding machine-readable

source code, which must be distributed under the terms of Sections

1 and 2 above on a medium customarily used for software interchange; or,

b) Accompany it with a written offer, valid for at least three

years, to give any third party, for a charge no more than your

cost of physically performing source distribution, a complete

machine-readable copy of the corresponding source code, to be

distributed under the terms of Sections 1 and 2 above on a medium

customarily used for software interchange; or,

c) Accompany it with the information you received as to the offer

to distribute corresponding source code. (This alternative is

allowed only for noncommercial distribution and only if you

received the program in object code or executable form with such

an offer, in accord with Subsection b above.)

The source code for a work means the preferred form of the work for

making modifications to it. For an executable work, complete source

code means all the source code for all modules it contains, plus any

associated interface definition files, plus the scripts used to

control compilation and installation of the executable. However, as a

special exception, the source code distributed need not include

anything that is normally distributed (in either source or binary

form) with the major components (compiler, kernel, and so on) of the

operating system on which the executable runs, unless that component

itself accompanies the executable.

If distribution of executable or object code is made by offering

access to copy from a designated place, then offering equivalent

access to copy the source code from the same place counts as

distribution of the source code, even though third parties are not

compelled to copy the source along with the object code.

4. You may not copy, modify, sublicense, or distribute the Program

except as expressly provided under this License. Any attempt

otherwise to copy, modify, sublicense or distribute the Program is

void, and will automatically terminate your rights under this License.

However, parties who have received copies, or rights, from you under

this License will not have their licenses terminated so long as such

parties remain in full compliance.

5. You are not required to accept this License, since you have not

signed it. However, nothing else grants you permission to modify or

distribute the Program or its derivative works. These actions are

prohibited by law if you do not accept this License. Therefore, by

modifying or distributing the Program (or any work based on the

Page 146: CKB Linux オプション 2 - COMPUTEX | 株式会社 …”使用になる前に このたびはCKB Linux オプション2.1 をお買い上げいただきありがとうございます。

CKB Linux オプション 2.1 導入ガイド 第 11 章 CKB Linux SDK に含まれるソフトウェア 142

Program), you indicate your acceptance of this License to do so, and

all its terms and conditions for copying, distributing or modifying

the Program or works based on it.

6. Each time you redistribute the Program (or any work based on the

Program), the recipient automatically receives a license from the

original licensor to copy, distribute or modify the Program subject to

these terms and conditions. You may not impose any further

restrictions on the recipients' exercise of the rights granted herein.

You are not responsible for enforcing compliance by third parties to

this License.

7. If, as a consequence of a court judgment or allegation of patent

infringement or for any other reason (not limited to patent issues),

conditions are imposed on you (whether by court order, agreement or

otherwise) that contradict the conditions of this License, they do not

excuse you from the conditions of this License. If you cannot

distribute so as to satisfy simultaneously your obligations under this

License and any other pertinent obligations, then as a consequence you

may not distribute the Program at all. For example, if a patent

license would not permit royalty-free redistribution of the Program by

all those who receive copies directly or indirectly through you, then

the only way you could satisfy both it and this License would be to

refrain entirely from distribution of the Program.

If any portion of this section is held invalid or unenforceable under

any particular circumstance, the balance of the section is intended to

apply and the section as a whole is intended to apply in other

circumstances.

It is not the purpose of this section to induce you to infringe any

patents or other property right claims or to contest validity of any

such claims; this section has the sole purpose of protecting the

integrity of the free software distribution system, which is

implemented by public license practices. Many people have made

generous contributions to the wide range of software distributed

through that system in reliance on consistent application of that

system; it is up to the author/donor to decide if he or she is willing

to distribute software through any other system and a licensee cannot

impose that choice.

This section is intended to make thoroughly clear what is believed to

be a consequence of the rest of this License.

8. If the distribution and/or use of the Program is restricted in

certain countries either by patents or by copyrighted interfaces, the

original copyright holder who places the Program under this License

may add an explicit geographical distribution limitation excluding

those countries, so that distribution is permitted only in or among

countries not thus excluded. In such case, this License incorporates

the limitation as if written in the body of this License.

Page 147: CKB Linux オプション 2 - COMPUTEX | 株式会社 …”使用になる前に このたびはCKB Linux オプション2.1 をお買い上げいただきありがとうございます。

CKB Linux オプション 2.1 導入ガイド 第 11 章 CKB Linux SDK に含まれるソフトウェア 143

9. The Free Software Foundation may publish revised and/or new versions

of the General Public License from time to time. Such new versions will

be similar in spirit to the present version, but may differ in detail to

address new problems or concerns.

Each version is given a distinguishing version number. If the Program

specifies a version number of this License which applies to it and "any

later version", you have the option of following the terms and conditions

either of that version or of any later version published by the Free

Software Foundation. If the Program does not specify a version number of

this License, you may choose any version ever published by the Free Software

Foundation.

10. If you wish to incorporate parts of the Program into other free

programs whose distribution conditions are different, write to the author

to ask for permission. For software which is copyrighted by the Free

Software Foundation, write to the Free Software Foundation; we sometimes

make exceptions for this. Our decision will be guided by the two goals

of preserving the free status of all derivatives of our free software and

of promoting the sharing and reuse of software generally.

NO WARRANTY

11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY

FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN

OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES

PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED

OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF

MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS

TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE

PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,

REPAIR OR CORRECTION.

12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING

WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR

REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,

INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING

OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED

TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY

YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER

PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE

POSSIBILITY OF SUCH DAMAGES.

END OF TERMS AND CONDITIONS

How to Apply These Terms to Your New Programs

If you develop a new program, and you want it to be of the greatest

possible use to the public, the best way to achieve this is to make it

free software which everyone can redistribute and change under these terms.

Page 148: CKB Linux オプション 2 - COMPUTEX | 株式会社 …”使用になる前に このたびはCKB Linux オプション2.1 をお買い上げいただきありがとうございます。

CKB Linux オプション 2.1 導入ガイド 第 11 章 CKB Linux SDK に含まれるソフトウェア 144

To do so, attach the following notices to the program. It is safest

to attach them to the start of each source file to most effectively

convey the exclusion of warranty; and each file should have at least

the "copyright" line and a pointer to where the full notice is found.

<one line to give the program's name and a brief idea of what it does.>

Copyright (C) <year> <name of author>

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; either version 2 of the License, or

(at your option) any later version.

This program is distributed in the hope that it will be useful,

but WITHOUT ANY WARRANTY; without even the implied warranty of

MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the

GNU General Public License for more details.

You should have received a copy of the GNU General Public License along

with this program; if not, write to the Free Software Foundation, Inc.,

51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.

Also add information on how to contact you by electronic and paper mail.

If the program is interactive, make it output a short notice like this

when it starts in an interactive mode:

Gnomovision version 69, Copyright (C) year name of author

Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.

This is free software, and you are welcome to redistribute it

under certain conditions; type `show c' for details.

The hypothetical commands `show w' and `show c' should show the appropriate

parts of the General Public License. Of course, the commands you use may

be called something other than `show w' and `show c'; they could even be

mouse-clicks or menu items--whatever suits your program.

You should also get your employer (if you work as a programmer) or your

school, if any, to sign a "copyright disclaimer" for the program, if

necessary. Here is a sample; alter the names:

Yoyodyne, Inc., hereby disclaims all copyright interest in the program

`Gnomovision' (which makes passes at compilers) written by James Hacker.

<signature of Ty Coon>, 1 April 1989

Ty Coon, President of Vice

This General Public License does not permit incorporating your program into

proprietary programs. If your program is a subroutine library, you may

consider it more useful to permit linking proprietary applications with the

Page 149: CKB Linux オプション 2 - COMPUTEX | 株式会社 …”使用になる前に このたびはCKB Linux オプション2.1 をお買い上げいただきありがとうございます。

CKB Linux オプション 2.1 導入ガイド 第 11 章 CKB Linux SDK に含まれるソフトウェア 145

library. If this is what you want to do, use the GNU Lesser General

Public License instead of this License.

::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::

iw: COPYING file

::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::

Copyright (c) 2007, 2008 Johannes Berg

Copyright (c) 2007 Andy Lutomirski

Copyright (c) 2007 Mike Kershaw

Copyright (c) 2008-2009 Luis R. Rodriguez

Permission to use, copy, modify, and/or distribute this software for any

purpose with or without fee is hereby granted, provided that the above

copyright notice and this permission notice appear in all copies.

THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES

WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF

MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR

ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES

WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN

ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF

OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.

::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::

jpeg-turbo: unknown license file(s)

::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::

::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::

libdaemon: LICENSE file

::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::

GNU LESSER GENERAL PUBLIC LICENSE

Version 2.1, February 1999

Copyright (C) 1991, 1999 Free Software Foundation, Inc.

51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA

Everyone is permitted to copy and distribute verbatim copies

of this license document, but changing it is not allowed.

[This is the first released version of the Lesser GPL. It also counts

as the successor of the GNU Library Public License, version 2, hence

the version number 2.1.]

Preamble

The licenses for most software are designed to take away your

Page 150: CKB Linux オプション 2 - COMPUTEX | 株式会社 …”使用になる前に このたびはCKB Linux オプション2.1 をお買い上げいただきありがとうございます。

CKB Linux オプション 2.1 導入ガイド 第 11 章 CKB Linux SDK に含まれるソフトウェア 146

freedom to share and change it. By contrast, the GNU General Public

Licenses are intended to guarantee your freedom to share and change

free software--to make sure the software is free for all its users.

This license, the Lesser General Public License, applies to some

specially designated software packages--typically libraries--of the

Free Software Foundation and other authors who decide to use it. You

can use it too, but we suggest you first think carefully about whether

this license or the ordinary General Public License is the better

strategy to use in any particular case, based on the explanations

below.

When we speak of free software, we are referring to freedom of use,

not price. Our General Public Licenses are designed to make sure that

you have the freedom to distribute copies of free software (and charge

for this service if you wish); that you receive source code or can get

it if you want it; that you can change the software and use pieces of

it in new free programs; and that you are informed that you can do

these things.

To protect your rights, we need to make restrictions that forbid

distributors to deny you these rights or to ask you to surrender these

rights. These restrictions translate to certain responsibilities for

you if you distribute copies of the library or if you modify it.

For example, if you distribute copies of the library, whether gratis

or for a fee, you must give the recipients all the rights that we gave

you. You must make sure that they, too, receive or can get the source

code. If you link other code with the library, you must provide

complete object files to the recipients, so that they can relink them

with the library after making changes to the library and recompiling

it. And you must show them these terms so they know their rights.

We protect your rights with a two-step method: (1) we copyright the

library, and (2) we offer you this license, which gives you legal

permission to copy, distribute and/or modify the library.

To protect each distributor, we want to make it very clear that

there is no warranty for the free library. Also, if the library is

modified by someone else and passed on, the recipients should know

that what they have is not the original version, so that the original

author's reputation will not be affected by problems that might be

introduced by others.

Finally, software patents pose a constant threat to the existence of

any free program. We wish to make sure that a company cannot

effectively restrict the users of a free program by obtaining a

restrictive license from a patent holder. Therefore, we insist that

any patent license obtained for a version of the library must be

consistent with the full freedom of use specified in this license.

Page 151: CKB Linux オプション 2 - COMPUTEX | 株式会社 …”使用になる前に このたびはCKB Linux オプション2.1 をお買い上げいただきありがとうございます。

CKB Linux オプション 2.1 導入ガイド 第 11 章 CKB Linux SDK に含まれるソフトウェア 147

Most GNU software, including some libraries, is covered by the

ordinary GNU General Public License. This license, the GNU Lesser

General Public License, applies to certain designated libraries, and

is quite different from the ordinary General Public License. We use

this license for certain libraries in order to permit linking those

libraries into non-free programs.

When a program is linked with a library, whether statically or using

a shared library, the combination of the two is legally speaking a

combined work, a derivative of the original library. The ordinary

General Public License therefore permits such linking only if the

entire combination fits its criteria of freedom. The Lesser General

Public License permits more lax criteria for linking other code with

the library.

We call this license the "Lesser" General Public License because it

does Less to protect the user's freedom than the ordinary General

Public License. It also provides other free software developers Less

of an advantage over competing non-free programs. These disadvantages

are the reason we use the ordinary General Public License for many

libraries. However, the Lesser license provides advantages in certain

special circumstances.

For example, on rare occasions, there may be a special need to

encourage the widest possible use of a certain library, so that it

becomes a de-facto standard. To achieve this, non-free programs must

be allowed to use the library. A more frequent case is that a free

library does the same job as widely used non-free libraries. In this

case, there is little to gain by limiting the free library to free

software only, so we use the Lesser General Public License.

In other cases, permission to use a particular library in non-free

programs enables a greater number of people to use a large body of

free software. For example, permission to use the GNU C Library in

non-free programs enables many more people to use the whole GNU

operating system, as well as its variant, the GNU/Linux operating

system.

Although the Lesser General Public License is Less protective of the

users' freedom, it does ensure that the user of a program that is

linked with the Library has the freedom and the wherewithal to run

that program using a modified version of the Library.

The precise terms and conditions for copying, distribution and

modification follow. Pay close attention to the difference between a

"work based on the library" and a "work that uses the library". The

former contains code derived from the library, whereas the latter must

be combined with the library in order to run.

GNU LESSER GENERAL PUBLIC LICENSE

TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION

Page 152: CKB Linux オプション 2 - COMPUTEX | 株式会社 …”使用になる前に このたびはCKB Linux オプション2.1 をお買い上げいただきありがとうございます。

CKB Linux オプション 2.1 導入ガイド 第 11 章 CKB Linux SDK に含まれるソフトウェア 148

0. This License Agreement applies to any software library or other

program which contains a notice placed by the copyright holder or

other authorized party saying it may be distributed under the terms of

this Lesser General Public License (also called "this License").

Each licensee is addressed as "you".

A "library" means a collection of software functions and/or data

prepared so as to be conveniently linked with application programs

(which use some of those functions and data) to form executables.

The "Library", below, refers to any such software library or work

which has been distributed under these terms. A "work based on the

Library" means either the Library or any derivative work under

copyright law: that is to say, a work containing the Library or a

portion of it, either verbatim or with modifications and/or translated

straightforwardly into another language. (Hereinafter, translation is

included without limitation in the term "modification".)

"Source code" for a work means the preferred form of the work for

making modifications to it. For a library, complete source code means

all the source code for all modules it contains, plus any associated

interface definition files, plus the scripts used to control

compilation and installation of the library.

Activities other than copying, distribution and modification are not

covered by this License; they are outside its scope. The act of

running a program using the Library is not restricted, and output from

such a program is covered only if its contents constitute a work based

on the Library (independent of the use of the Library in a tool for

writing it). Whether that is true depends on what the Library does

and what the program that uses the Library does.

1. You may copy and distribute verbatim copies of the Library's

complete source code as you receive it, in any medium, provided that

you conspicuously and appropriately publish on each copy an

appropriate copyright notice and disclaimer of warranty; keep intact

all the notices that refer to this License and to the absence of any

warranty; and distribute a copy of this License along with the

Library.

You may charge a fee for the physical act of transferring a copy,

and you may at your option offer warranty protection in exchange for a

fee.

2. You may modify your copy or copies of the Library or any portion

of it, thus forming a work based on the Library, and copy and

distribute such modifications or work under the terms of Section 1

above, provided that you also meet all of these conditions:

a) The modified work must itself be a software library.

Page 153: CKB Linux オプション 2 - COMPUTEX | 株式会社 …”使用になる前に このたびはCKB Linux オプション2.1 をお買い上げいただきありがとうございます。

CKB Linux オプション 2.1 導入ガイド 第 11 章 CKB Linux SDK に含まれるソフトウェア 149

b) You must cause the files modified to carry prominent notices

stating that you changed the files and the date of any change.

c) You must cause the whole of the work to be licensed at no

charge to all third parties under the terms of this License.

d) If a facility in the modified Library refers to a function or a

table of data to be supplied by an application program that uses

the facility, other than as an argument passed when the facility

is invoked, then you must make a good faith effort to ensure that,

in the event an application does not supply such function or

table, the facility still operates, and performs whatever part of

its purpose remains meaningful.

(For example, a function in a library to compute square roots has

a purpose that is entirely well-defined independent of the

application. Therefore, Subsection 2d requires that any

application-supplied function or table used by this function must

be optional: if the application does not supply it, the square

root function must still compute square roots.)

These requirements apply to the modified work as a whole. If

identifiable sections of that work are not derived from the Library,

and can be reasonably considered independent and separate works in

themselves, then this License, and its terms, do not apply to those

sections when you distribute them as separate works. But when you

distribute the same sections as part of a whole which is a work based

on the Library, the distribution of the whole must be on the terms of

this License, whose permissions for other licensees extend to the

entire whole, and thus to each and every part regardless of who wrote

it.

Thus, it is not the intent of this section to claim rights or contest

your rights to work written entirely by you; rather, the intent is to

exercise the right to control the distribution of derivative or

collective works based on the Library.

In addition, mere aggregation of another work not based on the Library

with the Library (or with a work based on the Library) on a volume of

a storage or distribution medium does not bring the other work under

the scope of this License.

3. You may opt to apply the terms of the ordinary GNU General Public

License instead of this License to a given copy of the Library. To do

this, you must alter all the notices that refer to this License, so

that they refer to the ordinary GNU General Public License, version 2,

instead of to this License. (If a newer version than version 2 of the

ordinary GNU General Public License has appeared, then you can specify

that version instead if you wish.) Do not make any other change in

these notices.

Page 154: CKB Linux オプション 2 - COMPUTEX | 株式会社 …”使用になる前に このたびはCKB Linux オプション2.1 をお買い上げいただきありがとうございます。

CKB Linux オプション 2.1 導入ガイド 第 11 章 CKB Linux SDK に含まれるソフトウェア 150

Once this change is made in a given copy, it is irreversible for

that copy, so the ordinary GNU General Public License applies to all

subsequent copies and derivative works made from that copy.

This option is useful when you wish to copy part of the code of

the Library into a program that is not a library.

4. You may copy and distribute the Library (or a portion or

derivative of it, under Section 2) in object code or executable form

under the terms of Sections 1 and 2 above provided that you accompany

it with the complete corresponding machine-readable source code, which

must be distributed under the terms of Sections 1 and 2 above on a

medium customarily used for software interchange.

If distribution of object code is made by offering access to copy

from a designated place, then offering equivalent access to copy the

source code from the same place satisfies the requirement to

distribute the source code, even though third parties are not

compelled to copy the source along with the object code.

5. A program that contains no derivative of any portion of the

Library, but is designed to work with the Library by being compiled or

linked with it, is called a "work that uses the Library". Such a

work, in isolation, is not a derivative work of the Library, and

therefore falls outside the scope of this License.

However, linking a "work that uses the Library" with the Library

creates an executable that is a derivative of the Library (because it

contains portions of the Library), rather than a "work that uses the

library". The executable is therefore covered by this License.

Section 6 states terms for distribution of such executables.

When a "work that uses the Library" uses material from a header file

that is part of the Library, the object code for the work may be a

derivative work of the Library even though the source code is not.

Whether this is true is especially significant if the work can be

linked without the Library, or if the work is itself a library. The

threshold for this to be true is not precisely defined by law.

If such an object file uses only numerical parameters, data

structure layouts and accessors, and small macros and small inline

functions (ten lines or less in length), then the use of the object

file is unrestricted, regardless of whether it is legally a derivative

work. (Executables containing this object code plus portions of the

Library will still fall under Section 6.)

Otherwise, if the work is a derivative of the Library, you may

distribute the object code for the work under the terms of Section 6.

Any executables containing that work also fall under Section 6,

whether or not they are linked directly with the Library itself.

Page 155: CKB Linux オプション 2 - COMPUTEX | 株式会社 …”使用になる前に このたびはCKB Linux オプション2.1 をお買い上げいただきありがとうございます。

CKB Linux オプション 2.1 導入ガイド 第 11 章 CKB Linux SDK に含まれるソフトウェア 151

6. As an exception to the Sections above, you may also combine or

link a "work that uses the Library" with the Library to produce a

work containing portions of the Library, and distribute that work

under terms of your choice, provided that the terms permit

modification of the work for the customer's own use and reverse

engineering for debugging such modifications.

You must give prominent notice with each copy of the work that the

Library is used in it and that the Library and its use are covered by

this License. You must supply a copy of this License. If the work

during execution displays copyright notices, you must include the

copyright notice for the Library among them, as well as a reference

directing the user to the copy of this License. Also, you must do one

of these things:

a) Accompany the work with the complete corresponding

machine-readable source code for the Library including whatever

changes were used in the work (which must be distributed under

Sections 1 and 2 above); and, if the work is an executable linked

with the Library, with the complete machine-readable "work that

uses the Library", as object code and/or source code, so that the

user can modify the Library and then relink to produce a modified

executable containing the modified Library. (It is understood

that the user who changes the contents of definitions files in the

Library will not necessarily be able to recompile the application

to use the modified definitions.)

b) Use a suitable shared library mechanism for linking with the

Library. A suitable mechanism is one that (1) uses at run time a

copy of the library already present on the user's computer system,

rather than copying library functions into the executable, and (2)

will operate properly with a modified version of the library, if

the user installs one, as long as the modified version is

interface-compatible with the version that the work was made with.

c) Accompany the work with a written offer, valid for at least

three years, to give the same user the materials specified in

Subsection 6a, above, for a charge no more than the cost of

performing this distribution.

d) If distribution of the work is made by offering access to copy

from a designated place, offer equivalent access to copy the above

specified materials from the same place.

e) Verify that the user has already received a copy of these

materials or that you have already sent this user a copy.

For an executable, the required form of the "work that uses the

Library" must include any data and utility programs needed for

reproducing the executable from it. However, as a special exception,

Page 156: CKB Linux オプション 2 - COMPUTEX | 株式会社 …”使用になる前に このたびはCKB Linux オプション2.1 をお買い上げいただきありがとうございます。

CKB Linux オプション 2.1 導入ガイド 第 11 章 CKB Linux SDK に含まれるソフトウェア 152

the materials to be distributed need not include anything that is

normally distributed (in either source or binary form) with the major

components (compiler, kernel, and so on) of the operating system on

which the executable runs, unless that component itself accompanies

the executable.

It may happen that this requirement contradicts the license

restrictions of other proprietary libraries that do not normally

accompany the operating system. Such a contradiction means you cannot

use both them and the Library together in an executable that you

distribute.

7. You may place library facilities that are a work based on the

Library side-by-side in a single library together with other library

facilities not covered by this License, and distribute such a combined

library, provided that the separate distribution of the work based on

the Library and of the other library facilities is otherwise

permitted, and provided that you do these two things:

a) Accompany the combined library with a copy of the same work

based on the Library, uncombined with any other library

facilities. This must be distributed under the terms of the

Sections above.

b) Give prominent notice with the combined library of the fact

that part of it is a work based on the Library, and explaining

where to find the accompanying uncombined form of the same work.

8. You may not copy, modify, sublicense, link with, or distribute

the Library except as expressly provided under this License. Any

attempt otherwise to copy, modify, sublicense, link with, or

distribute the Library is void, and will automatically terminate your

rights under this License. However, parties who have received copies,

or rights, from you under this License will not have their licenses

terminated so long as such parties remain in full compliance.

9. You are not required to accept this License, since you have not

signed it. However, nothing else grants you permission to modify or

distribute the Library or its derivative works. These actions are

prohibited by law if you do not accept this License. Therefore, by

modifying or distributing the Library (or any work based on the

Library), you indicate your acceptance of this License to do so, and

all its terms and conditions for copying, distributing or modifying

the Library or works based on it.

10. Each time you redistribute the Library (or any work based on the

Library), the recipient automatically receives a license from the

original licensor to copy, distribute, link with or modify the Library

subject to these terms and conditions. You may not impose any further

restrictions on the recipients' exercise of the rights granted herein.

You are not responsible for enforcing compliance by third parties with

Page 157: CKB Linux オプション 2 - COMPUTEX | 株式会社 …”使用になる前に このたびはCKB Linux オプション2.1 をお買い上げいただきありがとうございます。

CKB Linux オプション 2.1 導入ガイド 第 11 章 CKB Linux SDK に含まれるソフトウェア 153

this License.

11. If, as a consequence of a court judgment or allegation of patent

infringement or for any other reason (not limited to patent issues),

conditions are imposed on you (whether by court order, agreement or

otherwise) that contradict the conditions of this License, they do not

excuse you from the conditions of this License. If you cannot

distribute so as to satisfy simultaneously your obligations under this

License and any other pertinent obligations, then as a consequence you

may not distribute the Library at all. For example, if a patent

license would not permit royalty-free redistribution of the Library by

all those who receive copies directly or indirectly through you, then

the only way you could satisfy both it and this License would be to

refrain entirely from distribution of the Library.

If any portion of this section is held invalid or unenforceable under

any particular circumstance, the balance of the section is intended to

apply, and the section as a whole is intended to apply in other

circumstances.

It is not the purpose of this section to induce you to infringe any

patents or other property right claims or to contest validity of any

such claims; this section has the sole purpose of protecting the

integrity of the free software distribution system which is

implemented by public license practices. Many people have made

generous contributions to the wide range of software distributed

through that system in reliance on consistent application of that

system; it is up to the author/donor to decide if he or she is willing

to distribute software through any other system and a licensee cannot

impose that choice.

This section is intended to make thoroughly clear what is believed to

be a consequence of the rest of this License.

12. If the distribution and/or use of the Library is restricted in

certain countries either by patents or by copyrighted interfaces, the

original copyright holder who places the Library under this License

may add an explicit geographical distribution limitation excluding those

countries, so that distribution is permitted only in or among

countries not thus excluded. In such case, this License incorporates

the limitation as if written in the body of this License.

13. The Free Software Foundation may publish revised and/or new

versions of the Lesser General Public License from time to time.

Such new versions will be similar in spirit to the present version,

but may differ in detail to address new problems or concerns.

Each version is given a distinguishing version number. If the Library

specifies a version number of this License which applies to it and

"any later version", you have the option of following the terms and

conditions either of that version or of any later version published by

Page 158: CKB Linux オプション 2 - COMPUTEX | 株式会社 …”使用になる前に このたびはCKB Linux オプション2.1 をお買い上げいただきありがとうございます。

CKB Linux オプション 2.1 導入ガイド 第 11 章 CKB Linux SDK に含まれるソフトウェア 154

the Free Software Foundation. If the Library does not specify a

license version number, you may choose any version ever published by

the Free Software Foundation.

14. If you wish to incorporate parts of the Library into other free

programs whose distribution conditions are incompatible with these,

write to the author to ask for permission. For software which is

copyrighted by the Free Software Foundation, write to the Free

Software Foundation; we sometimes make exceptions for this. Our

decision will be guided by the two goals of preserving the free status

of all derivatives of our free software and of promoting the sharing

and reuse of software generally.

NO WARRANTY

15. BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO

WARRANTY FOR THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW.

EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR

OTHER PARTIES PROVIDE THE LIBRARY "AS IS" WITHOUT WARRANTY OF ANY

KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE

IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR

PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE

LIBRARY IS WITH YOU. SHOULD THE LIBRARY PROVE DEFECTIVE, YOU ASSUME

THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION.

16. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN

WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY

AND/OR REDISTRIBUTE THE LIBRARY AS PERMITTED ABOVE, BE LIABLE TO YOU

FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR

CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE

LIBRARY (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING

RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A

FAILURE OF THE LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF

SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH

DAMAGES.

END OF TERMS AND CONDITIONS

How to Apply These Terms to Your New Libraries

If you develop a new library, and you want it to be of the greatest

possible use to the public, we recommend making it free software that

everyone can redistribute and change. You can do so by permitting

redistribution under these terms (or, alternatively, under the terms

of the ordinary General Public License).

To apply these terms, attach the following notices to the library.

It is safest to attach them to the start of each source file to most

effectively convey the exclusion of warranty; and each file should

have at least the "copyright" line and a pointer to where the full

notice is found.

Page 159: CKB Linux オプション 2 - COMPUTEX | 株式会社 …”使用になる前に このたびはCKB Linux オプション2.1 をお買い上げいただきありがとうございます。

CKB Linux オプション 2.1 導入ガイド 第 11 章 CKB Linux SDK に含まれるソフトウェア 155

<one line to give the library's name and a brief idea of what it does.>

Copyright (C) <year> <name of author>

This library is free software; you can redistribute it and/or

modify it under the terms of the GNU Lesser General Public

License as published by the Free Software Foundation; either

version 2.1 of the License, or (at your option) any later version.

This library is distributed in the hope that it will be useful,

but WITHOUT ANY WARRANTY; without even the implied warranty of

MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU

Lesser General Public License for more details.

You should have received a copy of the GNU Lesser General Public

License along with this library; if not, write to the Free Software

Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA

Also add information on how to contact you by electronic and paper mail.

You should also get your employer (if you work as a programmer) or

your school, if any, to sign a "copyright disclaimer" for the library,

if necessary. Here is a sample; alter the names:

Yoyodyne, Inc., hereby disclaims all copyright interest in the

library `Frob' (a library for tweaking knobs) written by James

Random Hacker.

<signature of Ty Coon>, 1 April 1990

Ty Coon, President of Vice

That's all there is to it!

::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::

libgcrypt: COPYING.LIB file

::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::

GNU LESSER GENERAL PUBLIC LICENSE

Version 2.1, February 1999

Copyright (C) 1991, 1999 Free Software Foundation, Inc.

59 Temple Place, Suite 330, Boston, MA 02111-1307 USA

Everyone is permitted to copy and distribute verbatim copies

of this license document, but changing it is not allowed.

[This is the first released version of the Lesser GPL. It also counts

Page 160: CKB Linux オプション 2 - COMPUTEX | 株式会社 …”使用になる前に このたびはCKB Linux オプション2.1 をお買い上げいただきありがとうございます。

CKB Linux オプション 2.1 導入ガイド 第 11 章 CKB Linux SDK に含まれるソフトウェア 156

as the successor of the GNU Library Public License, version 2, hence

the version number 2.1.]

Preamble

The licenses for most software are designed to take away your

freedom to share and change it. By contrast, the GNU General Public

Licenses are intended to guarantee your freedom to share and change

free software--to make sure the software is free for all its users.

This license, the Lesser General Public License, applies to some

specially designated software packages--typically libraries--of the

Free Software Foundation and other authors who decide to use it. You

can use it too, but we suggest you first think carefully about whether

this license or the ordinary General Public License is the better

strategy to use in any particular case, based on the explanations

below.

When we speak of free software, we are referring to freedom of use,

not price. Our General Public Licenses are designed to make sure that

you have the freedom to distribute copies of free software (and charge

for this service if you wish); that you receive source code or can get

it if you want it; that you can change the software and use pieces of

it in new free programs; and that you are informed that you can do

these things.

To protect your rights, we need to make restrictions that forbid

distributors to deny you these rights or to ask you to surrender these

rights. These restrictions translate to certain responsibilities for

you if you distribute copies of the library or if you modify it.

For example, if you distribute copies of the library, whether gratis

or for a fee, you must give the recipients all the rights that we gave

you. You must make sure that they, too, receive or can get the source

code. If you link other code with the library, you must provide

complete object files to the recipients, so that they can relink them

with the library after making changes to the library and recompiling

it. And you must show them these terms so they know their rights.

We protect your rights with a two-step method: (1) we copyright the

library, and (2) we offer you this license, which gives you legal

permission to copy, distribute and/or modify the library.

To protect each distributor, we want to make it very clear that

there is no warranty for the free library. Also, if the library is

modified by someone else and passed on, the recipients should know

that what they have is not the original version, so that the original

author's reputation will not be affected by problems that might be

introduced by others.

^L

Finally, software patents pose a constant threat to the existence of

Page 161: CKB Linux オプション 2 - COMPUTEX | 株式会社 …”使用になる前に このたびはCKB Linux オプション2.1 をお買い上げいただきありがとうございます。

CKB Linux オプション 2.1 導入ガイド 第 11 章 CKB Linux SDK に含まれるソフトウェア 157

any free program. We wish to make sure that a company cannot

effectively restrict the users of a free program by obtaining a

restrictive license from a patent holder. Therefore, we insist that

any patent license obtained for a version of the library must be

consistent with the full freedom of use specified in this license.

Most GNU software, including some libraries, is covered by the

ordinary GNU General Public License. This license, the GNU Lesser

General Public License, applies to certain designated libraries, and

is quite different from the ordinary General Public License. We use

this license for certain libraries in order to permit linking those

libraries into non-free programs.

When a program is linked with a library, whether statically or using

a shared library, the combination of the two is legally speaking a

combined work, a derivative of the original library. The ordinary

General Public License therefore permits such linking only if the

entire combination fits its criteria of freedom. The Lesser General

Public License permits more lax criteria for linking other code with

the library.

We call this license the "Lesser" General Public License because it

does Less to protect the user's freedom than the ordinary General

Public License. It also provides other free software developers Less

of an advantage over competing non-free programs. These disadvantages

are the reason we use the ordinary General Public License for many

libraries. However, the Lesser license provides advantages in certain

special circumstances.

For example, on rare occasions, there may be a special need to

encourage the widest possible use of a certain library, so that it

becomes a de-facto standard. To achieve this, non-free programs must

be allowed to use the library. A more frequent case is that a free

library does the same job as widely used non-free libraries. In this

case, there is little to gain by limiting the free library to free

software only, so we use the Lesser General Public License.

In other cases, permission to use a particular library in non-free

programs enables a greater number of people to use a large body of

free software. For example, permission to use the GNU C Library in

non-free programs enables many more people to use the whole GNU

operating system, as well as its variant, the GNU/Linux operating

system.

Although the Lesser General Public License is Less protective of the

users' freedom, it does ensure that the user of a program that is

linked with the Library has the freedom and the wherewithal to run

that program using a modified version of the Library.

The precise terms and conditions for copying, distribution and

modification follow. Pay close attention to the difference between a

Page 162: CKB Linux オプション 2 - COMPUTEX | 株式会社 …”使用になる前に このたびはCKB Linux オプション2.1 をお買い上げいただきありがとうございます。

CKB Linux オプション 2.1 導入ガイド 第 11 章 CKB Linux SDK に含まれるソフトウェア 158

"work based on the library" and a "work that uses the library". The

former contains code derived from the library, whereas the latter must

be combined with the library in order to run.

^L

GNU LESSER GENERAL PUBLIC LICENSE

TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION

0. This License Agreement applies to any software library or other

program which contains a notice placed by the copyright holder or

other authorized party saying it may be distributed under the terms of

this Lesser General Public License (also called "this License").

Each licensee is addressed as "you".

A "library" means a collection of software functions and/or data

prepared so as to be conveniently linked with application programs

(which use some of those functions and data) to form executables.

The "Library", below, refers to any such software library or work

which has been distributed under these terms. A "work based on the

Library" means either the Library or any derivative work under

copyright law: that is to say, a work containing the Library or a

portion of it, either verbatim or with modifications and/or translated

straightforwardly into another language. (Hereinafter, translation is

included without limitation in the term "modification".)

"Source code" for a work means the preferred form of the work for

making modifications to it. For a library, complete source code means

all the source code for all modules it contains, plus any associated

interface definition files, plus the scripts used to control

compilation and installation of the library.

Activities other than copying, distribution and modification are not

covered by this License; they are outside its scope. The act of

running a program using the Library is not restricted, and output from

such a program is covered only if its contents constitute a work based

on the Library (independent of the use of the Library in a tool for

writing it). Whether that is true depends on what the Library does

and what the program that uses the Library does.

1. You may copy and distribute verbatim copies of the Library's

complete source code as you receive it, in any medium, provided that

you conspicuously and appropriately publish on each copy an

appropriate copyright notice and disclaimer of warranty; keep intact

all the notices that refer to this License and to the absence of any

warranty; and distribute a copy of this License along with the

Library.

You may charge a fee for the physical act of transferring a copy,

and you may at your option offer warranty protection in exchange for a

fee.

Page 163: CKB Linux オプション 2 - COMPUTEX | 株式会社 …”使用になる前に このたびはCKB Linux オプション2.1 をお買い上げいただきありがとうございます。

CKB Linux オプション 2.1 導入ガイド 第 11 章 CKB Linux SDK に含まれるソフトウェア 159

2. You may modify your copy or copies of the Library or any portion

of it, thus forming a work based on the Library, and copy and

distribute such modifications or work under the terms of Section 1

above, provided that you also meet all of these conditions:

a) The modified work must itself be a software library.

b) You must cause the files modified to carry prominent notices

stating that you changed the files and the date of any change.

c) You must cause the whole of the work to be licensed at no

charge to all third parties under the terms of this License.

d) If a facility in the modified Library refers to a function or a

table of data to be supplied by an application program that uses

the facility, other than as an argument passed when the facility

is invoked, then you must make a good faith effort to ensure that,

in the event an application does not supply such function or

table, the facility still operates, and performs whatever part of

its purpose remains meaningful.

(For example, a function in a library to compute square roots has

a purpose that is entirely well-defined independent of the

application. Therefore, Subsection 2d requires that any

application-supplied function or table used by this function must

be optional: if the application does not supply it, the square

root function must still compute square roots.)

These requirements apply to the modified work as a whole. If

identifiable sections of that work are not derived from the Library,

and can be reasonably considered independent and separate works in

themselves, then this License, and its terms, do not apply to those

sections when you distribute them as separate works. But when you

distribute the same sections as part of a whole which is a work based

on the Library, the distribution of the whole must be on the terms of

this License, whose permissions for other licensees extend to the

entire whole, and thus to each and every part regardless of who wrote

it.

Thus, it is not the intent of this section to claim rights or contest

your rights to work written entirely by you; rather, the intent is to

exercise the right to control the distribution of derivative or

collective works based on the Library.

In addition, mere aggregation of another work not based on the Library

with the Library (or with a work based on the Library) on a volume of

a storage or distribution medium does not bring the other work under

the scope of this License.

3. You may opt to apply the terms of the ordinary GNU General Public

License instead of this License to a given copy of the Library. To do

Page 164: CKB Linux オプション 2 - COMPUTEX | 株式会社 …”使用になる前に このたびはCKB Linux オプション2.1 をお買い上げいただきありがとうございます。

CKB Linux オプション 2.1 導入ガイド 第 11 章 CKB Linux SDK に含まれるソフトウェア 160

this, you must alter all the notices that refer to this License, so

that they refer to the ordinary GNU General Public License, version 2,

instead of to this License. (If a newer version than version 2 of the

ordinary GNU General Public License has appeared, then you can specify

that version instead if you wish.) Do not make any other change in

these notices.

^L

Once this change is made in a given copy, it is irreversible for

that copy, so the ordinary GNU General Public License applies to all

subsequent copies and derivative works made from that copy.

This option is useful when you wish to copy part of the code of

the Library into a program that is not a library.

4. You may copy and distribute the Library (or a portion or

derivative of it, under Section 2) in object code or executable form

under the terms of Sections 1 and 2 above provided that you accompany

it with the complete corresponding machine-readable source code, which

must be distributed under the terms of Sections 1 and 2 above on a

medium customarily used for software interchange.

If distribution of object code is made by offering access to copy

from a designated place, then offering equivalent access to copy the

source code from the same place satisfies the requirement to

distribute the source code, even though third parties are not

compelled to copy the source along with the object code.

5. A program that contains no derivative of any portion of the

Library, but is designed to work with the Library by being compiled or

linked with it, is called a "work that uses the Library". Such a

work, in isolation, is not a derivative work of the Library, and

therefore falls outside the scope of this License.

However, linking a "work that uses the Library" with the Library

creates an executable that is a derivative of the Library (because it

contains portions of the Library), rather than a "work that uses the

library". The executable is therefore covered by this License.

Section 6 states terms for distribution of such executables.

When a "work that uses the Library" uses material from a header file

that is part of the Library, the object code for the work may be a

derivative work of the Library even though the source code is not.

Whether this is true is especially significant if the work can be

linked without the Library, or if the work is itself a library. The

threshold for this to be true is not precisely defined by law.

If such an object file uses only numerical parameters, data

structure layouts and accessors, and small macros and small inline

functions (ten lines or less in length), then the use of the object

file is unrestricted, regardless of whether it is legally a derivative

work. (Executables containing this object code plus portions of the

Page 165: CKB Linux オプション 2 - COMPUTEX | 株式会社 …”使用になる前に このたびはCKB Linux オプション2.1 をお買い上げいただきありがとうございます。

CKB Linux オプション 2.1 導入ガイド 第 11 章 CKB Linux SDK に含まれるソフトウェア 161

Library will still fall under Section 6.)

Otherwise, if the work is a derivative of the Library, you may

distribute the object code for the work under the terms of Section 6.

Any executables containing that work also fall under Section 6,

whether or not they are linked directly with the Library itself.

^L

6. As an exception to the Sections above, you may also combine or

link a "work that uses the Library" with the Library to produce a

work containing portions of the Library, and distribute that work

under terms of your choice, provided that the terms permit

modification of the work for the customer's own use and reverse

engineering for debugging such modifications.

You must give prominent notice with each copy of the work that the

Library is used in it and that the Library and its use are covered by

this License. You must supply a copy of this License. If the work

during execution displays copyright notices, you must include the

copyright notice for the Library among them, as well as a reference

directing the user to the copy of this License. Also, you must do one

of these things:

a) Accompany the work with the complete corresponding

machine-readable source code for the Library including whatever

changes were used in the work (which must be distributed under

Sections 1 and 2 above); and, if the work is an executable linked

with the Library, with the complete machine-readable "work that

uses the Library", as object code and/or source code, so that the

user can modify the Library and then relink to produce a modified

executable containing the modified Library. (It is understood

that the user who changes the contents of definitions files in the

Library will not necessarily be able to recompile the application

to use the modified definitions.)

b) Use a suitable shared library mechanism for linking with the

Library. A suitable mechanism is one that (1) uses at run time a

copy of the library already present on the user's computer system,

rather than copying library functions into the executable, and (2)

will operate properly with a modified version of the library, if

the user installs one, as long as the modified version is

interface-compatible with the version that the work was made with.

c) Accompany the work with a written offer, valid for at least

three years, to give the same user the materials specified in

Subsection 6a, above, for a charge no more than the cost of

performing this distribution.

d) If distribution of the work is made by offering access to copy

from a designated place, offer equivalent access to copy the above

specified materials from the same place.

Page 166: CKB Linux オプション 2 - COMPUTEX | 株式会社 …”使用になる前に このたびはCKB Linux オプション2.1 をお買い上げいただきありがとうございます。

CKB Linux オプション 2.1 導入ガイド 第 11 章 CKB Linux SDK に含まれるソフトウェア 162

e) Verify that the user has already received a copy of these

materials or that you have already sent this user a copy.

For an executable, the required form of the "work that uses the

Library" must include any data and utility programs needed for

reproducing the executable from it. However, as a special exception,

the materials to be distributed need not include anything that is

normally distributed (in either source or binary form) with the major

components (compiler, kernel, and so on) of the operating system on

which the executable runs, unless that component itself accompanies

the executable.

It may happen that this requirement contradicts the license

restrictions of other proprietary libraries that do not normally

accompany the operating system. Such a contradiction means you cannot

use both them and the Library together in an executable that you

distribute.

^L

7. You may place library facilities that are a work based on the

Library side-by-side in a single library together with other library

facilities not covered by this License, and distribute such a combined

library, provided that the separate distribution of the work based on

the Library and of the other library facilities is otherwise

permitted, and provided that you do these two things:

a) Accompany the combined library with a copy of the same work

based on the Library, uncombined with any other library

facilities. This must be distributed under the terms of the

Sections above.

b) Give prominent notice with the combined library of the fact

that part of it is a work based on the Library, and explaining

where to find the accompanying uncombined form of the same work.

8. You may not copy, modify, sublicense, link with, or distribute

the Library except as expressly provided under this License. Any

attempt otherwise to copy, modify, sublicense, link with, or

distribute the Library is void, and will automatically terminate your

rights under this License. However, parties who have received copies,

or rights, from you under this License will not have their licenses

terminated so long as such parties remain in full compliance.

9. You are not required to accept this License, since you have not

signed it. However, nothing else grants you permission to modify or

distribute the Library or its derivative works. These actions are

prohibited by law if you do not accept this License. Therefore, by

modifying or distributing the Library (or any work based on the

Library), you indicate your acceptance of this License to do so, and

all its terms and conditions for copying, distributing or modifying

the Library or works based on it.

Page 167: CKB Linux オプション 2 - COMPUTEX | 株式会社 …”使用になる前に このたびはCKB Linux オプション2.1 をお買い上げいただきありがとうございます。

CKB Linux オプション 2.1 導入ガイド 第 11 章 CKB Linux SDK に含まれるソフトウェア 163

10. Each time you redistribute the Library (or any work based on the

Library), the recipient automatically receives a license from the

original licensor to copy, distribute, link with or modify the Library

subject to these terms and conditions. You may not impose any further

restrictions on the recipients' exercise of the rights granted herein.

You are not responsible for enforcing compliance by third parties with

this License.

^L

11. If, as a consequence of a court judgment or allegation of patent

infringement or for any other reason (not limited to patent issues),

conditions are imposed on you (whether by court order, agreement or

otherwise) that contradict the conditions of this License, they do not

excuse you from the conditions of this License. If you cannot

distribute so as to satisfy simultaneously your obligations under this

License and any other pertinent obligations, then as a consequence you

may not distribute the Library at all. For example, if a patent

license would not permit royalty-free redistribution of the Library by

all those who receive copies directly or indirectly through you, then

the only way you could satisfy both it and this License would be to

refrain entirely from distribution of the Library.

If any portion of this section is held invalid or unenforceable under

any particular circumstance, the balance of the section is intended to

apply, and the section as a whole is intended to apply in other

circumstances.

It is not the purpose of this section to induce you to infringe any

patents or other property right claims or to contest validity of any

such claims; this section has the sole purpose of protecting the

integrity of the free software distribution system which is

implemented by public license practices. Many people have made

generous contributions to the wide range of software distributed

through that system in reliance on consistent application of that

system; it is up to the author/donor to decide if he or she is willing

to distribute software through any other system and a licensee cannot

impose that choice.

This section is intended to make thoroughly clear what is believed to

be a consequence of the rest of this License.

12. If the distribution and/or use of the Library is restricted in

certain countries either by patents or by copyrighted interfaces, the

original copyright holder who places the Library under this License

may add an explicit geographical distribution limitation excluding those

countries, so that distribution is permitted only in or among

countries not thus excluded. In such case, this License incorporates

the limitation as if written in the body of this License.

13. The Free Software Foundation may publish revised and/or new

versions of the Lesser General Public License from time to time.

Such new versions will be similar in spirit to the present version,

Page 168: CKB Linux オプション 2 - COMPUTEX | 株式会社 …”使用になる前に このたびはCKB Linux オプション2.1 をお買い上げいただきありがとうございます。

CKB Linux オプション 2.1 導入ガイド 第 11 章 CKB Linux SDK に含まれるソフトウェア 164

but may differ in detail to address new problems or concerns.

Each version is given a distinguishing version number. If the Library

specifies a version number of this License which applies to it and

"any later version", you have the option of following the terms and

conditions either of that version or of any later version published by

the Free Software Foundation. If the Library does not specify a

license version number, you may choose any version ever published by

the Free Software Foundation.

^L

14. If you wish to incorporate parts of the Library into other free

programs whose distribution conditions are incompatible with these,

write to the author to ask for permission. For software which is

copyrighted by the Free Software Foundation, write to the Free

Software Foundation; we sometimes make exceptions for this. Our

decision will be guided by the two goals of preserving the free status

of all derivatives of our free software and of promoting the sharing

and reuse of software generally.

NO WARRANTY

15. BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO

WARRANTY FOR THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW.

EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR

OTHER PARTIES PROVIDE THE LIBRARY "AS IS" WITHOUT WARRANTY OF ANY

KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE

IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR

PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE

LIBRARY IS WITH YOU. SHOULD THE LIBRARY PROVE DEFECTIVE, YOU ASSUME

THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION.

16. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN

WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY

AND/OR REDISTRIBUTE THE LIBRARY AS PERMITTED ABOVE, BE LIABLE TO YOU

FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR

CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE

LIBRARY (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING

RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A

FAILURE OF THE LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF

SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH

DAMAGES.

END OF TERMS AND CONDITIONS

^L

How to Apply These Terms to Your New Libraries

If you develop a new library, and you want it to be of the greatest

possible use to the public, we recommend making it free software that

everyone can redistribute and change. You can do so by permitting

redistribution under these terms (or, alternatively, under the terms

of the ordinary General Public License).

Page 169: CKB Linux オプション 2 - COMPUTEX | 株式会社 …”使用になる前に このたびはCKB Linux オプション2.1 をお買い上げいただきありがとうございます。

CKB Linux オプション 2.1 導入ガイド 第 11 章 CKB Linux SDK に含まれるソフトウェア 165

To apply these terms, attach the following notices to the library.

It is safest to attach them to the start of each source file to most

effectively convey the exclusion of warranty; and each file should

have at least the "copyright" line and a pointer to where the full

notice is found.

<one line to give the library's name and a brief idea of what it does.>

Copyright (C) <year> <name of author>

This library is free software; you can redistribute it and/or

modify it under the terms of the GNU Lesser General Public

License as published by the Free Software Foundation; either

version 2.1 of the License, or (at your option) any later version.

This library is distributed in the hope that it will be useful,

but WITHOUT ANY WARRANTY; without even the implied warranty of

MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU

Lesser General Public License for more details.

You should have received a copy of the GNU Lesser General Public

License along with this library; if not, write to the Free Software

Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA

Also add information on how to contact you by electronic and paper mail.

You should also get your employer (if you work as a programmer) or

your school, if any, to sign a "copyright disclaimer" for the library,

if necessary. Here is a sample; alter the names:

Yoyodyne, Inc., hereby disclaims all copyright interest in the

library `Frob' (a library for tweaking knobs) written by James

Random Hacker.

<signature of Ty Coon>, 1 April 1990

Ty Coon, President of Vice

That's all there is to it!

::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::

libgpg-error: COPYING.LIB file

::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::

GNU LESSER GENERAL PUBLIC LICENSE

Version 2.1, February 1999

Page 170: CKB Linux オプション 2 - COMPUTEX | 株式会社 …”使用になる前に このたびはCKB Linux オプション2.1 をお買い上げいただきありがとうございます。

CKB Linux オプション 2.1 導入ガイド 第 11 章 CKB Linux SDK に含まれるソフトウェア 166

Copyright (C) 1991, 1999 Free Software Foundation, Inc.

51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA

Everyone is permitted to copy and distribute verbatim copies

of this license document, but changing it is not allowed.

[This is the first released version of the Lesser GPL. It also counts

as the successor of the GNU Library Public License, version 2, hence

the version number 2.1.]

Preamble

The licenses for most software are designed to take away your

freedom to share and change it. By contrast, the GNU General Public

Licenses are intended to guarantee your freedom to share and change

free software--to make sure the software is free for all its users.

This license, the Lesser General Public License, applies to some

specially designated software packages--typically libraries--of the

Free Software Foundation and other authors who decide to use it. You

can use it too, but we suggest you first think carefully about whether

this license or the ordinary General Public License is the better

strategy to use in any particular case, based on the explanations

below.

When we speak of free software, we are referring to freedom of use,

not price. Our General Public Licenses are designed to make sure that

you have the freedom to distribute copies of free software (and charge

for this service if you wish); that you receive source code or can get

it if you want it; that you can change the software and use pieces of

it in new free programs; and that you are informed that you can do

these things.

To protect your rights, we need to make restrictions that forbid

distributors to deny you these rights or to ask you to surrender these

rights. These restrictions translate to certain responsibilities for

you if you distribute copies of the library or if you modify it.

For example, if you distribute copies of the library, whether gratis

or for a fee, you must give the recipients all the rights that we gave

you. You must make sure that they, too, receive or can get the source

code. If you link other code with the library, you must provide

complete object files to the recipients, so that they can relink them

with the library after making changes to the library and recompiling

it. And you must show them these terms so they know their rights.

We protect your rights with a two-step method: (1) we copyright the

library, and (2) we offer you this license, which gives you legal

permission to copy, distribute and/or modify the library.

To protect each distributor, we want to make it very clear that

there is no warranty for the free library. Also, if the library is

Page 171: CKB Linux オプション 2 - COMPUTEX | 株式会社 …”使用になる前に このたびはCKB Linux オプション2.1 をお買い上げいただきありがとうございます。

CKB Linux オプション 2.1 導入ガイド 第 11 章 CKB Linux SDK に含まれるソフトウェア 167

modified by someone else and passed on, the recipients should know

that what they have is not the original version, so that the original

author's reputation will not be affected by problems that might be

introduced by others.

Finally, software patents pose a constant threat to the existence of

any free program. We wish to make sure that a company cannot

effectively restrict the users of a free program by obtaining a

restrictive license from a patent holder. Therefore, we insist that

any patent license obtained for a version of the library must be

consistent with the full freedom of use specified in this license.

Most GNU software, including some libraries, is covered by the

ordinary GNU General Public License. This license, the GNU Lesser

General Public License, applies to certain designated libraries, and

is quite different from the ordinary General Public License. We use

this license for certain libraries in order to permit linking those

libraries into non-free programs.

When a program is linked with a library, whether statically or using

a shared library, the combination of the two is legally speaking a

combined work, a derivative of the original library. The ordinary

General Public License therefore permits such linking only if the

entire combination fits its criteria of freedom. The Lesser General

Public License permits more lax criteria for linking other code with

the library.

We call this license the "Lesser" General Public License because it

does Less to protect the user's freedom than the ordinary General

Public License. It also provides other free software developers Less

of an advantage over competing non-free programs. These disadvantages

are the reason we use the ordinary General Public License for many

libraries. However, the Lesser license provides advantages in certain

special circumstances.

For example, on rare occasions, there may be a special need to

encourage the widest possible use of a certain library, so that it

becomes a de-facto standard. To achieve this, non-free programs must

be allowed to use the library. A more frequent case is that a free

library does the same job as widely used non-free libraries. In this

case, there is little to gain by limiting the free library to free

software only, so we use the Lesser General Public License.

In other cases, permission to use a particular library in non-free

programs enables a greater number of people to use a large body of

free software. For example, permission to use the GNU C Library in

non-free programs enables many more people to use the whole GNU

operating system, as well as its variant, the GNU/Linux operating

system.

Although the Lesser General Public License is Less protective of the

Page 172: CKB Linux オプション 2 - COMPUTEX | 株式会社 …”使用になる前に このたびはCKB Linux オプション2.1 をお買い上げいただきありがとうございます。

CKB Linux オプション 2.1 導入ガイド 第 11 章 CKB Linux SDK に含まれるソフトウェア 168

users' freedom, it does ensure that the user of a program that is

linked with the Library has the freedom and the wherewithal to run

that program using a modified version of the Library.

The precise terms and conditions for copying, distribution and

modification follow. Pay close attention to the difference between a

"work based on the library" and a "work that uses the library". The

former contains code derived from the library, whereas the latter must

be combined with the library in order to run.

GNU LESSER GENERAL PUBLIC LICENSE

TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION

0. This License Agreement applies to any software library or other

program which contains a notice placed by the copyright holder or

other authorized party saying it may be distributed under the terms of

this Lesser General Public License (also called "this License").

Each licensee is addressed as "you".

A "library" means a collection of software functions and/or data

prepared so as to be conveniently linked with application programs

(which use some of those functions and data) to form executables.

The "Library", below, refers to any such software library or work

which has been distributed under these terms. A "work based on the

Library" means either the Library or any derivative work under

copyright law: that is to say, a work containing the Library or a

portion of it, either verbatim or with modifications and/or translated

straightforwardly into another language. (Hereinafter, translation is

included without limitation in the term "modification".)

"Source code" for a work means the preferred form of the work for

making modifications to it. For a library, complete source code means

all the source code for all modules it contains, plus any associated

interface definition files, plus the scripts used to control

compilation and installation of the library.

Activities other than copying, distribution and modification are not

covered by this License; they are outside its scope. The act of

running a program using the Library is not restricted, and output from

such a program is covered only if its contents constitute a work based

on the Library (independent of the use of the Library in a tool for

writing it). Whether that is true depends on what the Library does

and what the program that uses the Library does.

1. You may copy and distribute verbatim copies of the Library's

complete source code as you receive it, in any medium, provided that

you conspicuously and appropriately publish on each copy an

appropriate copyright notice and disclaimer of warranty; keep intact

all the notices that refer to this License and to the absence of any

warranty; and distribute a copy of this License along with the

Page 173: CKB Linux オプション 2 - COMPUTEX | 株式会社 …”使用になる前に このたびはCKB Linux オプション2.1 をお買い上げいただきありがとうございます。

CKB Linux オプション 2.1 導入ガイド 第 11 章 CKB Linux SDK に含まれるソフトウェア 169

Library.

You may charge a fee for the physical act of transferring a copy,

and you may at your option offer warranty protection in exchange for a

fee.

2. You may modify your copy or copies of the Library or any portion

of it, thus forming a work based on the Library, and copy and

distribute such modifications or work under the terms of Section 1

above, provided that you also meet all of these conditions:

a) The modified work must itself be a software library.

b) You must cause the files modified to carry prominent notices

stating that you changed the files and the date of any change.

c) You must cause the whole of the work to be licensed at no

charge to all third parties under the terms of this License.

d) If a facility in the modified Library refers to a function or a

table of data to be supplied by an application program that uses

the facility, other than as an argument passed when the facility

is invoked, then you must make a good faith effort to ensure that,

in the event an application does not supply such function or

table, the facility still operates, and performs whatever part of

its purpose remains meaningful.

(For example, a function in a library to compute square roots has

a purpose that is entirely well-defined independent of the

application. Therefore, Subsection 2d requires that any

application-supplied function or table used by this function must

be optional: if the application does not supply it, the square

root function must still compute square roots.)

These requirements apply to the modified work as a whole. If

identifiable sections of that work are not derived from the Library,

and can be reasonably considered independent and separate works in

themselves, then this License, and its terms, do not apply to those

sections when you distribute them as separate works. But when you

distribute the same sections as part of a whole which is a work based

on the Library, the distribution of the whole must be on the terms of

this License, whose permissions for other licensees extend to the

entire whole, and thus to each and every part regardless of who wrote

it.

Thus, it is not the intent of this section to claim rights or contest

your rights to work written entirely by you; rather, the intent is to

exercise the right to control the distribution of derivative or

collective works based on the Library.

In addition, mere aggregation of another work not based on the Library

Page 174: CKB Linux オプション 2 - COMPUTEX | 株式会社 …”使用になる前に このたびはCKB Linux オプション2.1 をお買い上げいただきありがとうございます。

CKB Linux オプション 2.1 導入ガイド 第 11 章 CKB Linux SDK に含まれるソフトウェア 170

with the Library (or with a work based on the Library) on a volume of

a storage or distribution medium does not bring the other work under

the scope of this License.

3. You may opt to apply the terms of the ordinary GNU General Public

License instead of this License to a given copy of the Library. To do

this, you must alter all the notices that refer to this License, so

that they refer to the ordinary GNU General Public License, version 2,

instead of to this License. (If a newer version than version 2 of the

ordinary GNU General Public License has appeared, then you can specify

that version instead if you wish.) Do not make any other change in

these notices.

Once this change is made in a given copy, it is irreversible for

that copy, so the ordinary GNU General Public License applies to all

subsequent copies and derivative works made from that copy.

This option is useful when you wish to copy part of the code of

the Library into a program that is not a library.

4. You may copy and distribute the Library (or a portion or

derivative of it, under Section 2) in object code or executable form

under the terms of Sections 1 and 2 above provided that you accompany

it with the complete corresponding machine-readable source code, which

must be distributed under the terms of Sections 1 and 2 above on a

medium customarily used for software interchange.

If distribution of object code is made by offering access to copy

from a designated place, then offering equivalent access to copy the

source code from the same place satisfies the requirement to

distribute the source code, even though third parties are not

compelled to copy the source along with the object code.

5. A program that contains no derivative of any portion of the

Library, but is designed to work with the Library by being compiled or

linked with it, is called a "work that uses the Library". Such a

work, in isolation, is not a derivative work of the Library, and

therefore falls outside the scope of this License.

However, linking a "work that uses the Library" with the Library

creates an executable that is a derivative of the Library (because it

contains portions of the Library), rather than a "work that uses the

library". The executable is therefore covered by this License.

Section 6 states terms for distribution of such executables.

When a "work that uses the Library" uses material from a header file

that is part of the Library, the object code for the work may be a

derivative work of the Library even though the source code is not.

Whether this is true is especially significant if the work can be

linked without the Library, or if the work is itself a library. The

threshold for this to be true is not precisely defined by law.

Page 175: CKB Linux オプション 2 - COMPUTEX | 株式会社 …”使用になる前に このたびはCKB Linux オプション2.1 をお買い上げいただきありがとうございます。

CKB Linux オプション 2.1 導入ガイド 第 11 章 CKB Linux SDK に含まれるソフトウェア 171

If such an object file uses only numerical parameters, data

structure layouts and accessors, and small macros and small inline

functions (ten lines or less in length), then the use of the object

file is unrestricted, regardless of whether it is legally a derivative

work. (Executables containing this object code plus portions of the

Library will still fall under Section 6.)

Otherwise, if the work is a derivative of the Library, you may

distribute the object code for the work under the terms of Section 6.

Any executables containing that work also fall under Section 6,

whether or not they are linked directly with the Library itself.

6. As an exception to the Sections above, you may also combine or

link a "work that uses the Library" with the Library to produce a

work containing portions of the Library, and distribute that work

under terms of your choice, provided that the terms permit

modification of the work for the customer's own use and reverse

engineering for debugging such modifications.

You must give prominent notice with each copy of the work that the

Library is used in it and that the Library and its use are covered by

this License. You must supply a copy of this License. If the work

during execution displays copyright notices, you must include the

copyright notice for the Library among them, as well as a reference

directing the user to the copy of this License. Also, you must do one

of these things:

a) Accompany the work with the complete corresponding

machine-readable source code for the Library including whatever

changes were used in the work (which must be distributed under

Sections 1 and 2 above); and, if the work is an executable linked

with the Library, with the complete machine-readable "work that

uses the Library", as object code and/or source code, so that the

user can modify the Library and then relink to produce a modified

executable containing the modified Library. (It is understood

that the user who changes the contents of definitions files in the

Library will not necessarily be able to recompile the application

to use the modified definitions.)

b) Use a suitable shared library mechanism for linking with the

Library. A suitable mechanism is one that (1) uses at run time a

copy of the library already present on the user's computer system,

rather than copying library functions into the executable, and (2)

will operate properly with a modified version of the library, if

the user installs one, as long as the modified version is

interface-compatible with the version that the work was made with.

c) Accompany the work with a written offer, valid for at least

three years, to give the same user the materials specified in

Subsection 6a, above, for a charge no more than the cost of

Page 176: CKB Linux オプション 2 - COMPUTEX | 株式会社 …”使用になる前に このたびはCKB Linux オプション2.1 をお買い上げいただきありがとうございます。

CKB Linux オプション 2.1 導入ガイド 第 11 章 CKB Linux SDK に含まれるソフトウェア 172

performing this distribution.

d) If distribution of the work is made by offering access to copy

from a designated place, offer equivalent access to copy the above

specified materials from the same place.

e) Verify that the user has already received a copy of these

materials or that you have already sent this user a copy.

For an executable, the required form of the "work that uses the

Library" must include any data and utility programs needed for

reproducing the executable from it. However, as a special exception,

the materials to be distributed need not include anything that is

normally distributed (in either source or binary form) with the major

components (compiler, kernel, and so on) of the operating system on

which the executable runs, unless that component itself accompanies

the executable.

It may happen that this requirement contradicts the license

restrictions of other proprietary libraries that do not normally

accompany the operating system. Such a contradiction means you cannot

use both them and the Library together in an executable that you

distribute.

7. You may place library facilities that are a work based on the

Library side-by-side in a single library together with other library

facilities not covered by this License, and distribute such a combined

library, provided that the separate distribution of the work based on

the Library and of the other library facilities is otherwise

permitted, and provided that you do these two things:

a) Accompany the combined library with a copy of the same work

based on the Library, uncombined with any other library

facilities. This must be distributed under the terms of the

Sections above.

b) Give prominent notice with the combined library of the fact

that part of it is a work based on the Library, and explaining

where to find the accompanying uncombined form of the same work.

8. You may not copy, modify, sublicense, link with, or distribute

the Library except as expressly provided under this License. Any

attempt otherwise to copy, modify, sublicense, link with, or

distribute the Library is void, and will automatically terminate your

rights under this License. However, parties who have received copies,

or rights, from you under this License will not have their licenses

terminated so long as such parties remain in full compliance.

9. You are not required to accept this License, since you have not

signed it. However, nothing else grants you permission to modify or

distribute the Library or its derivative works. These actions are

Page 177: CKB Linux オプション 2 - COMPUTEX | 株式会社 …”使用になる前に このたびはCKB Linux オプション2.1 をお買い上げいただきありがとうございます。

CKB Linux オプション 2.1 導入ガイド 第 11 章 CKB Linux SDK に含まれるソフトウェア 173

prohibited by law if you do not accept this License. Therefore, by

modifying or distributing the Library (or any work based on the

Library), you indicate your acceptance of this License to do so, and

all its terms and conditions for copying, distributing or modifying

the Library or works based on it.

10. Each time you redistribute the Library (or any work based on the

Library), the recipient automatically receives a license from the

original licensor to copy, distribute, link with or modify the Library

subject to these terms and conditions. You may not impose any further

restrictions on the recipients' exercise of the rights granted herein.

You are not responsible for enforcing compliance by third parties with

this License.

11. If, as a consequence of a court judgment or allegation of patent

infringement or for any other reason (not limited to patent issues),

conditions are imposed on you (whether by court order, agreement or

otherwise) that contradict the conditions of this License, they do not

excuse you from the conditions of this License. If you cannot

distribute so as to satisfy simultaneously your obligations under this

License and any other pertinent obligations, then as a consequence you

may not distribute the Library at all. For example, if a patent

license would not permit royalty-free redistribution of the Library by

all those who receive copies directly or indirectly through you, then

the only way you could satisfy both it and this License would be to

refrain entirely from distribution of the Library.

If any portion of this section is held invalid or unenforceable under

any particular circumstance, the balance of the section is intended to

apply, and the section as a whole is intended to apply in other

circumstances.

It is not the purpose of this section to induce you to infringe any

patents or other property right claims or to contest validity of any

such claims; this section has the sole purpose of protecting the

integrity of the free software distribution system which is

implemented by public license practices. Many people have made

generous contributions to the wide range of software distributed

through that system in reliance on consistent application of that

system; it is up to the author/donor to decide if he or she is willing

to distribute software through any other system and a licensee cannot

impose that choice.

This section is intended to make thoroughly clear what is believed to

be a consequence of the rest of this License.

12. If the distribution and/or use of the Library is restricted in

certain countries either by patents or by copyrighted interfaces, the

original copyright holder who places the Library under this License

may add an explicit geographical distribution limitation excluding those

countries, so that distribution is permitted only in or among

Page 178: CKB Linux オプション 2 - COMPUTEX | 株式会社 …”使用になる前に このたびはCKB Linux オプション2.1 をお買い上げいただきありがとうございます。

CKB Linux オプション 2.1 導入ガイド 第 11 章 CKB Linux SDK に含まれるソフトウェア 174

countries not thus excluded. In such case, this License incorporates

the limitation as if written in the body of this License.

13. The Free Software Foundation may publish revised and/or new

versions of the Lesser General Public License from time to time.

Such new versions will be similar in spirit to the present version,

but may differ in detail to address new problems or concerns.

Each version is given a distinguishing version number. If the Library

specifies a version number of this License which applies to it and

"any later version", you have the option of following the terms and

conditions either of that version or of any later version published by

the Free Software Foundation. If the Library does not specify a

license version number, you may choose any version ever published by

the Free Software Foundation.

14. If you wish to incorporate parts of the Library into other free

programs whose distribution conditions are incompatible with these,

write to the author to ask for permission. For software which is

copyrighted by the Free Software Foundation, write to the Free

Software Foundation; we sometimes make exceptions for this. Our

decision will be guided by the two goals of preserving the free status

of all derivatives of our free software and of promoting the sharing

and reuse of software generally.

NO WARRANTY

15. BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO

WARRANTY FOR THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW.

EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR

OTHER PARTIES PROVIDE THE LIBRARY "AS IS" WITHOUT WARRANTY OF ANY

KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE

IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR

PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE

LIBRARY IS WITH YOU. SHOULD THE LIBRARY PROVE DEFECTIVE, YOU ASSUME

THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION.

16. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN

WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY

AND/OR REDISTRIBUTE THE LIBRARY AS PERMITTED ABOVE, BE LIABLE TO YOU

FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR

CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE

LIBRARY (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING

RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A

FAILURE OF THE LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF

SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH

DAMAGES.

END OF TERMS AND CONDITIONS

How to Apply These Terms to Your New Libraries

Page 179: CKB Linux オプション 2 - COMPUTEX | 株式会社 …”使用になる前に このたびはCKB Linux オプション2.1 をお買い上げいただきありがとうございます。

CKB Linux オプション 2.1 導入ガイド 第 11 章 CKB Linux SDK に含まれるソフトウェア 175

If you develop a new library, and you want it to be of the greatest

possible use to the public, we recommend making it free software that

everyone can redistribute and change. You can do so by permitting

redistribution under these terms (or, alternatively, under the terms

of the ordinary General Public License).

To apply these terms, attach the following notices to the library.

It is safest to attach them to the start of each source file to most

effectively convey the exclusion of warranty; and each file should

have at least the "copyright" line and a pointer to where the full

notice is found.

<one line to give the library's name and a brief idea of what it does.>

Copyright (C) <year> <name of author>

This library is free software; you can redistribute it and/or

modify it under the terms of the GNU Lesser General Public

License as published by the Free Software Foundation; either

version 2.1 of the License, or (at your option) any later version.

This library is distributed in the hope that it will be useful,

but WITHOUT ANY WARRANTY; without even the implied warranty of

MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU

Lesser General Public License for more details.

You should have received a copy of the GNU Lesser General Public

License along with this library; if not, write to the Free Software

Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA

Also add information on how to contact you by electronic and paper mail.

You should also get your employer (if you work as a programmer) or

your school, if any, to sign a "copyright disclaimer" for the library,

if necessary. Here is a sample; alter the names:

Yoyodyne, Inc., hereby disclaims all copyright interest in the

library `Frob' (a library for tweaking knobs) written by James

Random Hacker.

<signature of Ty Coon>, 1 April 1990

Ty Coon, President of Vice

That's all there is to it!

::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::

libmnl: COPYING file

::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::

Page 180: CKB Linux オプション 2 - COMPUTEX | 株式会社 …”使用になる前に このたびはCKB Linux オプション2.1 をお買い上げいただきありがとうございます。

CKB Linux オプション 2.1 導入ガイド 第 11 章 CKB Linux SDK に含まれるソフトウェア 176

GNU LESSER GENERAL PUBLIC LICENSE

Version 2.1, February 1999

Copyright (C) 1991, 1999 Free Software Foundation, Inc.

51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA

Everyone is permitted to copy and distribute verbatim copies

of this license document, but changing it is not allowed.

[This is the first released version of the Lesser GPL. It also counts

as the successor of the GNU Library Public License, version 2, hence

the version number 2.1.]

Preamble

The licenses for most software are designed to take away your

freedom to share and change it. By contrast, the GNU General Public

Licenses are intended to guarantee your freedom to share and change

free software--to make sure the software is free for all its users.

This license, the Lesser General Public License, applies to some

specially designated software packages--typically libraries--of the

Free Software Foundation and other authors who decide to use it. You

can use it too, but we suggest you first think carefully about whether

this license or the ordinary General Public License is the better

strategy to use in any particular case, based on the explanations below.

When we speak of free software, we are referring to freedom of use,

not price. Our General Public Licenses are designed to make sure that

you have the freedom to distribute copies of free software (and charge

for this service if you wish); that you receive source code or can get

it if you want it; that you can change the software and use pieces of

it in new free programs; and that you are informed that you can do

these things.

To protect your rights, we need to make restrictions that forbid

distributors to deny you these rights or to ask you to surrender these

rights. These restrictions translate to certain responsibilities for

you if you distribute copies of the library or if you modify it.

For example, if you distribute copies of the library, whether gratis

or for a fee, you must give the recipients all the rights that we gave

you. You must make sure that they, too, receive or can get the source

code. If you link other code with the library, you must provide

complete object files to the recipients, so that they can relink them

with the library after making changes to the library and recompiling

it. And you must show them these terms so they know their rights.

We protect your rights with a two-step method: (1) we copyright the

library, and (2) we offer you this license, which gives you legal

Page 181: CKB Linux オプション 2 - COMPUTEX | 株式会社 …”使用になる前に このたびはCKB Linux オプション2.1 をお買い上げいただきありがとうございます。

CKB Linux オプション 2.1 導入ガイド 第 11 章 CKB Linux SDK に含まれるソフトウェア 177

permission to copy, distribute and/or modify the library.

To protect each distributor, we want to make it very clear that

there is no warranty for the free library. Also, if the library is

modified by someone else and passed on, the recipients should know

that what they have is not the original version, so that the original

author's reputation will not be affected by problems that might be

introduced by others.

Finally, software patents pose a constant threat to the existence of

any free program. We wish to make sure that a company cannot

effectively restrict the users of a free program by obtaining a

restrictive license from a patent holder. Therefore, we insist that

any patent license obtained for a version of the library must be

consistent with the full freedom of use specified in this license.

Most GNU software, including some libraries, is covered by the

ordinary GNU General Public License. This license, the GNU Lesser

General Public License, applies to certain designated libraries, and

is quite different from the ordinary General Public License. We use

this license for certain libraries in order to permit linking those

libraries into non-free programs.

When a program is linked with a library, whether statically or using

a shared library, the combination of the two is legally speaking a

combined work, a derivative of the original library. The ordinary

General Public License therefore permits such linking only if the

entire combination fits its criteria of freedom. The Lesser General

Public License permits more lax criteria for linking other code with

the library.

We call this license the "Lesser" General Public License because it

does Less to protect the user's freedom than the ordinary General

Public License. It also provides other free software developers Less

of an advantage over competing non-free programs. These disadvantages

are the reason we use the ordinary General Public License for many

libraries. However, the Lesser license provides advantages in certain

special circumstances.

For example, on rare occasions, there may be a special need to

encourage the widest possible use of a certain library, so that it becomes

a de-facto standard. To achieve this, non-free programs must be

allowed to use the library. A more frequent case is that a free

library does the same job as widely used non-free libraries. In this

case, there is little to gain by limiting the free library to free

software only, so we use the Lesser General Public License.

In other cases, permission to use a particular library in non-free

programs enables a greater number of people to use a large body of

free software. For example, permission to use the GNU C Library in

non-free programs enables many more people to use the whole GNU

Page 182: CKB Linux オプション 2 - COMPUTEX | 株式会社 …”使用になる前に このたびはCKB Linux オプション2.1 をお買い上げいただきありがとうございます。

CKB Linux オプション 2.1 導入ガイド 第 11 章 CKB Linux SDK に含まれるソフトウェア 178

operating system, as well as its variant, the GNU/Linux operating

system.

Although the Lesser General Public License is Less protective of the

users' freedom, it does ensure that the user of a program that is

linked with the Library has the freedom and the wherewithal to run

that program using a modified version of the Library.

The precise terms and conditions for copying, distribution and

modification follow. Pay close attention to the difference between a

"work based on the library" and a "work that uses the library". The

former contains code derived from the library, whereas the latter must

be combined with the library in order to run.

GNU LESSER GENERAL PUBLIC LICENSE

TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION

0. This License Agreement applies to any software library or other

program which contains a notice placed by the copyright holder or

other authorized party saying it may be distributed under the terms of

this Lesser General Public License (also called "this License").

Each licensee is addressed as "you".

A "library" means a collection of software functions and/or data

prepared so as to be conveniently linked with application programs

(which use some of those functions and data) to form executables.

The "Library", below, refers to any such software library or work

which has been distributed under these terms. A "work based on the

Library" means either the Library or any derivative work under

copyright law: that is to say, a work containing the Library or a

portion of it, either verbatim or with modifications and/or translated

straightforwardly into another language. (Hereinafter, translation is

included without limitation in the term "modification".)

"Source code" for a work means the preferred form of the work for

making modifications to it. For a library, complete source code means

all the source code for all modules it contains, plus any associated

interface definition files, plus the scripts used to control compilation

and installation of the library.

Activities other than copying, distribution and modification are not

covered by this License; they are outside its scope. The act of

running a program using the Library is not restricted, and output from

such a program is covered only if its contents constitute a work based

on the Library (independent of the use of the Library in a tool for

writing it). Whether that is true depends on what the Library does

and what the program that uses the Library does.

1. You may copy and distribute verbatim copies of the Library's

complete source code as you receive it, in any medium, provided that

Page 183: CKB Linux オプション 2 - COMPUTEX | 株式会社 …”使用になる前に このたびはCKB Linux オプション2.1 をお買い上げいただきありがとうございます。

CKB Linux オプション 2.1 導入ガイド 第 11 章 CKB Linux SDK に含まれるソフトウェア 179

you conspicuously and appropriately publish on each copy an

appropriate copyright notice and disclaimer of warranty; keep intact

all the notices that refer to this License and to the absence of any

warranty; and distribute a copy of this License along with the

Library.

You may charge a fee for the physical act of transferring a copy,

and you may at your option offer warranty protection in exchange for a

fee.

2. You may modify your copy or copies of the Library or any portion

of it, thus forming a work based on the Library, and copy and

distribute such modifications or work under the terms of Section 1

above, provided that you also meet all of these conditions:

a) The modified work must itself be a software library.

b) You must cause the files modified to carry prominent notices

stating that you changed the files and the date of any change.

c) You must cause the whole of the work to be licensed at no

charge to all third parties under the terms of this License.

d) If a facility in the modified Library refers to a function or a

table of data to be supplied by an application program that uses

the facility, other than as an argument passed when the facility

is invoked, then you must make a good faith effort to ensure that,

in the event an application does not supply such function or

table, the facility still operates, and performs whatever part of

its purpose remains meaningful.

(For example, a function in a library to compute square roots has

a purpose that is entirely well-defined independent of the

application. Therefore, Subsection 2d requires that any

application-supplied function or table used by this function must

be optional: if the application does not supply it, the square

root function must still compute square roots.)

These requirements apply to the modified work as a whole. If

identifiable sections of that work are not derived from the Library,

and can be reasonably considered independent and separate works in

themselves, then this License, and its terms, do not apply to those

sections when you distribute them as separate works. But when you

distribute the same sections as part of a whole which is a work based

on the Library, the distribution of the whole must be on the terms of

this License, whose permissions for other licensees extend to the

entire whole, and thus to each and every part regardless of who wrote

it.

Thus, it is not the intent of this section to claim rights or contest

your rights to work written entirely by you; rather, the intent is to

Page 184: CKB Linux オプション 2 - COMPUTEX | 株式会社 …”使用になる前に このたびはCKB Linux オプション2.1 をお買い上げいただきありがとうございます。

CKB Linux オプション 2.1 導入ガイド 第 11 章 CKB Linux SDK に含まれるソフトウェア 180

exercise the right to control the distribution of derivative or

collective works based on the Library.

In addition, mere aggregation of another work not based on the Library

with the Library (or with a work based on the Library) on a volume of

a storage or distribution medium does not bring the other work under

the scope of this License.

3. You may opt to apply the terms of the ordinary GNU General Public

License instead of this License to a given copy of the Library. To do

this, you must alter all the notices that refer to this License, so

that they refer to the ordinary GNU General Public License, version 2,

instead of to this License. (If a newer version than version 2 of the

ordinary GNU General Public License has appeared, then you can specify

that version instead if you wish.) Do not make any other change in

these notices.

Once this change is made in a given copy, it is irreversible for

that copy, so the ordinary GNU General Public License applies to all

subsequent copies and derivative works made from that copy.

This option is useful when you wish to copy part of the code of

the Library into a program that is not a library.

4. You may copy and distribute the Library (or a portion or

derivative of it, under Section 2) in object code or executable form

under the terms of Sections 1 and 2 above provided that you accompany

it with the complete corresponding machine-readable source code, which

must be distributed under the terms of Sections 1 and 2 above on a

medium customarily used for software interchange.

If distribution of object code is made by offering access to copy

from a designated place, then offering equivalent access to copy the

source code from the same place satisfies the requirement to

distribute the source code, even though third parties are not

compelled to copy the source along with the object code.

5. A program that contains no derivative of any portion of the

Library, but is designed to work with the Library by being compiled or

linked with it, is called a "work that uses the Library". Such a

work, in isolation, is not a derivative work of the Library, and

therefore falls outside the scope of this License.

However, linking a "work that uses the Library" with the Library

creates an executable that is a derivative of the Library (because it

contains portions of the Library), rather than a "work that uses the

library". The executable is therefore covered by this License.

Section 6 states terms for distribution of such executables.

When a "work that uses the Library" uses material from a header file

that is part of the Library, the object code for the work may be a

Page 185: CKB Linux オプション 2 - COMPUTEX | 株式会社 …”使用になる前に このたびはCKB Linux オプション2.1 をお買い上げいただきありがとうございます。

CKB Linux オプション 2.1 導入ガイド 第 11 章 CKB Linux SDK に含まれるソフトウェア 181

derivative work of the Library even though the source code is not.

Whether this is true is especially significant if the work can be

linked without the Library, or if the work is itself a library. The

threshold for this to be true is not precisely defined by law.

If such an object file uses only numerical parameters, data

structure layouts and accessors, and small macros and small inline

functions (ten lines or less in length), then the use of the object

file is unrestricted, regardless of whether it is legally a derivative

work. (Executables containing this object code plus portions of the

Library will still fall under Section 6.)

Otherwise, if the work is a derivative of the Library, you may

distribute the object code for the work under the terms of Section 6.

Any executables containing that work also fall under Section 6,

whether or not they are linked directly with the Library itself.

6. As an exception to the Sections above, you may also combine or

link a "work that uses the Library" with the Library to produce a

work containing portions of the Library, and distribute that work

under terms of your choice, provided that the terms permit

modification of the work for the customer's own use and reverse

engineering for debugging such modifications.

You must give prominent notice with each copy of the work that the

Library is used in it and that the Library and its use are covered by

this License. You must supply a copy of this License. If the work

during execution displays copyright notices, you must include the

copyright notice for the Library among them, as well as a reference

directing the user to the copy of this License. Also, you must do one

of these things:

a) Accompany the work with the complete corresponding

machine-readable source code for the Library including whatever

changes were used in the work (which must be distributed under

Sections 1 and 2 above); and, if the work is an executable linked

with the Library, with the complete machine-readable "work that

uses the Library", as object code and/or source code, so that the

user can modify the Library and then relink to produce a modified

executable containing the modified Library. (It is understood

that the user who changes the contents of definitions files in the

Library will not necessarily be able to recompile the application

to use the modified definitions.)

b) Use a suitable shared library mechanism for linking with the

Library. A suitable mechanism is one that (1) uses at run time a

copy of the library already present on the user's computer system,

rather than copying library functions into the executable, and (2)

will operate properly with a modified version of the library, if

the user installs one, as long as the modified version is

interface-compatible with the version that the work was made with.

Page 186: CKB Linux オプション 2 - COMPUTEX | 株式会社 …”使用になる前に このたびはCKB Linux オプション2.1 をお買い上げいただきありがとうございます。

CKB Linux オプション 2.1 導入ガイド 第 11 章 CKB Linux SDK に含まれるソフトウェア 182

c) Accompany the work with a written offer, valid for at

least three years, to give the same user the materials

specified in Subsection 6a, above, for a charge no more

than the cost of performing this distribution.

d) If distribution of the work is made by offering access to copy

from a designated place, offer equivalent access to copy the above

specified materials from the same place.

e) Verify that the user has already received a copy of these

materials or that you have already sent this user a copy.

For an executable, the required form of the "work that uses the

Library" must include any data and utility programs needed for

reproducing the executable from it. However, as a special exception,

the materials to be distributed need not include anything that is

normally distributed (in either source or binary form) with the major

components (compiler, kernel, and so on) of the operating system on

which the executable runs, unless that component itself accompanies

the executable.

It may happen that this requirement contradicts the license

restrictions of other proprietary libraries that do not normally

accompany the operating system. Such a contradiction means you cannot

use both them and the Library together in an executable that you

distribute.

7. You may place library facilities that are a work based on the

Library side-by-side in a single library together with other library

facilities not covered by this License, and distribute such a combined

library, provided that the separate distribution of the work based on

the Library and of the other library facilities is otherwise

permitted, and provided that you do these two things:

a) Accompany the combined library with a copy of the same work

based on the Library, uncombined with any other library

facilities. This must be distributed under the terms of the

Sections above.

b) Give prominent notice with the combined library of the fact

that part of it is a work based on the Library, and explaining

where to find the accompanying uncombined form of the same work.

8. You may not copy, modify, sublicense, link with, or distribute

the Library except as expressly provided under this License. Any

attempt otherwise to copy, modify, sublicense, link with, or

distribute the Library is void, and will automatically terminate your

rights under this License. However, parties who have received copies,

or rights, from you under this License will not have their licenses

terminated so long as such parties remain in full compliance.

Page 187: CKB Linux オプション 2 - COMPUTEX | 株式会社 …”使用になる前に このたびはCKB Linux オプション2.1 をお買い上げいただきありがとうございます。

CKB Linux オプション 2.1 導入ガイド 第 11 章 CKB Linux SDK に含まれるソフトウェア 183

9. You are not required to accept this License, since you have not

signed it. However, nothing else grants you permission to modify or

distribute the Library or its derivative works. These actions are

prohibited by law if you do not accept this License. Therefore, by

modifying or distributing the Library (or any work based on the

Library), you indicate your acceptance of this License to do so, and

all its terms and conditions for copying, distributing or modifying

the Library or works based on it.

10. Each time you redistribute the Library (or any work based on the

Library), the recipient automatically receives a license from the

original licensor to copy, distribute, link with or modify the Library

subject to these terms and conditions. You may not impose any further

restrictions on the recipients' exercise of the rights granted herein.

You are not responsible for enforcing compliance by third parties with

this License.

11. If, as a consequence of a court judgment or allegation of patent

infringement or for any other reason (not limited to patent issues),

conditions are imposed on you (whether by court order, agreement or

otherwise) that contradict the conditions of this License, they do not

excuse you from the conditions of this License. If you cannot

distribute so as to satisfy simultaneously your obligations under this

License and any other pertinent obligations, then as a consequence you

may not distribute the Library at all. For example, if a patent

license would not permit royalty-free redistribution of the Library by

all those who receive copies directly or indirectly through you, then

the only way you could satisfy both it and this License would be to

refrain entirely from distribution of the Library.

If any portion of this section is held invalid or unenforceable under any

particular circumstance, the balance of the section is intended to apply,

and the section as a whole is intended to apply in other circumstances.

It is not the purpose of this section to induce you to infringe any

patents or other property right claims or to contest validity of any

such claims; this section has the sole purpose of protecting the

integrity of the free software distribution system which is

implemented by public license practices. Many people have made

generous contributions to the wide range of software distributed

through that system in reliance on consistent application of that

system; it is up to the author/donor to decide if he or she is willing

to distribute software through any other system and a licensee cannot

impose that choice.

This section is intended to make thoroughly clear what is believed to

be a consequence of the rest of this License.

12. If the distribution and/or use of the Library is restricted in

certain countries either by patents or by copyrighted interfaces, the

Page 188: CKB Linux オプション 2 - COMPUTEX | 株式会社 …”使用になる前に このたびはCKB Linux オプション2.1 をお買い上げいただきありがとうございます。

CKB Linux オプション 2.1 導入ガイド 第 11 章 CKB Linux SDK に含まれるソフトウェア 184

original copyright holder who places the Library under this License may add

an explicit geographical distribution limitation excluding those countries,

so that distribution is permitted only in or among countries not thus

excluded. In such case, this License incorporates the limitation as if

written in the body of this License.

13. The Free Software Foundation may publish revised and/or new

versions of the Lesser General Public License from time to time.

Such new versions will be similar in spirit to the present version,

but may differ in detail to address new problems or concerns.

Each version is given a distinguishing version number. If the Library

specifies a version number of this License which applies to it and

"any later version", you have the option of following the terms and

conditions either of that version or of any later version published by

the Free Software Foundation. If the Library does not specify a

license version number, you may choose any version ever published by

the Free Software Foundation.

14. If you wish to incorporate parts of the Library into other free

programs whose distribution conditions are incompatible with these,

write to the author to ask for permission. For software which is

copyrighted by the Free Software Foundation, write to the Free

Software Foundation; we sometimes make exceptions for this. Our

decision will be guided by the two goals of preserving the free status

of all derivatives of our free software and of promoting the sharing

and reuse of software generally.

NO WARRANTY

15. BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO

WARRANTY FOR THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW.

EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR

OTHER PARTIES PROVIDE THE LIBRARY "AS IS" WITHOUT WARRANTY OF ANY

KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE

IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR

PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE

LIBRARY IS WITH YOU. SHOULD THE LIBRARY PROVE DEFECTIVE, YOU ASSUME

THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION.

16. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN

WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY

AND/OR REDISTRIBUTE THE LIBRARY AS PERMITTED ABOVE, BE LIABLE TO YOU

FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR

CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE

LIBRARY (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING

RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A

FAILURE OF THE LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF

SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH

DAMAGES.

Page 189: CKB Linux オプション 2 - COMPUTEX | 株式会社 …”使用になる前に このたびはCKB Linux オプション2.1 をお買い上げいただきありがとうございます。

CKB Linux オプション 2.1 導入ガイド 第 11 章 CKB Linux SDK に含まれるソフトウェア 185

END OF TERMS AND CONDITIONS

How to Apply These Terms to Your New Libraries

If you develop a new library, and you want it to be of the greatest

possible use to the public, we recommend making it free software that

everyone can redistribute and change. You can do so by permitting

redistribution under these terms (or, alternatively, under the terms of the

ordinary General Public License).

To apply these terms, attach the following notices to the library. It is

safest to attach them to the start of each source file to most effectively

convey the exclusion of warranty; and each file should have at least the

"copyright" line and a pointer to where the full notice is found.

<one line to give the library's name and a brief idea of what it does.>

Copyright (C) <year> <name of author>

This library is free software; you can redistribute it and/or

modify it under the terms of the GNU Lesser General Public

License as published by the Free Software Foundation; either

version 2.1 of the License, or (at your option) any later version.

This library is distributed in the hope that it will be useful,

but WITHOUT ANY WARRANTY; without even the implied warranty of

MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU

Lesser General Public License for more details.

You should have received a copy of the GNU Lesser General Public

License along with this library; if not, write to the Free Software

Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA

Also add information on how to contact you by electronic and paper mail.

You should also get your employer (if you work as a programmer) or your

school, if any, to sign a "copyright disclaimer" for the library, if

necessary. Here is a sample; alter the names:

Yoyodyne, Inc., hereby disclaims all copyright interest in the

library `Frob' (a library for tweaking knobs) written by James Random Hacker.

<signature of Ty Coon>, 1 April 1990

Ty Coon, President of Vice

That's all there is to it!

::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::

libnl: COPYING file

::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::

Page 190: CKB Linux オプション 2 - COMPUTEX | 株式会社 …”使用になる前に このたびはCKB Linux オプション2.1 をお買い上げいただきありがとうございます。

CKB Linux オプション 2.1 導入ガイド 第 11 章 CKB Linux SDK に含まれるソフトウェア 186

GNU LESSER GENERAL PUBLIC LICENSE

Version 2.1, February 1999

Copyright (C) 1991, 1999 Free Software Foundation, Inc.

51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA

Everyone is permitted to copy and distribute verbatim copies

of this license document, but changing it is not allowed.

[This is the first released version of the Lesser GPL. It also counts

as the successor of the GNU Library Public License, version 2, hence

the version number 2.1.]

Preamble

The licenses for most software are designed to take away your

freedom to share and change it. By contrast, the GNU General Public

Licenses are intended to guarantee your freedom to share and change

free software--to make sure the software is free for all its users.

This license, the Lesser General Public License, applies to some

specially designated software packages--typically libraries--of the

Free Software Foundation and other authors who decide to use it. You

can use it too, but we suggest you first think carefully about whether

this license or the ordinary General Public License is the better

strategy to use in any particular case, based on the explanations below.

When we speak of free software, we are referring to freedom of use,

not price. Our General Public Licenses are designed to make sure that

you have the freedom to distribute copies of free software (and charge

for this service if you wish); that you receive source code or can get

it if you want it; that you can change the software and use pieces of

it in new free programs; and that you are informed that you can do

these things.

To protect your rights, we need to make restrictions that forbid

distributors to deny you these rights or to ask you to surrender these

rights. These restrictions translate to certain responsibilities for

you if you distribute copies of the library or if you modify it.

For example, if you distribute copies of the library, whether gratis

or for a fee, you must give the recipients all the rights that we gave

you. You must make sure that they, too, receive or can get the source

code. If you link other code with the library, you must provide

complete object files to the recipients, so that they can relink them

with the library after making changes to the library and recompiling

it. And you must show them these terms so they know their rights.

We protect your rights with a two-step method: (1) we copyright the

library, and (2) we offer you this license, which gives you legal

permission to copy, distribute and/or modify the library.

Page 191: CKB Linux オプション 2 - COMPUTEX | 株式会社 …”使用になる前に このたびはCKB Linux オプション2.1 をお買い上げいただきありがとうございます。

CKB Linux オプション 2.1 導入ガイド 第 11 章 CKB Linux SDK に含まれるソフトウェア 187

To protect each distributor, we want to make it very clear that

there is no warranty for the free library. Also, if the library is

modified by someone else and passed on, the recipients should know

that what they have is not the original version, so that the original

author's reputation will not be affected by problems that might be

introduced by others.

Finally, software patents pose a constant threat to the existence of

any free program. We wish to make sure that a company cannot

effectively restrict the users of a free program by obtaining a

restrictive license from a patent holder. Therefore, we insist that

any patent license obtained for a version of the library must be

consistent with the full freedom of use specified in this license.

Most GNU software, including some libraries, is covered by the

ordinary GNU General Public License. This license, the GNU Lesser

General Public License, applies to certain designated libraries, and

is quite different from the ordinary General Public License. We use

this license for certain libraries in order to permit linking those

libraries into non-free programs.

When a program is linked with a library, whether statically or using

a shared library, the combination of the two is legally speaking a

combined work, a derivative of the original library. The ordinary

General Public License therefore permits such linking only if the

entire combination fits its criteria of freedom. The Lesser General

Public License permits more lax criteria for linking other code with

the library.

We call this license the "Lesser" General Public License because it

does Less to protect the user's freedom than the ordinary General

Public License. It also provides other free software developers Less

of an advantage over competing non-free programs. These disadvantages

are the reason we use the ordinary General Public License for many

libraries. However, the Lesser license provides advantages in certain

special circumstances.

For example, on rare occasions, there may be a special need to

encourage the widest possible use of a certain library, so that it becomes

a de-facto standard. To achieve this, non-free programs must be

allowed to use the library. A more frequent case is that a free

library does the same job as widely used non-free libraries. In this

case, there is little to gain by limiting the free library to free

software only, so we use the Lesser General Public License.

In other cases, permission to use a particular library in non-free

programs enables a greater number of people to use a large body of

free software. For example, permission to use the GNU C Library in

non-free programs enables many more people to use the whole GNU

operating system, as well as its variant, the GNU/Linux operating

system.

Page 192: CKB Linux オプション 2 - COMPUTEX | 株式会社 …”使用になる前に このたびはCKB Linux オプション2.1 をお買い上げいただきありがとうございます。

CKB Linux オプション 2.1 導入ガイド 第 11 章 CKB Linux SDK に含まれるソフトウェア 188

Although the Lesser General Public License is Less protective of the

users' freedom, it does ensure that the user of a program that is

linked with the Library has the freedom and the wherewithal to run

that program using a modified version of the Library.

The precise terms and conditions for copying, distribution and

modification follow. Pay close attention to the difference between a

"work based on the library" and a "work that uses the library". The

former contains code derived from the library, whereas the latter must

be combined with the library in order to run.

GNU LESSER GENERAL PUBLIC LICENSE

TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION

0. This License Agreement applies to any software library or other

program which contains a notice placed by the copyright holder or

other authorized party saying it may be distributed under the terms of

this Lesser General Public License (also called "this License").

Each licensee is addressed as "you".

A "library" means a collection of software functions and/or data

prepared so as to be conveniently linked with application programs

(which use some of those functions and data) to form executables.

The "Library", below, refers to any such software library or work

which has been distributed under these terms. A "work based on the

Library" means either the Library or any derivative work under

copyright law: that is to say, a work containing the Library or a

portion of it, either verbatim or with modifications and/or translated

straightforwardly into another language. (Hereinafter, translation is

included without limitation in the term "modification".)

"Source code" for a work means the preferred form of the work for

making modifications to it. For a library, complete source code means

all the source code for all modules it contains, plus any associated

interface definition files, plus the scripts used to control compilation

and installation of the library.

Activities other than copying, distribution and modification are not

covered by this License; they are outside its scope. The act of

running a program using the Library is not restricted, and output from

such a program is covered only if its contents constitute a work based

on the Library (independent of the use of the Library in a tool for

writing it). Whether that is true depends on what the Library does

and what the program that uses the Library does.

1. You may copy and distribute verbatim copies of the Library's

complete source code as you receive it, in any medium, provided that

you conspicuously and appropriately publish on each copy an

appropriate copyright notice and disclaimer of warranty; keep intact

Page 193: CKB Linux オプション 2 - COMPUTEX | 株式会社 …”使用になる前に このたびはCKB Linux オプション2.1 をお買い上げいただきありがとうございます。

CKB Linux オプション 2.1 導入ガイド 第 11 章 CKB Linux SDK に含まれるソフトウェア 189

all the notices that refer to this License and to the absence of any

warranty; and distribute a copy of this License along with the

Library.

You may charge a fee for the physical act of transferring a copy,

and you may at your option offer warranty protection in exchange for a

fee.

2. You may modify your copy or copies of the Library or any portion

of it, thus forming a work based on the Library, and copy and

distribute such modifications or work under the terms of Section 1

above, provided that you also meet all of these conditions:

a) The modified work must itself be a software library.

b) You must cause the files modified to carry prominent notices

stating that you changed the files and the date of any change.

c) You must cause the whole of the work to be licensed at no

charge to all third parties under the terms of this License.

d) If a facility in the modified Library refers to a function or a

table of data to be supplied by an application program that uses

the facility, other than as an argument passed when the facility

is invoked, then you must make a good faith effort to ensure that,

in the event an application does not supply such function or

table, the facility still operates, and performs whatever part of

its purpose remains meaningful.

(For example, a function in a library to compute square roots has

a purpose that is entirely well-defined independent of the

application. Therefore, Subsection 2d requires that any

application-supplied function or table used by this function must

be optional: if the application does not supply it, the square

root function must still compute square roots.)

These requirements apply to the modified work as a whole. If

identifiable sections of that work are not derived from the Library,

and can be reasonably considered independent and separate works in

themselves, then this License, and its terms, do not apply to those

sections when you distribute them as separate works. But when you

distribute the same sections as part of a whole which is a work based

on the Library, the distribution of the whole must be on the terms of

this License, whose permissions for other licensees extend to the

entire whole, and thus to each and every part regardless of who wrote

it.

Thus, it is not the intent of this section to claim rights or contest

your rights to work written entirely by you; rather, the intent is to

exercise the right to control the distribution of derivative or

collective works based on the Library.

Page 194: CKB Linux オプション 2 - COMPUTEX | 株式会社 …”使用になる前に このたびはCKB Linux オプション2.1 をお買い上げいただきありがとうございます。

CKB Linux オプション 2.1 導入ガイド 第 11 章 CKB Linux SDK に含まれるソフトウェア 190

In addition, mere aggregation of another work not based on the Library

with the Library (or with a work based on the Library) on a volume of

a storage or distribution medium does not bring the other work under

the scope of this License.

3. You may opt to apply the terms of the ordinary GNU General Public

License instead of this License to a given copy of the Library. To do

this, you must alter all the notices that refer to this License, so

that they refer to the ordinary GNU General Public License, version 2,

instead of to this License. (If a newer version than version 2 of the

ordinary GNU General Public License has appeared, then you can specify

that version instead if you wish.) Do not make any other change in

these notices.

Once this change is made in a given copy, it is irreversible for

that copy, so the ordinary GNU General Public License applies to all

subsequent copies and derivative works made from that copy.

This option is useful when you wish to copy part of the code of

the Library into a program that is not a library.

4. You may copy and distribute the Library (or a portion or

derivative of it, under Section 2) in object code or executable form

under the terms of Sections 1 and 2 above provided that you accompany

it with the complete corresponding machine-readable source code, which

must be distributed under the terms of Sections 1 and 2 above on a

medium customarily used for software interchange.

If distribution of object code is made by offering access to copy

from a designated place, then offering equivalent access to copy the

source code from the same place satisfies the requirement to

distribute the source code, even though third parties are not

compelled to copy the source along with the object code.

5. A program that contains no derivative of any portion of the

Library, but is designed to work with the Library by being compiled or

linked with it, is called a "work that uses the Library". Such a

work, in isolation, is not a derivative work of the Library, and

therefore falls outside the scope of this License.

However, linking a "work that uses the Library" with the Library

creates an executable that is a derivative of the Library (because it

contains portions of the Library), rather than a "work that uses the

library". The executable is therefore covered by this License.

Section 6 states terms for distribution of such executables.

When a "work that uses the Library" uses material from a header file

that is part of the Library, the object code for the work may be a

derivative work of the Library even though the source code is not.

Whether this is true is especially significant if the work can be

Page 195: CKB Linux オプション 2 - COMPUTEX | 株式会社 …”使用になる前に このたびはCKB Linux オプション2.1 をお買い上げいただきありがとうございます。

CKB Linux オプション 2.1 導入ガイド 第 11 章 CKB Linux SDK に含まれるソフトウェア 191

linked without the Library, or if the work is itself a library. The

threshold for this to be true is not precisely defined by law.

If such an object file uses only numerical parameters, data

structure layouts and accessors, and small macros and small inline

functions (ten lines or less in length), then the use of the object

file is unrestricted, regardless of whether it is legally a derivative

work. (Executables containing this object code plus portions of the

Library will still fall under Section 6.)

Otherwise, if the work is a derivative of the Library, you may

distribute the object code for the work under the terms of Section 6.

Any executables containing that work also fall under Section 6,

whether or not they are linked directly with the Library itself.

6. As an exception to the Sections above, you may also combine or

link a "work that uses the Library" with the Library to produce a

work containing portions of the Library, and distribute that work

under terms of your choice, provided that the terms permit

modification of the work for the customer's own use and reverse

engineering for debugging such modifications.

You must give prominent notice with each copy of the work that the

Library is used in it and that the Library and its use are covered by

this License. You must supply a copy of this License. If the work

during execution displays copyright notices, you must include the

copyright notice for the Library among them, as well as a reference

directing the user to the copy of this License. Also, you must do one

of these things:

a) Accompany the work with the complete corresponding

machine-readable source code for the Library including whatever

changes were used in the work (which must be distributed under

Sections 1 and 2 above); and, if the work is an executable linked

with the Library, with the complete machine-readable "work that

uses the Library", as object code and/or source code, so that the

user can modify the Library and then relink to produce a modified

executable containing the modified Library. (It is understood

that the user who changes the contents of definitions files in the

Library will not necessarily be able to recompile the application

to use the modified definitions.)

b) Use a suitable shared library mechanism for linking with the

Library. A suitable mechanism is one that (1) uses at run time a

copy of the library already present on the user's computer system,

rather than copying library functions into the executable, and (2)

will operate properly with a modified version of the library, if

the user installs one, as long as the modified version is

interface-compatible with the version that the work was made with.

c) Accompany the work with a written offer, valid for at

Page 196: CKB Linux オプション 2 - COMPUTEX | 株式会社 …”使用になる前に このたびはCKB Linux オプション2.1 をお買い上げいただきありがとうございます。

CKB Linux オプション 2.1 導入ガイド 第 11 章 CKB Linux SDK に含まれるソフトウェア 192

least three years, to give the same user the materials

specified in Subsection 6a, above, for a charge no more

than the cost of performing this distribution.

d) If distribution of the work is made by offering access to copy

from a designated place, offer equivalent access to copy the above

specified materials from the same place.

e) Verify that the user has already received a copy of these

materials or that you have already sent this user a copy.

For an executable, the required form of the "work that uses the

Library" must include any data and utility programs needed for

reproducing the executable from it. However, as a special exception,

the materials to be distributed need not include anything that is

normally distributed (in either source or binary form) with the major

components (compiler, kernel, and so on) of the operating system on

which the executable runs, unless that component itself accompanies

the executable.

It may happen that this requirement contradicts the license

restrictions of other proprietary libraries that do not normally

accompany the operating system. Such a contradiction means you cannot

use both them and the Library together in an executable that you

distribute.

7. You may place library facilities that are a work based on the

Library side-by-side in a single library together with other library

facilities not covered by this License, and distribute such a combined

library, provided that the separate distribution of the work based on

the Library and of the other library facilities is otherwise

permitted, and provided that you do these two things:

a) Accompany the combined library with a copy of the same work

based on the Library, uncombined with any other library

facilities. This must be distributed under the terms of the

Sections above.

b) Give prominent notice with the combined library of the fact

that part of it is a work based on the Library, and explaining

where to find the accompanying uncombined form of the same work.

8. You may not copy, modify, sublicense, link with, or distribute

the Library except as expressly provided under this License. Any

attempt otherwise to copy, modify, sublicense, link with, or

distribute the Library is void, and will automatically terminate your

rights under this License. However, parties who have received copies,

or rights, from you under this License will not have their licenses

terminated so long as such parties remain in full compliance.

9. You are not required to accept this License, since you have not

Page 197: CKB Linux オプション 2 - COMPUTEX | 株式会社 …”使用になる前に このたびはCKB Linux オプション2.1 をお買い上げいただきありがとうございます。

CKB Linux オプション 2.1 導入ガイド 第 11 章 CKB Linux SDK に含まれるソフトウェア 193

signed it. However, nothing else grants you permission to modify or

distribute the Library or its derivative works. These actions are

prohibited by law if you do not accept this License. Therefore, by

modifying or distributing the Library (or any work based on the

Library), you indicate your acceptance of this License to do so, and

all its terms and conditions for copying, distributing or modifying

the Library or works based on it.

10. Each time you redistribute the Library (or any work based on the

Library), the recipient automatically receives a license from the

original licensor to copy, distribute, link with or modify the Library

subject to these terms and conditions. You may not impose any further

restrictions on the recipients' exercise of the rights granted herein.

You are not responsible for enforcing compliance by third parties with

this License.

11. If, as a consequence of a court judgment or allegation of patent

infringement or for any other reason (not limited to patent issues),

conditions are imposed on you (whether by court order, agreement or

otherwise) that contradict the conditions of this License, they do not

excuse you from the conditions of this License. If you cannot

distribute so as to satisfy simultaneously your obligations under this

License and any other pertinent obligations, then as a consequence you

may not distribute the Library at all. For example, if a patent

license would not permit royalty-free redistribution of the Library by

all those who receive copies directly or indirectly through you, then

the only way you could satisfy both it and this License would be to

refrain entirely from distribution of the Library.

If any portion of this section is held invalid or unenforceable under any

particular circumstance, the balance of the section is intended to apply,

and the section as a whole is intended to apply in other circumstances.

It is not the purpose of this section to induce you to infringe any

patents or other property right claims or to contest validity of any

such claims; this section has the sole purpose of protecting the

integrity of the free software distribution system which is

implemented by public license practices. Many people have made

generous contributions to the wide range of software distributed

through that system in reliance on consistent application of that

system; it is up to the author/donor to decide if he or she is willing

to distribute software through any other system and a licensee cannot

impose that choice.

This section is intended to make thoroughly clear what is believed to

be a consequence of the rest of this License.

12. If the distribution and/or use of the Library is restricted in

certain countries either by patents or by copyrighted interfaces, the

original copyright holder who places the Library under this License may add

an explicit geographical distribution limitation excluding those countries,

Page 198: CKB Linux オプション 2 - COMPUTEX | 株式会社 …”使用になる前に このたびはCKB Linux オプション2.1 をお買い上げいただきありがとうございます。

CKB Linux オプション 2.1 導入ガイド 第 11 章 CKB Linux SDK に含まれるソフトウェア 194

so that distribution is permitted only in or among countries not thus

excluded. In such case, this License incorporates the limitation as if

written in the body of this License.

13. The Free Software Foundation may publish revised and/or new

versions of the Lesser General Public License from time to time.

Such new versions will be similar in spirit to the present version,

but may differ in detail to address new problems or concerns.

Each version is given a distinguishing version number. If the Library

specifies a version number of this License which applies to it and

"any later version", you have the option of following the terms and

conditions either of that version or of any later version published by

the Free Software Foundation. If the Library does not specify a

license version number, you may choose any version ever published by

the Free Software Foundation.

14. If you wish to incorporate parts of the Library into other free

programs whose distribution conditions are incompatible with these,

write to the author to ask for permission. For software which is

copyrighted by the Free Software Foundation, write to the Free

Software Foundation; we sometimes make exceptions for this. Our

decision will be guided by the two goals of preserving the free status

of all derivatives of our free software and of promoting the sharing

and reuse of software generally.

NO WARRANTY

15. BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO

WARRANTY FOR THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW.

EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR

OTHER PARTIES PROVIDE THE LIBRARY "AS IS" WITHOUT WARRANTY OF ANY

KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE

IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR

PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE

LIBRARY IS WITH YOU. SHOULD THE LIBRARY PROVE DEFECTIVE, YOU ASSUME

THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION.

16. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN

WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY

AND/OR REDISTRIBUTE THE LIBRARY AS PERMITTED ABOVE, BE LIABLE TO YOU

FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR

CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE

LIBRARY (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING

RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A

FAILURE OF THE LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF

SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH

DAMAGES.

END OF TERMS AND CONDITIONS

Page 199: CKB Linux オプション 2 - COMPUTEX | 株式会社 …”使用になる前に このたびはCKB Linux オプション2.1 をお買い上げいただきありがとうございます。

CKB Linux オプション 2.1 導入ガイド 第 11 章 CKB Linux SDK に含まれるソフトウェア 195

How to Apply These Terms to Your New Libraries

If you develop a new library, and you want it to be of the greatest

possible use to the public, we recommend making it free software that

everyone can redistribute and change. You can do so by permitting

redistribution under these terms (or, alternatively, under the terms of the

ordinary General Public License).

To apply these terms, attach the following notices to the library. It is

safest to attach them to the start of each source file to most effectively

convey the exclusion of warranty; and each file should have at least the

"copyright" line and a pointer to where the full notice is found.

<one line to give the library's name and a brief idea of what it does.>

Copyright (C) <year> <name of author>

This library is free software; you can redistribute it and/or

modify it under the terms of the GNU Lesser General Public

License as published by the Free Software Foundation; either

version 2.1 of the License, or (at your option) any later version.

This library is distributed in the hope that it will be useful,

but WITHOUT ANY WARRANTY; without even the implied warranty of

MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU

Lesser General Public License for more details.

You should have received a copy of the GNU Lesser General Public

License along with this library; if not, write to the Free Software

Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA

Also add information on how to contact you by electronic and paper mail.

You should also get your employer (if you work as a programmer) or your

school, if any, to sign a "copyright disclaimer" for the library, if

necessary. Here is a sample; alter the names:

Yoyodyne, Inc., hereby disclaims all copyright interest in the

library `Frob' (a library for tweaking knobs) written by James Random Hacker.

<signature of Ty Coon>, 1 April 1990

Ty Coon, President of Vice

That's all there is to it!

::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::

libpcap: LICENSE file

::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::

License: BSD

Page 200: CKB Linux オプション 2 - COMPUTEX | 株式会社 …”使用になる前に このたびはCKB Linux オプション2.1 をお買い上げいただきありがとうございます。

CKB Linux オプション 2.1 導入ガイド 第 11 章 CKB Linux SDK に含まれるソフトウェア 196

Redistribution and use in source and binary forms, with or without

modification, are permitted provided that the following conditions

are met:

1. Redistributions of source code must retain the above copyright

notice, this list of conditions and the following disclaimer.

2. 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.

3. The names of the authors may not be used to endorse or promote

products derived from this software without specific prior

written permission.

THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR

IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED

WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.

::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::

libpng: LICENSE file

::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::

This copy of the libpng notices is provided for your convenience. In case of

any discrepancy between this copy and the notices in the file png.h that is

included in the libpng distribution, the latter shall prevail.

COPYRIGHT NOTICE, DISCLAIMER, and LICENSE:

If you modify libpng you may insert additional notices immediately following

this sentence.

This code is released under the libpng license.

libpng versions 1.2.6, August 15, 2004, through 1.4.12, July 10, 2012, are

Copyright (c) 2004, 2006-2010 Glenn Randers-Pehrson, and are

distributed according to the same disclaimer and license as libpng-1.2.5

with the following individual added to the list of Contributing Authors

Cosmin Truta

libpng versions 1.0.7, July 1, 2000, through 1.2.5 - October 3, 2002, are

Copyright (c) 2000-2002 Glenn Randers-Pehrson, and are

distributed according to the same disclaimer and license as libpng-1.0.6

with the following individuals added to the list of Contributing Authors

Simon-Pierre Cadieux

Eric S. Raymond

Gilles Vollant

Page 201: CKB Linux オプション 2 - COMPUTEX | 株式会社 …”使用になる前に このたびはCKB Linux オプション2.1 をお買い上げいただきありがとうございます。

CKB Linux オプション 2.1 導入ガイド 第 11 章 CKB Linux SDK に含まれるソフトウェア 197

and with the following additions to the disclaimer:

There is no warranty against interference with your enjoyment of the

library or against infringement. There is no warranty that our

efforts or the library will fulfill any of your particular purposes

or needs. This library is provided with all faults, and the entire

risk of satisfactory quality, performance, accuracy, and effort is with

the user.

libpng versions 0.97, January 1998, through 1.0.6, March 20, 2000, are

Copyright (c) 1998, 1999 Glenn Randers-Pehrson, and are

distributed according to the same disclaimer and license as libpng-0.96,

with the following individuals added to the list of Contributing Authors:

Tom Lane

Glenn Randers-Pehrson

Willem van Schaik

libpng versions 0.89, June 1996, through 0.96, May 1997, are

Copyright (c) 1996, 1997 Andreas Dilger

Distributed according to the same disclaimer and license as libpng-0.88,

with the following individuals added to the list of Contributing Authors:

John Bowler

Kevin Bracey

Sam Bushell

Magnus Holmgren

Greg Roelofs

Tom Tanner

libpng versions 0.5, May 1995, through 0.88, January 1996, are

Copyright (c) 1995, 1996 Guy Eric Schalnat, Group 42, Inc.

For the purposes of this copyright and license, "Contributing Authors"

is defined as the following set of individuals:

Andreas Dilger

Dave Martindale

Guy Eric Schalnat

Paul Schmidt

Tim Wegner

The PNG Reference Library is supplied "AS IS". The Contributing Authors

and Group 42, Inc. disclaim all warranties, expressed or implied,

including, without limitation, the warranties of merchantability and of

fitness for any purpose. The Contributing Authors and Group 42, Inc.

assume no liability for direct, indirect, incidental, special, exemplary,

or consequential damages, which may result from the use of the PNG

Reference Library, even if advised of the possibility of such damage.

Permission is hereby granted to use, copy, modify, and distribute this

Page 202: CKB Linux オプション 2 - COMPUTEX | 株式会社 …”使用になる前に このたびはCKB Linux オプション2.1 をお買い上げいただきありがとうございます。

CKB Linux オプション 2.1 導入ガイド 第 11 章 CKB Linux SDK に含まれるソフトウェア 198

source code, or portions hereof, for any purpose, without fee, subject

to the following restrictions:

1. The origin of this source code must not be misrepresented.

2. Altered versions must be plainly marked as such and must not

be misrepresented as being the original source.

3. This Copyright notice may not be removed or altered from any

source or altered source distribution.

The Contributing Authors and Group 42, Inc. specifically permit, without

fee, and encourage the use of this source code as a component to

supporting the PNG file format in commercial products. If you use this

source code in a product, acknowledgment is not required but would be

appreciated.

A "png_get_copyright" function is available, for convenient use in "about"

boxes and the like:

printf("%s",png_get_copyright(NULL));

Also, the PNG logo (in PNG format, of course) is supplied in the

files "pngbar.png" and "pngbar.jpg (88x31) and "pngnow.png" (98x31).

Libpng is OSI Certified Open Source Software. OSI Certified Open Source is a

certification mark of the Open Source Initiative.

Glenn Randers-Pehrson

glennrp at users.sourceforge.net

July 10, 2012

::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::

libusb-compat: COPYING file

::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::

GNU LESSER GENERAL PUBLIC LICENSE

Version 2.1, February 1999

Copyright (C) 1991, 1999 Free Software Foundation, Inc.

51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA

Everyone is permitted to copy and distribute verbatim copies

of this license document, but changing it is not allowed.

[This is the first released version of the Lesser GPL. It also counts

as the successor of the GNU Library Public License, version 2, hence

the version number 2.1.]

Preamble

Page 203: CKB Linux オプション 2 - COMPUTEX | 株式会社 …”使用になる前に このたびはCKB Linux オプション2.1 をお買い上げいただきありがとうございます。

CKB Linux オプション 2.1 導入ガイド 第 11 章 CKB Linux SDK に含まれるソフトウェア 199

The licenses for most software are designed to take away your

freedom to share and change it. By contrast, the GNU General Public

Licenses are intended to guarantee your freedom to share and change

free software--to make sure the software is free for all its users.

This license, the Lesser General Public License, applies to some

specially designated software packages--typically libraries--of the

Free Software Foundation and other authors who decide to use it. You

can use it too, but we suggest you first think carefully about whether

this license or the ordinary General Public License is the better

strategy to use in any particular case, based on the explanations below.

When we speak of free software, we are referring to freedom of use,

not price. Our General Public Licenses are designed to make sure that

you have the freedom to distribute copies of free software (and charge

for this service if you wish); that you receive source code or can get

it if you want it; that you can change the software and use pieces of

it in new free programs; and that you are informed that you can do

these things.

To protect your rights, we need to make restrictions that forbid

distributors to deny you these rights or to ask you to surrender these

rights. These restrictions translate to certain responsibilities for

you if you distribute copies of the library or if you modify it.

For example, if you distribute copies of the library, whether gratis

or for a fee, you must give the recipients all the rights that we gave

you. You must make sure that they, too, receive or can get the source

code. If you link other code with the library, you must provide

complete object files to the recipients, so that they can relink them

with the library after making changes to the library and recompiling

it. And you must show them these terms so they know their rights.

We protect your rights with a two-step method: (1) we copyright the

library, and (2) we offer you this license, which gives you legal

permission to copy, distribute and/or modify the library.

To protect each distributor, we want to make it very clear that

there is no warranty for the free library. Also, if the library is

modified by someone else and passed on, the recipients should know

that what they have is not the original version, so that the original

author's reputation will not be affected by problems that might be

introduced by others.

Finally, software patents pose a constant threat to the existence of

any free program. We wish to make sure that a company cannot

effectively restrict the users of a free program by obtaining a

restrictive license from a patent holder. Therefore, we insist that

any patent license obtained for a version of the library must be

consistent with the full freedom of use specified in this license.

Page 204: CKB Linux オプション 2 - COMPUTEX | 株式会社 …”使用になる前に このたびはCKB Linux オプション2.1 をお買い上げいただきありがとうございます。

CKB Linux オプション 2.1 導入ガイド 第 11 章 CKB Linux SDK に含まれるソフトウェア 200

Most GNU software, including some libraries, is covered by the

ordinary GNU General Public License. This license, the GNU Lesser

General Public License, applies to certain designated libraries, and

is quite different from the ordinary General Public License. We use

this license for certain libraries in order to permit linking those

libraries into non-free programs.

When a program is linked with a library, whether statically or using

a shared library, the combination of the two is legally speaking a

combined work, a derivative of the original library. The ordinary

General Public License therefore permits such linking only if the

entire combination fits its criteria of freedom. The Lesser General

Public License permits more lax criteria for linking other code with

the library.

We call this license the "Lesser" General Public License because it

does Less to protect the user's freedom than the ordinary General

Public License. It also provides other free software developers Less

of an advantage over competing non-free programs. These disadvantages

are the reason we use the ordinary General Public License for many

libraries. However, the Lesser license provides advantages in certain

special circumstances.

For example, on rare occasions, there may be a special need to

encourage the widest possible use of a certain library, so that it becomes

a de-facto standard. To achieve this, non-free programs must be

allowed to use the library. A more frequent case is that a free

library does the same job as widely used non-free libraries. In this

case, there is little to gain by limiting the free library to free

software only, so we use the Lesser General Public License.

In other cases, permission to use a particular library in non-free

programs enables a greater number of people to use a large body of

free software. For example, permission to use the GNU C Library in

non-free programs enables many more people to use the whole GNU

operating system, as well as its variant, the GNU/Linux operating

system.

Although the Lesser General Public License is Less protective of the

users' freedom, it does ensure that the user of a program that is

linked with the Library has the freedom and the wherewithal to run

that program using a modified version of the Library.

The precise terms and conditions for copying, distribution and

modification follow. Pay close attention to the difference between a

"work based on the library" and a "work that uses the library". The

former contains code derived from the library, whereas the latter must

be combined with the library in order to run.

GNU LESSER GENERAL PUBLIC LICENSE

Page 205: CKB Linux オプション 2 - COMPUTEX | 株式会社 …”使用になる前に このたびはCKB Linux オプション2.1 をお買い上げいただきありがとうございます。

CKB Linux オプション 2.1 導入ガイド 第 11 章 CKB Linux SDK に含まれるソフトウェア 201

TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION

0. This License Agreement applies to any software library or other

program which contains a notice placed by the copyright holder or

other authorized party saying it may be distributed under the terms of

this Lesser General Public License (also called "this License").

Each licensee is addressed as "you".

A "library" means a collection of software functions and/or data

prepared so as to be conveniently linked with application programs

(which use some of those functions and data) to form executables.

The "Library", below, refers to any such software library or work

which has been distributed under these terms. A "work based on the

Library" means either the Library or any derivative work under

copyright law: that is to say, a work containing the Library or a

portion of it, either verbatim or with modifications and/or translated

straightforwardly into another language. (Hereinafter, translation is

included without limitation in the term "modification".)

"Source code" for a work means the preferred form of the work for

making modifications to it. For a library, complete source code means

all the source code for all modules it contains, plus any associated

interface definition files, plus the scripts used to control compilation

and installation of the library.

Activities other than copying, distribution and modification are not

covered by this License; they are outside its scope. The act of

running a program using the Library is not restricted, and output from

such a program is covered only if its contents constitute a work based

on the Library (independent of the use of the Library in a tool for

writing it). Whether that is true depends on what the Library does

and what the program that uses the Library does.

1. You may copy and distribute verbatim copies of the Library's

complete source code as you receive it, in any medium, provided that

you conspicuously and appropriately publish on each copy an

appropriate copyright notice and disclaimer of warranty; keep intact

all the notices that refer to this License and to the absence of any

warranty; and distribute a copy of this License along with the

Library.

You may charge a fee for the physical act of transferring a copy,

and you may at your option offer warranty protection in exchange for a

fee.

2. You may modify your copy or copies of the Library or any portion

of it, thus forming a work based on the Library, and copy and

distribute such modifications or work under the terms of Section 1

above, provided that you also meet all of these conditions:

Page 206: CKB Linux オプション 2 - COMPUTEX | 株式会社 …”使用になる前に このたびはCKB Linux オプション2.1 をお買い上げいただきありがとうございます。

CKB Linux オプション 2.1 導入ガイド 第 11 章 CKB Linux SDK に含まれるソフトウェア 202

a) The modified work must itself be a software library.

b) You must cause the files modified to carry prominent notices

stating that you changed the files and the date of any change.

c) You must cause the whole of the work to be licensed at no

charge to all third parties under the terms of this License.

d) If a facility in the modified Library refers to a function or a

table of data to be supplied by an application program that uses

the facility, other than as an argument passed when the facility

is invoked, then you must make a good faith effort to ensure that,

in the event an application does not supply such function or

table, the facility still operates, and performs whatever part of

its purpose remains meaningful.

(For example, a function in a library to compute square roots has

a purpose that is entirely well-defined independent of the

application. Therefore, Subsection 2d requires that any

application-supplied function or table used by this function must

be optional: if the application does not supply it, the square

root function must still compute square roots.)

These requirements apply to the modified work as a whole. If

identifiable sections of that work are not derived from the Library,

and can be reasonably considered independent and separate works in

themselves, then this License, and its terms, do not apply to those

sections when you distribute them as separate works. But when you

distribute the same sections as part of a whole which is a work based

on the Library, the distribution of the whole must be on the terms of

this License, whose permissions for other licensees extend to the

entire whole, and thus to each and every part regardless of who wrote

it.

Thus, it is not the intent of this section to claim rights or contest

your rights to work written entirely by you; rather, the intent is to

exercise the right to control the distribution of derivative or

collective works based on the Library.

In addition, mere aggregation of another work not based on the Library

with the Library (or with a work based on the Library) on a volume of

a storage or distribution medium does not bring the other work under

the scope of this License.

3. You may opt to apply the terms of the ordinary GNU General Public

License instead of this License to a given copy of the Library. To do

this, you must alter all the notices that refer to this License, so

that they refer to the ordinary GNU General Public License, version 2,

instead of to this License. (If a newer version than version 2 of the

ordinary GNU General Public License has appeared, then you can specify

that version instead if you wish.) Do not make any other change in

Page 207: CKB Linux オプション 2 - COMPUTEX | 株式会社 …”使用になる前に このたびはCKB Linux オプション2.1 をお買い上げいただきありがとうございます。

CKB Linux オプション 2.1 導入ガイド 第 11 章 CKB Linux SDK に含まれるソフトウェア 203

these notices.

Once this change is made in a given copy, it is irreversible for

that copy, so the ordinary GNU General Public License applies to all

subsequent copies and derivative works made from that copy.

This option is useful when you wish to copy part of the code of

the Library into a program that is not a library.

4. You may copy and distribute the Library (or a portion or

derivative of it, under Section 2) in object code or executable form

under the terms of Sections 1 and 2 above provided that you accompany

it with the complete corresponding machine-readable source code, which

must be distributed under the terms of Sections 1 and 2 above on a

medium customarily used for software interchange.

If distribution of object code is made by offering access to copy

from a designated place, then offering equivalent access to copy the

source code from the same place satisfies the requirement to

distribute the source code, even though third parties are not

compelled to copy the source along with the object code.

5. A program that contains no derivative of any portion of the

Library, but is designed to work with the Library by being compiled or

linked with it, is called a "work that uses the Library". Such a

work, in isolation, is not a derivative work of the Library, and

therefore falls outside the scope of this License.

However, linking a "work that uses the Library" with the Library

creates an executable that is a derivative of the Library (because it

contains portions of the Library), rather than a "work that uses the

library". The executable is therefore covered by this License.

Section 6 states terms for distribution of such executables.

When a "work that uses the Library" uses material from a header file

that is part of the Library, the object code for the work may be a

derivative work of the Library even though the source code is not.

Whether this is true is especially significant if the work can be

linked without the Library, or if the work is itself a library. The

threshold for this to be true is not precisely defined by law.

If such an object file uses only numerical parameters, data

structure layouts and accessors, and small macros and small inline

functions (ten lines or less in length), then the use of the object

file is unrestricted, regardless of whether it is legally a derivative

work. (Executables containing this object code plus portions of the

Library will still fall under Section 6.)

Otherwise, if the work is a derivative of the Library, you may

distribute the object code for the work under the terms of Section 6.

Any executables containing that work also fall under Section 6,

Page 208: CKB Linux オプション 2 - COMPUTEX | 株式会社 …”使用になる前に このたびはCKB Linux オプション2.1 をお買い上げいただきありがとうございます。

CKB Linux オプション 2.1 導入ガイド 第 11 章 CKB Linux SDK に含まれるソフトウェア 204

whether or not they are linked directly with the Library itself.

6. As an exception to the Sections above, you may also combine or

link a "work that uses the Library" with the Library to produce a

work containing portions of the Library, and distribute that work

under terms of your choice, provided that the terms permit

modification of the work for the customer's own use and reverse

engineering for debugging such modifications.

You must give prominent notice with each copy of the work that the

Library is used in it and that the Library and its use are covered by

this License. You must supply a copy of this License. If the work

during execution displays copyright notices, you must include the

copyright notice for the Library among them, as well as a reference

directing the user to the copy of this License. Also, you must do one

of these things:

a) Accompany the work with the complete corresponding

machine-readable source code for the Library including whatever

changes were used in the work (which must be distributed under

Sections 1 and 2 above); and, if the work is an executable linked

with the Library, with the complete machine-readable "work that

uses the Library", as object code and/or source code, so that the

user can modify the Library and then relink to produce a modified

executable containing the modified Library. (It is understood

that the user who changes the contents of definitions files in the

Library will not necessarily be able to recompile the application

to use the modified definitions.)

b) Use a suitable shared library mechanism for linking with the

Library. A suitable mechanism is one that (1) uses at run time a

copy of the library already present on the user's computer system,

rather than copying library functions into the executable, and (2)

will operate properly with a modified version of the library, if

the user installs one, as long as the modified version is

interface-compatible with the version that the work was made with.

c) Accompany the work with a written offer, valid for at

least three years, to give the same user the materials

specified in Subsection 6a, above, for a charge no more

than the cost of performing this distribution.

d) If distribution of the work is made by offering access to copy

from a designated place, offer equivalent access to copy the above

specified materials from the same place.

e) Verify that the user has already received a copy of these

materials or that you have already sent this user a copy.

For an executable, the required form of the "work that uses the

Library" must include any data and utility programs needed for

Page 209: CKB Linux オプション 2 - COMPUTEX | 株式会社 …”使用になる前に このたびはCKB Linux オプション2.1 をお買い上げいただきありがとうございます。

CKB Linux オプション 2.1 導入ガイド 第 11 章 CKB Linux SDK に含まれるソフトウェア 205

reproducing the executable from it. However, as a special exception,

the materials to be distributed need not include anything that is

normally distributed (in either source or binary form) with the major

components (compiler, kernel, and so on) of the operating system on

which the executable runs, unless that component itself accompanies

the executable.

It may happen that this requirement contradicts the license

restrictions of other proprietary libraries that do not normally

accompany the operating system. Such a contradiction means you cannot

use both them and the Library together in an executable that you

distribute.

7. You may place library facilities that are a work based on the

Library side-by-side in a single library together with other library

facilities not covered by this License, and distribute such a combined

library, provided that the separate distribution of the work based on

the Library and of the other library facilities is otherwise

permitted, and provided that you do these two things:

a) Accompany the combined library with a copy of the same work

based on the Library, uncombined with any other library

facilities. This must be distributed under the terms of the

Sections above.

b) Give prominent notice with the combined library of the fact

that part of it is a work based on the Library, and explaining

where to find the accompanying uncombined form of the same work.

8. You may not copy, modify, sublicense, link with, or distribute

the Library except as expressly provided under this License. Any

attempt otherwise to copy, modify, sublicense, link with, or

distribute the Library is void, and will automatically terminate your

rights under this License. However, parties who have received copies,

or rights, from you under this License will not have their licenses

terminated so long as such parties remain in full compliance.

9. You are not required to accept this License, since you have not

signed it. However, nothing else grants you permission to modify or

distribute the Library or its derivative works. These actions are

prohibited by law if you do not accept this License. Therefore, by

modifying or distributing the Library (or any work based on the

Library), you indicate your acceptance of this License to do so, and

all its terms and conditions for copying, distributing or modifying

the Library or works based on it.

10. Each time you redistribute the Library (or any work based on the

Library), the recipient automatically receives a license from the

original licensor to copy, distribute, link with or modify the Library

subject to these terms and conditions. You may not impose any further

restrictions on the recipients' exercise of the rights granted herein.

Page 210: CKB Linux オプション 2 - COMPUTEX | 株式会社 …”使用になる前に このたびはCKB Linux オプション2.1 をお買い上げいただきありがとうございます。

CKB Linux オプション 2.1 導入ガイド 第 11 章 CKB Linux SDK に含まれるソフトウェア 206

You are not responsible for enforcing compliance by third parties with

this License.

11. If, as a consequence of a court judgment or allegation of patent

infringement or for any other reason (not limited to patent issues),

conditions are imposed on you (whether by court order, agreement or

otherwise) that contradict the conditions of this License, they do not

excuse you from the conditions of this License. If you cannot

distribute so as to satisfy simultaneously your obligations under this

License and any other pertinent obligations, then as a consequence you

may not distribute the Library at all. For example, if a patent

license would not permit royalty-free redistribution of the Library by

all those who receive copies directly or indirectly through you, then

the only way you could satisfy both it and this License would be to

refrain entirely from distribution of the Library.

If any portion of this section is held invalid or unenforceable under any

particular circumstance, the balance of the section is intended to apply,

and the section as a whole is intended to apply in other circumstances.

It is not the purpose of this section to induce you to infringe any

patents or other property right claims or to contest validity of any

such claims; this section has the sole purpose of protecting the

integrity of the free software distribution system which is

implemented by public license practices. Many people have made

generous contributions to the wide range of software distributed

through that system in reliance on consistent application of that

system; it is up to the author/donor to decide if he or she is willing

to distribute software through any other system and a licensee cannot

impose that choice.

This section is intended to make thoroughly clear what is believed to

be a consequence of the rest of this License.

12. If the distribution and/or use of the Library is restricted in

certain countries either by patents or by copyrighted interfaces, the

original copyright holder who places the Library under this License may add

an explicit geographical distribution limitation excluding those countries,

so that distribution is permitted only in or among countries not thus

excluded. In such case, this License incorporates the limitation as if

written in the body of this License.

13. The Free Software Foundation may publish revised and/or new

versions of the Lesser General Public License from time to time.

Such new versions will be similar in spirit to the present version,

but may differ in detail to address new problems or concerns.

Each version is given a distinguishing version number. If the Library

specifies a version number of this License which applies to it and

"any later version", you have the option of following the terms and

conditions either of that version or of any later version published by

Page 211: CKB Linux オプション 2 - COMPUTEX | 株式会社 …”使用になる前に このたびはCKB Linux オプション2.1 をお買い上げいただきありがとうございます。

CKB Linux オプション 2.1 導入ガイド 第 11 章 CKB Linux SDK に含まれるソフトウェア 207

the Free Software Foundation. If the Library does not specify a

license version number, you may choose any version ever published by

the Free Software Foundation.

14. If you wish to incorporate parts of the Library into other free

programs whose distribution conditions are incompatible with these,

write to the author to ask for permission. For software which is

copyrighted by the Free Software Foundation, write to the Free

Software Foundation; we sometimes make exceptions for this. Our

decision will be guided by the two goals of preserving the free status

of all derivatives of our free software and of promoting the sharing

and reuse of software generally.

NO WARRANTY

15. BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO

WARRANTY FOR THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW.

EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR

OTHER PARTIES PROVIDE THE LIBRARY "AS IS" WITHOUT WARRANTY OF ANY

KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE

IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR

PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE

LIBRARY IS WITH YOU. SHOULD THE LIBRARY PROVE DEFECTIVE, YOU ASSUME

THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION.

16. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN

WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY

AND/OR REDISTRIBUTE THE LIBRARY AS PERMITTED ABOVE, BE LIABLE TO YOU

FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR

CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE

LIBRARY (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING

RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A

FAILURE OF THE LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF

SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH

DAMAGES.

END OF TERMS AND CONDITIONS

How to Apply These Terms to Your New Libraries

If you develop a new library, and you want it to be of the greatest

possible use to the public, we recommend making it free software that

everyone can redistribute and change. You can do so by permitting

redistribution under these terms (or, alternatively, under the terms of the

ordinary General Public License).

To apply these terms, attach the following notices to the library. It is

safest to attach them to the start of each source file to most effectively

convey the exclusion of warranty; and each file should have at least the

"copyright" line and a pointer to where the full notice is found.

Page 212: CKB Linux オプション 2 - COMPUTEX | 株式会社 …”使用になる前に このたびはCKB Linux オプション2.1 をお買い上げいただきありがとうございます。

CKB Linux オプション 2.1 導入ガイド 第 11 章 CKB Linux SDK に含まれるソフトウェア 208

<one line to give the library's name and a brief idea of what it does.>

Copyright (C) <year> <name of author>

This library is free software; you can redistribute it and/or

modify it under the terms of the GNU Lesser General Public

License as published by the Free Software Foundation; either

version 2.1 of the License, or (at your option) any later version.

This library is distributed in the hope that it will be useful,

but WITHOUT ANY WARRANTY; without even the implied warranty of

MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU

Lesser General Public License for more details.

You should have received a copy of the GNU Lesser General Public

License along with this library; if not, write to the Free Software

Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA

Also add information on how to contact you by electronic and paper mail.

You should also get your employer (if you work as a programmer) or your

school, if any, to sign a "copyright disclaimer" for the library, if

necessary. Here is a sample; alter the names:

Yoyodyne, Inc., hereby disclaims all copyright interest in the

library `Frob' (a library for tweaking knobs) written by James Random Hacker.

<signature of Ty Coon>, 1 April 1990

Ty Coon, President of Vice

That's all there is to it!

::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::

libusb: COPYING file

::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::

GNU LESSER GENERAL PUBLIC LICENSE

Version 2.1, February 1999

Copyright (C) 1991, 1999 Free Software Foundation, Inc.

51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA

Everyone is permitted to copy and distribute verbatim copies

of this license document, but changing it is not allowed.

[This is the first released version of the Lesser GPL. It also counts

as the successor of the GNU Library Public License, version 2, hence

the version number 2.1.]

Preamble

Page 213: CKB Linux オプション 2 - COMPUTEX | 株式会社 …”使用になる前に このたびはCKB Linux オプション2.1 をお買い上げいただきありがとうございます。

CKB Linux オプション 2.1 導入ガイド 第 11 章 CKB Linux SDK に含まれるソフトウェア 209

The licenses for most software are designed to take away your

freedom to share and change it. By contrast, the GNU General Public

Licenses are intended to guarantee your freedom to share and change

free software--to make sure the software is free for all its users.

This license, the Lesser General Public License, applies to some

specially designated software packages--typically libraries--of the

Free Software Foundation and other authors who decide to use it. You

can use it too, but we suggest you first think carefully about whether

this license or the ordinary General Public License is the better

strategy to use in any particular case, based on the explanations below.

When we speak of free software, we are referring to freedom of use,

not price. Our General Public Licenses are designed to make sure that

you have the freedom to distribute copies of free software (and charge

for this service if you wish); that you receive source code or can get

it if you want it; that you can change the software and use pieces of

it in new free programs; and that you are informed that you can do

these things.

To protect your rights, we need to make restrictions that forbid

distributors to deny you these rights or to ask you to surrender these

rights. These restrictions translate to certain responsibilities for

you if you distribute copies of the library or if you modify it.

For example, if you distribute copies of the library, whether gratis

or for a fee, you must give the recipients all the rights that we gave

you. You must make sure that they, too, receive or can get the source

code. If you link other code with the library, you must provide

complete object files to the recipients, so that they can relink them

with the library after making changes to the library and recompiling

it. And you must show them these terms so they know their rights.

We protect your rights with a two-step method: (1) we copyright the

library, and (2) we offer you this license, which gives you legal

permission to copy, distribute and/or modify the library.

To protect each distributor, we want to make it very clear that

there is no warranty for the free library. Also, if the library is

modified by someone else and passed on, the recipients should know

that what they have is not the original version, so that the original

author's reputation will not be affected by problems that might be

introduced by others.

Finally, software patents pose a constant threat to the existence of

any free program. We wish to make sure that a company cannot

effectively restrict the users of a free program by obtaining a

restrictive license from a patent holder. Therefore, we insist that

any patent license obtained for a version of the library must be

consistent with the full freedom of use specified in this license.

Page 214: CKB Linux オプション 2 - COMPUTEX | 株式会社 …”使用になる前に このたびはCKB Linux オプション2.1 をお買い上げいただきありがとうございます。

CKB Linux オプション 2.1 導入ガイド 第 11 章 CKB Linux SDK に含まれるソフトウェア 210

Most GNU software, including some libraries, is covered by the

ordinary GNU General Public License. This license, the GNU Lesser

General Public License, applies to certain designated libraries, and

is quite different from the ordinary General Public License. We use

this license for certain libraries in order to permit linking those

libraries into non-free programs.

When a program is linked with a library, whether statically or using

a shared library, the combination of the two is legally speaking a

combined work, a derivative of the original library. The ordinary

General Public License therefore permits such linking only if the

entire combination fits its criteria of freedom. The Lesser General

Public License permits more lax criteria for linking other code with

the library.

We call this license the "Lesser" General Public License because it

does Less to protect the user's freedom than the ordinary General

Public License. It also provides other free software developers Less

of an advantage over competing non-free programs. These disadvantages

are the reason we use the ordinary General Public License for many

libraries. However, the Lesser license provides advantages in certain

special circumstances.

For example, on rare occasions, there may be a special need to

encourage the widest possible use of a certain library, so that it becomes

a de-facto standard. To achieve this, non-free programs must be

allowed to use the library. A more frequent case is that a free

library does the same job as widely used non-free libraries. In this

case, there is little to gain by limiting the free library to free

software only, so we use the Lesser General Public License.

In other cases, permission to use a particular library in non-free

programs enables a greater number of people to use a large body of

free software. For example, permission to use the GNU C Library in

non-free programs enables many more people to use the whole GNU

operating system, as well as its variant, the GNU/Linux operating

system.

Although the Lesser General Public License is Less protective of the

users' freedom, it does ensure that the user of a program that is

linked with the Library has the freedom and the wherewithal to run

that program using a modified version of the Library.

The precise terms and conditions for copying, distribution and

modification follow. Pay close attention to the difference between a

"work based on the library" and a "work that uses the library". The

former contains code derived from the library, whereas the latter must

be combined with the library in order to run.

GNU LESSER GENERAL PUBLIC LICENSE

Page 215: CKB Linux オプション 2 - COMPUTEX | 株式会社 …”使用になる前に このたびはCKB Linux オプション2.1 をお買い上げいただきありがとうございます。

CKB Linux オプション 2.1 導入ガイド 第 11 章 CKB Linux SDK に含まれるソフトウェア 211

TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION

0. This License Agreement applies to any software library or other

program which contains a notice placed by the copyright holder or

other authorized party saying it may be distributed under the terms of

this Lesser General Public License (also called "this License").

Each licensee is addressed as "you".

A "library" means a collection of software functions and/or data

prepared so as to be conveniently linked with application programs

(which use some of those functions and data) to form executables.

The "Library", below, refers to any such software library or work

which has been distributed under these terms. A "work based on the

Library" means either the Library or any derivative work under

copyright law: that is to say, a work containing the Library or a

portion of it, either verbatim or with modifications and/or translated

straightforwardly into another language. (Hereinafter, translation is

included without limitation in the term "modification".)

"Source code" for a work means the preferred form of the work for

making modifications to it. For a library, complete source code means

all the source code for all modules it contains, plus any associated

interface definition files, plus the scripts used to control compilation

and installation of the library.

Activities other than copying, distribution and modification are not

covered by this License; they are outside its scope. The act of

running a program using the Library is not restricted, and output from

such a program is covered only if its contents constitute a work based

on the Library (independent of the use of the Library in a tool for

writing it). Whether that is true depends on what the Library does

and what the program that uses the Library does.

1. You may copy and distribute verbatim copies of the Library's

complete source code as you receive it, in any medium, provided that

you conspicuously and appropriately publish on each copy an

appropriate copyright notice and disclaimer of warranty; keep intact

all the notices that refer to this License and to the absence of any

warranty; and distribute a copy of this License along with the

Library.

You may charge a fee for the physical act of transferring a copy,

and you may at your option offer warranty protection in exchange for a

fee.

2. You may modify your copy or copies of the Library or any portion

of it, thus forming a work based on the Library, and copy and

distribute such modifications or work under the terms of Section 1

above, provided that you also meet all of these conditions:

Page 216: CKB Linux オプション 2 - COMPUTEX | 株式会社 …”使用になる前に このたびはCKB Linux オプション2.1 をお買い上げいただきありがとうございます。

CKB Linux オプション 2.1 導入ガイド 第 11 章 CKB Linux SDK に含まれるソフトウェア 212

a) The modified work must itself be a software library.

b) You must cause the files modified to carry prominent notices

stating that you changed the files and the date of any change.

c) You must cause the whole of the work to be licensed at no

charge to all third parties under the terms of this License.

d) If a facility in the modified Library refers to a function or a

table of data to be supplied by an application program that uses

the facility, other than as an argument passed when the facility

is invoked, then you must make a good faith effort to ensure that,

in the event an application does not supply such function or

table, the facility still operates, and performs whatever part of

its purpose remains meaningful.

(For example, a function in a library to compute square roots has

a purpose that is entirely well-defined independent of the

application. Therefore, Subsection 2d requires that any

application-supplied function or table used by this function must

be optional: if the application does not supply it, the square

root function must still compute square roots.)

These requirements apply to the modified work as a whole. If

identifiable sections of that work are not derived from the Library,

and can be reasonably considered independent and separate works in

themselves, then this License, and its terms, do not apply to those

sections when you distribute them as separate works. But when you

distribute the same sections as part of a whole which is a work based

on the Library, the distribution of the whole must be on the terms of

this License, whose permissions for other licensees extend to the

entire whole, and thus to each and every part regardless of who wrote

it.

Thus, it is not the intent of this section to claim rights or contest

your rights to work written entirely by you; rather, the intent is to

exercise the right to control the distribution of derivative or

collective works based on the Library.

In addition, mere aggregation of another work not based on the Library

with the Library (or with a work based on the Library) on a volume of

a storage or distribution medium does not bring the other work under

the scope of this License.

3. You may opt to apply the terms of the ordinary GNU General Public

License instead of this License to a given copy of the Library. To do

this, you must alter all the notices that refer to this License, so

that they refer to the ordinary GNU General Public License, version 2,

instead of to this License. (If a newer version than version 2 of the

ordinary GNU General Public License has appeared, then you can specify

that version instead if you wish.) Do not make any other change in

Page 217: CKB Linux オプション 2 - COMPUTEX | 株式会社 …”使用になる前に このたびはCKB Linux オプション2.1 をお買い上げいただきありがとうございます。

CKB Linux オプション 2.1 導入ガイド 第 11 章 CKB Linux SDK に含まれるソフトウェア 213

these notices.

Once this change is made in a given copy, it is irreversible for

that copy, so the ordinary GNU General Public License applies to all

subsequent copies and derivative works made from that copy.

This option is useful when you wish to copy part of the code of

the Library into a program that is not a library.

4. You may copy and distribute the Library (or a portion or

derivative of it, under Section 2) in object code or executable form

under the terms of Sections 1 and 2 above provided that you accompany

it with the complete corresponding machine-readable source code, which

must be distributed under the terms of Sections 1 and 2 above on a

medium customarily used for software interchange.

If distribution of object code is made by offering access to copy

from a designated place, then offering equivalent access to copy the

source code from the same place satisfies the requirement to

distribute the source code, even though third parties are not

compelled to copy the source along with the object code.

5. A program that contains no derivative of any portion of the

Library, but is designed to work with the Library by being compiled or

linked with it, is called a "work that uses the Library". Such a

work, in isolation, is not a derivative work of the Library, and

therefore falls outside the scope of this License.

However, linking a "work that uses the Library" with the Library

creates an executable that is a derivative of the Library (because it

contains portions of the Library), rather than a "work that uses the

library". The executable is therefore covered by this License.

Section 6 states terms for distribution of such executables.

When a "work that uses the Library" uses material from a header file

that is part of the Library, the object code for the work may be a

derivative work of the Library even though the source code is not.

Whether this is true is especially significant if the work can be

linked without the Library, or if the work is itself a library. The

threshold for this to be true is not precisely defined by law.

If such an object file uses only numerical parameters, data

structure layouts and accessors, and small macros and small inline

functions (ten lines or less in length), then the use of the object

file is unrestricted, regardless of whether it is legally a derivative

work. (Executables containing this object code plus portions of the

Library will still fall under Section 6.)

Otherwise, if the work is a derivative of the Library, you may

distribute the object code for the work under the terms of Section 6.

Any executables containing that work also fall under Section 6,

Page 218: CKB Linux オプション 2 - COMPUTEX | 株式会社 …”使用になる前に このたびはCKB Linux オプション2.1 をお買い上げいただきありがとうございます。

CKB Linux オプション 2.1 導入ガイド 第 11 章 CKB Linux SDK に含まれるソフトウェア 214

whether or not they are linked directly with the Library itself.

6. As an exception to the Sections above, you may also combine or

link a "work that uses the Library" with the Library to produce a

work containing portions of the Library, and distribute that work

under terms of your choice, provided that the terms permit

modification of the work for the customer's own use and reverse

engineering for debugging such modifications.

You must give prominent notice with each copy of the work that the

Library is used in it and that the Library and its use are covered by

this License. You must supply a copy of this License. If the work

during execution displays copyright notices, you must include the

copyright notice for the Library among them, as well as a reference

directing the user to the copy of this License. Also, you must do one

of these things:

a) Accompany the work with the complete corresponding

machine-readable source code for the Library including whatever

changes were used in the work (which must be distributed under

Sections 1 and 2 above); and, if the work is an executable linked

with the Library, with the complete machine-readable "work that

uses the Library", as object code and/or source code, so that the

user can modify the Library and then relink to produce a modified

executable containing the modified Library. (It is understood

that the user who changes the contents of definitions files in the

Library will not necessarily be able to recompile the application

to use the modified definitions.)

b) Use a suitable shared library mechanism for linking with the

Library. A suitable mechanism is one that (1) uses at run time a

copy of the library already present on the user's computer system,

rather than copying library functions into the executable, and (2)

will operate properly with a modified version of the library, if

the user installs one, as long as the modified version is

interface-compatible with the version that the work was made with.

c) Accompany the work with a written offer, valid for at

least three years, to give the same user the materials

specified in Subsection 6a, above, for a charge no more

than the cost of performing this distribution.

d) If distribution of the work is made by offering access to copy

from a designated place, offer equivalent access to copy the above

specified materials from the same place.

e) Verify that the user has already received a copy of these

materials or that you have already sent this user a copy.

For an executable, the required form of the "work that uses the

Library" must include any data and utility programs needed for

Page 219: CKB Linux オプション 2 - COMPUTEX | 株式会社 …”使用になる前に このたびはCKB Linux オプション2.1 をお買い上げいただきありがとうございます。

CKB Linux オプション 2.1 導入ガイド 第 11 章 CKB Linux SDK に含まれるソフトウェア 215

reproducing the executable from it. However, as a special exception,

the materials to be distributed need not include anything that is

normally distributed (in either source or binary form) with the major

components (compiler, kernel, and so on) of the operating system on

which the executable runs, unless that component itself accompanies

the executable.

It may happen that this requirement contradicts the license

restrictions of other proprietary libraries that do not normally

accompany the operating system. Such a contradiction means you cannot

use both them and the Library together in an executable that you

distribute.

7. You may place library facilities that are a work based on the

Library side-by-side in a single library together with other library

facilities not covered by this License, and distribute such a combined

library, provided that the separate distribution of the work based on

the Library and of the other library facilities is otherwise

permitted, and provided that you do these two things:

a) Accompany the combined library with a copy of the same work

based on the Library, uncombined with any other library

facilities. This must be distributed under the terms of the

Sections above.

b) Give prominent notice with the combined library of the fact

that part of it is a work based on the Library, and explaining

where to find the accompanying uncombined form of the same work.

8. You may not copy, modify, sublicense, link with, or distribute

the Library except as expressly provided under this License. Any

attempt otherwise to copy, modify, sublicense, link with, or

distribute the Library is void, and will automatically terminate your

rights under this License. However, parties who have received copies,

or rights, from you under this License will not have their licenses

terminated so long as such parties remain in full compliance.

9. You are not required to accept this License, since you have not

signed it. However, nothing else grants you permission to modify or

distribute the Library or its derivative works. These actions are

prohibited by law if you do not accept this License. Therefore, by

modifying or distributing the Library (or any work based on the

Library), you indicate your acceptance of this License to do so, and

all its terms and conditions for copying, distributing or modifying

the Library or works based on it.

10. Each time you redistribute the Library (or any work based on the

Library), the recipient automatically receives a license from the

original licensor to copy, distribute, link with or modify the Library

subject to these terms and conditions. You may not impose any further

restrictions on the recipients' exercise of the rights granted herein.

Page 220: CKB Linux オプション 2 - COMPUTEX | 株式会社 …”使用になる前に このたびはCKB Linux オプション2.1 をお買い上げいただきありがとうございます。

CKB Linux オプション 2.1 導入ガイド 第 11 章 CKB Linux SDK に含まれるソフトウェア 216

You are not responsible for enforcing compliance by third parties with

this License.

11. If, as a consequence of a court judgment or allegation of patent

infringement or for any other reason (not limited to patent issues),

conditions are imposed on you (whether by court order, agreement or

otherwise) that contradict the conditions of this License, they do not

excuse you from the conditions of this License. If you cannot

distribute so as to satisfy simultaneously your obligations under this

License and any other pertinent obligations, then as a consequence you

may not distribute the Library at all. For example, if a patent

license would not permit royalty-free redistribution of the Library by

all those who receive copies directly or indirectly through you, then

the only way you could satisfy both it and this License would be to

refrain entirely from distribution of the Library.

If any portion of this section is held invalid or unenforceable under any

particular circumstance, the balance of the section is intended to apply,

and the section as a whole is intended to apply in other circumstances.

It is not the purpose of this section to induce you to infringe any

patents or other property right claims or to contest validity of any

such claims; this section has the sole purpose of protecting the

integrity of the free software distribution system which is

implemented by public license practices. Many people have made

generous contributions to the wide range of software distributed

through that system in reliance on consistent application of that

system; it is up to the author/donor to decide if he or she is willing

to distribute software through any other system and a licensee cannot

impose that choice.

This section is intended to make thoroughly clear what is believed to

be a consequence of the rest of this License.

12. If the distribution and/or use of the Library is restricted in

certain countries either by patents or by copyrighted interfaces, the

original copyright holder who places the Library under this License may add

an explicit geographical distribution limitation excluding those countries,

so that distribution is permitted only in or among countries not thus

excluded. In such case, this License incorporates the limitation as if

written in the body of this License.

13. The Free Software Foundation may publish revised and/or new

versions of the Lesser General Public License from time to time.

Such new versions will be similar in spirit to the present version,

but may differ in detail to address new problems or concerns.

Each version is given a distinguishing version number. If the Library

specifies a version number of this License which applies to it and

"any later version", you have the option of following the terms and

conditions either of that version or of any later version published by

Page 221: CKB Linux オプション 2 - COMPUTEX | 株式会社 …”使用になる前に このたびはCKB Linux オプション2.1 をお買い上げいただきありがとうございます。

CKB Linux オプション 2.1 導入ガイド 第 11 章 CKB Linux SDK に含まれるソフトウェア 217

the Free Software Foundation. If the Library does not specify a

license version number, you may choose any version ever published by

the Free Software Foundation.

14. If you wish to incorporate parts of the Library into other free

programs whose distribution conditions are incompatible with these,

write to the author to ask for permission. For software which is

copyrighted by the Free Software Foundation, write to the Free

Software Foundation; we sometimes make exceptions for this. Our

decision will be guided by the two goals of preserving the free status

of all derivatives of our free software and of promoting the sharing

and reuse of software generally.

NO WARRANTY

15. BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO

WARRANTY FOR THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW.

EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR

OTHER PARTIES PROVIDE THE LIBRARY "AS IS" WITHOUT WARRANTY OF ANY

KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE

IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR

PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE

LIBRARY IS WITH YOU. SHOULD THE LIBRARY PROVE DEFECTIVE, YOU ASSUME

THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION.

16. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN

WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY

AND/OR REDISTRIBUTE THE LIBRARY AS PERMITTED ABOVE, BE LIABLE TO YOU

FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR

CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE

LIBRARY (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING

RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A

FAILURE OF THE LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF

SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH

DAMAGES.

END OF TERMS AND CONDITIONS

How to Apply These Terms to Your New Libraries

If you develop a new library, and you want it to be of the greatest

possible use to the public, we recommend making it free software that

everyone can redistribute and change. You can do so by permitting

redistribution under these terms (or, alternatively, under the terms of the

ordinary General Public License).

To apply these terms, attach the following notices to the library. It is

safest to attach them to the start of each source file to most effectively

convey the exclusion of warranty; and each file should have at least the

"copyright" line and a pointer to where the full notice is found.

Page 222: CKB Linux オプション 2 - COMPUTEX | 株式会社 …”使用になる前に このたびはCKB Linux オプション2.1 をお買い上げいただきありがとうございます。

CKB Linux オプション 2.1 導入ガイド 第 11 章 CKB Linux SDK に含まれるソフトウェア 218

<one line to give the library's name and a brief idea of what it does.>

Copyright (C) <year> <name of author>

This library is free software; you can redistribute it and/or

modify it under the terms of the GNU Lesser General Public

License as published by the Free Software Foundation; either

version 2.1 of the License, or (at your option) any later version.

This library is distributed in the hope that it will be useful,

but WITHOUT ANY WARRANTY; without even the implied warranty of

MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU

Lesser General Public License for more details.

You should have received a copy of the GNU Lesser General Public

License along with this library; if not, write to the Free Software

Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA

Also add information on how to contact you by electronic and paper mail.

You should also get your employer (if you work as a programmer) or your

school, if any, to sign a "copyright disclaimer" for the library, if

necessary. Here is a sample; alter the names:

Yoyodyne, Inc., hereby disclaims all copyright interest in the

library `Frob' (a library for tweaking knobs) written by James Random Hacker.

<signature of Ty Coon>, 1 April 1990

Ty Coon, President of Vice

That's all there is to it!

::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::

ncurses: README file

::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::

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

-- Copyright (c) 1998-2004,2006 Free Software Foundation, Inc. --

-- --

-- 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, distribute with modifications, 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. --

Page 223: CKB Linux オプション 2 - COMPUTEX | 株式会社 …”使用になる前に このたびはCKB Linux オプション2.1 をお買い上げいただきありがとうございます。

CKB Linux オプション 2.1 導入ガイド 第 11 章 CKB Linux SDK に含まれるソフトウェア 219

-- --

-- 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 ABOVE 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. --

-- --

-- Except as contained in this notice, the name(s) of the above copyright --

-- holders shall not be used in advertising or otherwise to promote the --

-- sale, use or other dealings in this Software without prior written --

-- authorization. --

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

-- $Id: README,v 1.23 2006/04/22 22:19:37 tom Exp $

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

README file for the ncurses package

See the file ANNOUNCE for a summary of ncurses features and ports.

See the file INSTALL for instructions on how to build and install ncurses.

See the file NEWS for a release history and bug-fix notes.

See the file TO-DO for things that still need doing, including known bugs.

Browse the file misc/ncurses-intro.html for narrative descriptions of how

to use ncurses and the panel, menu, and form libraries.

Browse the file doc/html/hackguide.html for a tour of the package internals.

ROADMAP AND PACKAGE OVERVIEW:

You should be reading this file in a directory called: ncurses-d.d, where d.d

is the current version number (see the dist.mk file in this directory for

that). There should be a number of subdirectories, including `c++', `form',

`man', `menu', `misc', `ncurses', `panel', `progs', `test', 'tack' and `Ada95'.

(The 'tack' program may be distributed separately).

A full build/install of this package typically installs several libraries, a

handful of utilities, and a database hierarchy. Here is an inventory of the

pieces:

The libraries are:

libncurses.a (normal)

libncurses.so (shared)

libncurses_g.a (debug and trace code enabled)

libncurses_p.a (profiling enabled)

libpanel.a (normal)

libpanel.so (shared)

libpanel_g.a (debug and trace code enabled)

Page 224: CKB Linux オプション 2 - COMPUTEX | 株式会社 …”使用になる前に このたびはCKB Linux オプション2.1 をお買い上げいただきありがとうございます。

CKB Linux オプション 2.1 導入ガイド 第 11 章 CKB Linux SDK に含まれるソフトウェア 220

libmenu.a (normal)

libmenu.so (shared)

libmenu_g.a (debug enabled)

libform.a (normal)

libform.so (shared)

libform_g.a (debug enabled)

If you configure using the --enable-widec option, a "w" is appended to the

library names (e.g., libncursesw.a), and the resulting libraries support

wide-characters, e.g., via a UTF-8 locale. The corresponding header files

are compatible with the non-wide-character configuration; wide-character

features are provided by ifdef's in the header files. The wide-character

library interfaces are not binary-compatible with the non-wide-character

version.

The ncurses libraries implement the curses API. The panel, menu and forms

libraries implement clones of the SVr4 panel, menu and forms APIs. The source

code for these lives in the `ncurses', `panel', `menu', and `form' directories

respectively.

In the `c++' directory, you'll find code that defines an interface to the

curses, forms, menus and panels library packaged as C++ classes, and a demo program in C++

to test it. These class definition modules are not installed by the 'make

install.libs' rule as libncurses++.

In the `Ada95' directory, you'll find code and documentation for an

Ada95 binding of the curses API, to be used with the GNAT compiler.

This binding is built by a normal top-level `make' if configure detects

an usable version of GNAT (3.11 or above). It is not installed automatically.

See the Ada95 directory for more build and installation instructions and

for documentation of the binding.

To do its job, the ncurses code needs your terminal type to be set in the

environment variable TERM (normally set by your OS; under UNIX, getty(1)

typically does this, but you can override it in your .profile); and, it needs a

database of terminal descriptions in which to look up your terminal type's

capabilities.

In older (V7/BSD) versions of curses, the database was a flat text file,

/etc/termcap; in newer (USG/USL) versions, the database is a hierarchy of

fast-loading binary description blocks under /usr/lib/terminfo. These binary

blocks are compiled from an improved editable text representation called

`terminfo' format (documented in man/terminfo.5). The ncurses library can use

either /etc/termcap or the compiled binary terminfo blocks, but prefers the

second form.

In the `misc' directory, there is a text file terminfo.src, in editable

terminfo format, which can be used to generate the terminfo binaries (that's

what make install.data does). If the package was built with the

--enable-termcap option enabled, and the ncurses library cannot find a terminfo

Page 225: CKB Linux オプション 2 - COMPUTEX | 株式会社 …”使用になる前に このたびはCKB Linux オプション2.1 をお買い上げいただきありがとうございます。

CKB Linux オプション 2.1 導入ガイド 第 11 章 CKB Linux SDK に含まれるソフトウェア 221

description for your terminal, it will fall back to the termcap file supplied

with your system (which the ncurses package installation leaves strictly

alone).

The utilities are as follows:

tic -- terminfo source to binary compiler

infocmp -- terminfo binary to source decompiler/comparator

clear -- emits clear-screen for current terminal

tput -- shell-script access to terminal capabilities.

toe -- table of entries utility

tset -- terminal-initialization utility

The first two (tic and infocmp) are used for manipulating terminfo

descriptions; the next two (clear and tput) are for use in shell scripts. The

last (tset) is provided for 4.4BSD compatibility. The source code for all of

these lives in the `progs' directory.

Detailed documentation for all libraries and utilities can be found in the

`man' and `doc' directories. An HTML introduction to ncurses, panels, and

menus programming lives in the `doc/html' directory. Manpages in HTML format

are under `doc/html/man'.

The `test' directory contains programs that can be used to verify or

demonstrate the functions of the ncurses libraries. See test/README for

descriptions of these programs. Notably, the `ncurses' utility is designed to

help you systematically exercise the library functions.

AUTHORS:

Pavel Curtis:

wrote the original ncurses

Zeyd M. Ben-Halim:

port of original to Linux and many enhancements.

Thomas Dickey (maintainer for 1.9.9g through 4.1, resuming with FSF's 5.0):

configuration scripts, porting, mods to adhere to XSI Curses in the

areas of background color, terminal modes. Also memory leak testing,

the wresize, default colors and key definition extensions and numerous

bug fixes (more than half of those enumerated in NEWS beginning with

the internal release 1.8.9).

Florian La Roche (official maintainer for FSF's ncurses 4.2)

Beginning with release 4.2, ncurses is distributed under an MIT-style

license.

Eric S. Raymond:

the man pages, infocmp(1), tput(1), clear(1), captoinfo(1), tset(1),

toe(1), most of tic(1), trace levels, the HTML intro, wgetnstr() and

many other entry points, the cursor-movement optimization, the

Page 226: CKB Linux オプション 2 - COMPUTEX | 株式会社 …”使用になる前に このたびはCKB Linux オプション2.1 をお買い上げいただきありがとうございます。

CKB Linux オプション 2.1 導入ガイド 第 11 章 CKB Linux SDK に含まれるソフトウェア 222

scroll-pack optimizer for vertical motions, the mouse interface and

xterm mouse support, and the ncurses test program.

Juergen Pfeifer

The menu and form libraries, C++ bindings for ncurses, menus, forms and

panels, as well as the Ada95 binding. Ongoing support for panel.

CONTRIBUTORS:

Alexander V. Lukyanov

for numerous fixes and improvements to the optimization logic.

David MacKenzie

for first-class bug-chasing and methodical testing.

Ross Ridge

for the code that hacks termcap parameterized strings into terminfo.

Warren Tucker and Gerhard Fuernkranz,

for writing and sending the panel library.

Hellmuth Michaelis,

for many patches and testing the optimization code.

Eric Newton, Ulrich Drepper, and Anatoly Ivasyuk:

the C++ code.

Jonathan Ross,

for lessons in using sed.

Keith Bostic (maintainer of 4.4BSD curses)

for help, criticism, comments, bug-finding, and being willing to

deep-six BSD curses for this one when it grew up.

Richard Stallman,

for his commitment to making ncurses free software.

Countless other people have contributed by reporting bugs, sending fixes,

suggesting improvements, and generally whining about ncurses :-)

BUGS:

See the INSTALL file for bug and developer-list addresses.

The Hacker's Guide in the doc directory includes some guidelines

on how to report bugs in ways that will get them fixed most quickly.

::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::

ntp: COPYRIGHT file

::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::

This file is automatically generated from html/copyright.html

Page 227: CKB Linux オプション 2 - COMPUTEX | 株式会社 …”使用になる前に このたびはCKB Linux オプション2.1 をお買い上げいただきありがとうございます。

CKB Linux オプション 2.1 導入ガイド 第 11 章 CKB Linux SDK に含まれるソフトウェア 223

Copyright Notice

jpg "Clone me," says Dolly sheepishly.

Last update: 1-Jan-2011 08:34 UTC

_________________________________________________________________

The following copyright notice applies to all files collectively

called the Network Time Protocol Version 4 Distribution. Unless

specifically declared otherwise in an individual file, this notice

applies as if the text was explicitly included in the file.

***********************************************************************

* *

* Copyright (c) University of Delaware 1992-2011 *

* *

* Permission to use, copy, modify, and distribute this software and *

* its documentation for any purpose with or without fee is hereby *

* granted, provided that the above copyright notice appears in all *

* copies and that both the copyright notice and this permission *

* notice appear in supporting documentation, and that the name *

* University of Delaware not be used in advertising or publicity *

* pertaining to distribution of the software without specific, *

* written prior permission. The University of Delaware makes no *

* representations about the suitability this software for any *

* purpose. It is provided "as is" without express or implied *

* warranty. *

* *

***********************************************************************

The following individuals contributed in part to the Network Time

Protocol Distribution Version 4 and are acknowledged as authors of

this work.

1. [1]Takao Abe <[email protected]> Clock driver for JJY receivers

2. [2]Mark Andrews <[email protected]> Leitch atomic clock

controller

3. [3]Bernd Altmeier <[email protected]> hopf Elektronik serial

line and PCI-bus devices

4. [4]Viraj Bais <[email protected]> and [5]Clayton Kirkwood

<[email protected]> port to WindowsNT 3.5

5. [6]Michael Barone <michael,[email protected]> GPSVME fixes

6. [7]Karl Berry <[email protected]> syslog to file option

7. [8]Greg Brackley <[email protected]> Major rework of WINNT

port. Clean up recvbuf and iosignal code into separate modules.

8. [9]Marc Brett <[email protected]> Magnavox GPS clock driver

9. [10]Piete Brooks <[email protected]> MSF clock driver,

Trimble PARSE support

10. [11]Nelson B Bolyard <[email protected]> update and complete

broadcast and crypto features in sntp

11. [12]Jean-Francois Boudreault

<[email protected]> IPv6 support

Page 228: CKB Linux オプション 2 - COMPUTEX | 株式会社 …”使用になる前に このたびはCKB Linux オプション2.1 をお買い上げいただきありがとうございます。

CKB Linux オプション 2.1 導入ガイド 第 11 章 CKB Linux SDK に含まれるソフトウェア 224

12. [13]Reg Clemens <[email protected]> Oncore driver (Current maintainer)

13. [14]Steve Clift <[email protected]> OMEGA clock driver

14. [15]Casey Crellin <[email protected]> vxWorks (Tornado) port and

help with target configuration

15. [16]Sven Dietrich <[email protected]> Palisade reference

clock driver, NT adj. residuals, integrated Greg's Winnt port.

16. [17]John A. Dundas III <[email protected]> Apple A/UX port

17. [18]Torsten Duwe <[email protected]> Linux

port

18. [19]Dennis Ferguson <[email protected]> foundation code for

NTP Version 2 as specified in RFC-1119

19. [20]John Hay <[email protected]> IPv6 support and testing

20. [21]Dave Hart <[email protected]> General maintenance, Windows

port interpolation rewrite

21. [22]Claas Hilbrecht <[email protected]> NeoClock4X clock driver

22. [23]Glenn Hollinger <[email protected]> GOES clock driver

23. [24]Mike Iglesias <[email protected]> DEC Alpha port

24. [25]Jim Jagielski <[email protected]> A/UX port

25. [26]Jeff Johnson <[email protected]> massive prototyping

overhaul

26. [27]Hans Lambermont <[email protected]> or

[28]<[email protected]> ntpsweep

27. [29]Poul-Henning Kamp <[email protected]> Oncore driver (Original

author)

28. [30]Frank Kardel [31]<kardel (at) ntp (dot) org> PARSE <GENERIC>

driver (>14 reference clocks), STREAMS modules for PARSE, support

scripts, syslog cleanup, dynamic interface handling

29. [32]William L. Jones <[email protected]> RS/6000 AIX

modifications, HPUX modifications

30. [33]Dave Katz <[email protected]> RS/6000 AIX port

31. [34]Craig Leres <[email protected]> 4.4BSD port, ppsclock, Magnavox

GPS clock driver

32. [35]George Lindholm <[email protected]> SunOS 5.1 port

33. [36]Louis A. Mamakos <[email protected]> MD5-based authentication

34. [37]Lars H. Mathiesen <[email protected]> adaptation of foundation

code for Version 3 as specified in RFC-1305

35. [38]Danny Mayer <[email protected]>Network I/O, Windows Port, Code

Maintenance

36. [39]David L. Mills <[email protected]> Version 4 foundation: clock

discipline, authentication, precision kernel; clock drivers:

Spectracom, Austron, Arbiter, Heath, ATOM, ACTS, KSI/Odetics;

audio clock drivers: CHU, WWV/H, IRIG

37. [40]Wolfgang Moeller <[email protected]> VMS port

38. [41]Jeffrey Mogul <[email protected]> ntptrace utility

39. [42]Tom Moore <[email protected]> i386 svr4 port

40. [43]Kamal A Mostafa <[email protected]> SCO OpenServer port

41. [44]Derek Mulcahy <[email protected]> and [45]Damon

Hart-Davis <[email protected]> ARCRON MSF clock driver

42. [46]Rob Neal <[email protected]> Bancomm refclock and config/parse code

maintenance

43. [47]Rainer Pruy <[email protected]>

Page 229: CKB Linux オプション 2 - COMPUTEX | 株式会社 …”使用になる前に このたびはCKB Linux オプション2.1 をお買い上げいただきありがとうございます。

CKB Linux オプション 2.1 導入ガイド 第 11 章 CKB Linux SDK に含まれるソフトウェア 225

monitoring/trap scripts, statistics file handling

44. [48]Dirce Richards <[email protected]> Digital UNIX V4.0 port

45. [49]Wilfredo S 疣 chez <[email protected]> added support for

NetInfo

46. [50]Nick Sayer <[email protected]> SunOS streams modules

47. [51]Jack Sasportas <[email protected]> Saved a Lot of

space on the stuff in the html/pic/ subdirectory

48. [52]Ray Schnitzler <[email protected]> Unixware1 port

49. [53]Michael Shields <[email protected]> USNO clock driver

50. [54]Jeff Steinman <[email protected]> Datum PTS clock

driver

51. [55]Harlan Stenn <[email protected]> GNU automake/autoconfigure

makeover, various other bits (see the ChangeLog)

52. [56]Kenneth Stone <[email protected]> HP-UX port

53. [57]Ajit Thyagarajan <[email protected]>IP multicast/anycast

support

54. [58]Tomoaki TSURUOKA <[email protected]>TRAK clock

driver

55. [59]Paul A Vixie <[email protected]> TrueTime GPS driver, generic

TrueTime clock driver

56. [60]Ulrich Windl <[email protected]> corrected and

validated HTML documents according to the HTML DTD

_________________________________________________________________

References

1. mailto:%[email protected]

2. mailto:%[email protected]

3. mailto:%[email protected]

4. mailto:%[email protected]

5. mailto:%[email protected]

6. mailto:%[email protected]

7. mailto:%[email protected]

8. mailto:%[email protected]

9. mailto:%[email protected]

10. mailto:%[email protected]

11. mailto:%[email protected]

12. mailto:%[email protected]

13. mailto:%[email protected]

14. mailto:%[email protected]

15. mailto:[email protected]

16. mailto:%[email protected]

17. mailto:%[email protected]

18. mailto:%[email protected]

19. mailto:%[email protected]

20. mailto:%[email protected]

21. mailto:%[email protected]

22. mailto:%[email protected]

23. mailto:%[email protected]

24. mailto:%[email protected]

25. mailto:%20jagubox.gsfc.nasa.gov

Page 230: CKB Linux オプション 2 - COMPUTEX | 株式会社 …”使用になる前に このたびはCKB Linux オプション2.1 をお買い上げいただきありがとうございます。

CKB Linux オプション 2.1 導入ガイド 第 11 章 CKB Linux SDK に含まれるソフトウェア 226

26. mailto:%[email protected]

27. mailto:[email protected]

28. mailto:[email protected]

29. mailto:%[email protected]

30. http://www4.informatik.uni-erlangen.de/%7ekardel

31. mailto:%20kardel(at)ntp(dot)org

32. mailto:%[email protected]

33. mailto:%[email protected]

34. mailto:%[email protected]

35. mailto:%[email protected]

36. mailto:%[email protected]

37. mailto:%[email protected]

38. mailto:%[email protected]

39. mailto:%[email protected]

40. mailto:%[email protected]

41. mailto:%[email protected]

42. mailto:%[email protected]

43. mailto:%[email protected]

44. mailto:%[email protected]

45. mailto:%[email protected]

46. mailto:%[email protected]

47. mailto:%[email protected]

48. mailto:%[email protected]

49. mailto:%[email protected]

50. mailto:%[email protected]

51. mailto:%[email protected]

52. mailto:%[email protected]

53. mailto:%[email protected]

54. mailto:%20pebbles.jpl.nasa.gov

55. mailto:%[email protected]

56. mailto:%[email protected]

57. mailto:%[email protected]

58. mailto:%[email protected]

59. mailto:%[email protected]

60. mailto:%[email protected]

::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::

sdl: COPYING file

::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::

GNU LESSER GENERAL PUBLIC LICENSE

Version 2.1, February 1999

Copyright (C) 1991, 1999 Free Software Foundation, Inc.

51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA

Everyone is permitted to copy and distribute verbatim copies

of this license document, but changing it is not allowed.

[This is the first released version of the Lesser GPL. It also counts

as the successor of the GNU Library Public License, version 2, hence

Page 231: CKB Linux オプション 2 - COMPUTEX | 株式会社 …”使用になる前に このたびはCKB Linux オプション2.1 をお買い上げいただきありがとうございます。

CKB Linux オプション 2.1 導入ガイド 第 11 章 CKB Linux SDK に含まれるソフトウェア 227

the version number 2.1.]

Preamble

The licenses for most software are designed to take away your

freedom to share and change it. By contrast, the GNU General Public

Licenses are intended to guarantee your freedom to share and change

free software--to make sure the software is free for all its users.

This license, the Lesser General Public License, applies to some

specially designated software packages--typically libraries--of the

Free Software Foundation and other authors who decide to use it. You

can use it too, but we suggest you first think carefully about whether

this license or the ordinary General Public License is the better

strategy to use in any particular case, based on the explanations below.

When we speak of free software, we are referring to freedom of use,

not price. Our General Public Licenses are designed to make sure that

you have the freedom to distribute copies of free software (and charge

for this service if you wish); that you receive source code or can get

it if you want it; that you can change the software and use pieces of

it in new free programs; and that you are informed that you can do

these things.

To protect your rights, we need to make restrictions that forbid

distributors to deny you these rights or to ask you to surrender these

rights. These restrictions translate to certain responsibilities for

you if you distribute copies of the library or if you modify it.

For example, if you distribute copies of the library, whether gratis

or for a fee, you must give the recipients all the rights that we gave

you. You must make sure that they, too, receive or can get the source

code. If you link other code with the library, you must provide

complete object files to the recipients, so that they can relink them

with the library after making changes to the library and recompiling

it. And you must show them these terms so they know their rights.

We protect your rights with a two-step method: (1) we copyright the

library, and (2) we offer you this license, which gives you legal

permission to copy, distribute and/or modify the library.

To protect each distributor, we want to make it very clear that

there is no warranty for the free library. Also, if the library is

modified by someone else and passed on, the recipients should know

that what they have is not the original version, so that the original

author's reputation will not be affected by problems that might be

introduced by others.

Finally, software patents pose a constant threat to the existence of

any free program. We wish to make sure that a company cannot

effectively restrict the users of a free program by obtaining a

Page 232: CKB Linux オプション 2 - COMPUTEX | 株式会社 …”使用になる前に このたびはCKB Linux オプション2.1 をお買い上げいただきありがとうございます。

CKB Linux オプション 2.1 導入ガイド 第 11 章 CKB Linux SDK に含まれるソフトウェア 228

restrictive license from a patent holder. Therefore, we insist that

any patent license obtained for a version of the library must be

consistent with the full freedom of use specified in this license.

Most GNU software, including some libraries, is covered by the

ordinary GNU General Public License. This license, the GNU Lesser

General Public License, applies to certain designated libraries, and

is quite different from the ordinary General Public License. We use

this license for certain libraries in order to permit linking those

libraries into non-free programs.

When a program is linked with a library, whether statically or using

a shared library, the combination of the two is legally speaking a

combined work, a derivative of the original library. The ordinary

General Public License therefore permits such linking only if the

entire combination fits its criteria of freedom. The Lesser General

Public License permits more lax criteria for linking other code with

the library.

We call this license the "Lesser" General Public License because it

does Less to protect the user's freedom than the ordinary General

Public License. It also provides other free software developers Less

of an advantage over competing non-free programs. These disadvantages

are the reason we use the ordinary General Public License for many

libraries. However, the Lesser license provides advantages in certain

special circumstances.

For example, on rare occasions, there may be a special need to

encourage the widest possible use of a certain library, so that it becomes

a de-facto standard. To achieve this, non-free programs must be

allowed to use the library. A more frequent case is that a free

library does the same job as widely used non-free libraries. In this

case, there is little to gain by limiting the free library to free

software only, so we use the Lesser General Public License.

In other cases, permission to use a particular library in non-free

programs enables a greater number of people to use a large body of

free software. For example, permission to use the GNU C Library in

non-free programs enables many more people to use the whole GNU

operating system, as well as its variant, the GNU/Linux operating

system.

Although the Lesser General Public License is Less protective of the

users' freedom, it does ensure that the user of a program that is

linked with the Library has the freedom and the wherewithal to run

that program using a modified version of the Library.

The precise terms and conditions for copying, distribution and

modification follow. Pay close attention to the difference between a

"work based on the library" and a "work that uses the library". The

former contains code derived from the library, whereas the latter must

Page 233: CKB Linux オプション 2 - COMPUTEX | 株式会社 …”使用になる前に このたびはCKB Linux オプション2.1 をお買い上げいただきありがとうございます。

CKB Linux オプション 2.1 導入ガイド 第 11 章 CKB Linux SDK に含まれるソフトウェア 229

be combined with the library in order to run.

GNU LESSER GENERAL PUBLIC LICENSE

TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION

0. This License Agreement applies to any software library or other

program which contains a notice placed by the copyright holder or

other authorized party saying it may be distributed under the terms of

this Lesser General Public License (also called "this License").

Each licensee is addressed as "you".

A "library" means a collection of software functions and/or data

prepared so as to be conveniently linked with application programs

(which use some of those functions and data) to form executables.

The "Library", below, refers to any such software library or work

which has been distributed under these terms. A "work based on the

Library" means either the Library or any derivative work under

copyright law: that is to say, a work containing the Library or a

portion of it, either verbatim or with modifications and/or translated

straightforwardly into another language. (Hereinafter, translation is

included without limitation in the term "modification".)

"Source code" for a work means the preferred form of the work for

making modifications to it. For a library, complete source code means

all the source code for all modules it contains, plus any associated

interface definition files, plus the scripts used to control compilation

and installation of the library.

Activities other than copying, distribution and modification are not

covered by this License; they are outside its scope. The act of

running a program using the Library is not restricted, and output from

such a program is covered only if its contents constitute a work based

on the Library (independent of the use of the Library in a tool for

writing it). Whether that is true depends on what the Library does

and what the program that uses the Library does.

1. You may copy and distribute verbatim copies of the Library's

complete source code as you receive it, in any medium, provided that

you conspicuously and appropriately publish on each copy an

appropriate copyright notice and disclaimer of warranty; keep intact

all the notices that refer to this License and to the absence of any

warranty; and distribute a copy of this License along with the

Library.

You may charge a fee for the physical act of transferring a copy,

and you may at your option offer warranty protection in exchange for a

fee.

2. You may modify your copy or copies of the Library or any portion

of it, thus forming a work based on the Library, and copy and

Page 234: CKB Linux オプション 2 - COMPUTEX | 株式会社 …”使用になる前に このたびはCKB Linux オプション2.1 をお買い上げいただきありがとうございます。

CKB Linux オプション 2.1 導入ガイド 第 11 章 CKB Linux SDK に含まれるソフトウェア 230

distribute such modifications or work under the terms of Section 1

above, provided that you also meet all of these conditions:

a) The modified work must itself be a software library.

b) You must cause the files modified to carry prominent notices

stating that you changed the files and the date of any change.

c) You must cause the whole of the work to be licensed at no

charge to all third parties under the terms of this License.

d) If a facility in the modified Library refers to a function or a

table of data to be supplied by an application program that uses

the facility, other than as an argument passed when the facility

is invoked, then you must make a good faith effort to ensure that,

in the event an application does not supply such function or

table, the facility still operates, and performs whatever part of

its purpose remains meaningful.

(For example, a function in a library to compute square roots has

a purpose that is entirely well-defined independent of the

application. Therefore, Subsection 2d requires that any

application-supplied function or table used by this function must

be optional: if the application does not supply it, the square

root function must still compute square roots.)

These requirements apply to the modified work as a whole. If

identifiable sections of that work are not derived from the Library,

and can be reasonably considered independent and separate works in

themselves, then this License, and its terms, do not apply to those

sections when you distribute them as separate works. But when you

distribute the same sections as part of a whole which is a work based

on the Library, the distribution of the whole must be on the terms of

this License, whose permissions for other licensees extend to the

entire whole, and thus to each and every part regardless of who wrote

it.

Thus, it is not the intent of this section to claim rights or contest

your rights to work written entirely by you; rather, the intent is to

exercise the right to control the distribution of derivative or

collective works based on the Library.

In addition, mere aggregation of another work not based on the Library

with the Library (or with a work based on the Library) on a volume of

a storage or distribution medium does not bring the other work under

the scope of this License.

3. You may opt to apply the terms of the ordinary GNU General Public

License instead of this License to a given copy of the Library. To do

this, you must alter all the notices that refer to this License, so

that they refer to the ordinary GNU General Public License, version 2,

Page 235: CKB Linux オプション 2 - COMPUTEX | 株式会社 …”使用になる前に このたびはCKB Linux オプション2.1 をお買い上げいただきありがとうございます。

CKB Linux オプション 2.1 導入ガイド 第 11 章 CKB Linux SDK に含まれるソフトウェア 231

instead of to this License. (If a newer version than version 2 of the

ordinary GNU General Public License has appeared, then you can specify

that version instead if you wish.) Do not make any other change in

these notices.

Once this change is made in a given copy, it is irreversible for

that copy, so the ordinary GNU General Public License applies to all

subsequent copies and derivative works made from that copy.

This option is useful when you wish to copy part of the code of

the Library into a program that is not a library.

4. You may copy and distribute the Library (or a portion or

derivative of it, under Section 2) in object code or executable form

under the terms of Sections 1 and 2 above provided that you accompany

it with the complete corresponding machine-readable source code, which

must be distributed under the terms of Sections 1 and 2 above on a

medium customarily used for software interchange.

If distribution of object code is made by offering access to copy

from a designated place, then offering equivalent access to copy the

source code from the same place satisfies the requirement to

distribute the source code, even though third parties are not

compelled to copy the source along with the object code.

5. A program that contains no derivative of any portion of the

Library, but is designed to work with the Library by being compiled or

linked with it, is called a "work that uses the Library". Such a

work, in isolation, is not a derivative work of the Library, and

therefore falls outside the scope of this License.

However, linking a "work that uses the Library" with the Library

creates an executable that is a derivative of the Library (because it

contains portions of the Library), rather than a "work that uses the

library". The executable is therefore covered by this License.

Section 6 states terms for distribution of such executables.

When a "work that uses the Library" uses material from a header file

that is part of the Library, the object code for the work may be a

derivative work of the Library even though the source code is not.

Whether this is true is especially significant if the work can be

linked without the Library, or if the work is itself a library. The

threshold for this to be true is not precisely defined by law.

If such an object file uses only numerical parameters, data

structure layouts and accessors, and small macros and small inline

functions (ten lines or less in length), then the use of the object

file is unrestricted, regardless of whether it is legally a derivative

work. (Executables containing this object code plus portions of the

Library will still fall under Section 6.)

Page 236: CKB Linux オプション 2 - COMPUTEX | 株式会社 …”使用になる前に このたびはCKB Linux オプション2.1 をお買い上げいただきありがとうございます。

CKB Linux オプション 2.1 導入ガイド 第 11 章 CKB Linux SDK に含まれるソフトウェア 232

Otherwise, if the work is a derivative of the Library, you may

distribute the object code for the work under the terms of Section 6.

Any executables containing that work also fall under Section 6,

whether or not they are linked directly with the Library itself.

6. As an exception to the Sections above, you may also combine or

link a "work that uses the Library" with the Library to produce a

work containing portions of the Library, and distribute that work

under terms of your choice, provided that the terms permit

modification of the work for the customer's own use and reverse

engineering for debugging such modifications.

You must give prominent notice with each copy of the work that the

Library is used in it and that the Library and its use are covered by

this License. You must supply a copy of this License. If the work

during execution displays copyright notices, you must include the

copyright notice for the Library among them, as well as a reference

directing the user to the copy of this License. Also, you must do one

of these things:

a) Accompany the work with the complete corresponding

machine-readable source code for the Library including whatever

changes were used in the work (which must be distributed under

Sections 1 and 2 above); and, if the work is an executable linked

with the Library, with the complete machine-readable "work that

uses the Library", as object code and/or source code, so that the

user can modify the Library and then relink to produce a modified

executable containing the modified Library. (It is understood

that the user who changes the contents of definitions files in the

Library will not necessarily be able to recompile the application

to use the modified definitions.)

b) Use a suitable shared library mechanism for linking with the

Library. A suitable mechanism is one that (1) uses at run time a

copy of the library already present on the user's computer system,

rather than copying library functions into the executable, and (2)

will operate properly with a modified version of the library, if

the user installs one, as long as the modified version is

interface-compatible with the version that the work was made with.

c) Accompany the work with a written offer, valid for at

least three years, to give the same user the materials

specified in Subsection 6a, above, for a charge no more

than the cost of performing this distribution.

d) If distribution of the work is made by offering access to copy

from a designated place, offer equivalent access to copy the above

specified materials from the same place.

e) Verify that the user has already received a copy of these

materials or that you have already sent this user a copy.

Page 237: CKB Linux オプション 2 - COMPUTEX | 株式会社 …”使用になる前に このたびはCKB Linux オプション2.1 をお買い上げいただきありがとうございます。

CKB Linux オプション 2.1 導入ガイド 第 11 章 CKB Linux SDK に含まれるソフトウェア 233

For an executable, the required form of the "work that uses the

Library" must include any data and utility programs needed for

reproducing the executable from it. However, as a special exception,

the materials to be distributed need not include anything that is

normally distributed (in either source or binary form) with the major

components (compiler, kernel, and so on) of the operating system on

which the executable runs, unless that component itself accompanies

the executable.

It may happen that this requirement contradicts the license

restrictions of other proprietary libraries that do not normally

accompany the operating system. Such a contradiction means you cannot

use both them and the Library together in an executable that you

distribute.

7. You may place library facilities that are a work based on the

Library side-by-side in a single library together with other library

facilities not covered by this License, and distribute such a combined

library, provided that the separate distribution of the work based on

the Library and of the other library facilities is otherwise

permitted, and provided that you do these two things:

a) Accompany the combined library with a copy of the same work

based on the Library, uncombined with any other library

facilities. This must be distributed under the terms of the

Sections above.

b) Give prominent notice with the combined library of the fact

that part of it is a work based on the Library, and explaining

where to find the accompanying uncombined form of the same work.

8. You may not copy, modify, sublicense, link with, or distribute

the Library except as expressly provided under this License. Any

attempt otherwise to copy, modify, sublicense, link with, or

distribute the Library is void, and will automatically terminate your

rights under this License. However, parties who have received copies,

or rights, from you under this License will not have their licenses

terminated so long as such parties remain in full compliance.

9. You are not required to accept this License, since you have not

signed it. However, nothing else grants you permission to modify or

distribute the Library or its derivative works. These actions are

prohibited by law if you do not accept this License. Therefore, by

modifying or distributing the Library (or any work based on the

Library), you indicate your acceptance of this License to do so, and

all its terms and conditions for copying, distributing or modifying

the Library or works based on it.

10. Each time you redistribute the Library (or any work based on the

Library), the recipient automatically receives a license from the

Page 238: CKB Linux オプション 2 - COMPUTEX | 株式会社 …”使用になる前に このたびはCKB Linux オプション2.1 をお買い上げいただきありがとうございます。

CKB Linux オプション 2.1 導入ガイド 第 11 章 CKB Linux SDK に含まれるソフトウェア 234

original licensor to copy, distribute, link with or modify the Library

subject to these terms and conditions. You may not impose any further

restrictions on the recipients' exercise of the rights granted herein.

You are not responsible for enforcing compliance by third parties with

this License.

11. If, as a consequence of a court judgment or allegation of patent

infringement or for any other reason (not limited to patent issues),

conditions are imposed on you (whether by court order, agreement or

otherwise) that contradict the conditions of this License, they do not

excuse you from the conditions of this License. If you cannot

distribute so as to satisfy simultaneously your obligations under this

License and any other pertinent obligations, then as a consequence you

may not distribute the Library at all. For example, if a patent

license would not permit royalty-free redistribution of the Library by

all those who receive copies directly or indirectly through you, then

the only way you could satisfy both it and this License would be to

refrain entirely from distribution of the Library.

If any portion of this section is held invalid or unenforceable under any

particular circumstance, the balance of the section is intended to apply,

and the section as a whole is intended to apply in other circumstances.

It is not the purpose of this section to induce you to infringe any

patents or other property right claims or to contest validity of any

such claims; this section has the sole purpose of protecting the

integrity of the free software distribution system which is

implemented by public license practices. Many people have made

generous contributions to the wide range of software distributed

through that system in reliance on consistent application of that

system; it is up to the author/donor to decide if he or she is willing

to distribute software through any other system and a licensee cannot

impose that choice.

This section is intended to make thoroughly clear what is believed to

be a consequence of the rest of this License.

12. If the distribution and/or use of the Library is restricted in

certain countries either by patents or by copyrighted interfaces, the

original copyright holder who places the Library under this License may add

an explicit geographical distribution limitation excluding those countries,

so that distribution is permitted only in or among countries not thus

excluded. In such case, this License incorporates the limitation as if

written in the body of this License.

13. The Free Software Foundation may publish revised and/or new

versions of the Lesser General Public License from time to time.

Such new versions will be similar in spirit to the present version,

but may differ in detail to address new problems or concerns.

Each version is given a distinguishing version number. If the Library

Page 239: CKB Linux オプション 2 - COMPUTEX | 株式会社 …”使用になる前に このたびはCKB Linux オプション2.1 をお買い上げいただきありがとうございます。

CKB Linux オプション 2.1 導入ガイド 第 11 章 CKB Linux SDK に含まれるソフトウェア 235

specifies a version number of this License which applies to it and

"any later version", you have the option of following the terms and

conditions either of that version or of any later version published by

the Free Software Foundation. If the Library does not specify a

license version number, you may choose any version ever published by

the Free Software Foundation.

14. If you wish to incorporate parts of the Library into other free

programs whose distribution conditions are incompatible with these,

write to the author to ask for permission. For software which is

copyrighted by the Free Software Foundation, write to the Free

Software Foundation; we sometimes make exceptions for this. Our

decision will be guided by the two goals of preserving the free status

of all derivatives of our free software and of promoting the sharing

and reuse of software generally.

NO WARRANTY

15. BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO

WARRANTY FOR THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW.

EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR

OTHER PARTIES PROVIDE THE LIBRARY "AS IS" WITHOUT WARRANTY OF ANY

KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE

IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR

PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE

LIBRARY IS WITH YOU. SHOULD THE LIBRARY PROVE DEFECTIVE, YOU ASSUME

THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION.

16. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN

WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY

AND/OR REDISTRIBUTE THE LIBRARY AS PERMITTED ABOVE, BE LIABLE TO YOU

FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR

CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE

LIBRARY (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING

RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A

FAILURE OF THE LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF

SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH

DAMAGES.

END OF TERMS AND CONDITIONS

::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::

ti-utils: unknown license file(s)

::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::

::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::

tslib: COPYING file

::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::

Page 240: CKB Linux オプション 2 - COMPUTEX | 株式会社 …”使用になる前に このたびはCKB Linux オプション2.1 をお買い上げいただきありがとうございます。

CKB Linux オプション 2.1 導入ガイド 第 11 章 CKB Linux SDK に含まれるソフトウェア 236

GNU LIBRARY GENERAL PUBLIC LICENSE

Version 2, June 1991

Copyright (C) 1991 Free Software Foundation, Inc.

59 Temple Place - Suite 330, Boston, MA 02111-1307, USA

Everyone is permitted to copy and distribute verbatim copies

of this license document, but changing it is not allowed.

[This is the first released version of the library GPL. It is

numbered 2 because it goes with version 2 of the ordinary GPL.]

Preamble

The licenses for most software are designed to take away your

freedom to share and change it. By contrast, the GNU General Public

Licenses are intended to guarantee your freedom to share and change

free software--to make sure the software is free for all its users.

This license, the Library General Public License, applies to some

specially designated Free Software Foundation software, and to any

other libraries whose authors decide to use it. You can use it for

your libraries, too.

When we speak of free software, we are referring to freedom, not

price. Our General Public Licenses are designed to make sure that you

have the freedom to distribute copies of free software (and charge for

this service if you wish), that you receive source code or can get it

if you want it, that you can change the software or use pieces of it

in new free programs; and that you know you can do these things.

To protect your rights, we need to make restrictions that forbid

anyone to deny you these rights or to ask you to surrender the rights.

These restrictions translate to certain responsibilities for you if

you distribute copies of the library, or if you modify it.

For example, if you distribute copies of the library, whether gratis

or for a fee, you must give the recipients all the rights that we gave

you. You must make sure that they, too, receive or can get the source

code. If you link a program with the library, you must provide

complete object files to the recipients so that they can relink them

with the library, after making changes to the library and recompiling

it. And you must show them these terms so they know their rights.

Our method of protecting your rights has two steps: (1) copyright

the library, and (2) offer you this license which gives you legal

permission to copy, distribute and/or modify the library.

Also, for each distributor's protection, we want to make certain

that everyone understands that there is no warranty for this free

library. If the library is modified by someone else and passed on, we

want its recipients to know that what they have is not the original

Page 241: CKB Linux オプション 2 - COMPUTEX | 株式会社 …”使用になる前に このたびはCKB Linux オプション2.1 をお買い上げいただきありがとうございます。

CKB Linux オプション 2.1 導入ガイド 第 11 章 CKB Linux SDK に含まれるソフトウェア 237

version, so that any problems introduced by others will not reflect on

the original authors' reputations.

Finally, any free program is threatened constantly by software

patents. We wish to avoid the danger that companies distributing free

software will individually obtain patent licenses, thus in effect

transforming the program into proprietary software. To prevent this,

we have made it clear that any patent must be licensed for everyone's

free use or not licensed at all.

Most GNU software, including some libraries, is covered by the ordinary

GNU General Public License, which was designed for utility programs. This

license, the GNU Library General Public License, applies to certain

designated libraries. This license is quite different from the ordinary

one; be sure to read it in full, and don't assume that anything in it is

the same as in the ordinary license.

The reason we have a separate public license for some libraries is that

they blur the distinction we usually make between modifying or adding to a

program and simply using it. Linking a program with a library, without

changing the library, is in some sense simply using the library, and is

analogous to running a utility program or application program. However, in

a textual and legal sense, the linked executable is a combined work, a

derivative of the original library, and the ordinary General Public License

treats it as such.

Because of this blurred distinction, using the ordinary General

Public License for libraries did not effectively promote software

sharing, because most developers did not use the libraries. We

concluded that weaker conditions might promote sharing better.

However, unrestricted linking of non-free programs would deprive the

users of those programs of all benefit from the free status of the

libraries themselves. This Library General Public License is intended to

permit developers of non-free programs to use free libraries, while

preserving your freedom as a user of such programs to change the free

libraries that are incorporated in them. (We have not seen how to achieve

this as regards changes in header files, but we have achieved it as regards

changes in the actual functions of the Library.) The hope is that this

will lead to faster development of free libraries.

The precise terms and conditions for copying, distribution and

modification follow. Pay close attention to the difference between a

"work based on the library" and a "work that uses the library". The

former contains code derived from the library, while the latter only

works together with the library.

Note that it is possible for a library to be covered by the ordinary

General Public License rather than by this special one.

GNU LIBRARY GENERAL PUBLIC LICENSE

Page 242: CKB Linux オプション 2 - COMPUTEX | 株式会社 …”使用になる前に このたびはCKB Linux オプション2.1 をお買い上げいただきありがとうございます。

CKB Linux オプション 2.1 導入ガイド 第 11 章 CKB Linux SDK に含まれるソフトウェア 238

TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION

0. This License Agreement applies to any software library which

contains a notice placed by the copyright holder or other authorized

party saying it may be distributed under the terms of this Library

General Public License (also called "this License"). Each licensee is

addressed as "you".

A "library" means a collection of software functions and/or data

prepared so as to be conveniently linked with application programs

(which use some of those functions and data) to form executables.

The "Library", below, refers to any such software library or work

which has been distributed under these terms. A "work based on the

Library" means either the Library or any derivative work under

copyright law: that is to say, a work containing the Library or a

portion of it, either verbatim or with modifications and/or translated

straightforwardly into another language. (Hereinafter, translation is

included without limitation in the term "modification".)

"Source code" for a work means the preferred form of the work for

making modifications to it. For a library, complete source code means

all the source code for all modules it contains, plus any associated

interface definition files, plus the scripts used to control compilation

and installation of the library.

Activities other than copying, distribution and modification are not

covered by this License; they are outside its scope. The act of

running a program using the Library is not restricted, and output from

such a program is covered only if its contents constitute a work based

on the Library (independent of the use of the Library in a tool for

writing it). Whether that is true depends on what the Library does

and what the program that uses the Library does.

1. You may copy and distribute verbatim copies of the Library's

complete source code as you receive it, in any medium, provided that

you conspicuously and appropriately publish on each copy an

appropriate copyright notice and disclaimer of warranty; keep intact

all the notices that refer to this License and to the absence of any

warranty; and distribute a copy of this License along with the

Library.

You may charge a fee for the physical act of transferring a copy,

and you may at your option offer warranty protection in exchange for a

fee.

2. You may modify your copy or copies of the Library or any portion

of it, thus forming a work based on the Library, and copy and

distribute such modifications or work under the terms of Section 1

above, provided that you also meet all of these conditions:

Page 243: CKB Linux オプション 2 - COMPUTEX | 株式会社 …”使用になる前に このたびはCKB Linux オプション2.1 をお買い上げいただきありがとうございます。

CKB Linux オプション 2.1 導入ガイド 第 11 章 CKB Linux SDK に含まれるソフトウェア 239

a) The modified work must itself be a software library.

b) You must cause the files modified to carry prominent notices

stating that you changed the files and the date of any change.

c) You must cause the whole of the work to be licensed at no

charge to all third parties under the terms of this License.

d) If a facility in the modified Library refers to a function or a

table of data to be supplied by an application program that uses

the facility, other than as an argument passed when the facility

is invoked, then you must make a good faith effort to ensure that,

in the event an application does not supply such function or

table, the facility still operates, and performs whatever part of

its purpose remains meaningful.

(For example, a function in a library to compute square roots has

a purpose that is entirely well-defined independent of the

application. Therefore, Subsection 2d requires that any

application-supplied function or table used by this function must

be optional: if the application does not supply it, the square

root function must still compute square roots.)

These requirements apply to the modified work as a whole. If

identifiable sections of that work are not derived from the Library,

and can be reasonably considered independent and separate works in

themselves, then this License, and its terms, do not apply to those

sections when you distribute them as separate works. But when you

distribute the same sections as part of a whole which is a work based

on the Library, the distribution of the whole must be on the terms of

this License, whose permissions for other licensees extend to the

entire whole, and thus to each and every part regardless of who wrote

it.

Thus, it is not the intent of this section to claim rights or contest

your rights to work written entirely by you; rather, the intent is to

exercise the right to control the distribution of derivative or

collective works based on the Library.

In addition, mere aggregation of another work not based on the Library

with the Library (or with a work based on the Library) on a volume of

a storage or distribution medium does not bring the other work under

the scope of this License.

3. You may opt to apply the terms of the ordinary GNU General Public

License instead of this License to a given copy of the Library. To do

this, you must alter all the notices that refer to this License, so

that they refer to the ordinary GNU General Public License, version 2,

instead of to this License. (If a newer version than version 2 of the

ordinary GNU General Public License has appeared, then you can specify

that version instead if you wish.) Do not make any other change in

Page 244: CKB Linux オプション 2 - COMPUTEX | 株式会社 …”使用になる前に このたびはCKB Linux オプション2.1 をお買い上げいただきありがとうございます。

CKB Linux オプション 2.1 導入ガイド 第 11 章 CKB Linux SDK に含まれるソフトウェア 240

these notices.

Once this change is made in a given copy, it is irreversible for

that copy, so the ordinary GNU General Public License applies to all

subsequent copies and derivative works made from that copy.

This option is useful when you wish to copy part of the code of

the Library into a program that is not a library.

4. You may copy and distribute the Library (or a portion or

derivative of it, under Section 2) in object code or executable form

under the terms of Sections 1 and 2 above provided that you accompany

it with the complete corresponding machine-readable source code, which

must be distributed under the terms of Sections 1 and 2 above on a

medium customarily used for software interchange.

If distribution of object code is made by offering access to copy

from a designated place, then offering equivalent access to copy the

source code from the same place satisfies the requirement to

distribute the source code, even though third parties are not

compelled to copy the source along with the object code.

5. A program that contains no derivative of any portion of the

Library, but is designed to work with the Library by being compiled or

linked with it, is called a "work that uses the Library". Such a

work, in isolation, is not a derivative work of the Library, and

therefore falls outside the scope of this License.

However, linking a "work that uses the Library" with the Library

creates an executable that is a derivative of the Library (because it

contains portions of the Library), rather than a "work that uses the

library". The executable is therefore covered by this License.

Section 6 states terms for distribution of such executables.

When a "work that uses the Library" uses material from a header file

that is part of the Library, the object code for the work may be a

derivative work of the Library even though the source code is not.

Whether this is true is especially significant if the work can be

linked without the Library, or if the work is itself a library. The

threshold for this to be true is not precisely defined by law.

If such an object file uses only numerical parameters, data

structure layouts and accessors, and small macros and small inline

functions (ten lines or less in length), then the use of the object

file is unrestricted, regardless of whether it is legally a derivative

work. (Executables containing this object code plus portions of the

Library will still fall under Section 6.)

Otherwise, if the work is a derivative of the Library, you may

distribute the object code for the work under the terms of Section 6.

Any executables containing that work also fall under Section 6,

Page 245: CKB Linux オプション 2 - COMPUTEX | 株式会社 …”使用になる前に このたびはCKB Linux オプション2.1 をお買い上げいただきありがとうございます。

CKB Linux オプション 2.1 導入ガイド 第 11 章 CKB Linux SDK に含まれるソフトウェア 241

whether or not they are linked directly with the Library itself.

6. As an exception to the Sections above, you may also compile or

link a "work that uses the Library" with the Library to produce a

work containing portions of the Library, and distribute that work

under terms of your choice, provided that the terms permit

modification of the work for the customer's own use and reverse

engineering for debugging such modifications.

You must give prominent notice with each copy of the work that the

Library is used in it and that the Library and its use are covered by

this License. You must supply a copy of this License. If the work

during execution displays copyright notices, you must include the

copyright notice for the Library among them, as well as a reference

directing the user to the copy of this License. Also, you must do one

of these things:

a) Accompany the work with the complete corresponding

machine-readable source code for the Library including whatever

changes were used in the work (which must be distributed under

Sections 1 and 2 above); and, if the work is an executable linked

with the Library, with the complete machine-readable "work that

uses the Library", as object code and/or source code, so that the

user can modify the Library and then relink to produce a modified

executable containing the modified Library. (It is understood

that the user who changes the contents of definitions files in the

Library will not necessarily be able to recompile the application

to use the modified definitions.)

b) Accompany the work with a written offer, valid for at

least three years, to give the same user the materials

specified in Subsection 6a, above, for a charge no more

than the cost of performing this distribution.

c) If distribution of the work is made by offering access to copy

from a designated place, offer equivalent access to copy the above

specified materials from the same place.

d) Verify that the user has already received a copy of these

materials or that you have already sent this user a copy.

For an executable, the required form of the "work that uses the

Library" must include any data and utility programs needed for

reproducing the executable from it. However, as a special exception,

the source code distributed need not include anything that is normally

distributed (in either source or binary form) with the major

components (compiler, kernel, and so on) of the operating system on

which the executable runs, unless that component itself accompanies

the executable.

It may happen that this requirement contradicts the license

Page 246: CKB Linux オプション 2 - COMPUTEX | 株式会社 …”使用になる前に このたびはCKB Linux オプション2.1 をお買い上げいただきありがとうございます。

CKB Linux オプション 2.1 導入ガイド 第 11 章 CKB Linux SDK に含まれるソフトウェア 242

restrictions of other proprietary libraries that do not normally

accompany the operating system. Such a contradiction means you cannot

use both them and the Library together in an executable that you

distribute.

7. You may place library facilities that are a work based on the

Library side-by-side in a single library together with other library

facilities not covered by this License, and distribute such a combined

library, provided that the separate distribution of the work based on

the Library and of the other library facilities is otherwise

permitted, and provided that you do these two things:

a) Accompany the combined library with a copy of the same work

based on the Library, uncombined with any other library

facilities. This must be distributed under the terms of the

Sections above.

b) Give prominent notice with the combined library of the fact

that part of it is a work based on the Library, and explaining

where to find the accompanying uncombined form of the same work.

8. You may not copy, modify, sublicense, link with, or distribute

the Library except as expressly provided under this License. Any

attempt otherwise to copy, modify, sublicense, link with, or

distribute the Library is void, and will automatically terminate your

rights under this License. However, parties who have received copies,

or rights, from you under this License will not have their licenses

terminated so long as such parties remain in full compliance.

9. You are not required to accept this License, since you have not

signed it. However, nothing else grants you permission to modify or

distribute the Library or its derivative works. These actions are

prohibited by law if you do not accept this License. Therefore, by

modifying or distributing the Library (or any work based on the

Library), you indicate your acceptance of this License to do so, and

all its terms and conditions for copying, distributing or modifying

the Library or works based on it.

10. Each time you redistribute the Library (or any work based on the

Library), the recipient automatically receives a license from the

original licensor to copy, distribute, link with or modify the Library

subject to these terms and conditions. You may not impose any further

restrictions on the recipients' exercise of the rights granted herein.

You are not responsible for enforcing compliance by third parties to

this License.

11. If, as a consequence of a court judgment or allegation of patent

infringement or for any other reason (not limited to patent issues),

conditions are imposed on you (whether by court order, agreement or

otherwise) that contradict the conditions of this License, they do not

excuse you from the conditions of this License. If you cannot

Page 247: CKB Linux オプション 2 - COMPUTEX | 株式会社 …”使用になる前に このたびはCKB Linux オプション2.1 をお買い上げいただきありがとうございます。

CKB Linux オプション 2.1 導入ガイド 第 11 章 CKB Linux SDK に含まれるソフトウェア 243

distribute so as to satisfy simultaneously your obligations under this

License and any other pertinent obligations, then as a consequence you

may not distribute the Library at all. For example, if a patent

license would not permit royalty-free redistribution of the Library by

all those who receive copies directly or indirectly through you, then

the only way you could satisfy both it and this License would be to

refrain entirely from distribution of the Library.

If any portion of this section is held invalid or unenforceable under any

particular circumstance, the balance of the section is intended to apply,

and the section as a whole is intended to apply in other circumstances.

It is not the purpose of this section to induce you to infringe any

patents or other property right claims or to contest validity of any

such claims; this section has the sole purpose of protecting the

integrity of the free software distribution system which is

implemented by public license practices. Many people have made

generous contributions to the wide range of software distributed

through that system in reliance on consistent application of that

system; it is up to the author/donor to decide if he or she is willing

to distribute software through any other system and a licensee cannot

impose that choice.

This section is intended to make thoroughly clear what is believed to

be a consequence of the rest of this License.

12. If the distribution and/or use of the Library is restricted in

certain countries either by patents or by copyrighted interfaces, the

original copyright holder who places the Library under this License may add

an explicit geographical distribution limitation excluding those countries,

so that distribution is permitted only in or among countries not thus

excluded. In such case, this License incorporates the limitation as if

written in the body of this License.

13. The Free Software Foundation may publish revised and/or new

versions of the Library General Public License from time to time.

Such new versions will be similar in spirit to the present version,

but may differ in detail to address new problems or concerns.

Each version is given a distinguishing version number. If the Library

specifies a version number of this License which applies to it and

"any later version", you have the option of following the terms and

conditions either of that version or of any later version published by

the Free Software Foundation. If the Library does not specify a

license version number, you may choose any version ever published by

the Free Software Foundation.

14. If you wish to incorporate parts of the Library into other free

programs whose distribution conditions are incompatible with these,

write to the author to ask for permission. For software which is

copyrighted by the Free Software Foundation, write to the Free

Page 248: CKB Linux オプション 2 - COMPUTEX | 株式会社 …”使用になる前に このたびはCKB Linux オプション2.1 をお買い上げいただきありがとうございます。

CKB Linux オプション 2.1 導入ガイド 第 11 章 CKB Linux SDK に含まれるソフトウェア 244

Software Foundation; we sometimes make exceptions for this. Our

decision will be guided by the two goals of preserving the free status

of all derivatives of our free software and of promoting the sharing

and reuse of software generally.

NO WARRANTY

15. BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO

WARRANTY FOR THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW.

EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR

OTHER PARTIES PROVIDE THE LIBRARY "AS IS" WITHOUT WARRANTY OF ANY

KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE

IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR

PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE

LIBRARY IS WITH YOU. SHOULD THE LIBRARY PROVE DEFECTIVE, YOU ASSUME

THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION.

16. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN

WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY

AND/OR REDISTRIBUTE THE LIBRARY AS PERMITTED ABOVE, BE LIABLE TO YOU

FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR

CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE

LIBRARY (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING

RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A

FAILURE OF THE LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF

SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH

DAMAGES.

END OF TERMS AND CONDITIONS

Appendix: How to Apply These Terms to Your New Libraries

If you develop a new library, and you want it to be of the greatest

possible use to the public, we recommend making it free software that

everyone can redistribute and change. You can do so by permitting

redistribution under these terms (or, alternatively, under the terms of the

ordinary General Public License).

To apply these terms, attach the following notices to the library. It is

safest to attach them to the start of each source file to most effectively

convey the exclusion of warranty; and each file should have at least the

"copyright" line and a pointer to where the full notice is found.

<one line to give the library's name and a brief idea of what it does.>

Copyright (C) <year> <name of author>

This library is free software; you can redistribute it and/or

modify it under the terms of the GNU Library General Public

License as published by the Free Software Foundation; either

version 2 of the License, or (at your option) any later version.

Page 249: CKB Linux オプション 2 - COMPUTEX | 株式会社 …”使用になる前に このたびはCKB Linux オプション2.1 をお買い上げいただきありがとうございます。

CKB Linux オプション 2.1 導入ガイド 第 11 章 CKB Linux SDK に含まれるソフトウェア 245

This library is distributed in the hope that it will be useful,

but WITHOUT ANY WARRANTY; without even the implied warranty of

MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU

Library General Public License for more details.

You should have received a copy of the GNU Library General Public

License along with this library; if not, write to the Free

Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,

MA 02111-1307, USA

Also add information on how to contact you by electronic and paper mail.

You should also get your employer (if you work as a programmer) or your

school, if any, to sign a "copyright disclaimer" for the library, if

necessary. Here is a sample; alter the names:

Yoyodyne, Inc., hereby disclaims all copyright interest in the

library `Frob' (a library for tweaking knobs) written by James Random Hacker.

<signature of Ty Coon>, 1 April 1990

Ty Coon, President of Vice

That's all there is to it!

::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::

wireless-regdb: LICENSE file

::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::

Copyright (c) 2008, Luis R. Rodriguez <[email protected]>

Copyright (c) 2008, Johannes Berg <[email protected]>

Copyright (c) 2008, Michael Green <[email protected]>

Permission to use, copy, modify, and/or distribute this software for any

purpose with or without fee is hereby granted, provided that the above

copyright notice and this permission notice appear in all copies.

THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES

WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF

MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR

ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES

WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN

ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF

OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.

::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::

wireless_tools: COPYING file

::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::

Page 250: CKB Linux オプション 2 - COMPUTEX | 株式会社 …”使用になる前に このたびはCKB Linux オプション2.1 をお買い上げいただきありがとうございます。

CKB Linux オプション 2.1 導入ガイド 第 11 章 CKB Linux SDK に含まれるソフトウェア 246

GNU GENERAL PUBLIC LICENSE

Version 2, June 1991

Copyright (C) 1989, 1991 Free Software Foundation, Inc.

59 Temple Place, Suite 330, Boston, MA 02111-1307 USA

Everyone is permitted to copy and distribute verbatim copies

of this license document, but changing it is not allowed.

Preamble

The licenses for most software are designed to take away your

freedom to share and change it. By contrast, the GNU General Public

License is intended to guarantee your freedom to share and change free

software--to make sure the software is free for all its users. This

General Public License applies to most of the Free Software

Foundation's software and to any other program whose authors commit to

using it. (Some other Free Software Foundation software is covered by

the GNU Library General Public License instead.) You can apply it to

your programs, too.

When we speak of free software, we are referring to freedom, not

price. Our General Public Licenses are designed to make sure that you

have the freedom to distribute copies of free software (and charge for

this service if you wish), that you receive source code or can get it

if you want it, that you can change the software or use pieces of it

in new free programs; and that you know you can do these things.

To protect your rights, we need to make restrictions that forbid

anyone to deny you these rights or to ask you to surrender the rights.

These restrictions translate to certain responsibilities for you if you

distribute copies of the software, or if you modify it.

For example, if you distribute copies of such a program, whether

gratis or for a fee, you must give the recipients all the rights that

you have. You must make sure that they, too, receive or can get the

source code. And you must show them these terms so they know their

rights.

We protect your rights with two steps: (1) copyright the software, and

(2) offer you this license which gives you legal permission to copy,

distribute and/or modify the software.

Also, for each author's protection and ours, we want to make certain

that everyone understands that there is no warranty for this free

software. If the software is modified by someone else and passed on, we

want its recipients to know that what they have is not the original, so

that any problems introduced by others will not reflect on the original

authors' reputations.

Finally, any free program is threatened constantly by software

patents. We wish to avoid the danger that redistributors of a free

Page 251: CKB Linux オプション 2 - COMPUTEX | 株式会社 …”使用になる前に このたびはCKB Linux オプション2.1 をお買い上げいただきありがとうございます。

CKB Linux オプション 2.1 導入ガイド 第 11 章 CKB Linux SDK に含まれるソフトウェア 247

program will individually obtain patent licenses, in effect making the

program proprietary. To prevent this, we have made it clear that any

patent must be licensed for everyone's free use or not licensed at all.

The precise terms and conditions for copying, distribution and

modification follow.

GNU GENERAL PUBLIC LICENSE

TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION

0. This License applies to any program or other work which contains

a notice placed by the copyright holder saying it may be distributed

under the terms of this General Public License. The "Program", below,

refers to any such program or work, and a "work based on the Program"

means either the Program or any derivative work under copyright law:

that is to say, a work containing the Program or a portion of it,

either verbatim or with modifications and/or translated into another

language. (Hereinafter, translation is included without limitation in

the term "modification".) Each licensee is addressed as "you".

Activities other than copying, distribution and modification are not

covered by this License; they are outside its scope. The act of

running the Program is not restricted, and the output from the Program

is covered only if its contents constitute a work based on the

Program (independent of having been made by running the Program).

Whether that is true depends on what the Program does.

1. You may copy and distribute verbatim copies of the Program's

source code as you receive it, in any medium, provided that you

conspicuously and appropriately publish on each copy an appropriate

copyright notice and disclaimer of warranty; keep intact all the

notices that refer to this License and to the absence of any warranty;

and give any other recipients of the Program a copy of this License

along with the Program.

You may charge a fee for the physical act of transferring a copy, and

you may at your option offer warranty protection in exchange for a fee.

2. You may modify your copy or copies of the Program or any portion

of it, thus forming a work based on the Program, and copy and

distribute such modifications or work under the terms of Section 1

above, provided that you also meet all of these conditions:

a) You must cause the modified files to carry prominent notices

stating that you changed the files and the date of any change.

b) You must cause any work that you distribute or publish, that in

whole or in part contains or is derived from the Program or any

part thereof, to be licensed as a whole at no charge to all third

parties under the terms of this License.

Page 252: CKB Linux オプション 2 - COMPUTEX | 株式会社 …”使用になる前に このたびはCKB Linux オプション2.1 をお買い上げいただきありがとうございます。

CKB Linux オプション 2.1 導入ガイド 第 11 章 CKB Linux SDK に含まれるソフトウェア 248

c) If the modified program normally reads commands interactively

when run, you must cause it, when started running for such

interactive use in the most ordinary way, to print or display an

announcement including an appropriate copyright notice and a

notice that there is no warranty (or else, saying that you provide

a warranty) and that users may redistribute the program under

these conditions, and telling the user how to view a copy of this

License. (Exception: if the Program itself is interactive but

does not normally print such an announcement, your work based on

the Program is not required to print an announcement.)

These requirements apply to the modified work as a whole. If

identifiable sections of that work are not derived from the Program,

and can be reasonably considered independent and separate works in

themselves, then this License, and its terms, do not apply to those

sections when you distribute them as separate works. But when you

distribute the same sections as part of a whole which is a work based

on the Program, the distribution of the whole must be on the terms of

this License, whose permissions for other licensees extend to the

entire whole, and thus to each and every part regardless of who wrote it.

Thus, it is not the intent of this section to claim rights or contest

your rights to work written entirely by you; rather, the intent is to

exercise the right to control the distribution of derivative or

collective works based on the Program.

In addition, mere aggregation of another work not based on the Program

with the Program (or with a work based on the Program) on a volume of

a storage or distribution medium does not bring the other work under

the scope of this License.

3. You may copy and distribute the Program (or a work based on it,

under Section 2) in object code or executable form under the terms of

Sections 1 and 2 above provided that you also do one of the following:

a) Accompany it with the complete corresponding machine-readable

source code, which must be distributed under the terms of Sections

1 and 2 above on a medium customarily used for software interchange; or,

b) Accompany it with a written offer, valid for at least three

years, to give any third party, for a charge no more than your

cost of physically performing source distribution, a complete

machine-readable copy of the corresponding source code, to be

distributed under the terms of Sections 1 and 2 above on a medium

customarily used for software interchange; or,

c) Accompany it with the information you received as to the offer

to distribute corresponding source code. (This alternative is

allowed only for noncommercial distribution and only if you

received the program in object code or executable form with such

an offer, in accord with Subsection b above.)

Page 253: CKB Linux オプション 2 - COMPUTEX | 株式会社 …”使用になる前に このたびはCKB Linux オプション2.1 をお買い上げいただきありがとうございます。

CKB Linux オプション 2.1 導入ガイド 第 11 章 CKB Linux SDK に含まれるソフトウェア 249

The source code for a work means the preferred form of the work for

making modifications to it. For an executable work, complete source

code means all the source code for all modules it contains, plus any

associated interface definition files, plus the scripts used to

control compilation and installation of the executable. However, as a

special exception, the source code distributed need not include

anything that is normally distributed (in either source or binary

form) with the major components (compiler, kernel, and so on) of the

operating system on which the executable runs, unless that component

itself accompanies the executable.

If distribution of executable or object code is made by offering

access to copy from a designated place, then offering equivalent

access to copy the source code from the same place counts as

distribution of the source code, even though third parties are not

compelled to copy the source along with the object code.

4. You may not copy, modify, sublicense, or distribute the Program

except as expressly provided under this License. Any attempt

otherwise to copy, modify, sublicense or distribute the Program is

void, and will automatically terminate your rights under this License.

However, parties who have received copies, or rights, from you under

this License will not have their licenses terminated so long as such

parties remain in full compliance.

5. You are not required to accept this License, since you have not

signed it. However, nothing else grants you permission to modify or

distribute the Program or its derivative works. These actions are

prohibited by law if you do not accept this License. Therefore, by

modifying or distributing the Program (or any work based on the

Program), you indicate your acceptance of this License to do so, and

all its terms and conditions for copying, distributing or modifying

the Program or works based on it.

6. Each time you redistribute the Program (or any work based on the

Program), the recipient automatically receives a license from the

original licensor to copy, distribute or modify the Program subject to

these terms and conditions. You may not impose any further

restrictions on the recipients' exercise of the rights granted herein.

You are not responsible for enforcing compliance by third parties to

this License.

7. If, as a consequence of a court judgment or allegation of patent

infringement or for any other reason (not limited to patent issues),

conditions are imposed on you (whether by court order, agreement or

otherwise) that contradict the conditions of this License, they do not

excuse you from the conditions of this License. If you cannot

distribute so as to satisfy simultaneously your obligations under this

License and any other pertinent obligations, then as a consequence you

may not distribute the Program at all. For example, if a patent

Page 254: CKB Linux オプション 2 - COMPUTEX | 株式会社 …”使用になる前に このたびはCKB Linux オプション2.1 をお買い上げいただきありがとうございます。

CKB Linux オプション 2.1 導入ガイド 第 11 章 CKB Linux SDK に含まれるソフトウェア 250

license would not permit royalty-free redistribution of the Program by

all those who receive copies directly or indirectly through you, then

the only way you could satisfy both it and this License would be to

refrain entirely from distribution of the Program.

If any portion of this section is held invalid or unenforceable under

any particular circumstance, the balance of the section is intended to

apply and the section as a whole is intended to apply in other

circumstances.

It is not the purpose of this section to induce you to infringe any

patents or other property right claims or to contest validity of any

such claims; this section has the sole purpose of protecting the

integrity of the free software distribution system, which is

implemented by public license practices. Many people have made

generous contributions to the wide range of software distributed

through that system in reliance on consistent application of that

system; it is up to the author/donor to decide if he or she is willing

to distribute software through any other system and a licensee cannot

impose that choice.

This section is intended to make thoroughly clear what is believed to

be a consequence of the rest of this License.

8. If the distribution and/or use of the Program is restricted in

certain countries either by patents or by copyrighted interfaces, the

original copyright holder who places the Program under this License

may add an explicit geographical distribution limitation excluding

those countries, so that distribution is permitted only in or among

countries not thus excluded. In such case, this License incorporates

the limitation as if written in the body of this License.

9. The Free Software Foundation may publish revised and/or new versions

of the General Public License from time to time. Such new versions will

be similar in spirit to the present version, but may differ in detail to

address new problems or concerns.

Each version is given a distinguishing version number. If the Program

specifies a version number of this License which applies to it and "any

later version", you have the option of following the terms and conditions

either of that version or of any later version published by the Free

Software Foundation. If the Program does not specify a version number of

this License, you may choose any version ever published by the Free Software

Foundation.

10. If you wish to incorporate parts of the Program into other free

programs whose distribution conditions are different, write to the author

to ask for permission. For software which is copyrighted by the Free

Software Foundation, write to the Free Software Foundation; we sometimes

make exceptions for this. Our decision will be guided by the two goals

of preserving the free status of all derivatives of our free software and

Page 255: CKB Linux オプション 2 - COMPUTEX | 株式会社 …”使用になる前に このたびはCKB Linux オプション2.1 をお買い上げいただきありがとうございます。

CKB Linux オプション 2.1 導入ガイド 第 11 章 CKB Linux SDK に含まれるソフトウェア 251

of promoting the sharing and reuse of software generally.

NO WARRANTY

11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY

FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN

OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES

PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED

OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF

MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS

TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE

PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,

REPAIR OR CORRECTION.

12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING

WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR

REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,

INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING

OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED

TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY

YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER

PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE

POSSIBILITY OF SUCH DAMAGES.

END OF TERMS AND CONDITIONS

How to Apply These Terms to Your New Programs

If you develop a new program, and you want it to be of the greatest

possible use to the public, the best way to achieve this is to make it

free software which everyone can redistribute and change under these terms.

To do so, attach the following notices to the program. It is safest

to attach them to the start of each source file to most effectively

convey the exclusion of warranty; and each file should have at least

the "copyright" line and a pointer to where the full notice is found.

<one line to give the program's name and a brief idea of what it does.>

Copyright (C) <year> <name of author>

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; either version 2 of the License, or

(at your option) any later version.

This program is distributed in the hope that it will be useful,

but WITHOUT ANY WARRANTY; without even the implied warranty of

MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the

GNU General Public License for more details.

You should have received a copy of the GNU General Public License

Page 256: CKB Linux オプション 2 - COMPUTEX | 株式会社 …”使用になる前に このたびはCKB Linux オプション2.1 をお買い上げいただきありがとうございます。

CKB Linux オプション 2.1 導入ガイド 第 11 章 CKB Linux SDK に含まれるソフトウェア 252

along with this program; if not, write to the Free Software

Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA

Also add information on how to contact you by electronic and paper mail.

If the program is interactive, make it output a short notice like this

when it starts in an interactive mode:

Gnomovision version 69, Copyright (C) year name of author

Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.

This is free software, and you are welcome to redistribute it

under certain conditions; type `show c' for details.

The hypothetical commands `show w' and `show c' should show the appropriate

parts of the General Public License. Of course, the commands you use may

be called something other than `show w' and `show c'; they could even be

mouse-clicks or menu items--whatever suits your program.

You should also get your employer (if you work as a programmer) or your

school, if any, to sign a "copyright disclaimer" for the program, if

necessary. Here is a sample; alter the names:

Yoyodyne, Inc., hereby disclaims all copyright interest in the program

`Gnomovision' (which makes passes at compilers) written by James Hacker.

<signature of Ty Coon>, 1 April 1989

Ty Coon, President of Vice

This General Public License does not permit incorporating your program into

proprietary programs. If your program is a subroutine library, you may

consider it more useful to permit linking proprietary applications with the

library. If this is what you want to do, use the GNU Library General

Public License instead of this License.

::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::

wpa_supplicant: README file

::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::

wpa_supplicant and hostapd

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

Copyright (c) 2002-2012, Jouni Malinen <[email protected]> and contributors

All Rights Reserved.

These programs are licensed under the BSD license (the one with

advertisement clause removed).

If you are submitting changes to the project, please see CONTRIBUTIONS

file for more instructions.

Page 257: CKB Linux オプション 2 - COMPUTEX | 株式会社 …”使用になる前に このたびはCKB Linux オプション2.1 をお買い上げいただきありがとうございます。

CKB Linux オプション 2.1 導入ガイド 第 11 章 CKB Linux SDK に含まれるソフトウェア 253

This package may include either wpa_supplicant, hostapd, or both. See

README file respective subdirectories (wpa_supplicant/README or

hostapd/README) for more details.

Source code files were moved around in v0.6.x releases and compared to

earlier releases, the programs are now built by first going to a

subdirectory (wpa_supplicant or hostapd) and creating build

configuration (.config) and running 'make' there (for Linux/BSD/cygwin

builds).

License

-------

This software may be distributed, used, and modified under the terms of

BSD license:

Redistribution and use in source and binary forms, with or without

modification, are permitted provided that the following conditions are

met:

1. Redistributions of source code must retain the above copyright

notice, this list of conditions and the following disclaimer.

2. 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.

3. Neither the name(s) of the above-listed copyright holder(s) nor the

names of its contributors may 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 COPYRIGHT

OWNER 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.

::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::

zlib: README file

::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::

Page 258: CKB Linux オプション 2 - COMPUTEX | 株式会社 …”使用になる前に このたびはCKB Linux オプション2.1 をお買い上げいただきありがとうございます。

CKB Linux オプション 2.1 導入ガイド 第 11 章 CKB Linux SDK に含まれるソフトウェア 254

ZLIB DATA COMPRESSION LIBRARY

zlib 1.2.8 is a general purpose data compression library. All the code is

thread safe. The data format used by the zlib library is described by RFCs

(Request for Comments) 1950 to 1952 in the files

http://tools.ietf.org/html/rfc1950 (zlib format), rfc1951 (deflate format) and

rfc1952 (gzip format).

All functions of the compression library are documented in the file zlib.h

(volunteer to write man pages welcome, contact [email protected]). A usage example

of the library is given in the file test/example.c which also tests that

the library is working correctly. Another example is given in the file

test/minigzip.c. The compression library itself is composed of all source

files in the root directory.

To compile all files and run the test program, follow the instructions given at

the top of Makefile.in. In short "./configure; make test", and if that goes

well, "make install" should work for most flavors of Unix. For Windows, use

one of the special makefiles in win32/ or contrib/vstudio/ . For VMS, use

make_vms.com.

Questions about zlib should be sent to <[email protected]>, or to Gilles Vollant

<[email protected]> for the Windows DLL version. The zlib home page is

http://zlib.net/ . Before reporting a problem, please check this site to

verify that you have the latest version of zlib; otherwise get the latest

version and check whether the problem still exists or not.

PLEASE read the zlib FAQ http://zlib.net/zlib_faq.html before asking for help.

Mark Nelson <[email protected]> wrote an article about zlib for the Jan. 1997

issue of Dr. Dobb's Journal; a copy of the article is available at

http://marknelson.us/1997/01/01/zlib-engine/ .

The changes made in version 1.2.8 are documented in the file ChangeLog.

Unsupported third party contributions are provided in directory contrib/ .

zlib is available in Java using the java.util.zip package, documented at

http://java.sun.com/developer/technicalArticles/Programming/compression/ .

A Perl interface to zlib written by Paul Marquess <[email protected]> is available

at CPAN (Comprehensive Perl Archive Network) sites, including

http://search.cpan.org/~pmqs/IO-Compress-Zlib/ .

A Python interface to zlib written by A.M. Kuchling <[email protected]> is

available in Python 1.5 and later versions, see

http://docs.python.org/library/zlib.html .

zlib is built into tcl: http://wiki.tcl.tk/4610 .

An experimental package to read and write files in .zip format, written on top

Page 259: CKB Linux オプション 2 - COMPUTEX | 株式会社 …”使用になる前に このたびはCKB Linux オプション2.1 をお買い上げいただきありがとうございます。

CKB Linux オプション 2.1 導入ガイド 第 11 章 CKB Linux SDK に含まれるソフトウェア 255

of zlib by Gilles Vollant <[email protected]>, is available in the

contrib/minizip directory of zlib.

Notes for some targets:

- For Windows DLL versions, please see win32/DLL_FAQ.txt

- For 64-bit Irix, deflate.c must be compiled without any optimization. With

-O, one libpng test fails. The test works in 32 bit mode (with the -n32

compiler flag). The compiler bug has been reported to SGI.

- zlib doesn't work with gcc 2.6.3 on a DEC 3000/300LX under OSF/1 2.1 it works

when compiled with cc.

- On Digital Unix 4.0D (formely OSF/1) on AlphaServer, the cc option -std1 is

necessary to get gzprintf working correctly. This is done by configure.

- zlib doesn't work on HP-UX 9.05 with some versions of /bin/cc. It works with

other compilers. Use "make test" to check your compiler.

- gzdopen is not supported on RISCOS or BEOS.

- For PalmOs, see http://palmzlib.sourceforge.net/

Acknowledgments:

The deflate format used by zlib was defined by Phil Katz. The deflate and

zlib specifications were written by L. Peter Deutsch. Thanks to all the

people who reported problems and suggested various improvements in zlib; they

are too numerous to cite here.

Copyright notice:

(C) 1995-2013 Jean-loup Gailly and Mark Adler

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.

Page 260: CKB Linux オプション 2 - COMPUTEX | 株式会社 …”使用になる前に このたびはCKB Linux オプション2.1 をお買い上げいただきありがとうございます。

CKB Linux オプション 2.1 導入ガイド 第 11 章 CKB Linux SDK に含まれるソフトウェア 256

3. This notice may not be removed or altered from any source distribution.

Jean-loup Gailly Mark Adler

[email protected] [email protected]

If you use the zlib library in a product, we would appreciate *not* receiving

lengthy legal documents to sign. The sources are provided for free but without

warranty of any kind. The library has been entirely written by Jean-loup

Gailly and Mark Adler; it does not include third-party code.

If you redistribute modified sources, we would appreciate that you include in

the file ChangeLog history information documenting your changes. Please read

the FAQ for more information on the distribution of modified source versions.

::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::

uboot: COPYING file

::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::

U-Boot is Free Software. It is copyrighted by Wolfgang Denk and

many others who contributed code (see the actual source code for

details). You can redistribute U-Boot and/or modify it under the

terms of version 2 of the GNU General Public License as published by

the Free Software Foundation. Most of it can also be distributed,

at your option, under any later version of the GNU General Public

License -- see individual files for exceptions.

NOTE! This license does *not* cover the so-called "standalone"

applications that use U-Boot services by means of the jump table

provided by U-Boot exactly for this purpose - this is merely

considered normal use of U-Boot, and does *not* fall under the

heading of "derived work".

The header files "include/image.h" and "include/asm-*/u-boot.h"

define interfaces to U-Boot. Including these (unmodified) header

files in another file is considered normal use of U-Boot, and does

*not* fall under the heading of "derived work".

Also note that the GPL below is copyrighted by the Free Software

Foundation, but the instance of code that it refers to (the U-Boot

source code) is copyrighted by me and others who actually wrote it.

-- Wolfgang Denk

=======================================================================

GNU GENERAL PUBLIC LICENSE

Version 2, June 1991

Copyright (C) 1989, 1991 Free Software Foundation, Inc.

59 Temple Place, Suite 330, Boston, MA 02111-1307 USA

Everyone is permitted to copy and distribute verbatim copies

Page 261: CKB Linux オプション 2 - COMPUTEX | 株式会社 …”使用になる前に このたびはCKB Linux オプション2.1 をお買い上げいただきありがとうございます。

CKB Linux オプション 2.1 導入ガイド 第 11 章 CKB Linux SDK に含まれるソフトウェア 257

of this license document, but changing it is not allowed.

Preamble

The licenses for most software are designed to take away your

freedom to share and change it. By contrast, the GNU General Public

License is intended to guarantee your freedom to share and change free

software--to make sure the software is free for all its users. This

General Public License applies to most of the Free Software

Foundation's software and to any other program whose authors commit to

using it. (Some other Free Software Foundation software is covered by

the GNU Library General Public License instead.) You can apply it to

your programs, too.

When we speak of free software, we are referring to freedom, not

price. Our General Public Licenses are designed to make sure that you

have the freedom to distribute copies of free software (and charge for

this service if you wish), that you receive source code or can get it

if you want it, that you can change the software or use pieces of it

in new free programs; and that you know you can do these things.

To protect your rights, we need to make restrictions that forbid

anyone to deny you these rights or to ask you to surrender the rights.

These restrictions translate to certain responsibilities for you if you

distribute copies of the software, or if you modify it.

For example, if you distribute copies of such a program, whether

gratis or for a fee, you must give the recipients all the rights that

you have. You must make sure that they, too, receive or can get the

source code. And you must show them these terms so they know their

rights.

We protect your rights with two steps: (1) copyright the software, and

(2) offer you this license which gives you legal permission to copy,

distribute and/or modify the software.

Also, for each author's protection and ours, we want to make certain

that everyone understands that there is no warranty for this free

software. If the software is modified by someone else and passed on, we

want its recipients to know that what they have is not the original, so

that any problems introduced by others will not reflect on the original

authors' reputations.

Finally, any free program is threatened constantly by software

patents. We wish to avoid the danger that redistributors of a free

program will individually obtain patent licenses, in effect making the

program proprietary. To prevent this, we have made it clear that any

patent must be licensed for everyone's free use or not licensed at all.

The precise terms and conditions for copying, distribution and

modification follow.

Page 262: CKB Linux オプション 2 - COMPUTEX | 株式会社 …”使用になる前に このたびはCKB Linux オプション2.1 をお買い上げいただきありがとうございます。

CKB Linux オプション 2.1 導入ガイド 第 11 章 CKB Linux SDK に含まれるソフトウェア 258

GNU GENERAL PUBLIC LICENSE

TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION

0. This License applies to any program or other work which contains

a notice placed by the copyright holder saying it may be distributed

under the terms of this General Public License. The "Program", below,

refers to any such program or work, and a "work based on the Program"

means either the Program or any derivative work under copyright law:

that is to say, a work containing the Program or a portion of it,

either verbatim or with modifications and/or translated into another

language. (Hereinafter, translation is included without limitation in

the term "modification".) Each licensee is addressed as "you".

Activities other than copying, distribution and modification are not

covered by this License; they are outside its scope. The act of

running the Program is not restricted, and the output from the Program

is covered only if its contents constitute a work based on the

Program (independent of having been made by running the Program).

Whether that is true depends on what the Program does.

1. You may copy and distribute verbatim copies of the Program's

source code as you receive it, in any medium, provided that you

conspicuously and appropriately publish on each copy an appropriate

copyright notice and disclaimer of warranty; keep intact all the

notices that refer to this License and to the absence of any warranty;

and give any other recipients of the Program a copy of this License

along with the Program.

You may charge a fee for the physical act of transferring a copy, and

you may at your option offer warranty protection in exchange for a fee.

2. You may modify your copy or copies of the Program or any portion

of it, thus forming a work based on the Program, and copy and

distribute such modifications or work under the terms of Section 1

above, provided that you also meet all of these conditions:

a) You must cause the modified files to carry prominent notices

stating that you changed the files and the date of any change.

b) You must cause any work that you distribute or publish, that in

whole or in part contains or is derived from the Program or any

part thereof, to be licensed as a whole at no charge to all third

parties under the terms of this License.

c) If the modified program normally reads commands interactively

when run, you must cause it, when started running for such

interactive use in the most ordinary way, to print or display an

announcement including an appropriate copyright notice and a

notice that there is no warranty (or else, saying that you provide

a warranty) and that users may redistribute the program under

Page 263: CKB Linux オプション 2 - COMPUTEX | 株式会社 …”使用になる前に このたびはCKB Linux オプション2.1 をお買い上げいただきありがとうございます。

CKB Linux オプション 2.1 導入ガイド 第 11 章 CKB Linux SDK に含まれるソフトウェア 259

these conditions, and telling the user how to view a copy of this

License. (Exception: if the Program itself is interactive but

does not normally print such an announcement, your work based on

the Program is not required to print an announcement.)

These requirements apply to the modified work as a whole. If

identifiable sections of that work are not derived from the Program,

and can be reasonably considered independent and separate works in

themselves, then this License, and its terms, do not apply to those

sections when you distribute them as separate works. But when you

distribute the same sections as part of a whole which is a work based

on the Program, the distribution of the whole must be on the terms of

this License, whose permissions for other licensees extend to the

entire whole, and thus to each and every part regardless of who wrote it.

Thus, it is not the intent of this section to claim rights or contest

your rights to work written entirely by you; rather, the intent is to

exercise the right to control the distribution of derivative or

collective works based on the Program.

In addition, mere aggregation of another work not based on the Program

with the Program (or with a work based on the Program) on a volume of

a storage or distribution medium does not bring the other work under

the scope of this License.

3. You may copy and distribute the Program (or a work based on it,

under Section 2) in object code or executable form under the terms of

Sections 1 and 2 above provided that you also do one of the following:

a) Accompany it with the complete corresponding machine-readable

source code, which must be distributed under the terms of Sections

1 and 2 above on a medium customarily used for software interchange; or,

b) Accompany it with a written offer, valid for at least three

years, to give any third party, for a charge no more than your

cost of physically performing source distribution, a complete

machine-readable copy of the corresponding source code, to be

distributed under the terms of Sections 1 and 2 above on a medium

customarily used for software interchange; or,

c) Accompany it with the information you received as to the offer

to distribute corresponding source code. (This alternative is

allowed only for noncommercial distribution and only if you

received the program in object code or executable form with such

an offer, in accord with Subsection b above.)

The source code for a work means the preferred form of the work for

making modifications to it. For an executable work, complete source

code means all the source code for all modules it contains, plus any

associated interface definition files, plus the scripts used to

control compilation and installation of the executable. However, as a

Page 264: CKB Linux オプション 2 - COMPUTEX | 株式会社 …”使用になる前に このたびはCKB Linux オプション2.1 をお買い上げいただきありがとうございます。

CKB Linux オプション 2.1 導入ガイド 第 11 章 CKB Linux SDK に含まれるソフトウェア 260

special exception, the source code distributed need not include

anything that is normally distributed (in either source or binary

form) with the major components (compiler, kernel, and so on) of the

operating system on which the executable runs, unless that component

itself accompanies the executable.

If distribution of executable or object code is made by offering

access to copy from a designated place, then offering equivalent

access to copy the source code from the same place counts as

distribution of the source code, even though third parties are not

compelled to copy the source along with the object code.

4. You may not copy, modify, sublicense, or distribute the Program

except as expressly provided under this License. Any attempt

otherwise to copy, modify, sublicense or distribute the Program is

void, and will automatically terminate your rights under this License.

However, parties who have received copies, or rights, from you under

this License will not have their licenses terminated so long as such

parties remain in full compliance.

5. You are not required to accept this License, since you have not

signed it. However, nothing else grants you permission to modify or

distribute the Program or its derivative works. These actions are

prohibited by law if you do not accept this License. Therefore, by

modifying or distributing the Program (or any work based on the

Program), you indicate your acceptance of this License to do so, and

all its terms and conditions for copying, distributing or modifying

the Program or works based on it.

6. Each time you redistribute the Program (or any work based on the

Program), the recipient automatically receives a license from the

original licensor to copy, distribute or modify the Program subject to

these terms and conditions. You may not impose any further

restrictions on the recipients' exercise of the rights granted herein.

You are not responsible for enforcing compliance by third parties to

this License.

7. If, as a consequence of a court judgment or allegation of patent

infringement or for any other reason (not limited to patent issues),

conditions are imposed on you (whether by court order, agreement or

otherwise) that contradict the conditions of this License, they do not

excuse you from the conditions of this License. If you cannot

distribute so as to satisfy simultaneously your obligations under this

License and any other pertinent obligations, then as a consequence you

may not distribute the Program at all. For example, if a patent

license would not permit royalty-free redistribution of the Program by

all those who receive copies directly or indirectly through you, then

the only way you could satisfy both it and this License would be to

refrain entirely from distribution of the Program.

If any portion of this section is held invalid or unenforceable under

Page 265: CKB Linux オプション 2 - COMPUTEX | 株式会社 …”使用になる前に このたびはCKB Linux オプション2.1 をお買い上げいただきありがとうございます。

CKB Linux オプション 2.1 導入ガイド 第 11 章 CKB Linux SDK に含まれるソフトウェア 261

any particular circumstance, the balance of the section is intended to

apply and the section as a whole is intended to apply in other

circumstances.

It is not the purpose of this section to induce you to infringe any

patents or other property right claims or to contest validity of any

such claims; this section has the sole purpose of protecting the

integrity of the free software distribution system, which is

implemented by public license practices. Many people have made

generous contributions to the wide range of software distributed

through that system in reliance on consistent application of that

system; it is up to the author/donor to decide if he or she is willing

to distribute software through any other system and a licensee cannot

impose that choice.

This section is intended to make thoroughly clear what is believed to

be a consequence of the rest of this License.

8. If the distribution and/or use of the Program is restricted in

certain countries either by patents or by copyrighted interfaces, the

original copyright holder who places the Program under this License

may add an explicit geographical distribution limitation excluding

those countries, so that distribution is permitted only in or among

countries not thus excluded. In such case, this License incorporates

the limitation as if written in the body of this License.

9. The Free Software Foundation may publish revised and/or new versions

of the General Public License from time to time. Such new versions will

be similar in spirit to the present version, but may differ in detail to

address new problems or concerns.

Each version is given a distinguishing version number. If the Program

specifies a version number of this License which applies to it and "any

later version", you have the option of following the terms and conditions

either of that version or of any later version published by the Free

Software Foundation. If the Program does not specify a version number of

this License, you may choose any version ever published by the Free Software

Foundation.

10. If you wish to incorporate parts of the Program into other free

programs whose distribution conditions are different, write to the author

to ask for permission. For software which is copyrighted by the Free

Software Foundation, write to the Free Software Foundation; we sometimes

make exceptions for this. Our decision will be guided by the two goals

of preserving the free status of all derivatives of our free software and

of promoting the sharing and reuse of software generally.

NO WARRANTY

11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY

FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN

Page 266: CKB Linux オプション 2 - COMPUTEX | 株式会社 …”使用になる前に このたびはCKB Linux オプション2.1 をお買い上げいただきありがとうございます。

CKB Linux オプション 2.1 導入ガイド 第 11 章 CKB Linux SDK に含まれるソフトウェア 262

OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES

PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED

OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF

MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS

TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE

PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,

REPAIR OR CORRECTION.

12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING

WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR

REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,

INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING

OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED

TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY

YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER

PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE

POSSIBILITY OF SUCH DAMAGES.

END OF TERMS AND CONDITIONS

::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::

linux: COPYING file

::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::

NOTE! This copyright does *not* cover user programs that use kernel

services by normal system calls - this is merely considered normal use

of the kernel, and does *not* fall under the heading of "derived work".

Also note that the GPL below is copyrighted by the Free Software

Foundation, but the instance of code that it refers to (the Linux

kernel) is copyrighted by me and others who actually wrote it.

Also note that the only valid version of the GPL as far as the kernel

is concerned is _this_ particular version of the license (ie v2, not

v2.2 or v3.x or whatever), unless explicitly otherwise stated.

Linus Torvalds

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

GNU GENERAL PUBLIC LICENSE

Version 2, June 1991

Copyright (C) 1989, 1991 Free Software Foundation, Inc.

51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA

Everyone is permitted to copy and distribute verbatim copies

of this license document, but changing it is not allowed.

Preamble

Page 267: CKB Linux オプション 2 - COMPUTEX | 株式会社 …”使用になる前に このたびはCKB Linux オプション2.1 をお買い上げいただきありがとうございます。

CKB Linux オプション 2.1 導入ガイド 第 11 章 CKB Linux SDK に含まれるソフトウェア 263

The licenses for most software are designed to take away your

freedom to share and change it. By contrast, the GNU General Public

License is intended to guarantee your freedom to share and change free

software--to make sure the software is free for all its users. This

General Public License applies to most of the Free Software

Foundation's software and to any other program whose authors commit to

using it. (Some other Free Software Foundation software is covered by

the GNU Library General Public License instead.) You can apply it to

your programs, too.

When we speak of free software, we are referring to freedom, not

price. Our General Public Licenses are designed to make sure that you

have the freedom to distribute copies of free software (and charge for

this service if you wish), that you receive source code or can get it

if you want it, that you can change the software or use pieces of it

in new free programs; and that you know you can do these things.

To protect your rights, we need to make restrictions that forbid

anyone to deny you these rights or to ask you to surrender the rights.

These restrictions translate to certain responsibilities for you if you

distribute copies of the software, or if you modify it.

For example, if you distribute copies of such a program, whether

gratis or for a fee, you must give the recipients all the rights that

you have. You must make sure that they, too, receive or can get the

source code. And you must show them these terms so they know their

rights.

We protect your rights with two steps: (1) copyright the software, and

(2) offer you this license which gives you legal permission to copy,

distribute and/or modify the software.

Also, for each author's protection and ours, we want to make certain

that everyone understands that there is no warranty for this free

software. If the software is modified by someone else and passed on, we

want its recipients to know that what they have is not the original, so

that any problems introduced by others will not reflect on the original

authors' reputations.

Finally, any free program is threatened constantly by software

patents. We wish to avoid the danger that redistributors of a free

program will individually obtain patent licenses, in effect making the

program proprietary. To prevent this, we have made it clear that any

patent must be licensed for everyone's free use or not licensed at all.

The precise terms and conditions for copying, distribution and

modification follow.

GNU GENERAL PUBLIC LICENSE

TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION

Page 268: CKB Linux オプション 2 - COMPUTEX | 株式会社 …”使用になる前に このたびはCKB Linux オプション2.1 をお買い上げいただきありがとうございます。

CKB Linux オプション 2.1 導入ガイド 第 11 章 CKB Linux SDK に含まれるソフトウェア 264

0. This License applies to any program or other work which contains

a notice placed by the copyright holder saying it may be distributed

under the terms of this General Public License. The "Program", below,

refers to any such program or work, and a "work based on the Program"

means either the Program or any derivative work under copyright law:

that is to say, a work containing the Program or a portion of it,

either verbatim or with modifications and/or translated into another

language. (Hereinafter, translation is included without limitation in

the term "modification".) Each licensee is addressed as "you".

Activities other than copying, distribution and modification are not

covered by this License; they are outside its scope. The act of

running the Program is not restricted, and the output from the Program

is covered only if its contents constitute a work based on the

Program (independent of having been made by running the Program).

Whether that is true depends on what the Program does.

1. You may copy and distribute verbatim copies of the Program's

source code as you receive it, in any medium, provided that you

conspicuously and appropriately publish on each copy an appropriate

copyright notice and disclaimer of warranty; keep intact all the

notices that refer to this License and to the absence of any warranty;

and give any other recipients of the Program a copy of this License

along with the Program.

You may charge a fee for the physical act of transferring a copy, and

you may at your option offer warranty protection in exchange for a fee.

2. You may modify your copy or copies of the Program or any portion

of it, thus forming a work based on the Program, and copy and

distribute such modifications or work under the terms of Section 1

above, provided that you also meet all of these conditions:

a) You must cause the modified files to carry prominent notices

stating that you changed the files and the date of any change.

b) You must cause any work that you distribute or publish, that in

whole or in part contains or is derived from the Program or any

part thereof, to be licensed as a whole at no charge to all third

parties under the terms of this License.

c) If the modified program normally reads commands interactively

when run, you must cause it, when started running for such

interactive use in the most ordinary way, to print or display an

announcement including an appropriate copyright notice and a

notice that there is no warranty (or else, saying that you provide

a warranty) and that users may redistribute the program under

these conditions, and telling the user how to view a copy of this

License. (Exception: if the Program itself is interactive but

does not normally print such an announcement, your work based on

the Program is not required to print an announcement.)

Page 269: CKB Linux オプション 2 - COMPUTEX | 株式会社 …”使用になる前に このたびはCKB Linux オプション2.1 をお買い上げいただきありがとうございます。

CKB Linux オプション 2.1 導入ガイド 第 11 章 CKB Linux SDK に含まれるソフトウェア 265

These requirements apply to the modified work as a whole. If

identifiable sections of that work are not derived from the Program,

and can be reasonably considered independent and separate works in

themselves, then this License, and its terms, do not apply to those

sections when you distribute them as separate works. But when you

distribute the same sections as part of a whole which is a work based

on the Program, the distribution of the whole must be on the terms of

this License, whose permissions for other licensees extend to the

entire whole, and thus to each and every part regardless of who wrote it.

Thus, it is not the intent of this section to claim rights or contest

your rights to work written entirely by you; rather, the intent is to

exercise the right to control the distribution of derivative or

collective works based on the Program.

In addition, mere aggregation of another work not based on the Program

with the Program (or with a work based on the Program) on a volume of

a storage or distribution medium does not bring the other work under

the scope of this License.

3. You may copy and distribute the Program (or a work based on it,

under Section 2) in object code or executable form under the terms of

Sections 1 and 2 above provided that you also do one of the following:

a) Accompany it with the complete corresponding machine-readable

source code, which must be distributed under the terms of Sections

1 and 2 above on a medium customarily used for software interchange; or,

b) Accompany it with a written offer, valid for at least three

years, to give any third party, for a charge no more than your

cost of physically performing source distribution, a complete

machine-readable copy of the corresponding source code, to be

distributed under the terms of Sections 1 and 2 above on a medium

customarily used for software interchange; or,

c) Accompany it with the information you received as to the offer

to distribute corresponding source code. (This alternative is

allowed only for noncommercial distribution and only if you

received the program in object code or executable form with such

an offer, in accord with Subsection b above.)

The source code for a work means the preferred form of the work for

making modifications to it. For an executable work, complete source

code means all the source code for all modules it contains, plus any

associated interface definition files, plus the scripts used to

control compilation and installation of the executable. However, as a

special exception, the source code distributed need not include

anything that is normally distributed (in either source or binary

form) with the major components (compiler, kernel, and so on) of the

operating system on which the executable runs, unless that component

Page 270: CKB Linux オプション 2 - COMPUTEX | 株式会社 …”使用になる前に このたびはCKB Linux オプション2.1 をお買い上げいただきありがとうございます。

CKB Linux オプション 2.1 導入ガイド 第 11 章 CKB Linux SDK に含まれるソフトウェア 266

itself accompanies the executable.

If distribution of executable or object code is made by offering

access to copy from a designated place, then offering equivalent

access to copy the source code from the same place counts as

distribution of the source code, even though third parties are not

compelled to copy the source along with the object code.

4. You may not copy, modify, sublicense, or distribute the Program

except as expressly provided under this License. Any attempt

otherwise to copy, modify, sublicense or distribute the Program is

void, and will automatically terminate your rights under this License.

However, parties who have received copies, or rights, from you under

this License will not have their licenses terminated so long as such

parties remain in full compliance.

5. You are not required to accept this License, since you have not

signed it. However, nothing else grants you permission to modify or

distribute the Program or its derivative works. These actions are

prohibited by law if you do not accept this License. Therefore, by

modifying or distributing the Program (or any work based on the

Program), you indicate your acceptance of this License to do so, and

all its terms and conditions for copying, distributing or modifying

the Program or works based on it.

6. Each time you redistribute the Program (or any work based on the

Program), the recipient automatically receives a license from the

original licensor to copy, distribute or modify the Program subject to

these terms and conditions. You may not impose any further

restrictions on the recipients' exercise of the rights granted herein.

You are not responsible for enforcing compliance by third parties to

this License.

7. If, as a consequence of a court judgment or allegation of patent

infringement or for any other reason (not limited to patent issues),

conditions are imposed on you (whether by court order, agreement or

otherwise) that contradict the conditions of this License, they do not

excuse you from the conditions of this License. If you cannot

distribute so as to satisfy simultaneously your obligations under this

License and any other pertinent obligations, then as a consequence you

may not distribute the Program at all. For example, if a patent

license would not permit royalty-free redistribution of the Program by

all those who receive copies directly or indirectly through you, then

the only way you could satisfy both it and this License would be to

refrain entirely from distribution of the Program.

If any portion of this section is held invalid or unenforceable under

any particular circumstance, the balance of the section is intended to

apply and the section as a whole is intended to apply in other

circumstances.

Page 271: CKB Linux オプション 2 - COMPUTEX | 株式会社 …”使用になる前に このたびはCKB Linux オプション2.1 をお買い上げいただきありがとうございます。

CKB Linux オプション 2.1 導入ガイド 第 11 章 CKB Linux SDK に含まれるソフトウェア 267

It is not the purpose of this section to induce you to infringe any

patents or other property right claims or to contest validity of any

such claims; this section has the sole purpose of protecting the

integrity of the free software distribution system, which is

implemented by public license practices. Many people have made

generous contributions to the wide range of software distributed

through that system in reliance on consistent application of that

system; it is up to the author/donor to decide if he or she is willing

to distribute software through any other system and a licensee cannot

impose that choice.

This section is intended to make thoroughly clear what is believed to

be a consequence of the rest of this License.

8. If the distribution and/or use of the Program is restricted in

certain countries either by patents or by copyrighted interfaces, the

original copyright holder who places the Program under this License

may add an explicit geographical distribution limitation excluding

those countries, so that distribution is permitted only in or among

countries not thus excluded. In such case, this License incorporates

the limitation as if written in the body of this License.

9. The Free Software Foundation may publish revised and/or new versions

of the General Public License from time to time. Such new versions will

be similar in spirit to the present version, but may differ in detail to

address new problems or concerns.

Each version is given a distinguishing version number. If the Program

specifies a version number of this License which applies to it and "any

later version", you have the option of following the terms and conditions

either of that version or of any later version published by the Free

Software Foundation. If the Program does not specify a version number of

this License, you may choose any version ever published by the Free Software

Foundation.

10. If you wish to incorporate parts of the Program into other free

programs whose distribution conditions are different, write to the author

to ask for permission. For software which is copyrighted by the Free

Software Foundation, write to the Free Software Foundation; we sometimes

make exceptions for this. Our decision will be guided by the two goals

of preserving the free status of all derivatives of our free software and

of promoting the sharing and reuse of software generally.

NO WARRANTY

11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY

FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN

OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES

PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED

OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF

MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS

Page 272: CKB Linux オプション 2 - COMPUTEX | 株式会社 …”使用になる前に このたびはCKB Linux オプション2.1 をお買い上げいただきありがとうございます。

CKB Linux オプション 2.1 導入ガイド 第 11 章 CKB Linux SDK に含まれるソフトウェア 268

TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE

PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,

REPAIR OR CORRECTION.

12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING

WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR

REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,

INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING

OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED

TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY

YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER

PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE

POSSIBILITY OF SUCH DAMAGES.

END OF TERMS AND CONDITIONS

How to Apply These Terms to Your New Programs

If you develop a new program, and you want it to be of the greatest

possible use to the public, the best way to achieve this is to make it

free software which everyone can redistribute and change under these terms.

To do so, attach the following notices to the program. It is safest

to attach them to the start of each source file to most effectively

convey the exclusion of warranty; and each file should have at least

the "copyright" line and a pointer to where the full notice is found.

<one line to give the program's name and a brief idea of what it does.>

Copyright (C) <year> <name of author>

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; either version 2 of the License, or

(at your option) any later version.

This program is distributed in the hope that it will be useful,

but WITHOUT ANY WARRANTY; without even the implied warranty of

MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the

GNU General Public License for more details.

You should have received a copy of the GNU General Public License

along with this program; if not, write to the Free Software

Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA

Also add information on how to contact you by electronic and paper mail.

If the program is interactive, make it output a short notice like this

when it starts in an interactive mode:

Gnomovision version 69, Copyright (C) year name of author

Page 273: CKB Linux オプション 2 - COMPUTEX | 株式会社 …”使用になる前に このたびはCKB Linux オプション2.1 をお買い上げいただきありがとうございます。

CKB Linux オプション 2.1 導入ガイド 第 11 章 CKB Linux SDK に含まれるソフトウェア 269

Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.

This is free software, and you are welcome to redistribute it

under certain conditions; type `show c' for details.

The hypothetical commands `show w' and `show c' should show the appropriate

parts of the General Public License. Of course, the commands you use may

be called something other than `show w' and `show c'; they could even be

mouse-clicks or menu items--whatever suits your program.

You should also get your employer (if you work as a programmer) or your

school, if any, to sign a "copyright disclaimer" for the program, if

necessary. Here is a sample; alter the names:

Yoyodyne, Inc., hereby disclaims all copyright interest in the program

`Gnomovision' (which makes passes at compilers) written by James Hacker.

<signature of Ty Coon>, 1 April 1989

Ty Coon, President of Vice

This General Public License does not permit incorporating your program into

proprietary programs. If your program is a subroutine library, you may

consider it more useful to permit linking proprietary applications with the

library. If this is what you want to do, use the GNU Library General

Public License instead of this License.

::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::

python-m2crypto: unknown license file(s)

::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::

::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::

libxml-parser-perl: unknown license file(s)

::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::

::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::

python-setuptools: unknown license file(s)

::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::

Page 274: CKB Linux オプション 2 - COMPUTEX | 株式会社 …”使用になる前に このたびはCKB Linux オプション2.1 をお買い上げいただきありがとうございます。

CKB Linux オプション 2.1 導入ガイド

変更履歴

日付 版 内容

2014-07 1 初版

2015-01 2 ・CKB Linux SDK のバージョンを V2.01.00 から V2.01.01 に変更

Page 275: CKB Linux オプション 2 - COMPUTEX | 株式会社 …”使用になる前に このたびはCKB Linux オプション2.1 をお買い上げいただきありがとうございます。

株式会社コンピューテックス

本 社

〒605-0846 京都市東山区五条橋東 4-432-13 對嵐坊ビル

TEL:075-551-0528(代) FAX:075-551-2585

東京営業所

TEL:03-5753-9911(代) FAX:03-5753-9917

テクニカルセンタ

TEL:075-551-0373 FAX:075-551-2585

CKB Linux オプション 2.1 導入ガイド

2015 年 1 月 第 2 版

CM1550(B)1501