Provided by: dpkg-dev_1.17.5ubuntu5.8_all 

名前
dpkg-scansources - ソースインデックスファイルの作成
書式
dpkg-scansources [option...] binary-dir [override-file [path-prefix]] > Sources
説明
dpkg-scansources は、.dsc ファイルのために、指定された binary-dir を検索する。これは Debian ソースイン
デックスを生成し、標準出力に出力するために用いられる。
The override-file, if given, is used to set priorities in the resulting index records and to override the
maintainer field given in the .dsc files. The file can be compressed. See deb-override(5) for the format
of this file. Note: Since the override file is indexed by binary, not source packages, there's a bit of a
problem here. The current implementation uses the highest priority of all the binary packages produced by
a .dsc file for the priority of the source package, and the override entry for the first binary package
listed in the .dsc file to modify maintainer information. This might change.
path-prefix が指定された場合、生成されたソースインデックスにおける directory フィールドの先頭に挿入され
る。これは通常 directory フィールドにDebian アーカイブ階層トップからのパスを含めたい場合に使用する。
注記: apt(8) を用いて生成された Sources ファイルにアクセスする場合は、恐らくファイルを gzip(1) で圧縮する
(Sources.gz を生成する) 必要があるだろう。apt はローカルアクセス (file:// ソース) 以外、非圧縮の Sources
ファイルを無視する。
オプション
-n, --no-sort
インデックスレコードをソートしない。通常これはソースパッケージ名によってソートされる。
-e, --extra-override file
追加の override を確認するために、file を調査する (ファイルは圧縮されていてもよい)。ファイルの形式に
関する詳細は、deb-extra-override(5) を参照のこと。
-s, --source-override file
file をソース override ファイルとして使用する (ファイルは圧縮されていてもよい)。デフォルトは override
ファイルの名前に .src を付加した名前が用いられる。
ソース override ファイルの形式はバイナリ override ファイルとは異なり、空白文字で区切られた 2 つの
フィールドのみからなる。1 番目のフィールドはソースパッケージ名であり、2 番目はセクション名である。慣
習に従い、空白行とコメント行は無視される。あるパッケージが両方のファイルに現れた場合、セクションの設
定においては、ソース override ファイルが優先される。
--debug
デバッグを有効にする
--help
利用方法を表示して終了する。
--version
バージョン情報を表示して終了する。
関連項目
deb-override(5), deb-extra-override(5), dpkg-scanpackages(1).
翻訳者
高橋 基信 <monyo@monyo.com>. 喜瀬 浩 <kise@fuyuneko.jp>. 関戸 幸一 <sekido@mbox.kyoto-inet.or.jp>. 鍋
谷 栄展 <nabe@debian.or.jp>. 倉澤 望 <nabetaro@debian.or.jp>. 石川 睦 <ishikawa@linux.or.jp>. 鵜飼 文
敏 <ukai@debian.or.jp>. 中野 武雄 <nakano@apm.seikei.ac.jp>.
翻訳校正
Debian JP Documentation ML <debian-doc@debian.or.jp>.
Debian Project 2011-08-14 dpkg-scansources(1)