chiark / gitweb /
dpkg (1.18.25) stretch; urgency=medium
[dpkg] / man / ja / dpkg-scansources.man
1 .\" dpkg manual page - dpkg-scansources(1)
2 .\"
3 .\" Copyright © 2005 Roderick Schertler <roderick@argon.org>
4 .\" Copyright © 2006 Frank Lichtenheld <djpig@debian.org>
5 .\" Copyright © 2009 Raphaël Hertzog <hertzog@debian.org>
6 .\"
7 .\" This is free software; you can redistribute it and/or modify
8 .\" it under the terms of the GNU General Public License as published by
9 .\" the Free Software Foundation; either version 2 of the License, or
10 .\" (at your option) any later version.
11 .\"
12 .\" This is distributed in the hope that it will be useful,
13 .\" but WITHOUT ANY WARRANTY; without even the implied warranty of
14 .\" MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
15 .\" GNU General Public License for more details.
16 .\"
17 .\" You should have received a copy of the GNU General Public License
18 .\" along with this program.  If not, see <https://www.gnu.org/licenses/>.
19 .
20 .\"*******************************************************************
21 .\"
22 .\" This file was generated with po4a. Translate the source file.
23 .\"
24 .\"*******************************************************************
25 .TH dpkg\-scansources 1 %RELEASE_DATE% %VERSION% "dpkg suite"
26 .nh
27 .SH 名前
28 dpkg\-scansources \- ソースインデックスファイルの作成
29 .
30 .SH 書式
31 \fBdpkg\-scansources\fP [\fIoption\fP...] \fIbinary\-dir\fP [\fIoverride\-file\fP
32 [\fIpath\-prefix\fP]] \fB>\fP \fISources\fP
33 .
34 .SH 説明
35 \fBdpkg\-scansources\fP は、\fI.dsc\fP ファイルのために、指定された \fIbinary\-dir\fP を検索する。これは Debian
36 ソースインデックスを生成し、標準出力に出力するために用いられる。
37 .PP
38 The \fIoverride\-file\fP, if given, is used to set priorities in the resulting
39 index records and to override the maintainer field given in the \fI.dsc\fP
40 files.  The file can be compressed (since dpkg 1.15.5).  See
41 \fBdeb\-override\fP(5)  for the format of this file. Note: Since the override
42 file is indexed by binary, not source packages, there's a bit of a problem
43 here. The current implementation uses the highest priority of all the binary
44 packages produced by a \fI.dsc\fP file for the priority of the source package,
45 and the override entry for the first binary package listed in the \fI.dsc\fP
46 file to modify maintainer information. This might change.
47 .PP
48 \fIpath\-prefix\fP が指定された場合、生成されたソースインデックスにおける directory フィールドの先頭に挿入される。これは通常
49 directory フィールドにDebian アーカイブ階層トップからのパスを含めたい場合に使用する。
50 .
51 .PP
52 \fB注記:\fP \fBapt\fP(8) を用いて生成された Sources ファイルにアクセスする場合は、恐らくファイルを \fBgzip\fP(1) で圧縮する
53 (Sources.gz を生成する) 必要があるだろう。apt はローカルアクセス (\fBfile://\fP ソース) 以外、非圧縮の Sources
54 ファイルを無視する。
55 .
56 .SH オプション
57 .IP "\fB\-n\fP, \fB\-\-no\-sort\fP" 4
58 インデックスレコードをソートしない。通常これはソースパッケージ名によってソートされる。
59 .TP 
60 .IP "\fB\-e\fP, \fB\-\-extra\-override\fP \fIfile\fP" 4
61 Scan \fIfile\fP to find supplementary overrides (since dpkg 1.15.4; the file
62 can be compressed since dpkg 1.15.5).  See \fBdeb\-extra\-override\fP(5)  for
63 more information on its format.
64 .IP "\fB\-s\fP, \fB\-\-source\-override\fP \fIfile\fP" 4
65 Use \fIfile\fP as the source override file (the file can be compressed since
66 dpkg 1.15.5).  The default is the name of the override file you specified
67 with \fI.src\fP appended.
68 .sp
69 ソース override ファイルの形式はバイナリ override ファイルとは異なり、空白文字で区切られた 2 つのフィールドのみからなる。1
70 番目のフィールドはソースパッケージ名であり、2
71 番目はセクション名である。慣習に従い、空白行とコメント行は無視される。あるパッケージが両方のファイルに現れた場合、セクションの設定においては、ソース
72 override ファイルが優先される。
73 .IP \fB\-\-debug\fP 4
74 デバッグを有効にする
75 .IP \fB\-\-help\fP 4
76 利用方法を表示して終了する。
77 .IP \fB\-\-version\fP 4
78 バージョン情報を表示して終了する。
79 .
80 .SH 関連項目
81 \fBdeb\-override\fP(5), \fBdeb\-extra\-override\fP(5), \fBdpkg\-scanpackages\fP(1).
82 .SH 翻訳者
83 高橋 基信 <monyo@monyo.com>.
84 喜瀬 浩 <kise@fuyuneko.jp>.
85 関戸 幸一 <sekido@mbox.kyoto-inet.or.jp>.
86 鍋谷 栄展 <nabe@debian.or.jp>.
87 倉澤 望 <nabetaro@debian.or.jp>.
88 石川 睦 <ishikawa@linux.or.jp>.
89 鵜飼 文敏 <ukai@debian.or.jp>.
90 中野 武雄 <nakano@apm.seikei.ac.jp>.
91 .SH 翻訳校正
92 Debian JP Documentation ML <debian-doc@debian.or.jp>.