Manpages

名 前

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 (since dpkg 1.15.5). 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

Scan file to find supplementary overrides (since dpkg 1.15.4; the file can be compressed since dpkg 1.15.5). See deb−extra−override(5) for more information on its format.

−s, −−source−override file

Use file as the source override file (the file can be compressed since dpkg 1.15.5). The default is the name of the override file you specified with .src appended. ソ ー ス override フ ァ イ ル の 形 式 は バ イ ナ リ override フ ァ イ ル と は 異 な り 、 空 白 文 字 で 区 切 ら れ た 2 つ の フ ィ ー ル ド の み か ら な る 。 1 番 目 の フ ィ ー ル ド は ソ ー ス パ ッ ケ ー ジ 名 で あ り 、 2 番 目 は セ ク シ ョ ン 名 で あ る 。 慣 習 に 従 い 、 空 白 行 と コ メ ン ト 行 は 無 視 さ れ る 。 あ る パ ッ ケ ー ジ が 両 方 の フ ァ イ ル に 現 れ た 場 合 、 セ ク シ ョ ン の 設 定 に お い て は 、 ソ ー ス override フ ァ イ ル が 優 先 さ れ る 。

−−debug デ バ ッ グ を 有 効 に す る
−−help
利 用 方 法 を 表 示 し て 終 了 す る 。
−−version
バ ー ジ ョ ン 情 報 を 表 示 し て 終 了 す る 。

関 連 項 目

deb−override(5), deb−extra−override(5), dpkg−scanpackages(1).

翻 訳 者

高 橋 基 信 <monyo [AT] monyo.com>. 喜 瀬 浩 <kise [AT] fuyuneko.jp>. 関 戸 幸 一 <sekido [AT] mbox.jp>. 鍋 谷 栄 展 <nabe [AT] debian.jp>. 倉 澤 望 <nabetaro [AT] debian.jp>. 石 川 睦 <ishikawa [AT] linux.jp>. 鵜 飼 文 敏 <ukai [AT] debian.jp>. 中 野 武 雄 <nakano [AT] apm.jp>.

翻 訳 校 正

Debian JP Documentation ML <debian-doc [AT] debian.jp>.