1 # Debian Developer's Reference (Japanese)
2 # Hideki Yamane (Debian-JP) <henrich@debian.or.jp>, 2008-2010.
6 "Project-Id-Version: developers-reference 3.4.4\n"
7 "POT-Creation-Date: 2010-06-20 09:23-0400\n"
8 "PO-Revision-Date: 2010-08-23 18:27+0900\n"
9 "Last-Translator: Hideki Yamane <henrich@debian.org>\n"
10 "Language-Team: Debian JP Project <debian-doc@debian.or.jp>\n"
11 "Language: Japanese\n"
13 "Content-Type: text/plain; charset=UTF-8\n"
14 "Content-Transfer-Encoding: 8bit\n"
16 # type: Content of: <chapter><title>
17 #. type: Content of: <chapter><title>
19 msgid "Managing Packages"
22 # type: Content of: <chapter><para>
23 #. type: Content of: <chapter><para>
26 "This chapter contains information related to creating, uploading, "
27 "maintaining, and porting packages."
29 "この章では、パッケージの作成、アップロード、メンテナンス、移植についての情報"
32 # type: Content of: <chapter><section><title>
33 #. type: Content of: <chapter><section><title>
38 # type: Content of: <chapter><section><para>
39 #. type: Content of: <chapter><section><para>
42 "If you want to create a new package for the Debian distribution, you should "
43 "first check the <ulink url=\"&url-wnpp;\">Work-Needing and Prospective "
44 "Packages (WNPP)</ulink> list. Checking the WNPP list ensures that no one is "
45 "already working on packaging that software, and that effort is not "
46 "duplicated. Read the <ulink url=\"&url-wnpp;\">WNPP web pages</ulink> for "
49 "もしあなたが Debian ディストリビューションに対して新たなパッケージを作成した"
50 "いという場合、まず <ulink url=\"&url-wnpp;\">作業が望まれるパッケージ (Work-"
51 "Needing and Prospective Packages (WNPP))</ulink> の一覧をチェックする必要があ"
52 "ります。WNPP 一覧をチェックすることで、まだ誰もそのソフトをパッケージ化してい"
53 "ないことや、作業が重複していないことを確認します。詳細については <ulink url="
54 "\"&url-wnpp;\">WNPP のページ</ulink> を読んでください。"
56 # type: Content of: <chapter><section><para>
57 # FIXME: "but not limiting yourself to"?
58 #. type: Content of: <chapter><section><para>
61 "Assuming no one else is already working on your prospective package, you "
62 "must then submit a bug report (<xref linkend=\"submit-bug\"/>) against the "
63 "pseudo-package <systemitem role=\"package\">wnpp</systemitem> describing "
64 "your plan to create a new package, including, but not limiting yourself to, "
65 "a description of the package, the license of the prospective package, and "
66 "the current URL where it can be downloaded from."
68 "パッケージ化しようとしているソフトについて誰もまだ作業していないようであれ"
69 "ば、まずは <systemitem role=\"package\">wnpp</systemitem> 擬似パッケージ "
70 "(pseudo-package) に対してバグ報告を投稿する必要があります (<xref linkend="
71 "\"submit-bug\"/>)。このバグ報告には、パッケージの説明、作業しようとしている"
72 "パッケージのライセンス、ダウンロードが可能な現在の URL を含めた新規パッケージ"
73 "の作成予定 (自分自身が分かるだけではないもの) を記述します。"
75 # type: Content of: <chapter><section><para>
76 #. type: Content of: <chapter><section><para>
79 "You should set the subject of the bug to <literal>ITP: <replaceable>foo</"
80 "replaceable> -- <replaceable>short description</replaceable></literal>, "
81 "substituting the name of the new package for <replaceable>foo</"
82 "replaceable>. The severity of the bug report must be set to "
83 "<literal>wishlist</literal>. Please send a copy to &email-debian-devel; by "
84 "using the X-Debbugs-CC header (don't use CC:, because that way the message's "
85 "subject won't indicate the bug number). If you are packaging so many new "
86 "packages (>10) that notifying the mailing list in separate messages is too "
87 "disruptive, send a summary after filing the bugs to the debian-devel list "
88 "instead. This will inform the other developers about upcoming packages and "
89 "will allow a review of your description and package name."
91 "サブジェクトを <literal>ITP: <replaceable>foo</replaceable> -- "
92 "<replaceable>short description</replaceable></literal> に設定する必要がありま"
93 "す。ここでは <replaceable>foo</replaceable> は新規パッケージの名前に置き換え"
94 "ます。バグ報告の重要度は <literal>wishlist</literal> に設定しなければなりませ"
95 "ん。X-Debbugs-CC ヘッダを使ってコピーを &email-debian-devel; に送信してくださ"
96 "い (CC: は使わないでください。CC: を使った場合はメールのサブジェクトがバグ番"
97 "号を表示しないためです)。大量の新規パッケージの作成 (11 個以上) を行っている"
98 "場合、メーリングリストへ個別に通知するのは鬱陶しいので、代わりにバグを登録し"
99 "た後で要約を送信してください。これによって、他の開発者らに次に来るパッケージ"
100 "を知らせ、説明とパッケージ名のレビューが可能になります。"
102 # type: Content of: <chapter><section><para>
103 #. type: Content of: <chapter><section><para>
106 "Please include a <literal>Closes: #<replaceable>nnnnn</replaceable></"
107 "literal> entry in the changelog of the new package in order for the bug "
108 "report to be automatically closed once the new package is installed in the "
109 "archive (see <xref linkend=\"upload-bugfix\"/>)."
111 "新規パッケージがアーカイブへインストールされる際にバグ報告を自動的に閉じるた"
112 "め、<literal>Closes: #<replaceable>nnnnn</replaceable></literal> というエント"
113 "リを新規パッケージの changelog 内に含めてください (<xref linkend=\"upload-"
116 # FIXME: ftpmaster@debian.org
117 #. type: Content of: <chapter><section><para>
120 "If you think your package needs some explanations for the administrators of "
121 "the NEW package queue, include them in your changelog, send to &email-"
122 "ftpmaster; a reply to the email you receive as a maintainer after your "
123 "upload, or reply to the rejection email in case you are already re-uploading."
125 "パッケージについて、NEW パッケージキューの管理者への説明が必要だろうと思う場"
126 "合は、changelog に説明を含めて &email-ftpmaster; へ送ってください。アップロー"
127 "ド後であればメンテナとして受け取ったメールに返信してください。もしくは既に再"
128 "アップロードをの最中の場合は reject のメールに対して返信してください。"
130 # type: Content of: <chapter><section><para>
131 #. type: Content of: <chapter><section><para>
134 "When closing security bugs include CVE numbers as well as the "
135 "<literal>Closes: #<replaceable>nnnnn</replaceable></literal>. This is "
136 "useful for the security team to track vulnerabilities. If an upload is made "
137 "to fix the bug before the advisory ID is known, it is encouraged to modify "
138 "the historical changelog entry with the next upload. Even in this case, "
139 "please include all available pointers to background information in the "
140 "original changelog entry."
142 "セキュリティバグを閉じる場合は、CVE 番号を <literal>Closes: "
143 "#<replaceable>nnnnn</replaceable></literal> と同じく含めるようにしてくださ"
144 "い。これは、セキュリティチームが脆弱性を追跡するのに役立ちます。アドバイザリ"
145 "の ID が分かる前にバグ修正のためのアップロードが行われた場合は、以前の "
146 "changelog エントリを次のアップロード時に修正するのが推奨されています。このよ"
147 "うな場合でも、元々の changelog での記載に可能な限り背景情報へのポインタを全て"
150 # type: Content of: <chapter><section><para>
151 #. type: Content of: <chapter><section><para>
154 "There are a number of reasons why we ask maintainers to announce their "
157 "我々がメンテナに意図しているところをアナウンスする様に求めるのには、いくつも"
160 # type: Content of: <chapter><section><itemizedlist><listitem><para>
161 #. type: Content of: <chapter><section><itemizedlist><listitem><para>
164 "It helps the (potentially new) maintainer to tap into the experience of "
165 "people on the list, and lets them know if anyone else is working on it "
168 "(潜在的な新たな) メンテナが、メーリングリストの人々の経験を活かすのを手助け"
169 "し、もし他の誰かが既に作業を行っていた場合に知らせる。"
171 # type: Content of: <chapter><section><itemizedlist><listitem><para>
172 #. type: Content of: <chapter><section><itemizedlist><listitem><para>
175 "It lets other people thinking about working on the package know that there "
176 "already is a volunteer, so efforts may be shared."
178 "そのパッケージについて作業することを検討している他の人へ、既に作業をしている"
179 "ボランティアがいることを知らせ、労力が共有される。"
181 # type: Content of: <chapter><section><itemizedlist><listitem><para>
182 #. type: Content of: <chapter><section><itemizedlist><listitem><para>
185 "It lets the rest of the maintainers know more about the package than the one "
186 "line description and the usual changelog entry ``Initial release'' that gets "
187 "posted to &email-debian-devel-changes;."
189 "&email-debian-devel-changes; に流される一行の説明文 (description) と通常どお"
190 "りの「Intial release」という changelog エントリよりも、残った他のメンテナが"
191 "パッケージに関してより深く知ることができる。"
193 # type: Content of: <chapter><section><itemizedlist><listitem><para>
194 #. type: Content of: <chapter><section><itemizedlist><listitem><para>
197 "It is helpful to the people who live off <literal>unstable</literal> (and "
198 "form our first line of testers). We should encourage these people."
200 "<literal>不安定版 (unstable)</literal> で暮らす人 (そして最前線のテスターであ"
203 # type: Content of: <chapter><section><itemizedlist><listitem><para>
204 #. type: Content of: <chapter><section><itemizedlist><listitem><para>
207 "The announcements give maintainers and other interested parties a better "
208 "feel of what is going on, and what is new, in the project."
210 "メンテナや他に興味を持つ人々へ、プロジェクトで何が行われているのか、何か新し"
211 "いことがあるかということ関して、告知は良い印象を与える。"
213 # type: Content of: <chapter><section><para>
214 #. type: Content of: <chapter><section><para>
217 "Please see <ulink url=\"http://&ftp-master-host;/REJECT-FAQ.html\"></ulink> "
218 "for common rejection reasons for a new package."
220 "新しいパッケージに対する一般的な拒否理由については <ulink url=\"http://&ftp-"
221 "master-host;/REJECT-FAQ.html\"></ulink> を参照してください。"
223 # type: Content of: <chapter><section><title>
224 #. type: Content of: <chapter><section><title>
226 msgid "Recording changes in the package"
227 msgstr "パッケージの変更を記録する"
229 # type: Content of: <chapter><section><para>
230 #. type: Content of: <chapter><section><para>
233 "Changes that you make to the package need to be recorded in the "
234 "<filename>debian/changelog</filename>. These changes should provide a "
235 "concise description of what was changed, why (if it's in doubt), and note if "
236 "any bugs were closed. They also record when the package was completed. "
237 "This file will be installed in <filename>/usr/share/doc/"
238 "<replaceable>package</replaceable>/changelog.Debian.gz</filename>, or "
239 "<filename>/usr/share/doc/<replaceable>package</replaceable>/changelog.gz</"
240 "filename> for native packages."
242 "パッケージについて行った変更は <filename>debian/changelog</filename> に記録さ"
243 "れなくてはいけません。これらの変更には、何が変更されたのか、(不確かであれば) "
244 "何故なのか、そしてどのバグが閉じられたのかの簡潔な説明文を付加する必要があり"
245 "ます。このファイルは <filename>/usr/share/doc/<replaceable>package</"
246 "replaceable>/changelog.Debian.gz</filename>、あるいは native パッケージの場合"
247 "は <filename>/usr/share/doc/<replaceable>package</replaceable>/changelog.gz</"
248 "filename> にインストールされます。"
250 # type: Content of: <chapter><section><para>
251 #. type: Content of: <chapter><section><para>
254 "The <filename>debian/changelog</filename> file conforms to a certain "
255 "structure, with a number of different fields. One field of note, the "
256 "<literal>distribution</literal>, is described in <xref linkend=\"distribution"
257 "\"/>. More information about the structure of this file can be found in the "
258 "Debian Policy section titled <filename>debian/changelog</filename>."
260 "<filename>debian/changelog</filename> ファイルは、幾つもの異なった項目からな"
261 "る特定の構造に従っています。一点を取り上げてみると、<literal>distribution</"
262 "literal> については<xref linkend=\"distribution\"/>に記述されています。この"
263 "ファイルの構造について、より詳細な情報は Debian ポリシーの <filename>debian/"
264 "changelog</filename> という章で確認できます。"
266 # type: Content of: <chapter><section><para>
267 #. type: Content of: <chapter><section><para>
270 "Changelog entries can be used to automatically close Debian bugs when the "
271 "package is installed into the archive. See <xref linkend=\"upload-bugfix\"/"
274 "changelog への記載は、パッケージがアーカイブにインストールされる際、自動的に "
275 "Debian バグを閉じるのに利用できます。<xref linkend=\"upload-bugfix\"/> を参照"
278 # type: Content of: <chapter><section><para>
279 #. type: Content of: <chapter><section><para>
282 "It is conventional that the changelog entry of a package that contains a new "
283 "upstream version of the software looks like this:"
285 "ソフトウェアの新しい開発元のバージョン (new upstream version) を含むパッケー"
286 "ジの changelog エントリは、以下のようにするのが慣習です:"
288 # type: Content of: <chapter><section><screen>
289 #. type: Content of: <chapter><section><screen>
292 msgid " * New upstream release.\n"
293 msgstr " * New upstream release.\n"
295 # type: Content of: <chapter><section><para>
296 #. type: Content of: <chapter><section><para>
299 "There are tools to help you create entries and finalize the "
300 "<filename>changelog</filename> for release — see <xref linkend=\"devscripts"
301 "\"/> and <xref linkend=\"dpkg-dev-el\"/>."
303 "<filename>changelog</filename> エントリの作成と仕上げ処理に使えるツールがあり"
304 "ます。<xref linkend=\"devscripts\"/> と <xref linkend=\"dpkg-dev-el\"/> を参"
307 # type: Content of: <chapter><section><para>
308 #. type: Content of: <chapter><section><para>
310 msgid "See also <xref linkend=\"bpp-debian-changelog\"/>."
311 msgstr "<xref linkend=\"bpp-debian-changelog\"/> も参照してください。"
313 # type: Content of: <chapter><section><title>
314 #. type: Content of: <chapter><section><title>
316 msgid "Testing the package"
319 # type: Content of: <chapter><section><para>
321 #. type: Content of: <chapter><section><para>
324 "Before you upload your package, you should do basic testing on it. At a "
325 "minimum, you should try the following activities (you'll need to have an "
326 "older version of the same Debian package around):"
328 "パッケージをアップロードする前に、基本的なテストをする必要があります。最低"
329 "限、以下の作業が必要です (同じ Debian パッケージの古いバージョンなどが必要に"
332 # type: Content of: <chapter><section><itemizedlist><listitem><para>
333 #. type: Content of: <chapter><section><itemizedlist><listitem><para>
336 "Install the package and make sure the software works, or upgrade the package "
337 "from an older version to your new version if a Debian package for it already "
340 "パッケージをインストールしてソフトウェアが動作するのを確認する、あるいは既に"
341 "そのソフトの Debian パッケージが存在している場合、パッケージを以前のバージョ"
342 "ンから新しいバージョンにアップグレードする。"
344 # type: Content of: <chapter><section><itemizedlist><listitem><para>
345 #. type: Content of: <chapter><section><itemizedlist><listitem><para>
348 "Run <command>lintian</command> over the package. You can run "
349 "<command>lintian</command> as follows: <literal>lintian -v "
350 "<replaceable>package-version</replaceable>.changes</literal>. This will "
351 "check the source package as well as the binary package. If you don't "
352 "understand the output that <command>lintian</command> generates, try adding "
353 "the <literal>-i</literal> switch, which will cause <command>lintian</"
354 "command> to output a very verbose description of the problem."
356 "パッケージに対して <command>lintian</command> を実行する。以下のようにして "
357 "<command>lintian</command> を実行できます: <literal>lintian -v "
358 "<replaceable>package-version</replaceable>.changes</literal> 。"
359 "<command>lintian</command> が生成した出力を理解していない場合は、"
360 "<command>lintian</command> が問題の説明を非常に冗長に出力するようにする "
361 "<literal>-i</literal> オプションを付けて実行してみてください。"
363 # type: Content of: <chapter><section><itemizedlist><listitem><para>
364 #. type: Content of: <chapter><section><itemizedlist><listitem><para>
367 "Normally, a package should <emphasis>not</emphasis> be uploaded if it causes "
368 "lintian to emit errors (they will start with <literal>E</literal>)."
370 "通常、lintian がエラーを出力するようであれば、パッケージをアップロードしては"
371 "<emphasis>いけません</emphasis> (エラーは <literal>E</literal> で始まりま"
374 # type: Content of: <chapter><section><itemizedlist><listitem><para>
375 #. type: Content of: <chapter><section><itemizedlist><listitem><para>
378 "For more information on <command>lintian</command>, see <xref linkend="
381 "<command>lintian</command> についての詳細は、<xref linkend=\"lintian\"/> を参"
384 # type: Content of: <chapter><section><itemizedlist><listitem><para>
385 #. type: Content of: <chapter><section><itemizedlist><listitem><para>
388 "Optionally run <command>debdiff</command> (see <xref linkend=\"debdiff\"/>) "
389 "to analyze changes from an older version, if one exists."
391 "もし古いバージョンがあれば、それからの変更点を分析するために追加で "
392 "<command>debdiff</command> を実行する (<xref linkend=\"debdiff\"/> を参照) 。"
394 # type: Content of: <chapter><section><itemizedlist><listitem><para>
395 #. type: Content of: <chapter><section><itemizedlist><listitem><para>
398 "Downgrade the package to the previous version (if one exists) — this tests "
399 "the <filename>postrm</filename> and <filename>prerm</filename> scripts."
401 "(もしあれば) 以前のバージョンにダウングレードする — これは <filename>postrm</"
402 "filename> スクリプトと <filename>prerm</filename> スクリプトをテストします。"
404 # type: Content of: <chapter><section><itemizedlist><listitem><para>
405 #. type: Content of: <chapter><section><itemizedlist><listitem><para>
407 msgid "Remove the package, then reinstall it."
408 msgstr "パッケージを削除して、再インストールする。"
410 # type: Content of: <chapter><section><itemizedlist><listitem><para>
411 #. type: Content of: <chapter><section><itemizedlist><listitem><para>
414 "Copy the source package in a different directory and try unpacking it and "
415 "rebuilding it. This tests if the package relies on existing files outside "
416 "of it, or if it relies on permissions being preserved on the files shipped "
417 "inside the <filename>.diff.gz</filename> file."
419 "ソースパッケージを違うディレクトリにコピーして展開し、再構築する。これは、"
420 "パッケージが外部の既存ファイルに依っているか、<filename>.diff.gz</filename> "
421 "ファイル内に含まれているファイルで保存されている権限に依るかどうかをテストし"
424 # type: Content of: <chapter><section><title>
425 #. type: Content of: <chapter><section><title>
427 msgid "Layout of the source package"
430 # type: Content of: <chapter><section><para>
431 #. type: Content of: <chapter><section><para>
433 msgid "There are two types of Debian source packages:"
434 msgstr "Debian のソースパッケージには 2 種類あります:"
436 # type: Content of: <chapter><section><itemizedlist><listitem><para>
437 #. type: Content of: <chapter><section><itemizedlist><listitem><para>
440 "the so-called <literal>native</literal> packages, where there is no "
441 "distinction between the original sources and the patches applied for Debian"
443 "いわゆる <literal>native</literal>パッケージ。元のソースと Debian で当てられ"
446 #. type: Content of: <chapter><section><itemizedlist><listitem><para>
449 "the (more common) packages where there's an original source tarball file "
450 "accompanied by another file that contains the changes made by Debian"
452 "オリジナルのソースコードの tarball ファイルに、Debian によって作成された変更"
453 "点を含む別のファイルが付随している (より一般的な) パッケージ"
455 #. type: Content of: <chapter><section><para>
458 "For the native packages, the source package includes a Debian source control "
459 "file (<filename>.dsc</filename>) and the source tarball (<filename>.tar.{gz,"
460 "bz2,lzma}</filename>). A source package of a non-native package includes a "
461 "Debian source control file, the original source tarball (<filename>.orig.tar."
462 "{gz,bz2,lzma}</filename>) and the Debian changes (<filename>.diff.gz</"
463 "filename> for the source format “1.0” or <filename>.debian.tar.{gz,bz2,lzma}"
464 "</filename> for the source format “3.0 (quilt)”)."
466 "native パッケージの場合、ソースパッケージは Debian のソース control ファイル "
467 "(<filename>.dsc</filename>) とソースコードの tarball (<filename>.tar.{gz,bz2,"
468 "lzma}</filename>) を含んでいます。native ではないパッケージのソースパッケージ"
469 "は Debian のソース control ファイルと、オリジナルのソースコードの tarball "
470 "(<filename>.orig.tar.{gz,bz2,lzma}</filename>)、そして Debian での変更点 "
471 "(ソース形式“1.0”は <filename>.diff.gz</filename>、ソース形式“3.0 (quilt)”は "
472 "<filename>.debian.tar.{gz,bz2,lzma}</filename>) を含んでいます。"
474 #. type: Content of: <chapter><section><para>
477 "With source format “1.0”, whether a package is native or not was determined "
478 "by <command>dpkg-source</command> at build time. Nowadays it is recommended "
479 "to be explicit about the desired source format by putting either “3.0 "
480 "(quilt)” or “3.0 (native)” in <filename>debian/source/format</filename>. "
481 "The rest of this section relates only to non-native packages."
483 "ソース形式“1.0”では、パッケージが native かどうかはビルド時に <command>dpkg-"
484 "source</command> によって決められていました。最近では望むソース形式を "
485 "<filename>debian/source/format</filename> に“3.0 (quilt)”または“3.0 "
486 "(native)”と記述することによって明示することが推奨されています。この章の残りの"
487 "部分は native ではないパッケージについてのみ記しています。"
489 # type: Content of: <chapter><section><para>
490 #. type: Content of: <chapter><section><para>
493 "The first time a version is uploaded which corresponds to a particular "
494 "upstream version, the original source tar file should be uploaded and "
495 "included in the <filename>.changes</filename> file. Subsequently, this very "
496 "same tar file should be used to build the new diffs and <filename>.dsc</"
497 "filename> files, and will not need to be re-uploaded."
499 "初回には、特定の開発元のバージョン (upstream version) に該当するバージョンが"
500 "アップロードされます。元のソース tar ファイルは、アップロードされて "
501 "<filename>.changes</filename> ファイルに含まれている必要があります。その"
502 "後、新しい diff ファイルや <filename>.dsc</filename> ファイルの生成には全く同"
503 "じ tar ファイルを使わなければならず、これを再アップロードする必要はありませ"
506 #. type: Content of: <chapter><section><para>
509 "By default, <command>dpkg-genchanges</command> and <command>dpkg-"
510 "buildpackage</command> will include the original source tar file if and only "
511 "if the current changelog entry has a different upstream version from the "
512 "preceding entry. This behavior may be modified by using <literal>-sa</"
513 "literal> to always include it or <literal>-sd</literal> to always leave it "
516 "デフォルトでは、<command>dpkg-genchanges</command> および <command>dpkg-"
517 "buildpackage</command> は前述されている changelog エントリと現在のエントリが"
518 "異なった upstream バージョンを持つ場合にのみ、オリジナルのソース tar ファイル"
519 "を含めようとします。この挙動は、<literal>-sa</literal> を使って常に含めたり、"
520 "<literal>-sd</literal> を使うことで常に含めないようにするように変更できます。"
522 # type: Content of: <chapter><section><para>
523 #. type: Content of: <chapter><section><para>
526 "If no original source is included in the upload, the original source tar-"
527 "file used by <command>dpkg-source</command> when constructing the <filename>."
528 "dsc</filename> file and diff to be uploaded <emphasis>must</emphasis> be "
529 "byte-for-byte identical with the one already in the archive."
531 "アップロード時にオリジナルのソースが含まれていない場合、アップロードされる "
532 "<filename>.dsc</filename> と diff ファイルを構築する際に <command>dpkg-"
533 "source</command> が使用するオリジナルの tar ファイルは、<emphasis>必ず</"
534 "emphasis>既にアーカイブにあるものと 1 バイトも違わぬものでなくてはなりませ"
537 #. type: Content of: <chapter><section><para>
540 "Please notice that, in non-native packages, permissions on files that are "
541 "not present in the <filename>*.orig.tar.{gz,bz2,lzma}</filename> will not be "
542 "preserved, as diff does not store file permissions in the patch. However "
543 "when using source format “3.0 (quilt)”, permissions of files inside the "
544 "<filename>debian</filename> directory are preserved since they are stored in "
547 "注意していただきたいのですが、native ではないパッケージでは、diff はパッチ内の"
548 "ファイルパーミッションを保存しないので、<filename>*.orig.tar.{gz,bz2,lzma}</"
549 "filename> 内に存在しないファイルのパーミッションは保持されません。しかし、"
550 "ソース形式“3.0 (quilt)”を使っている場合、<filename>debian</filename> ディレク"
551 "トリ内にあるファイルのパーミッションは tar アーカイブで保存されるのでそのまま"
554 # type: Content of: <chapter><section><title>
555 #. type: Content of: <chapter><section><title>
557 msgid "Picking a distribution"
558 msgstr "ディストリビューションを選ぶ"
560 # type: Content of: <chapter><section><para>
561 #. type: Content of: <chapter><section><para>
564 "Each upload needs to specify which distribution the package is intended "
565 "for. The package build process extracts this information from the first "
566 "line of the <filename>debian/changelog</filename> file and places it in the "
567 "<literal>Distribution</literal> field of the <filename>.changes</filename> "
570 "アップロードでは、パッケージがどのディストリビューション向けになっているかを"
571 "指定してあることが必要です。パッケージの構築プロセスでは、<filename>debian/"
572 "changelog</filename> ファイルの最初の行からこの情報を展開し、<filename>."
573 "changes</filename> ファイルの <literal>Distribution</literal> 欄に配置しま"
576 # type: Content of: <chapter><section><para>
577 #. type: Content of: <chapter><section><para>
580 "There are several possible values for this field: <literal>stable</literal>, "
581 "<literal>unstable</literal>, <literal>testing-proposed-updates</literal> and "
582 "<literal>experimental</literal>. Normally, packages are uploaded into "
583 "<literal>unstable</literal>."
585 "この欄にはいくつか指定可能な値があります: <literal>stable</literal>、"
586 "<literal>unstable</literal>、<literal>testing-proposed-updates</literal>、そ"
587 "して <literal>experimental</literal> です。通常、パッケージは "
588 "<literal>unstable</literal> にアップロードされます。"
590 # type: Content of: <chapter><section><para>
591 #. type: Content of: <chapter><section><para>
594 "Actually, there are two other possible distributions: <literal>stable-"
595 "security</literal> and <literal>testing-security</literal>, but read <xref "
596 "linkend=\"bug-security\"/> for more information on those."
598 "実際には、他に二つ指定可能なディストリビューションがあります: "
599 "<literal>stable-security</literal> と <literal>testing-security</literal> で"
600 "すが、これらについての詳細は <xref linkend=\"bug-security\"/> を読んでくださ"
603 # type: Content of: <chapter><section><para>
604 #. type: Content of: <chapter><section><para>
607 "It is not possible to upload a package into several distributions at the "
610 "同時に複数のディストリビューションへパッケージをアップロードすることはできま"
613 # type: Content of: <chapter><section><section><title>
614 #. type: Content of: <chapter><section><section><title>
617 "Special case: uploads to the <literal>stable</literal> and "
618 "<literal>oldstable</literal> distributions"
620 "特別な例: <literal>安定版 (stable)</literal> と <literal>旧安定版 (oldstable)"
621 "</literal> ディストリビューションへアップロードする"
623 #. type: Content of: <chapter><section><section><para>
626 "Uploading to <literal>stable</literal> means that the package will "
627 "transferred to the <literal>proposed-updates-new</literal> queue for review "
628 "by the stable release managers, and if approved will be installed in "
629 "<filename>stable-proposed-updates</filename> directory of the Debian "
630 "archive. From there, it will be included in <literal>stable</literal> with "
631 "the next point release."
633 "<literal>安定版 (stable)</literal> へのアップロードは、安定版リリースマネー"
634 "ジャによるレビューのため、パッケージが <literal>proposed-updates-new</"
635 "literal> キューに転送され、許可された場合は Debian アーカイブの "
636 "<filename>stable-proposed-updates</filename> ディレクトリにインストールされま"
639 # type: Content of: <chapter><section><section><para>
640 #. type: Content of: <chapter><section><section><para>
643 "To ensure that your upload will be accepted, you should discuss the changes "
644 "with the stable release team before you upload. For that, send a mail to the "
645 "&email-debian-release; mailing list, including the patch you want to apply "
646 "to the package version currently in <literal>stable</literal>. Always be "
647 "verbose and detailed in your changelog entries for uploads to the "
648 "<literal>stable</literal> distribution."
650 "アップロードが許可されるのを確実にするには、アップロードの前に変更点について"
651 "安定版リリースチームと協議する必要があります。そのためには、<literal>安定版 "
652 "(stable)</literal> にある現在のパッケージバージョンに適用したいパッチを含めた"
653 "メールを &email-debian-release; メーリングリストに送ってください。<literal>安"
654 "定版 (stable)</literal> ディストリビューションへアップロードするパッケージの "
655 "changelog のエントリには常にくどいほど詳細にしてください。"
657 # type: Content of: <chapter><section><section><para>
658 #. type: Content of: <chapter><section><section><para>
661 "Extra care should be taken when uploading to <literal>stable</literal>. "
662 "Basically, a package should only be uploaded to <literal>stable</literal> if "
663 "one of the following happens:"
665 "<literal>安定版 (stable)</literal> へのアップロード時には特に注意を払うことが"
666 "必要です。基本的に、以下のいずれかが起こった際にのみ <literal>安定版 (stable)"
667 "</literal> へパッケージはアップロードされます:"
669 # type: Content of: <chapter><section><section><itemizedlist><listitem><para>
670 #. type: Content of: <chapter><section><section><itemizedlist><listitem><para>
672 msgid "a truly critical functionality problem"
673 msgstr "本当に致命的な機能の問題がある"
675 # type: Content of: <chapter><section><section><itemizedlist><listitem><para>
676 #. type: Content of: <chapter><section><section><itemizedlist><listitem><para>
678 msgid "the package becomes uninstallable"
679 msgstr "パッケージがインストールできなくなる"
681 # type: Content of: <chapter><section><section><itemizedlist><listitem><para>
682 #. type: Content of: <chapter><section><section><itemizedlist><listitem><para>
684 msgid "a released architecture lacks the package"
685 msgstr "リリースされたアーキテクチャにパッケージが無い"
687 # type: Content of: <chapter><section><section><para>
688 #. type: Content of: <chapter><section><section><para>
691 "In the past, uploads to <literal>stable</literal> were used to address "
692 "security problems as well. However, this practice is deprecated, as uploads "
693 "used for Debian security advisories are automatically copied to the "
694 "appropriate <filename>proposed-updates</filename> archive when the advisory "
695 "is released. See <xref linkend=\"bug-security\"/> for detailed information "
696 "on handling security problems. If the security teams deems the problem to be "
697 "too benign to be fixed through a <literal>DSA</literal>, the stable release "
698 "managers are usually willing to include your fix nonetheless in a regular "
699 "upload to <literal>stable</literal>."
701 "以前、<literal>安定版 (stable)</literal> へのアップロードはセキュリティ問題へ"
702 "の対処と同等に取り扱われていました。しかし、この慣習は廃れており、Debian セ"
703 "キュリティ勧告がリリースされた際、セキュリティ勧告へのアップロードに使われた"
704 "ものが自動的に適切な <filename>proposed-updates</filename> アーカイブにコピー"
705 "されます。セキュリティ情報の取り扱い方の詳細については <xref linkend=\"bug-"
706 "security\"/> を参照してください。セキュリティチームがその問題は "
707 "<literal>DSA</literal> を通じて修正するには軽微過ぎると思った場合であっても、"
708 "安定版のリリースマネージャらはそれに関わらず <literal>安定版 (stable)</"
709 "literal> への定期アップロードに修正を含めようとするでしょう。"
711 # type: Content of: <chapter><section><section><para>
712 #. type: Content of: <chapter><section><section><para>
715 "Changing anything else in the package that isn't important is discouraged, "
716 "because even trivial fixes can cause bugs later on."
718 "些細な修正でも後ほどバグを引き起こすことがあるので、重要でないものは何であろ"
721 #. type: Content of: <chapter><section><section><para>
724 "Packages uploaded to <literal>stable</literal> need to be compiled on "
725 "systems running <literal>stable</literal>, so that their dependencies are "
726 "limited to the libraries (and other packages) available in <literal>stable</"
727 "literal>; for example, a package uploaded to <literal>stable</literal> that "
728 "depends on a library package that only exists in <literal>unstable</literal> "
729 "will be rejected. Making changes to dependencies of other packages (by "
730 "messing with <literal>Provides</literal> or <filename>shlibs</filename> "
731 "files), possibly making those other packages uninstallable, is strongly "
734 "<literal>安定版 (stable)</literal> にアップロードされるパッケージは<literal>"
735 "安定版 (stable)</literal> を動作しているシステム上でコンパイルされていなけれ"
736 "ばならず、ライブラリ (やその他のパッケージ) への依存は<literal>安定版 "
737 "(stable)</literal> で入手可能なものに限られます。例えば、<literal>安定版 "
738 "(stable)</literal> にアップロードされたパッケージが<literal>不安定版 "
739 "(unstable)</literal> にのみ存在するライブラリパッケージに依存していると "
740 "reject されます。他のパッケージへの依存を (<literal>提供 (Provides)</"
741 "literal> や <filename>shlibs</filename> をいじることで) 変更するのは、他の"
742 "パッケージをインストールできないようにする可能性があるので認められません。"
744 #. type: Content of: <chapter><section><section><para>
747 "Uploads to the <literal>oldstable</literal> distributions are possible as "
748 "long as it hasn't been archived. The same rules as for <literal>stable</"
751 "<literal>旧安定版 (oldstable)</literal> ディストリビューションへのアップロー"
752 "ドはアーカイブされてない限り可能です。<literal>安定版 (stable)</literal>と同"
755 # type: Content of: <chapter><section><section><title>
756 #. type: Content of: <chapter><section><section><title>
759 "Special case: uploads to <literal>testing/testing-proposed-updates</literal>"
761 "特別な例: <literal>testing/testing-proposed-updates</literal> へアップロード"
764 # type: Content of: <chapter><section><section><para>
765 #. type: Content of: <chapter><section><section><para>
768 "Please see the information in the <link linkend=\"t-p-u\">testing section</"
771 "詳細については、<link linkend=\"t-p-u\">testing section</link> にある情報を参"
774 # type: Content of: <chapter><section><title>
775 #. type: Content of: <chapter><section><title>
777 msgid "Uploading a package"
778 msgstr "パッケージをアップロードする"
780 # type: Content of: <chapter><section><section><title>
781 #. type: Content of: <chapter><section><section><title>
783 msgid "Uploading to <literal>ftp-master</literal>"
784 msgstr "<literal>ftp-master</literal> にアップロードする"
786 #. type: Content of: <chapter><section><section><para>
789 "To upload a package, you should upload the files (including the signed "
790 "changes and dsc-file) with anonymous ftp to <literal>&ftp-upload-host;</"
791 "literal> in the directory <ulink url=\"ftp://&ftp-upload-host;&upload-queue;"
792 "\">&upload-queue;</ulink>. To get the files processed there, they need to "
793 "be signed with a key in the Debian Developers keyring or the Debian "
794 "Maintainers keyring (see <ulink url=\"&url-wiki-dm;\"></ulink>)."
796 "パッケージをアップロードするには、ファイル (署名された changes ファイルと "
797 "dsc ファイル) を anonymous ftp で <literal>&ftp-upload-host;</literal> の "
798 "<ulink url=\"ftp://&ftp-upload-host;&upload-queue;\">&upload-queue;</ulink> "
799 "へアップロードする必要があります。そこでファイルを処理するためには、Debian "
800 "Developers keyring または Debian Maintainers keyring (<ulink url=\"&url-wiki-"
801 "dm;\"></ulink> 参照) にある鍵で署名しておく必要があります。"
803 # type: Content of: <chapter><section><section><para>
804 #. type: Content of: <chapter><section><section><para>
807 "Please note that you should transfer the changes file last. Otherwise, your "
808 "upload may be rejected because the archive maintenance software will parse "
809 "the changes file and see that not all files have been uploaded."
811 "changes ファイルは最後に転送する必要があることに注意してください。そうしない"
812 "とアーカイブのメンテナンスを行っているソフトが changes ファイルをパースして全"
813 "てのファイルがアップロードされていないと判断して、アップロードは reject され"
816 #. type: Content of: <chapter><section><section><para>
819 "You may also find the Debian packages <link linkend=\"dupload\">dupload</"
820 "link> or <link linkend=\"dput\">dput</link> useful when uploading packages."
821 "These handy programs help automate the process of uploading packages into "
824 "パッケージのアップロードを行う際には <link linkend=\"dupload\">dupload</"
825 "link> や <link linkend=\"dput\">dput</link> が便利なことにも気づくことでしょ"
826 "う。これらの便利なプログラムは、パッケージを Debian にアップロードする作業を"
829 #. type: Content of: <chapter><section><section><para>
832 "For removing packages, please see <ulink url=\"ftp://&ftp-upload-host;"
833 "&upload-queue;README\"/> and the Debian package <link linkend=\"dcut\">dcut</"
836 "パッケージを削除するには <ulink url=\"ftp://&ftp-upload-host;&upload-queue;"
837 "README\"/> と <link linkend=\"dcut\">dcut</link> Debian パッケージを参照して"
840 # type: Content of: <chapter><section><section><title>
841 #. type: Content of: <chapter><section><section><title>
843 msgid "Delayed uploads"
846 #. type: Content of: <chapter><section><section><para>
849 "It is sometimes useful to upload a package immediately, but to want this "
850 "package to arrive in the archive only a few days later. For example, when "
851 "preparing a <link linkend=\"nmu\">Non-Maintainer Upload</link>, you might "
852 "want to give the maintainer a few days to react."
854 "パッケージを直ちにアップロードするのが良い時もありますが、パッケージがアーカ"
855 "イブに入るのが数日後であるのが良いと思う時もあります。例えば、<link linkend="
856 "\"nmu\">Non-Maintainer アップロード</link>の準備をする際は、メンテナに対して"
857 "猶予期間を数日間与えたいと思うでしょう。"
859 #. type: Content of: <chapter><section><section><para>
862 "An upload to the delayed directory keeps the package in <ulink url=\"http://"
863 "ftp-master.debian.org/deferred.html\">the deferred uploads queue</ulink>. "
864 "When the specified waiting time is over, the package is moved into the "
865 "regular incoming directory for processing. This is done through automatic "
866 "uploading to <literal>&ftp-upload-host;</literal> in upload-directory "
867 "<literal>DELAYED/[012345678]-day</literal>. 0-day is uploaded multiple times "
868 "per day to <literal>&ftp-upload-host;</literal>."
870 "delayed ディレクトリにアップロードされると、パッケージは <ulink url=\"http://"
871 "ftp-master.debian.org/deferred.html\">the deferred uploads queue</ulink> に保"
872 "存されます。指定した待ち時間が終わると、パッケージは処理のため通常の "
873 "incoming ディレクトリに移動されます。この作業は <literal>&ftp-upload-host;</"
874 "literal> の <literal>DELAYED/[012345678]-day</literal> ディレクトリへのアップ"
875 "ロードを通じて自動的に処理されます。0-day は一日に複数回 <literal>&ftp-"
876 "upload-host;</literal> へアップロードするのに使われます。"
878 #. type: Content of: <chapter><section><section><para>
881 "With dput, you can use the <literal>--delayed <replaceable>DELAY</"
882 "replaceable></literal> parameter to put the package into one of the queues."
884 "dput を使うと、パッケージを遅延キューに入れるのに <literal>--delayed "
885 "<replaceable>DELAY</replaceable></literal> パラメータを使えます。"
887 # type: Content of: <chapter><section><section><title>
888 #. type: Content of: <chapter><section><section><title>
890 msgid "Security uploads"
891 msgstr "セキュリティアップロード"
893 # type: Content of: <chapter><section><section><para>
894 #. type: Content of: <chapter><section><section><para>
897 "Do <emphasis role=\"strong\">NOT</emphasis> upload a package to the security "
898 "upload queue (<literal>oldstable-security</literal>, <literal>stable-"
899 "security</literal>, etc.) without prior authorization from the security "
900 "team. If the package does not exactly meet the team's requirements, it will "
901 "cause many problems and delays in dealing with the unwanted upload. For "
902 "details, please see <xref linkend=\"bug-security\"/>."
904 "セキュリティアップロードキュー (<literal>oldstable-security</literal>、"
905 "<literal>stable-security</literal> 等) には、セキュリティチームからの事前許可"
906 "無しにパッケージを<emphasis role=\"strong\">アップロードしないでください</"
907 "emphasis>。パッケージがチームの要求に完全に合致していない場合、望まれないアッ"
908 "プロードに対処するために多くの問題が引き起こされたり遅延が生じることになりま"
909 "す。詳細については <xref linkend=\"bug-security\"/> を参照してください。"
911 # type: Content of: <chapter><section><section><title>
912 #. type: Content of: <chapter><section><section><title>
914 msgid "Other upload queues"
917 #. type: Content of: <chapter><section><section><para>
920 "There is an alternative upload queue in Europe at <ulink url=\"ftp://&ftp-eu-"
921 "upload-host;&upload-queue;\"/>. It operates in the same way as <literal>&ftp-"
922 "upload-host;</literal>, but should be faster for European developers."
924 "ヨーロッパにはもう一つのアップロードキューが <ulink url=\"ftp://&ftp-eu-"
925 "upload-host;&upload-queue;\"/> にあります。操作方法は <literal>&ftp-upload-"
926 "host;</literal> と同じですが、ヨーロッパ圏の開発者に対しては、より速いはずで"
929 #. type: Content of: <chapter><section><section><para>
932 "Packages can also be uploaded via ssh to <literal>&ssh-upload-host;</"
933 "literal>; files should be put <literal>/srv/upload.debian.org/UploadQueue</"
934 "literal>. This queue does not support <link linkend=\"delayed-incoming"
935 "\">delayed uploads</link>."
937 "パッケージは ssh を使って <literal>&ssh-upload-host;</literal> へアップロード"
938 "することも可能です。ファイルは <literal>/srv/upload.debian.org/UploadQueue</"
939 "literal> に置く必要があります。このキューは<link linkend=\"delayed-incoming"
940 "\">遅延アップロード</link>をサポートしていません。"
942 # type: Content of: <chapter><section><section><title>
943 #. type: Content of: <chapter><section><section><title>
945 msgid "Notification that a new package has been installed"
946 msgstr "新しいパッケージがインストールされたことの通知"
948 # type: Content of: <chapter><section><section><para>
949 #. type: Content of: <chapter><section><section><para>
952 "The Debian archive maintainers are responsible for handling package "
953 "uploads. For the most part, uploads are automatically handled on a daily "
954 "basis by the archive maintenance tools, <command>katie</command>. "
955 "Specifically, updates to existing packages to the <literal>unstable</"
956 "literal> distribution are handled automatically. In other cases, notably "
957 "new packages, placing the uploaded package into the distribution is handled "
958 "manually. When uploads are handled manually, the change to the archive may "
959 "take up to a month to occur. Please be patient."
961 "Debian アーカイブメンテナはパッケージのアップロードに関して責任を持っていま"
962 "す。多くの部分は、アップロードはアーカイブ用のメンテナンスツール "
963 "<command>katie</command> によって日々自動的に行われています。特に、<literal>"
964 "不安定版 (unstable)</literal> に存在しているパッケージの更新は自動的に処理さ"
965 "れます。それ以外の場合、特に新規パッケージの場合は、アップロードされたパッ"
966 "ケージをディストリビューションに含めるのは手動で行われます。アップロードが手"
967 "動で処理される場合は、アーカイブへの変更は実施されるまでに一ヶ月ほどかかりま"
970 # type: Content of: <chapter><section><section><para>
971 #. type: Content of: <chapter><section><section><para>
974 "In any case, you will receive an email notification indicating that the "
975 "package has been added to the archive, which also indicates which bugs will "
976 "be closed by the upload. Please examine this notification carefully, "
977 "checking if any bugs you meant to close didn't get triggered."
979 "どの場合であっても、パッケージがアーカイブに追加されたことや、バグがアップ"
980 "ロードで閉じられたことを告げるメールでの通知を受け取ることになります。あなた"
981 "が閉じようとしたバグが処理されてない場合は、この通知を注意深く確認してくださ"
984 # type: Content of: <chapter><section><section><para>
985 #. type: Content of: <chapter><section><section><para>
988 "The installation notification also includes information on what section the "
989 "package was inserted into. If there is a disparity, you will receive a "
990 "separate email notifying you of that. Read on below."
992 "インストール通知もパッケージがどのセクションに入ったかを示す情報を含んでいま"
993 "す。不一致がある場合は、それを示す別のメール通知を受け取ります。以下も参照く"
996 # type: Content of: <chapter><section><section><para>
997 #. type: Content of: <chapter><section><section><para>
1000 "Note that if you upload via queues, the queue daemon software will also send "
1001 "you a notification by email."
1003 "キュー経由でアップロードした場合は、キューデーモンソフトウェアもメールで通知"
1006 # type: Content of: <chapter><section><title>
1007 #. type: Content of: <chapter><section><title>
1009 msgid "Specifying the package section, subsection and priority"
1010 msgstr "パッケージのセクション、サブセクション、優先度を指定する"
1012 # type: Content of: <chapter><section><para>
1013 #. type: Content of: <chapter><section><para>
1016 "The <filename>debian/control</filename> file's <literal>Section</literal> "
1017 "and <literal>Priority</literal> fields do not actually specify where the "
1018 "file will be placed in the archive, nor its priority. In order to retain "
1019 "the overall integrity of the archive, it is the archive maintainers who have "
1020 "control over these fields. The values in the <filename>debian/control</"
1021 "filename> file are actually just hints."
1023 "<filename>debian/control</filename> ファイルの <literal>セクション (Section)"
1024 "</literal> フィールドと <literal>優先度 (Priority)</literal> フィールドは実際"
1025 "にアーカイブ内でどこに配置されるか、あるいはプライオリティが何かという指定で"
1026 "はありません。<filename>debian/control</filename> ファイル中の値は、実際のと"
1029 # type: Content of: <chapter><section><para>
1030 #. type: Content of: <chapter><section><para>
1033 "The archive maintainers keep track of the canonical sections and priorities "
1034 "for packages in the <literal>override file</literal>. If there is a "
1035 "disparity between the <literal>override file</literal> and the package's "
1036 "fields as indicated in <filename>debian/control</filename>, then you will "
1037 "receive an email noting the divergence when the package is installed into "
1038 "the archive. You can either correct your <filename>debian/control</"
1039 "filename> file for your next upload, or else you may wish to make a change "
1040 "in the <literal>override file</literal>."
1042 "アーカイブメンテナは、<literal>override ファイル</literal>内でパッケージにつ"
1043 "いて定められたセクションと優先度を常に確認しています。<literal>override ファイル"
1044 "</literal>と <filename>debian/control</filename> で指定されたパッケージの"
1045 "フィールドに不一致がある場合、パッケージがアーカイブにインストールされる際に"
1046 "相違について記述されたメールを受け取ります。<filename>debian/control</"
1047 "filename> ファイルを次回のアップロード時に修正することもできますし、"
1048 "<literal>override ファイル</literal>に変更を加えるように依頼するのもよいで"
1051 #. type: Content of: <chapter><section><para>
1054 "To alter the actual section that a package is put in, you need to first make "
1055 "sure that the <filename>debian/control</filename> file in your package is "
1056 "accurate. Next, submit a bug against <systemitem role=\"package\">ftp."
1057 "debian.org</systemitem> requesting that the section or priority for your "
1058 "package be changed from the old section or priority to the new one. Use a "
1059 "Subject like <literal>override: PACKAGE1:section/priority, [...], PACKAGEX:"
1060 "section/priority</literal>, and include the justification for the change in "
1061 "the body of the bug report."
1063 "パッケージが現状で置かれているセクションを変更するには、まずパッケージの "
1064 "<filename>debian/control</filename> ファイルが正しいことを確認する必要があり"
1065 "ます。次に、<systemitem role=\"package\">ftp.debian.org</systemitem> に対し、"
1066 "あなたのパッケージに対するセクションあるいは優先度について古いものから新しい"
1067 "ものへ変更する依頼のバグ登録をします。<literal>override: PACKAGE1:section/"
1068 "priority, [...], PACKAGEX:section/priority</literal> のようなサブジェクトを使"
1069 "い、バグ報告の本文に変更に関する根拠を記述してください。"
1071 # type: Content of: <chapter><section><para>
1072 #. type: Content of: <chapter><section><para>
1075 "For more information about <literal>override files</literal>, see "
1076 "<citerefentry> <refentrytitle>dpkg-scanpackages</refentrytitle> "
1077 "<manvolnum>1</manvolnum> </citerefentry> and <ulink url=\"&url-bts-devel;"
1078 "#maintincorrect\"></ulink>."
1080 "<literal>override ファイル</literal> についての詳細は、<citerefentry> "
1081 "<refentrytitle>dpkg-scanpackages</refentrytitle> <manvolnum>1</manvolnum> </"
1082 "citerefentry> と <ulink url=\"&url-bts-devel;#maintincorrect\"></ulink> を参"
1085 #. type: Content of: <chapter><section><para>
1088 "Note that the <literal>Section</literal> field describes both the section as "
1089 "well as the subsection, which are described in <xref linkend=\"archive-"
1090 "sections\"/>. If the section is main, it should be omitted. The list of "
1091 "allowable subsections can be found in <ulink url=\"&url-debian-policy;ch-"
1092 "archive.html#s-subsections\"></ulink>."
1094 "<xref linkend=\"archive-sections\"/> で書かれているように、<literal>セクショ"
1095 "ン (Section)</literal>フィールドにはセクション同様にサブセクションも記述する"
1096 "のに注意ください。セクションが main の場合は、それは書かないようにしてくださ"
1097 "い。利用可能なサブセクションは <ulink url=\"&url-debian-policy;ch-archive."
1098 "html#s-subsections\"></ulink> で検索できます。"
1100 # type: Content of: <chapter><section><title>
1101 #. type: Content of: <chapter><section><title>
1103 msgid "Handling bugs"
1106 # type: Content of: <chapter><section><para>
1107 #. type: Content of: <chapter><section><para>
1110 "Every developer has to be able to work with the Debian <ulink url=\"&url-bts;"
1111 "\">bug tracking system</ulink>. This includes knowing how to file bug "
1112 "reports properly (see <xref linkend=\"submit-bug\"/>), how to update them "
1113 "and reorder them, and how to process and close them."
1115 "すべての開発者は Debian <ulink url=\"&url-bts;\">バグ追跡システム</ulink>を取"
1116 "り扱えるようでなければいけません。これはどの様にしてバグ報告を正しく登録する"
1117 "か (<xref linkend=\"submit-bug\"/> 参照)、どの様に更新及び整理するか、そして"
1118 "どの様にして処理をして完了するかを知っていることを含みます。"
1120 # type: Content of: <chapter><section><para>
1121 #. type: Content of: <chapter><section><para>
1124 "The bug tracking system's features are described in the <ulink url=\"&url-"
1125 "bts-devel;\">BTS documentation for developers</ulink>. This includes "
1126 "closing bugs, sending followup messages, assigning severities and tags, "
1127 "marking bugs as forwarded, and other issues."
1129 "バグ追跡システムの機能は<ulink url=\"&url-bts-devel;\"> Debian BTS 開発者向け"
1130 "情報</ulink>に記載されています。これには、バグの完了処理・追加メッセージの送"
1131 "信・重要度とタグを割り当てる・バグを転送済み (Forwarded) にする・その他が含ま"
1134 # type: Content of: <chapter><section><para>
1135 #. type: Content of: <chapter><section><para>
1138 "Operations such as reassigning bugs to other packages, merging separate bug "
1139 "reports about the same issue, or reopening bugs when they are prematurely "
1140 "closed, are handled using the so-called control mail server. All of the "
1141 "commands available on this server are described in the <ulink url=\"&url-bts-"
1142 "control;\">BTS control server documentation</ulink>."
1144 "バグを他のパッケージに割り当てし直す、同じ問題についての別々のバグ報告をマー"
1145 "ジする、などの作業はいわゆる制御メールサーバと呼ばれるものを使って処理されて"
1146 "います。このサーバで利用可能なすべてのコマンドは、<ulink url=\"&url-bts-"
1147 "control;\">BTS 制御サーバドキュメント</ulink>に記載されています。"
1149 # type: Content of: <chapter><section><section><title>
1150 #. type: Content of: <chapter><section><section><title>
1152 msgid "Monitoring bugs"
1155 # type: Content of: <chapter><section><section><para>
1156 #. type: Content of: <chapter><section><section><para>
1159 "If you want to be a good maintainer, you should periodically check the "
1160 "<ulink url=\"&url-bts;\">Debian bug tracking system (BTS)</ulink> for your "
1161 "packages. The BTS contains all the open bugs against your packages. You "
1162 "can check them by browsing this page: <literal>http://&bugs-host;/"
1163 "<replaceable>yourlogin</replaceable>@debian.org</literal>."
1165 "良いメンテナになりたい場合は、あなたのパッケージに関する <ulink url=\"&url-"
1166 "bts;\">Debian バグ追跡システム (BTS)</ulink> のページを定期的にチェックする必"
1167 "要があります。BTS には、あなたのパッケージに対して登録されている全てのバグが"
1168 "含まれています。登録されているバグについては、以下のページを参照することで確"
1169 "認できます: <literal>http://&bugs-host;/<replaceable>yourlogin</"
1170 "replaceable>@debian.org</literal>"
1172 # type: Content of: <chapter><section><section><para>
1173 #. type: Content of: <chapter><section><section><para>
1176 "Maintainers interact with the BTS via email addresses at <literal>&bugs-host;"
1177 "</literal>. Documentation on available commands can be found at <ulink url="
1178 "\"&url-bts;\"></ulink>, or, if you have installed the <systemitem role="
1179 "\"package\">doc-debian</systemitem> package, you can look at the local files "
1182 "メンテナは、<literal>&bugs-host;</literal> のメールアドレス経由で BTS に対応"
1183 "します。利用可能なコマンドについてのドキュメントは <ulink url=\"&url-bts;"
1184 "\"></ulink> で参照可能ですし、もし <systemitem role=\"package\">doc-debian</"
1185 "systemitem> パッケージをインストールしてあれば、ローカルファイル &file-bts-"
1188 # type: Content of: <chapter><section><section><para>
1189 #. type: Content of: <chapter><section><section><para>
1192 "Some find it useful to get periodic reports on open bugs. You can add a "
1193 "cron job such as the following if you want to get a weekly email outlining "
1194 "all the open bugs against your packages:"
1196 "定期的にオープンになっているバグについてのレポートを受け取るのも良いでしょ"
1197 "う。あなたのパッケージでオープンになっているバグの全一覧を毎週受け取りたい場"
1198 "合、以下のような cron ジョブを追加します:"
1200 #. type: Content of: <chapter><section><section><screen>
1204 "# ask for weekly reports of bugs in my packages\n"
1205 "&cron-bug-report;\n"
1207 "# 自分のパッケージにあるバグのレポートを毎週取得する\n"
1208 "&cron-bug-report;\n"
1210 # type: Content of: <chapter><section><section><para>
1211 #. type: Content of: <chapter><section><section><para>
1214 "Replace <replaceable>address</replaceable> with your official Debian "
1215 "maintainer address."
1217 "<replaceable>address</replaceable> は、あなたの公式な Debian パッケージメンテ"
1218 "ナとしてのメールアドレスに置き換えてください。"
1220 # type: Content of: <chapter><section><section><title>
1221 #. type: Content of: <chapter><section><section><title>
1223 msgid "Responding to bugs"
1226 # type: Content of: <chapter><section><section><para>
1227 #. type: Content of: <chapter><section><section><para>
1230 "When responding to bugs, make sure that any discussion you have about bugs "
1231 "is sent both to the original submitter of the bug, and to the bug itself (e."
1232 "g., <email><replaceable>123</replaceable>@&bugs-host;</email>). If you're "
1233 "writing a new mail and you don't remember the submitter email address, you "
1234 "can use the <email><replaceable>123</replaceable>-submitter@&bugs-host;</"
1235 "email> email to contact the submitter <emphasis>and</emphasis> to record "
1236 "your mail within the bug log (that means you don't need to send a copy of "
1237 "the mail to <email><replaceable>123</replaceable>@&bugs-host;</email>)."
1239 "バグに対応する際は、バグについて行った議論がバグの元々の報告者とバグ自身 (例"
1240 "えば <email><replaceable>123</replaceable>@&bugs-host;</email>) の両方に送ら"
1241 "れているのを確認してください。新しくメールを書いていて元々の報告者のメールア"
1242 "ドレスを思い出せない場合は、<email><replaceable>123</replaceable>-"
1243 "submitter@&bugs-host;</email> というメールアドレスが報告者へ連絡するのと、"
1244 "<emphasis>さらに</emphasis>バグのログへあなたがメールしたのを記録するのにも使"
1245 "えます (これは <email><replaceable>123</replaceable>@&bugs-host;</email> へ"
1246 "メールのコピーを送らなくても済むことを意味しています)。"
1248 # type: Content of: <chapter><section><section><para>
1249 #. type: Content of: <chapter><section><section><para>
1252 "If you get a bug which mentions FTBFS, this means Fails to build from "
1253 "source. Porters frequently use this acronym."
1255 "FTBFS である旨のバグを受け取った場合、これはソースからビルドできないこと "
1256 "(Fails to build from source) を意味します。移植作業をしている人たちはこの略語"
1259 # type: Content of: <chapter><section><section><para>
1260 #. type: Content of: <chapter><section><section><para>
1263 "Once you've dealt with a bug report (e.g. fixed it), mark it as "
1264 "<literal>done</literal> (close it) by sending an explanation message to "
1265 "<email><replaceable>123</replaceable>-done@&bugs-host;</email>. If you're "
1266 "fixing a bug by changing and uploading the package, you can automate bug "
1267 "closing as described in <xref linkend=\"upload-bugfix\"/>."
1269 "既にバグに対処していた場合 (例えば修正済みの時)、説明のメッセージを "
1270 "<email><replaceable>123</replaceable>-done@&bugs-host;</email> に送ることで "
1271 "<literal>done</literal> とマークしておいて (閉じて) ください。パッケージを変"
1272 "更してアップロードすることでバグを修正する場合は、<xref linkend=\"upload-"
1273 "bugfix\"/> に記載されているように自動的にバグを閉じることができます。"
1275 # type: Content of: <chapter><section><section><para>
1276 # FIXME: via the bug server ?
1277 #. type: Content of: <chapter><section><section><para>
1280 "You should <emphasis>never</emphasis> close bugs via the bug server "
1281 "<literal>close</literal> command sent to &email-bts-control;. If you do so, "
1282 "the original submitter will not receive any information about why the bug "
1285 "<literal>close</literal> コマンドを &email-bts-control; に送って、バグサーバ"
1286 "経由でバグを閉じるのは<emphasis>決して</emphasis>してはいけません。そのように"
1287 "した場合、元々の報告者は何故バグが閉じられたのかという情報を得られません。"
1289 # type: Content of: <chapter><section><section><title>
1290 #. type: Content of: <chapter><section><section><title>
1292 msgid "Bug housekeeping"
1295 # type: Content of: <chapter><section><section><para>
1296 #. type: Content of: <chapter><section><section><para>
1299 "As a package maintainer, you will often find bugs in other packages or have "
1300 "bugs reported against your packages which are actually bugs in other "
1301 "packages. The bug tracking system's features are described in the <ulink "
1302 "url=\"&url-bts-devel;\">BTS documentation for Debian developers</ulink>. "
1303 "Operations such as reassigning, merging, and tagging bug reports are "
1304 "described in the <ulink url=\"&url-bts-control;\">BTS control server "
1305 "documentation</ulink>. This section contains some guidelines for managing "
1306 "your own bugs, based on the collective Debian developer experience."
1308 "パッケージメンテナになると、他のパッケージにバグを見つけたり、自分のパッケージに対"
1309 "して報告されたバグが実際には他のパッケージにあるバグであったりということが頻"
1310 "繁にあるでしょう。バグ追跡システムの機能は <ulink url=\"&url-bts-devel;"
1311 "\">Debian 開発者向けの BTS ドキュメント</ulink> に記載されています。バグ報告"
1312 "の再指定 (reassign) やマージ (merge)、そしてタグ付けなどの作業は <ulink url="
1313 "\"&url-bts-control;\">BTS 制御サーバのドキュメント</ulink> に記述されていま"
1314 "す。この章では、Debian 開発者から集められた経験を元にしたバグの扱い方のガイド"
1317 # type: Content of: <chapter><section><section><para>
1318 #. type: Content of: <chapter><section><section><para>
1321 "Filing bugs for problems that you find in other packages is one of the civic "
1322 "obligations of maintainership, see <xref linkend=\"submit-bug\"/> for "
1323 "details. However, handling the bugs in your own packages is even more "
1326 "他のパッケージで見つけた問題についてバグを登録するのは、メンテナとしての責務"
1327 "の一つです。詳細については <xref linkend=\"submit-bug\"/> を参照してくださ"
1328 "い。しかし、自分のパッケージのバグを管理するのはさらに重要です。"
1330 # type: Content of: <chapter><section><section><para>
1331 #. type: Content of: <chapter><section><section><para>
1333 msgid "Here's a list of steps that you may follow to handle a bug report:"
1334 msgstr "以下がバグ報告を取り扱う手順です:"
1336 # type: Content of: <chapter><section><section><orderedlist><listitem><para>
1337 #. type: Content of: <chapter><section><section><orderedlist><listitem><para>
1340 "Decide whether the report corresponds to a real bug or not. Sometimes users "
1341 "are just calling a program in the wrong way because they haven't read the "
1342 "documentation. If you diagnose this, just close the bug with enough "
1343 "information to let the user correct their problem (give pointers to the good "
1344 "documentation and so on). If the same report comes up again and again you "
1345 "may ask yourself if the documentation is good enough or if the program "
1346 "shouldn't detect its misuse in order to give an informative error message. "
1347 "This is an issue that may need to be brought up with the upstream author."
1349 "報告が実際にバグに関連するものか否かを決めてください。ユーザはドキュメントを"
1350 "読んでいないため、誤ったプログラムの使い方をしているだけのことが時々ありま"
1351 "す。このように判断した場合は、ユーザに問題を修正するのに十分な情報を与えて "
1352 "(良いドキュメントへのポインタを教えるなどして) バグを閉じます。同じ報告が何度"
1353 "も繰り返し来る場合には、ドキュメントが十分なものかどうか、あるいは有益なエ"
1354 "ラーメッセージを与えるよう、誤った使い方を検知していないのでは、と自身に"
1355 "問い直してください。これは開発元の作者に伝える必要がある問題かもしれません。"
1357 # FIXME-trans: "If you don't find any," - any what?
1358 # type: Content of: <chapter><section><section><orderedlist><listitem><para>
1359 #. type: Content of: <chapter><section><section><orderedlist><listitem><para>
1362 "If the bug submitter disagrees with your decision to close the bug, they may "
1363 "reopen it until you find an agreement on how to handle it. If you don't "
1364 "find any, you may want to tag the bug <literal>wontfix</literal> to let "
1365 "people know that the bug exists but that it won't be corrected. If this "
1366 "situation is unacceptable, you (or the submitter) may want to require a "
1367 "decision of the technical committee by reassigning the bug to <systemitem "
1368 "role=\"package\">tech-ctte</systemitem> (you may use the clone command of "
1369 "the BTS if you wish to keep it reported against your package). Before doing "
1370 "so, please read the <ulink url=\"&url-tech-ctte;\">recommended procedure</"
1373 "バグを閉じるという貴方の判断にバグ報告者らが同意しない場合には、それをどう取"
1374 "り扱うかについての同意が見つかるまで、彼らは再度オープンな状態 (reopen) にす"
1375 "るでしょう。そのバグについてもう議論することが無いという場合は、バグは存在する"
1376 "が修正することはないと知らせるため、バグに対して <literal>wontfix</literal> "
1377 "タグを付けることになります。この決定が受け入れがたい時には、あなた (ある"
1378 "いは報告者) はバグを <systemitem role=\"package\">tech-ctte</systemitem> に再"
1379 "指定 (reassign) して技術委員会 (technical committee) の判断を仰いでください "
1380 "(パッケージへ報告されたものをそのままにしておきたい場合は、BTS の clone コマ"
1381 "ンドを使ってください)。これを行う前には<ulink url=\"&url-tech-ctte;\">推奨手"
1382 "順</ulink>を読んでおいてください。"
1384 #. type: Content of: <chapter><section><section><orderedlist><listitem><para>
1387 "If the bug is real but it's caused by another package, just reassign the bug "
1388 "to the right package. If you don't know which package it should be "
1389 "reassigned to, you should ask for help on <link linkend=\"irc-channels"
1390 "\">IRC</link> or on &email-debian-devel;. Please inform the maintainer(s) "
1391 "of the package you reassign the bug to, for example by Cc:ing the message "
1392 "that does the reassign to <email><replaceable>packagename</"
1393 "replaceable>@packages.debian.org</email> and explaining your reasons in that "
1394 "mail. Please note that a simple reassignment is <emphasis>not</emphasis> e-"
1395 "mailed to the maintainers of the package being reassigned to, so they won't "
1396 "know about it until they look at a bug overview for their packages."
1398 "バグが実際にあるが、他のパッケージによって引き起こされている場合は、バグを正"
1399 "しいパッケージに再指定 (reassign) します。どのパッケージに再指定するべきかが"
1400 "分からない場合は、<link linkend=\"irc-channels\">IRC</link> か &email-debian-"
1401 "devel; で聞いてください。再指定するパッケージのメンテナに通知をしてください。"
1402 "例えば <email><replaceable>packagename</replaceable>@packages.debian.org</"
1403 "email> 宛にメッセージを Cc: してメール中に理由を説明するなどします。単に再指"
1404 "定しただけでは再指定された先のメンテナにはメールは<emphasis>送信されません</"
1405 "emphasis>ので、彼らがパッケージのバグ一覧を見るまでそれを知ることはありませ"
1408 # type: Content of: <chapter><section><section><orderedlist><listitem><para>
1409 #. type: Content of: <chapter><section><section><orderedlist><listitem><para>
1412 "If the bug affects the operation of your package, please consider cloning "
1413 "the bug and reassigning the clone to the package that really causes the "
1414 "behavior. Otherwise, the bug will not be shown in your package's bug list, "
1415 "possibly causing users to report the same bug over and over again. You "
1416 "should block \"your\" bug with the reassigned, cloned bug to document the "
1419 "バグがあなたのパッケージの動作に影響する場合は、バグを複製し (clone)、複製し"
1420 "たバグをその挙動を実際に起こしているパッケージに再指定することを検討してくだ"
1421 "さい。さもなければ、あなたのパッケージのバグ一覧にバグが見つからないので、多"
1422 "分ユーザに同じバグを何度も繰り返し報告される羽目になる可能性があります。あな"
1423 "たは、再指定 (reassign) によって「自分の」バグということを防ぎ、バグの複製 "
1424 "(clone) によって関係があることを記載しておく必要があります。"
1426 # type: Content of: <chapter><section><section><orderedlist><listitem><para>
1427 #. type: Content of: <chapter><section><section><orderedlist><listitem><para>
1430 "Sometimes you also have to adjust the severity of the bug so that it matches "
1431 "our definition of the severity. That's because people tend to inflate the "
1432 "severity of bugs to make sure their bugs are fixed quickly. Some bugs may "
1433 "even be dropped to wishlist severity when the requested change is just "
1436 "時々、重要度の定義に合うようにバグの重要度を調整する必要もあります。これは、"
1437 "人々はバグ修正を確実に早くしてもらうために重要度を極端に上げようとするからで"
1438 "す。要望された変更点が単に体裁的なものな時には、バグは要望 (wishlist) に格下"
1441 # type: Content of: <chapter><section><section><orderedlist><listitem><para>
1442 #. type: Content of: <chapter><section><section><orderedlist><listitem><para>
1445 "If the bug is real but the same problem has already been reported by someone "
1446 "else, then the two relevant bug reports should be merged into one using the "
1447 "merge command of the BTS. In this way, when the bug is fixed, all of the "
1448 "submitters will be informed of this. (Note, however, that emails sent to "
1449 "one bug report's submitter won't automatically be sent to the other report's "
1450 "submitter.) For more details on the technicalities of the merge command and "
1451 "its relative, the unmerge command, see the BTS control server documentation."
1453 "バグが確かにあるが既に他の誰かによって同じ問題が報告されている場合は、2 つの"
1454 "関連したバグを BTS の merge コマンドを使って 1 つにマージします。このようにす"
1455 "ると、バグが修正された時に全ての投稿者に通知がいきます (ですが、そのバグ報告"
1456 "の投稿者へのメールは報告の他の投稿者には自動的には通知されないことに注意して"
1457 "ください)。merge コマンドや類似の unmerge コマンドの技術詳細については、BTS "
1458 "制御サーバドキュメントを参照してください。"
1460 # type: Content of: <chapter><section><section><orderedlist><listitem><para>
1461 #. type: Content of: <chapter><section><section><orderedlist><listitem><para>
1464 "The bug submitter may have forgotten to provide some information, in which "
1465 "case you have to ask them for the required information. You may use the "
1466 "<literal>moreinfo</literal> tag to mark the bug as such. Moreover if you "
1467 "can't reproduce the bug, you tag it <literal>unreproducible</literal>. "
1468 "Anyone who can reproduce the bug is then invited to provide more information "
1469 "on how to reproduce it. After a few months, if this information has not "
1470 "been sent by someone, the bug may be closed."
1472 "バグ報告者は情報を書き漏らしている場合、必要な情報を尋ねる必要があります。そ"
1473 "の様なバグに印をつけるには <literal>moreinfo</literal> タグを使います。さら"
1474 "に、そのバグを再現できない場合には、<literal>unreproducible</literal> タグを"
1475 "付けます。誰もそのバグを再現できない場合、どうやって再現するのか、さらに情報"
1476 "を何ヶ月経っても、この情報が誰からも送られてこない場合はバグは閉じても構いま"
1479 # type: Content of: <chapter><section><section><orderedlist><listitem><para>
1480 #. type: Content of: <chapter><section><section><orderedlist><listitem><para>
1483 "If the bug is related to the packaging, you just fix it. If you are not "
1484 "able to fix it yourself, then tag the bug as <literal>help</literal>. You "
1485 "can also ask for help on &email-debian-devel; or &email-debian-qa;. If it's "
1486 "an upstream problem, you have to forward it to the upstream author. "
1487 "Forwarding a bug is not enough, you have to check at each release if the bug "
1488 "has been fixed or not. If it has, you just close it, otherwise you have to "
1489 "remind the author about it. If you have the required skills you can prepare "
1490 "a patch that fixes the bug and send it to the author at the same time. Make "
1491 "sure to send the patch to the BTS and to tag the bug as <literal>patch</"
1494 "バグがパッケージに起因する場合、さっさと直します。自分では直せない場合は、バ"
1495 "グに <literal>help</literal> タグを付けます。&email-debian-devel; や &email-"
1496 "debian-qa; で助けを求めることも出来ます。開発元 (upstream) の問題であれば、作"
1497 "者に転送する必要があります。バグを転送するだけでは十分ではありません。リリー"
1498 "スごとにバグが修正されているかどうかを確認しなければいけません。もし修正され"
1499 "ていれば、それを閉じ、そうでなければ作者に確認を取る必要があります。必要な技"
1500 "能を持っていてバグを修正するパッチが用意できる場合は、同時に作者に送りましょ"
1501 "う。パッチを BTS に送付してバグに <literal>patch</literal> タグを付けるのを忘"
1504 #. type: Content of: <chapter><section><section><orderedlist><listitem><para>
1507 "If you have fixed a bug in your local copy, or if a fix has been committed "
1508 "to the VCS repository, you may tag the bug as <literal>pending</literal> to "
1509 "let people know that the bug is corrected and that it will be closed with "
1510 "the next upload (add the <literal>closes:</literal> in the "
1511 "<filename>changelog</filename>). This is particularly useful if you are "
1512 "several developers working on the same package."
1514 "ローカル環境でバグを修正した、あるいは VCS リポジトリに修正をコミットした場合"
1515 "には、バグに <literal>pending</literal> タグを付けてバグが修正されたことと次"
1516 "のアップロードでバグが閉じられるであろうことを回りに知らせます "
1517 "(<filename>changelog</filename> に <literal>closes:</literal> を追加します)。"
1518 "これは複数の開発者が同一のパッケージで作業している際に特に役立ちます。"
1520 # type: Content of: <chapter><section><section><orderedlist><listitem><para>
1521 #. type: Content of: <chapter><section><section><orderedlist><listitem><para>
1524 "Once a corrected package is available in the archive, the bug should be "
1525 "closed indicating the version in which it was fixed. This can be done "
1526 "automatically, read <xref linkend=\"upload-bugfix\"/>."
1528 "一旦修正されたパッケージがアーカイブから入手可能になったら、バグはどのバー"
1529 "ジョンで修正されたかを指定して閉じられる必要があります。これは自動的に行われ"
1530 "ます。<xref linkend=\"upload-bugfix\"/> を読んでください。"
1532 # type: Content of: <chapter><section><section><title>
1533 #. type: Content of: <chapter><section><section><title>
1535 msgid "When bugs are closed by new uploads"
1536 msgstr "新規アップロードでバグがクローズされる時"
1538 # type: Content of: <chapter><section><section><para>
1539 #. type: Content of: <chapter><section><section><para>
1542 "As bugs and problems are fixed in your packages, it is your responsibility "
1543 "as the package maintainer to close these bugs. However, you should not "
1544 "close a bug until the package which fixes the bug has been accepted into the "
1545 "Debian archive. Therefore, once you get notification that your updated "
1546 "package has been installed into the archive, you can and should close the "
1547 "bug in the BTS. Also, the bug should be closed with the correct version."
1549 "バグや問題があなたのパッケージで修正されたとしたら、そのバグを閉じるのは"
1550 "パッケージメンテナとしての責任になります。しかし、バグを修正したパッケージが "
1551 "Debian アーカイブに受け入れられるまではバグを閉じてはいけません。"
1552 "従って、一旦更新したパッケージがアーカイブにインストールされたという通知を"
1553 "受け取った場合は、BTS でバグを閉じることができますし、そうしなければいけません。"
1554 "もちろん、バグは正しいバージョンで閉じなくてはいけません。"
1556 # type: Content of: <chapter><section><section><para>
1557 #. type: Content of: <chapter><section><section><para>
1560 "However, it's possible to avoid having to manually close bugs after the "
1561 "upload — just list the fixed bugs in your <filename>debian/changelog</"
1562 "filename> file, following a certain syntax, and the archive maintenance "
1563 "software will close the bugs for you. For example:"
1565 "ですが、アップロード後に手動でバグをクローズしなくても済む方法があります — "
1566 "<filename>debian/changelog</filename> に以下の特定の書き方にて修正したバグを"
1567 "列挙すれば、それだけで後はアーカイブのメンテナンスソフトがバグをクローズ"
1570 # type: Content of: <chapter><section><section><screen>
1571 #. type: Content of: <chapter><section><section><screen>
1575 "acme-cannon (3.1415) unstable; urgency=low\n"
1577 " * Frobbed with options (closes: Bug#98339)\n"
1578 " * Added safety to prevent operator dismemberment, closes: bug#98765,\n"
1579 " bug#98713, #98714.\n"
1580 " * Added man page. Closes: #98725.\n"
1582 "acme-cannon (3.1415) unstable; urgency=low\n"
1584 " * Frobbed with options (closes: Bug#98339)\n"
1585 " * Added safety to prevent operator dismemberment, closes: bug#98765,\n"
1586 " bug#98713, #98714.\n"
1587 " * Added man page. Closes: #98725.\n"
1589 # type: Content of: <chapter><section><section><para>
1590 #. type: Content of: <chapter><section><section><para>
1593 "Technically speaking, the following Perl regular expression describes how "
1594 "bug closing changelogs are identified:"
1596 "技術的に言うと、どの様にしてバグを閉じる changelog が判別されているかを以下の "
1597 "Perl の正規表現にて記述しています:"
1599 # type: Content of: <chapter><section><section><screen>
1600 #. type: Content of: <chapter><section><section><screen>
1603 msgid " /closes:\\s*(?:bug)?\\#\\s*\\d+(?:,\\s*(?:bug)?\\#\\s*\\d+)*/ig\n"
1604 msgstr " /closes:\\s*(?:bug)?\\#\\s*\\d+(?:,\\s*(?:bug)?\\#\\s*\\d+)*/ig\n"
1606 #. type: Content of: <chapter><section><section><para>
1609 "We prefer the <literal>closes: #<replaceable>XXX</replaceable></literal> "
1610 "syntax, as it is the most concise entry and the easiest to integrate with "
1611 "the text of the <filename>changelog</filename>. Unless specified different "
1612 "by the <literal>-v</literal>-switch to <command>dpkg-buildpackage</command>, "
1613 "only the bugs closed in the most recent changelog entry are closed "
1614 "(basically, exactly the bugs mentioned in the changelog-part in the "
1615 "<filename>.changes</filename> file are closed)."
1617 "<literal>closes: #<replaceable>XXX</replaceable></literal> という書き方が推奨"
1618 "されています。これは、最も分かり易いエントリで、<filename>changelog</filename> "
1619 "の本文に挿入するのがもっとも簡単だからです。<command>dpkg-buildpackage</command> "
1620 "に <literal>-v</literal> スイッチを指定して別バージョンを指定しない限り、"
1621 "最も新しい changelog のエントリにあるバグだけが閉じられます (基本的には、です。"
1622 "正確には <filename>.changes</filename> ファイルの changelog-part で明示された"
1625 #. type: Content of: <chapter><section><section><para>
1628 "Historically, uploads identified as <link linkend=\"nmu\">non-maintainer "
1629 "upload (NMU)</link> were tagged <literal>fixed</literal> instead of being "
1630 "closed, but that practice was ceased with the advent of version-tracking. "
1631 "The same applied to the tag <literal>fixed-in-experimental</literal>."
1633 "歴史的に、<link linkend=\"nmu\">non-maintainer upload (NMU)</link> と判別される"
1634 "アップロードは closed ではなく <literal>fixed</literal> とタグがされてきましたが、"
1635 "この習慣はバージョントラッキングの進化によって廃れています。"
1636 "同じことが <literal>fixed-in-experimental</literal> タグにも言えます。"
1638 #. type: Content of: <chapter><section><section><para>
1641 "If you happen to mistype a bug number or forget a bug in the changelog "
1642 "entries, don't hesitate to undo any damage the error caused. To reopen "
1643 "wrongly closed bugs, send a <literal>reopen <replaceable>XXX</replaceable></"
1644 "literal> command to the bug tracking system's control address, &email-bts-"
1645 "control;. To close any remaining bugs that were fixed by your upload, email "
1646 "the <filename>.changes</filename> file to <email><replaceable>XXX</"
1647 "replaceable>-done@&bugs-host;</email>, where <replaceable>XXX</replaceable> "
1648 "is the bug number, and put Version: <replaceable>YYY</replaceable> and an "
1649 "empty line as the first two lines of the body of the email, where "
1650 "<replaceable>YYY</replaceable> is the first version where the bug has been "
1653 "もしバグ場号を間違って入力したり、changelog のエントリにバグを入れ忘れた場合、"
1654 "そのミスが起こすであろうダメージを防ぐのを躊躇わないでください。誤って閉じた"
1655 "バグを再度オープンにするには、バグトラッキングシステムのコントロールアドレスで"
1656 "ある &email-bts-control; に <literal>reopen <replaceable>XXX</replaceable>"
1657 "</literal> コマンドを投げます。アップロードで修正されたがまだ残っているバグを"
1658 "閉じるには <filename>.changes</filename> ファイルを <email><replaceable>XXX</"
1659 "replaceable>-done@&bugs-host;</email> にメールします。<replaceable>XXX</"
1660 "replaceable> はバグ番号で、メールの本文の最初の 2 行に Version: <replaceable>"
1661 "YYY</replaceable> と空白行を入れます。<replaceable>YYY</replaceable> はバグが"
1664 #. type: Content of: <chapter><section><section><para>
1667 "Bear in mind that it is not obligatory to close bugs using the changelog as "
1668 "described above. If you simply want to close bugs that don't have anything "
1669 "to do with an upload you made, do it by emailing an explanation to "
1670 "<email><replaceable>XXX</replaceable>-done@&bugs-host;</email>. Do "
1671 "<emphasis role=\"strong\">not</emphasis> close bugs in the changelog entry "
1672 "of a version if the changes in that version of the package don't have any "
1673 "bearing on the bug."
1675 "上に書いたような changelog を使ったバグの閉じ方は必須ではない、ということは"
1676 "念頭に置いておいてください。行ったアップロードとは無関係に単にバグを閉じたい、"
1677 "という場合は、説明をメールに書いて <email><replaceable>XXX</replaceable>-done"
1678 "@&bugs-host;</email> に送ってバグを閉じてください。そのバージョンのパッケージ"
1679 "での変更がバグに何も関係ない場合は、そのバージョンの changelog エントリでは"
1680 "バグを<emphasis role=\"strong\">閉じないで</emphasis>ください。"
1682 # type: Content of: <chapter><section><section><para>
1683 #. type: Content of: <chapter><section><section><para>
1686 "For general information on how to write your changelog entries, see <xref "
1687 "linkend=\"bpp-debian-changelog\"/>."
1689 "どのように changelog のエントリを書くのか、一般的な情報については <xref "
1690 "linkend=\"bpp-debian-changelog\"/> を参照してください。"
1692 # type: Content of: <chapter><section><section><title>
1693 #. type: Content of: <chapter><section><section><title>
1695 msgid "Handling security-related bugs"
1696 msgstr "セキュリティ関連バグの取扱い"
1698 # type: Content of: <chapter><section><section><para>
1699 #. type: Content of: <chapter><section><section><para>
1702 "Due to their sensitive nature, security-related bugs must be handled "
1703 "carefully. The Debian Security Team exists to coordinate this activity, "
1704 "keeping track of outstanding security problems, helping maintainers with "
1705 "security problems or fixing them themselves, sending security advisories, "
1706 "and maintaining <literal>security.debian.org</literal>."
1708 "機密性が高いその性質上、セキュリティ関連のバグは注意深く取り扱わねばなりませ"
1709 "ん。この作業をコーディネイトし、未処理のセキュリティ問題を追い続け、セキュリ"
1710 "ティ問題についてメンテナを手助けしたり修正自体を行い、セキュリティ勧告を出"
1711 "し、<literal>security.debian.org</literal> を維持するために Debian セキュリ"
1714 #. type: Content of: <chapter><section><section><para>
1717 "When you become aware of a security-related bug in a Debian package, whether "
1718 "or not you are the maintainer, collect pertinent information about the "
1719 "problem, and promptly contact the security team at &email-security-team; as "
1720 "soon as possible. <emphasis role=\"strong\">DO NOT UPLOAD</emphasis> any "
1721 "packages for <literal>stable</literal> without contacting the team. Useful "
1722 "information includes, for example:"
1724 "Debian パッケージ中のセキュリティ関連のバグに気づいたら、あなたがメンテナであ"
1725 "るかどうかに関わらず、問題に関する正確な情報を集めて、まずは可能な限り早く "
1726 "&email-security-team; 宛でセキュリティチームに連絡を取ってください。チームに"
1727 "問い合わせること無く <literal>安定版 (stable)</literal> 向けのパッケージを"
1728 "<emphasis role=\"strong\">アップロードしないでください</emphasis>。例えば、役"
1731 # type: Content of: <chapter><section><section><itemizedlist><listitem><para>
1732 #. type: Content of: <chapter><section><section><itemizedlist><listitem><para>
1735 "Which versions of the package are known to be affected by the bug. Check "
1736 "each version that is present in a supported Debian release, as well as "
1737 "<literal>testing</literal> and <literal>unstable</literal>."
1739 "バグによって、どのバージョンが影響を受けると分かっているか。サポートされてい"
1740 "る Debian のリリース、ならびに <literal>テスト版 (testing)</literal> 及び "
1741 "<literal>不安定版 (unstable)</literal> にある各バージョンをチェックしてくださ"
1744 # type: Content of: <chapter><section><section><itemizedlist><listitem><para>
1745 #. type: Content of: <chapter><section><section><itemizedlist><listitem><para>
1748 "The nature of the fix, if any is available (patches are especially helpful)"
1749 msgstr "利用可能なものがあれば、修正内容 (パッチが特に望ましい)"
1751 # type: Content of: <chapter><section><section><itemizedlist><listitem><para>
1752 #. type: Content of: <chapter><section><section><itemizedlist><listitem><para>
1755 "Any fixed packages that you have prepared yourself (send only the <filename>."
1756 "diff.gz</filename> and <filename>.dsc</filename> files and read <xref "
1757 "linkend=\"bug-security-building\"/> first)"
1759 "自身で準備した修正パッケージ (まずは <xref linkend=\"bug-security-building\"/"
1760 "> を読んで、<filename>.diff.gz</filename> と <filename>.dsc</filename> ファイ"
1763 # type: Content of: <chapter><section><section><itemizedlist><listitem><para>
1764 #. type: Content of: <chapter><section><section><itemizedlist><listitem><para>
1767 "Any assistance you can provide to help with testing (exploits, regression "
1770 "テストについて何かしらの手助けになるもの (攻撃コード、リグレッションテストな"
1773 # type: Content of: <chapter><section><section><itemizedlist><listitem><para>
1774 #. type: Content of: <chapter><section><section><itemizedlist><listitem><para>
1777 "Any information needed for the advisory (see <xref linkend=\"bug-security-"
1780 "勧告に必要になる情報 (<xref linkend=\"bug-security-advisories\"/> 参照)"
1782 #. type: Content of: <chapter><section><section><para>
1785 "As the maintainer of the package, you have the responsibility to maintain "
1786 "it, even in the stable release. You are in the best position to evaluate "
1787 "patches and test updated packages, so please see the sections below on how "
1788 "to prepare packages for the Security Team to handle."
1790 "パッケージメンテナとして、あなたは安定版リリースについてもメンテナンスする責"
1791 "任を持ちます。あなたがパッチの評価と更新パッケージのテストを行うのに最も適任"
1792 "な人です。ですから、以下のセキュリティチームによって取り扱ってもらうため、ど"
1793 "のようにしてパッケージを用意するかについての章を参照してください。"
1795 #. type: Content of: <chapter><section><section><section><title>
1797 msgid "The Security Tracker"
1798 msgstr "セキュリティ追跡システム"
1800 #. type: Content of: <chapter><section><section><section><para>
1803 "The security team maintains a central database, the <ulink url=\"http://"
1804 "security-tracker.debian.org/\">Debian Security Tracker</ulink>. This "
1805 "contains all public information that is known about security issues: which "
1806 "packages and versions are affected or fixed, and thus whether stable, "
1807 "testing and/or unstable are vulnerable. Information that is still "
1808 "confidential is not added to the tracker."
1810 "セキュリティチームは集約的なデータベース、<ulink url=\"http://security-"
1811 "tracker.debian.org/\">Debian セキュリティ追跡システム</ulink>をメンテナンスし"
1812 "ています。これはセキュリティ問題として知られている全ての公開情報を含んでいま"
1813 "す: どのパッケージ/バージョンが影響を受ける/修正されているか、つまりは安定"
1814 "版、テスト版、不安定版が脆弱かどうか、という情報です。まだ機密扱いの情報は"
1817 #. type: Content of: <chapter><section><section><section><para>
1820 "You can search it for a specific issue, but also on package name. Look for "
1821 "your package to see which issues are still open. If you can, please provide "
1822 "more information about those issues, or help to address them in your "
1823 "package. Instructions are on the tracker web pages."
1825 "特定の問題について検索することもできますし、パッケージ名でも検索できます。あ"
1826 "なたのパッケージを探して、どの問題がまだ未解決かを確認してください。できれば"
1827 "追加情報を提供するか、パッケージの問題に対処するのを手伝ってください。やり方"
1828 "は追跡システムのウェブページにあります。"
1830 # type: Content of: <chapter><section><section><section><title>
1831 #. type: Content of: <chapter><section><section><section><title>
1833 msgid "Confidentiality"
1836 # type: Content of: <chapter><section><section><section><para>
1837 #. type: Content of: <chapter><section><section><section><para>
1840 "Unlike most other activities within Debian, information about security "
1841 "issues must sometimes be kept private for a time. This allows software "
1842 "distributors to coordinate their disclosure in order to minimize their "
1843 "users' exposure. Whether this is the case depends on the nature of the "
1844 "problem and corresponding fix, and whether it is already a matter of public "
1847 "Debian 内での他の多くの活動とは違い、セキュリティ問題に関する情報については、"
1848 "暫くの間秘密にしておく必要がしばしばあります。これによって、ソフトウェアの"
1849 "ディストリビュータがユーザが危険にさらされるのを最小限にするため、公開時期を"
1850 "合わせることができます。今回がそうであるかは、問題と対応する修正の性質や、"
1851 "既に既知のものとなっているかどうかによります。"
1853 # type: Content of: <chapter><section><section><section><para>
1854 #. type: Content of: <chapter><section><section><section><para>
1856 msgid "There are several ways developers can learn of a security problem:"
1857 msgstr "開発者がセキュリティ問題を知る方法はいくつかあります:"
1859 # type: Content of: <chapter><section><section><section><itemizedlist><listitem><para>
1860 #. type: Content of: <chapter><section><section><section><itemizedlist><listitem><para>
1862 msgid "they notice it on a public forum (mailing list, web site, etc.)"
1863 msgstr "公開フォーラム (メーリングリスト、ウェブサイトなど) で知らせる"
1865 # type: Content of: <chapter><section><section><section><itemizedlist><listitem><para>
1866 #. type: Content of: <chapter><section><section><section><itemizedlist><listitem><para>
1868 msgid "someone files a bug report"
1869 msgstr "誰かがバグ報告を登録している"
1871 # type: Content of: <chapter><section><section><section><itemizedlist><listitem><para>
1872 #. type: Content of: <chapter><section><section><section><itemizedlist><listitem><para>
1874 msgid "someone informs them via private email"
1875 msgstr "誰かがプライベートなメールで教えてきた"
1877 # type: Content of: <chapter><section><section><section><para>
1878 #. type: Content of: <chapter><section><section><section><para>
1881 "In the first two cases, the information is public and it is important to "
1882 "have a fix as soon as possible. In the last case, however, it might not be "
1883 "public information. In that case there are a few possible options for "
1884 "dealing with the problem:"
1886 "最初の二つのケースでは、情報は公開されていて可能な限り早く修正することが重要"
1887 "です。しかしながら最後のケースは、公開情報ではないかもしれません。この場合"
1888 "は、問題に対処するのに幾つか取り得る選択肢があります:"
1890 # type: Content of: <chapter><section><section><section><itemizedlist><listitem><para>
1891 #. type: Content of: <chapter><section><section><section><itemizedlist><listitem><para>
1894 "If the security exposure is minor, there is sometimes no need to keep the "
1895 "problem a secret and a fix should be made and released."
1897 "セキュリティの影響度が小さい場合、問題を秘密にしておく必要はなく、修正を行っ"
1898 "てリリースするのが良い場合がしばしばあります。"
1900 # type: Content of: <chapter><section><section><section><itemizedlist><listitem><para>
1901 #. type: Content of: <chapter><section><section><section><itemizedlist><listitem><para>
1904 "If the problem is severe, it is preferable to share the information with "
1905 "other vendors and coordinate a release. The security team keeps in contact "
1906 "with the various organizations and individuals and can take care of that."
1908 "問題が深刻な場合、他のベンダと情報を共有してリリースをコーディネイトする方が"
1909 "望ましいでしょう。セキュリティチームは様々な組織/個人と連絡を取りつづけ、こ"
1912 # type: Content of: <chapter><section><section><section><para>
1913 #. type: Content of: <chapter><section><section><section><para>
1916 "In all cases if the person who reports the problem asks that it not be "
1917 "disclosed, such requests should be honored, with the obvious exception of "
1918 "informing the security team in order that a fix may be produced for a stable "
1919 "release of Debian. When sending confidential information to the security "
1920 "team, be sure to mention this fact."
1922 "どのような場合でも、問題を報告した人がこれを公開しないように求めているのであ"
1923 "れば、明白な例外として Debian の安定版リリースに対する修正を作成してもらうた"
1924 "めにセキュリティチームへ連絡すること以外、この様な要求は尊重されるべきです。"
1925 "機密情報をセキュリティチームに送る場合は、この点を明示しておくのを忘れないで"
1928 # type: Content of: <chapter><section><section><section><para>
1929 #. type: Content of: <chapter><section><section><section><para>
1932 "Please note that if secrecy is needed you may not upload a fix to "
1933 "<literal>unstable</literal> (or anywhere else, such as a public VCS "
1934 "repository). It is not sufficient to obfuscate the details of the change, "
1935 "as the code itself is public, and can (and will) be examined by the general "
1938 "機密を要する場合は、修正を<literal>不安定版 (unstable)</literal> (や公開 VCS "
1939 "リポジトリなどその他どこへも) へ修正をアップロードしないよう、注意してくださ"
1940 "い。コードその物が公開されている場合、変更の詳細を難読化するだけでは十分では"
1941 "なく、皆によって解析され得る (そしてされる) でしょう。"
1943 # type: Content of: <chapter><section><section><section><para>
1944 #. type: Content of: <chapter><section><section><section><para>
1947 "There are two reasons for releasing information even though secrecy is "
1948 "requested: the problem has been known for a while, or the problem or exploit "
1949 "has become public."
1951 "機密であることを要求されたにも関わらず、情報を公開するのには 2 つの理由があり"
1952 "ます: 問題が一定期間既知の状態になっている、あるいは問題や攻撃コードが公開さ"
1955 #. type: Content of: <chapter><section><section><section><para>
1958 "The Security Team has a PGP-key to enable encrypted communication about "
1959 "sensitive issues. See the <ulink url=\"http://www.debian.org/security/"
1960 "faq#contact\">Security Team FAQ</ulink> for details."
1962 "セキュリティチームは、機密事項に関して通信を暗号化できる PGP 鍵を持っていま"
1963 "す。詳細については、<ulink url=\"http://www.debian.org/security/faq#contact"
1964 "\">セキュリティチーム FAQ</ulink> を参照してください。"
1966 # type: Content of: <chapter><section><section><section><title>
1967 #. type: Content of: <chapter><section><section><section><title>
1969 msgid "Security Advisories"
1972 # type: Content of: <chapter><section><section><section><para>
1973 # FIXME: how about oldstable?
1974 #. type: Content of: <chapter><section><section><section><para>
1977 "Security advisories are only issued for the current, released stable "
1978 "distribution, and <emphasis>not</emphasis> for <literal>testing</literal> or "
1979 "<literal>unstable</literal>. When released, advisories are sent to the "
1980 "&email-debian-security-announce; mailing list and posted on <ulink url="
1981 "\"&url-debian-security-advisories;\">the security web page</ulink>. "
1982 "Security advisories are written and posted by the security team. However "
1983 "they certainly do not mind if a maintainer can supply some of the "
1984 "information for them, or write part of the text. Information that should be "
1985 "in an advisory includes:"
1987 "セキュリティ勧告は現在のところ、リリースされた安定版ディストリビューションに"
1988 "ついてのみ、取り扱われます。<literal>テスト版 (testing)</literal> や "
1989 "<literal>不安定版 (unstable)</literal> についてでは<emphasis>ありません</"
1990 "emphasis>。リリースされると、セキュリティ勧告は email-debian-security-"
1991 "announce; メーリングリストに送られ、<ulink url=\"&url-debian-security-"
1992 "advisories;\">セキュリティのウェブページ</ulink>に掲載されます。セキュリティ"
1993 "勧告はセキュリティチームによって記述、掲載されます。しかし、メンテナが情報を"
1994 "提供できたり、文章の一部を書けるのであれば、彼らは当然そんなことは気にしませ"
1995 "ん。勧告にあるべき情報は以下を含んでいます:"
1997 # type: Content of: <chapter><section><section><section><itemizedlist><listitem><para>
1998 #. type: Content of: <chapter><section><section><section><itemizedlist><listitem><para>
2000 msgid "A description of the problem and its scope, including:"
2001 msgstr "以下のようなものを含めた問題の説明と範囲:"
2003 # type: Content of: <chapter><section><section><section><itemizedlist><listitem><itemizedlist><listitem><para>
2004 #. type: Content of: <chapter><section><section><section><itemizedlist><listitem><itemizedlist><listitem><para>
2006 msgid "The type of problem (privilege escalation, denial of service, etc.)"
2007 msgstr "問題の種類 (権限の上昇、サービス拒否など)"
2009 # type: Content of: <chapter><section><section><section><itemizedlist><listitem><itemizedlist><listitem><para>
2010 #. type: Content of: <chapter><section><section><section><itemizedlist><listitem><itemizedlist><listitem><para>
2012 msgid "What privileges may be gained, and by whom (if any)"
2013 msgstr "何の権限が得られるのか、(もし分かれば) 誰が得るのか"
2015 # type: Content of: <chapter><section><section><section><itemizedlist><listitem><itemizedlist><listitem><para>
2016 #. type: Content of: <chapter><section><section><section><itemizedlist><listitem><itemizedlist><listitem><para>
2018 msgid "How it can be exploited"
2019 msgstr "どのようにして攻撃が可能なのか"
2021 # type: Content of: <chapter><section><section><section><itemizedlist><listitem><itemizedlist><listitem><para>
2022 #. type: Content of: <chapter><section><section><section><itemizedlist><listitem><itemizedlist><listitem><para>
2024 msgid "Whether it is remotely or locally exploitable"
2025 msgstr "攻撃はリモートから可能なのかそれともローカルから可能なのか"
2027 # type: Content of: <chapter><section><section><section><itemizedlist><listitem><itemizedlist><listitem><para>
2028 #. type: Content of: <chapter><section><section><section><itemizedlist><listitem><itemizedlist><listitem><para>
2030 msgid "How the problem was fixed"
2031 msgstr "どのようにして問題が修正されたのか"
2033 # type: Content of: <chapter><section><section><section><itemizedlist><listitem><para>
2034 #. type: Content of: <chapter><section><section><section><itemizedlist><listitem><para>
2036 msgid "This information allows users to assess the threat to their systems."
2038 "この情報によって、ユーザがシステムに対する脅威を評価できるようになります。"
2040 # type: Content of: <chapter><section><section><section><itemizedlist><listitem><para>
2041 #. type: Content of: <chapter><section><section><section><itemizedlist><listitem><para>
2043 msgid "Version numbers of affected packages"
2044 msgstr "影響を受けるパッケージのバージョン番号"
2046 # type: Content of: <chapter><section><section><section><itemizedlist><listitem><para>
2047 #. type: Content of: <chapter><section><section><section><itemizedlist><listitem><para>
2049 msgid "Version numbers of fixed packages"
2050 msgstr "修正されたパッケージのバージョン番号"
2052 # type: Content of: <chapter><section><section><section><itemizedlist><listitem><para>
2053 #. type: Content of: <chapter><section><section><section><itemizedlist><listitem><para>
2056 "Information on where to obtain the updated packages (usually from the Debian "
2059 "どこで更新されたパッケージを得るかという情報 (通常は Debian のセキュリティ"
2062 # type: Content of: <chapter><section><section><section><itemizedlist><listitem><para>
2063 #. type: Content of: <chapter><section><section><section><itemizedlist><listitem><para>
2066 "References to upstream advisories, <ulink url=\"http://cve.mitre.org\">CVE</"
2067 "ulink> identifiers, and any other information useful in cross-referencing "
2070 "開発元のアドバイザリへの参照、<ulink url=\"http://cve.mitre.org\">CVE</"
2071 "ulink> 番号、脆弱性の相互参照について役立つその他の情報"
2073 # type: Content of: <chapter><section><section><section><title>
2074 #. type: Content of: <chapter><section><section><section><title>
2076 msgid "Preparing packages to address security issues"
2077 msgstr "セキュリティ問題に対処するパッケージを用意する"
2079 # type: Content of: <chapter><section><section><section><para>
2080 #. type: Content of: <chapter><section><section><section><para>
2083 "One way that you can assist the security team in their duties is to provide "
2084 "them with fixed packages suitable for a security advisory for the stable "
2087 "あなたがセキュリティチームに対し、彼らの職務に関して手助けできる方法の一つ"
2088 "は、安定版 Debian リリース用のセキュリティ勧告に適した修正版パッケージを提供"
2091 # type: Content of: <chapter><section><section><section><para>
2092 #. type: Content of: <chapter><section><section><section><para>
2095 "When an update is made to the stable release, care must be taken to avoid "
2096 "changing system behavior or introducing new bugs. In order to do this, make "
2097 "as few changes as possible to fix the bug. Users and administrators rely on "
2098 "the exact behavior of a release once it is made, so any change that is made "
2099 "might break someone's system. This is especially true of libraries: make "
2100 "sure you never change the API or ABI, no matter how small the change."
2102 "安定版について更新が作成される際、システムの挙動の変化や新しいバグの導入を避"
2103 "けるように注意が必要です。これを行うため、バグを修正するための変更は可能な限"
2104 "り少なくします。ユーザや管理者は一旦リリースされたものの厳密な挙動を当てにし"
2105 "ている、どのような変更でも誰かのシステムを壊しかねません。これは特にライブラ"
2106 "リについて当てはまります: API や ABI を決して変更していないことを確認してくだ"
2107 "さい。変更がどれほど小さいものでも関係ありません。"
2109 # type: Content of: <chapter><section><section><section><para>
2110 #. type: Content of: <chapter><section><section><section><para>
2113 "This means that moving to a new upstream version is not a good solution. "
2114 "Instead, the relevant changes should be back-ported to the version present "
2115 "in the current stable Debian release. Generally, upstream maintainers are "
2116 "willing to help if needed. If not, the Debian security team may be able to "
2119 "これは、開発元の新しいリリースバージョン (new upstream version) への移行が良"
2120 "い解決策ではないことを意味しています。代わりに、関連する変更を現在の Debian "
2121 "安定版リリースに存在しているバージョンへバックポートするべきです。通常、開発"
2122 "元のメンテナは助けが必要であれば手伝おうとしてくれます。そうでない場合は、"
2123 "Debian セキュリティチームが手助けすることができます。"
2125 # type: Content of: <chapter><section><section><section><para>
2126 #. type: Content of: <chapter><section><section><section><para>
2129 "In some cases, it is not possible to back-port a security fix, for example "
2130 "when large amounts of source code need to be modified or rewritten. If this "
2131 "happens, it may be necessary to move to a new upstream version. However, "
2132 "this is only done in extreme situations, and you must always coordinate that "
2133 "with the security team beforehand."
2135 "いくつかのケースでは、例えば大量のソースコードの変更や書き直しが必要など、セ"
2136 "キュリティ修正をバックポートできないことがあります。この様な場合、新しいバー"
2137 "ジョン (new upstream version) へ移行する必要があるかもしれません。しかし、こ"
2138 "れは極端な状況の場合にのみ行われるものであり、実行する前に必ずセキュリティ"
2139 "チームと調整をしなければなりません。"
2141 # type: Content of: <chapter><section><section><section><para>
2142 #. type: Content of: <chapter><section><section><section><para>
2145 "Related to this is another important guideline: always test your changes. "
2146 "If you have an exploit available, try it and see if it indeed succeeds on "
2147 "the unpatched package and fails on the fixed package. Test other, normal "
2148 "actions as well, as sometimes a security fix can break seemingly unrelated "
2149 "features in subtle ways."
2151 "これに関してはもう一つ重要な指針があります: 必ず変更についてテストをしてくだ"
2152 "さい。攻撃用コード (exploit) が入手可能な場合には、それを試してみて、パッチを"
2153 "当てていないパッケージで成功するか、修正したパッケージでは失敗することかどう"
2154 "かを確かめてみてください。他の確認として、セキュリティ修正は時折表面上はそれ"
2155 "と関係が無いような機能を壊すことがあるので、通常の動作も同様にテストしてください。"
2157 # type: Content of: <chapter><section><section><section><para>
2158 #. type: Content of: <chapter><section><section><section><para>
2161 "Do <emphasis role=\"strong\">NOT</emphasis> include any changes in your "
2162 "package which are not directly related to fixing the vulnerability. These "
2163 "will only need to be reverted, and this wastes time. If there are other "
2164 "bugs in your package that you would like to fix, make an upload to proposed-"
2165 "updates in the usual way, after the security advisory is issued. The "
2166 "security update mechanism is not a means for introducing changes to your "
2167 "package which would otherwise be rejected from the stable release, so please "
2168 "do not attempt to do this."
2170 "脆弱性の修正に直接関係しない変更をパッケージへ<emphasis role=\"strong\">加え"
2171 "ない</emphasis>ようにしてください。この様な変更は元に戻さなくてはならなくなる"
2172 "だけで、時間を無駄にします。他に直したいバグがパッケージにある場合は、セキュ"
2173 "リティ勧告が発行された後、通常通りに proposed-update にアップロードを行ってく"
2174 "ださい。セキュリティ更新の仕組みは、それ以外の方法では安定版リリースから "
2175 "reject されるであろう変更をあなたのパッケージに加える方法ではありませんので、"
2178 #. type: Content of: <chapter><section><section><section><para>
2181 "Review and test your changes as much as possible. Check the differences "
2182 "from the previous version repeatedly (<command>interdiff</command> from the "
2183 "<systemitem role=\"package\">patchutils</systemitem> package and "
2184 "<command>debdiff</command> from <systemitem role=\"package\">devscripts</"
2185 "systemitem> are useful tools for this, see <xref linkend=\"debdiff\"/>)."
2187 "変更点を可能な限り見直してください。以前のバージョンとの変更点を繰り返し確認"
2188 "してください (これには <systemitem role=\"package\">patchutils</systemitem> "
2189 "パッケージの <command>interdiff</command> や <systemitem role=\"package"
2190 "\">devscripts</systemitem> の <command>debdiff</command> が役立ちます。<xref "
2191 "linkend=\"debdiff\"/> を参照してください)。"
2193 # type: Content of: <chapter><section><section><section><para>
2194 #. type: Content of: <chapter><section><section><section><para>
2196 msgid "Be sure to verify the following items:"
2197 msgstr "以下の項目を必ず確認してください"
2199 #. type: Content of: <chapter><section><section><section><itemizedlist><listitem><para>
2202 "<emphasis role=\"strong\">Target the right distribution</emphasis> in your "
2203 "<filename>debian/changelog</filename>. For <literal>stable</literal> this "
2204 "is <literal>stable-security</literal> and for <literal>testing</literal> "
2205 "this is <literal>testing-security</literal>, and for the previous stable "
2206 "release, this is <literal>oldstable-security</literal>. Do not target "
2207 "<replaceable>distribution</replaceable><literal>-proposed-updates</literal> "
2208 "or <literal>stable</literal>!"
2210 "<filename>debian/changelog</filename> で <emphasis role=\"strong\">正しいディ"
2211 "ストリビューションを対象にする</emphasis>。<literal>安定版 (stable)</"
2212 "literal> の場合、これは <literal>stable-security</literal> になり、<literal>"
2213 "テスト版 (testing)</literal> の場合は <literal>testing-security</literal> "
2214 "に、そして以前の安定版リリースへの場合は <literal>oldstable-security</"
2215 "literal> となります。<replaceable>distribution</replaceable><literal>-"
2216 "proposed-updates</literal> や <literal>stable</literal> を対象にしないでくだ"
2219 # type: Content of: <chapter><section><section><section><itemizedlist><listitem><para>
2220 #. type: Content of: <chapter><section><section><section><itemizedlist><listitem><para>
2223 "The upload should have <emphasis role=\"strong\">urgency=high</emphasis>."
2225 "アップロードは <emphasis role=\"strong\">urgency=high</emphasis> で行う必要が"
2228 #. type: Content of: <chapter><section><section><section><itemizedlist><listitem><para>
2231 "Make descriptive, meaningful changelog entries. Others will rely on them to "
2232 "determine whether a particular bug was fixed. Add <literal>closes:</"
2233 "literal> statements for any <emphasis role=\"strong\">Debian bugs</emphasis> "
2234 "filed. Always include an external reference, preferably a <emphasis role="
2235 "\"strong\">CVE identifier</emphasis>, so that it can be cross-referenced. "
2236 "However, if a CVE identifier has not yet been assigned, do not wait for it "
2237 "but continue the process. The identifier can be cross-referenced later."
2239 "説明が十分にされている、意味がある changelog エントリを書くこと。"
2240 "他の人は、これらを元に特定のバグが修正されているのかを見つけ出します。"
2241 "登録されている <emphasis role=\"strong\">Debian バグ</emphasis> に対して "
2242 "<literal>closes:</literal> 行を追加すること。外部のリファレンス、できれば "
2243 "<emphasis role=\"strong\">CVE 識別番号</emphasis> を常に含めること、そう"
2244 "すれば相互参照が可能になります。しかし、CVE 識別番号がまだ付与されていない"
2245 "場合には、それを待たずに作業を進めてください。識別番号は後ほど付与することが"
2248 # FIXME: etch1 -> <stable code>
2250 #. type: Content of: <chapter><section><section><section><itemizedlist><listitem><para>
2253 "Make sure the <emphasis role=\"strong\">version number</emphasis> is "
2254 "proper. It must be greater than the current package, but less than package "
2255 "versions in later distributions. If in doubt, test it with <literal>dpkg --"
2256 "compare-versions</literal>. Be careful not to re-use a version number that "
2257 "you have already used for a previous upload, or one that conflicts with a "
2258 "binNMU. The convention is to append <literal>+</"
2259 "literal><replaceable>codename</replaceable><literal>1</literal>, e.g. "
2260 "<literal>1:2.4.3-4+lenny1</literal>, of course increasing 1 for any "
2261 "subsequent uploads."
2263 "<emphasis role=\"strong\">バージョン番号</emphasis>が正しいことを確認する。現"
2264 "在のパッケージより大きく、しかし以降のディストリビューションよりパッケージ"
2265 "バージョンが小さい必要があります。分からない場合は <literal>dpkg --compare-"
2266 "versions</literal> でテストしてください。以前のアップロードで既に使っている"
2267 "バージョン番号を再利用しないように注意してください。そうしないと番号が "
2268 "binNMU と衝突します。<literal>+</literal><replaceable>codename</"
2269 "replaceable><literal>1</literal> を追加するのが通例です。例えば "
2270 "<literal>1:2.4.3-4+lenny1</literal> とします。もちろん 1 はアップロードするご"
2274 # FIXME: how about debuild -sa ?
2275 #. type: Content of: <chapter><section><section><section><itemizedlist><listitem><para>
2278 "Unless the upstream source has been uploaded to <literal>security.debian.org "
2279 "</literal> before (by a previous security update), build the upload "
2280 "<emphasis role=\"strong\">with full upstream source</emphasis> "
2281 "(<literal>dpkg-buildpackage -sa</literal>). If there has been a previous "
2282 "upload to <literal>security.debian.org</literal> with the same upstream "
2283 "version, you may upload without upstream source (<literal>dpkg-buildpackage -"
2286 "これまでに (以前のセキュリティ更新によって) <literal>security.debian.org</"
2287 "literal> へ開発元のソースコードをアップロードしていなければ、<emphasis role="
2288 "\"strong\">開発元のソースコードを全て含めて</emphasis>アップロードするパッ"
2289 "ケージをビルドする (<literal>dpkg-buildpackage -sa</literal>)。以前、同じ開発"
2290 "元のバージョンで <literal>security.debian.org</literal> にアップロードしたこ"
2291 "とがある場合は、開発元のソースコード無しでアップロードしても構いません "
2292 "(<literal>dpkg-buildpackage -sd</literal>)。"
2294 #. type: Content of: <chapter><section><section><section><itemizedlist><listitem><para>
2297 "Be sure to use the <emphasis role=\"strong\">exact same <filename>*.orig.tar."
2298 "{gz,bz2,lzma}</filename></emphasis> as used in the normal archive, otherwise "
2299 "it is not possible to move the security fix into the main archives later."
2301 "通常のアーカイブで使われているのと<emphasis role=\"strong\">全く同じ <filename>"
2302 "*.orig.tar.{gz,bz2,lzma}</filename></emphasis>を必ず使うようにしてください。"
2303 "さもなくば、後ほどセキュリティ習性を main アーカイブに移動することができません。"
2305 #. type: Content of: <chapter><section><section><section><itemizedlist><listitem><para>
2308 "Build the package on a <emphasis role=\"strong\">clean system</emphasis> "
2309 "which only has packages installed from the distribution you are building "
2310 "for. If you do not have such a system yourself, you can use a debian.org "
2311 "machine (see <xref linkend=\"server-machines\"/>) or setup a chroot (see "
2312 "<xref linkend=\"pbuilder\"/> and <xref linkend=\"debootstrap\"/>)."
2314 "ビルドを行っているディストリビューションからインストールしたパッケージだけが"
2315 "含まれている<emphasis role=\"strong\">クリーンなシステム上で</emphasis>"
2316 "パッケージをビルドしてください。その様なシステムを自分で持っていない場合は、"
2317 "debian.org マシン (<xref linkend=\"server-machines\"/> を参照してください) を"
2318 "使うこともできますし、chroot を設定することもできます (<xref linkend="
2319 "\"pbuilder\"/> と <xref linkend=\"debootstrap\"/> を参照してください)。"
2321 # type: Content of: <chapter><section><section><section><title>
2322 #. type: Content of: <chapter><section><section><section><title>
2324 msgid "Uploading the fixed package"
2325 msgstr "修正したパッケージをアップロードする"
2327 # type: Content of: <chapter><section><section><para>
2328 #. type: Content of: <chapter><section><section><section><para>
2331 "Do <emphasis role=\"strong\">NOT</emphasis> upload a package to the security "
2332 "upload queue (<literal>oldstable-security</literal>, <literal>stable-"
2333 "security</literal>, etc.) without prior authorization from the security "
2334 "team. If the package does not exactly meet the team's requirements, it will "
2335 "cause many problems and delays in dealing with the unwanted upload."
2337 "セキュリティアップロードキュー (<literal>oldstable-security</literal>、"
2338 "<literal>stable-security </literal> 等) には、セキュリティチームからの事前許"
2339 "可無しにパッケージを<emphasis role=\"strong\">アップロードしないでください</"
2340 "emphasis>。パッケージがチームの要求に完全に合致していない場合、望まれないアッ"
2341 "プロードに対処するために多くの問題が引き起こされたり遅延が生じることになりま"
2342 "す。詳細については <xref linkend=\"bug-security\"/> を参照してください。"
2344 #. type: Content of: <chapter><section><section><section><para>
2347 "Do <emphasis role=\"strong\">NOT</emphasis> upload your fix to "
2348 "<literal>proposed-updates</literal> without coordinating with the security "
2349 "team. Packages from <literal>security.debian.org</literal> will be copied "
2350 "into the <literal>proposed-updates</literal> directory automatically. If a "
2351 "package with the same or a higher version number is already installed into "
2352 "the archive, the security update will be rejected by the archive system. "
2353 "That way, the stable distribution will end up without a security update for "
2354 "this package instead."
2356 "セキュリティチームと調整する事無しに <literal>proposed-updates</literal> へ"
2357 "修正したものをアップロード<emphasis role=\"strong\">しない</emphasis>ように"
2358 "してください。<literal>security.debian.org</literal> からパッケージは "
2359 "<literal>proposed-updates</literal> ディレクトリに自動的にコピーされます。"
2360 "アーカイブに同じ、あるいはより高いバージョン番号のものが既にインストール"
2361 "されている場合は、セキュリティアップデートはアーカイブシステムに reject "
2362 "されます。そうすると、安定版ディストリビューションはこのパッケージに対する"
2363 "セキュリティ更新無しで終了してしまうでしょう。"
2365 #. type: Content of: <chapter><section><section><section><para>
2368 "Once you have created and tested the new package and it has been approved by "
2369 "the security team, it needs to be uploaded so that it can be installed in "
2370 "the archives. For security uploads, the place to upload to is "
2371 "<literal>ftp://security-master.debian.org/pub/SecurityUploadQueue/</literal>."
2373 "一旦、新しいパッケージを作成してテストし、セキュリティチームによって許可を受けたら、"
2374 "アーカイブへインストールできるようにするためにアップロードをする必要があります。"
2375 "セキュリティに関するアップロードの場合、アップロード先は <literal>ftp://"
2376 "security-master.debian.org/pub/SecurityUploadQueue/</literal> になります。"
2378 #. type: Content of: <chapter><section><section><section><para>
2381 "Once an upload to the security queue has been accepted, the package will "
2382 "automatically be built for all architectures and stored for verification by "
2383 "the security team."
2385 "セキュリティキューへアップロードしたものが許可されると、パッケージは自動的に"
2386 "すべてのアーキテクチャに対してビルドされ、セキュリティチームによる確認の為に"
2389 # type: Content of: <chapter><section><section><section><para>
2390 #. type: Content of: <chapter><section><section><section><para>
2393 "Uploads which are waiting for acceptance or verification are only accessible "
2394 "by the security team. This is necessary since there might be fixes for "
2395 "security problems that cannot be disclosed yet."
2397 "許可、あるいは確認を待っているアップロードには、セキュリティチームのみがアクセス"
2398 "できます。これは、まだ公開できないセキュリティ問題の修正があるかも知れないためです。"
2400 # type: Content of: <chapter><section><section><section><para>
2401 #. type: Content of: <chapter><section><section><section><para>
2404 "If a member of the security team accepts a package, it will be installed on "
2405 "<literal>security.debian.org</literal> as well as proposed for the proper "
2406 "<replaceable>distribution</replaceable><literal>-proposed-updates</literal> "
2407 "on <literal>&ftp-master-host;</literal>."
2409 "セキュリティチームのメンバーがパッケージを許可した場合は、proposed パッケージ"
2410 "に対する <literal>&ftp-master-host;</literal> 上の適切な <replaceable>"
2411 "distribution</replaceable><literal>-proposed-updates</literal> と同様に "
2412 "<literal>security.debian.org</literal> 上にインストールされます。"
2414 # type: Content of: <chapter><section><title>
2415 #. type: Content of: <chapter><section><title>
2417 msgid "Moving, removing, renaming, adopting, and orphaning packages"
2418 msgstr "パッケージの移動、削除、リネーム、変更、みなしご化"
2420 # type: Content of: <chapter><section><para>
2421 #. type: Content of: <chapter><section><para>
2424 "Some archive manipulation operations are not automated in the Debian upload "
2425 "process. These procedures should be manually followed by maintainers. This "
2426 "chapter gives guidelines on what to do in these cases."
2428 "アーカイブの変更作業のいくつかは、Debian のアップロードプロセスでは自動的なもの"
2429 "にはなっていません。これらの手続きはメンテナによる手動での作業である必要があります。"
2430 "この章では、この様な場合に何をするかのガイドラインを提供します。"
2432 # type: Content of: <chapter><section><section><title>
2433 #. type: Content of: <chapter><section><section><title>
2435 msgid "Moving packages"
2438 # type: Content of: <chapter><section><section><para><footnote><para>
2439 #. type: Content of: <chapter><section><section><para><footnote><para>
2442 "See the <ulink url=\"&url-debian-policy;\">Debian Policy Manual</ulink> for "
2443 "guidelines on what section a package belongs in."
2445 "パッケージがどのセクションに属するかのガイドラインは <ulink url=\"&url-"
2446 "debian-policy;\">Debian ポリシーマニュアル</ulink>を参照してください。"
2448 #. type: Content of: <chapter><section><section><para>
2451 "Sometimes a package will change its section. For instance, a package from "
2452 "the `non-free' section might be GPL'd in a later version, in which case the "
2453 "package should be moved to `main' or `contrib'.<placeholder type=\"footnote"
2456 "時折パッケージは属しているセクションが変わることがあります。例えば「non-"
2457 "free」セクションのパッケージが新しいバージョンで GPL になった場合、パッケージ"
2458 "は「main」か「contrib」に移動する必要があります。<placeholder type=\"footnote"
2461 #. type: Content of: <chapter><section><section><para>
2464 "If you need to change the section for one of your packages, change the "
2465 "package control information to place the package in the desired section, and "
2466 "re-upload the package (see the <ulink url=\"&url-debian-policy;\">Debian "
2467 "Policy Manual</ulink> for details). You must ensure that you include the "
2468 "<filename>.orig.tar.{gz,bz2,lzma}</filename> in your upload (even if you are "
2469 "not uploading a new upstream version), or it will not appear in the new "
2470 "section together with the rest of the package. If your new section is "
2471 "valid, it will be moved automatically. If it does not, then contact the "
2472 "ftpmasters in order to understand what happened."
2474 "パッケージのどれかがセクションを変更する必要がある場合、希望するセクションに"
2475 "パッケージを配置するためパッケージの control 情報を変更してから再アップロード"
2476 "します (詳細については <ulink url=\"&url-debian-policy;\">Debian ポリシーマ"
2477 "ニュアル</ulink>を参照してください)。必ず <filename>.orig.tar.{gz,bz2,lzma}</"
2478 "filename> を (開発元のバージョンが新しいものになったのではなくても) アップ"
2479 "ロードに含める必要があります。新しいセクションが正しい場合は、自動的に移動さ"
2480 "れます。移動されない場合には、何が起こったのかを理解するために ftpmaster に連"
2483 #. type: Content of: <chapter><section><section><para>
2487 "If, on the other hand, you need to change the <literal>subsection</literal> "
2488 "of one of your packages (e.g., ``devel'', ``admin''), the procedure is "
2489 "slightly different. Correct the subsection as found in the control file of "
2490 "the package, and re-upload that. Also, you'll need to get the override file "
2491 "updated, as described in <xref linkend=\"override-file\"/>."
2493 "一方で、もしパッケージの一つの<literal>サブセクション</literal> (例:「devel」"
2494 "「admin」) を変更する必要がある、という場合には、手順は全く異なります。"
2495 "パッケージの control ファイルにあるサブセクションを修正して、再アップロード"
2496 "します。また、<xref linkend=\"override-file\"/> に記述してあるように override "
2497 "ファイルを更新する必要が出てくるでしょう。"
2499 # type: Content of: <chapter><section><section><title>
2500 #. type: Content of: <chapter><section><section><title>
2502 msgid "Removing packages"
2505 #. type: Content of: <chapter><section><section><para>
2508 "If for some reason you want to completely remove a package (say, if it is an "
2509 "old compatibility library which is no longer required), you need to file a "
2510 "bug against <literal>ftp.debian.org</literal> asking that the package be "
2511 "removed; as all bugs, this bug should normally have normal severity. The "
2512 "bug title should be in the form <literal>RM: <replaceable>package</"
2513 "replaceable> <replaceable>[architecture list]</replaceable> -- "
2514 "<replaceable>reason</replaceable></literal>, where <replaceable>package</"
2515 "replaceable> is the package to be removed and <replaceable>reason</"
2516 "replaceable> is a short summary of the reason for the removal request. "
2517 "<replaceable>[architecture list]</replaceable> is optional and only needed "
2518 "if the removal request only applies to some architectures, not all. Note "
2519 "that the <command>reportbug</command> will create a title conforming to "
2520 "these rules when you use it to report a bug against the <literal>ftp.debian."
2521 "org</literal> pseudo-package."
2523 "何らかの理由でパッケージを完全に削除したくなった場合 (もう必要がなくなった古い"
2524 "互換用ライブラリの場合、など)、パッケージを削除するよう <literal>ftp.debian.org</literal> "
2525 "に対してバグ登録をする必要があります; すべてのバグ同様、通常このバグは重要度 "
2526 "normal です。バグの題名は <literal>RM: <replaceable>パッケージ名</replaceable> "
2527 "<replaceable>[アーキテクチャ一覧]</replaceable> -- <replaceable>理由</replaceable>"
2528 "</literal> という形式である必要があります。<replaceable>パッケージ名</replaceable>"
2529 "は削除されるパッケージ、<replaceable>理由</replaceable>は削除を依頼する理由の"
2530 "短い要約です。<replaceable>[アーキテクチャ一覧]</replaceable>はオプションで、"
2531 "削除依頼が全アーキテクチャではなく一部のアーキテクチャのみに適用される場合にのみ、"
2532 "必要となります。<command>reportbug</command> は <literal>ftp.debian.org</literal> "
2533 "擬似パッケージに対してバグを報告しようとした場合に、これらのルールに則ってバグ"
2534 "の題名を作成しようとすることに注意してください。"
2536 # type: Content of: <chapter><section><section><para>
2537 #. type: Content of: <chapter><section><section><para>
2540 "If you want to remove a package you maintain, you should note this in the "
2541 "bug title by prepending <literal>ROM</literal> (Request Of Maintainer). "
2542 "There are several other standard acronyms used in the reasoning for a "
2543 "package removal, see <ulink url=\"http://&ftp-master-host;/removals.html\"></"
2544 "ulink> for a complete list. That page also provides a convenient overview of "
2545 "pending removal requests."
2547 "あなたがメンテナンスしているパッケージを削除したくなった場合は、題名の"
2548 "先頭に <literal>ROM</literal> (Request Of Maintainer) という文字を付けたバグ"
2549 "にこれを記述する必要があります。パッケージの削除理由に使われる他の一般的な略語"
2550 "が幾つかありますので、完全な一覧については <ulink url=\"http://&ftp-master-host;"
2551 "/removals.html\"></ulink> を参照してください。このページでは、まだ作業されて"
2552 "いない削除依頼の便利な一覧も見ることができます。"
2554 # FIXME-TRANS: experimental は試験版?実験版
2555 #. type: Content of: <chapter><section><section><para>
2558 "Note that removals can only be done for the <literal>unstable</literal>, "
2559 "<literal>experimental</literal> and <literal>stable</literal> distribution. "
2560 "Packages are not removed from <literal>testing</literal> directly. Rather, "
2561 "they will be removed automatically after the package has been removed from "
2562 "<literal>unstable</literal> and no package in <literal>testing</literal> "
2565 "削除は<literal>不安定版 (unstable)</literal>、<literal>実験版 (experimental)"
2566 "</literal>、<literal>安定版 (stable)</literal> ディストリビューションに対して"
2567 "のみ実施が可能であることに注意してください。パッケージは <literal>テスト版 "
2568 "(testing)</literal> から直接は削除されません。代わりに<literal>不安定版 (unstable)"
2569 "</literal> から削除された後で自動的に削除され、<literal>テスト版 (testing)"
2570 "</literal> にあるパッケージは削除されたパッケージに依存しなくなります。"
2572 # type: Content of: <chapter><section><section><para>
2573 #. type: Content of: <chapter><section><section><para>
2576 "There is one exception when an explicit removal request is not necessary: If "
2577 "a (source or binary) package is an orphan, it will be removed semi-"
2578 "automatically. For a binary-package, this means if there is no longer any "
2579 "source package producing this binary package; if the binary package is just "
2580 "no longer produced on some architectures, a removal request is still "
2581 "necessary. For a source-package, this means that all binary packages it "
2582 "refers to have been taken over by another source package."
2585 # type: Content of: <chapter><section><section><para>
2586 #. type: Content of: <chapter><section><section><para>
2590 "In your removal request, you have to detail the reasons justifying the "
2591 "request. This is to avoid unwanted removals and to keep a trace of why a "
2592 "package has been removed. For example, you can provide the name of the "
2593 "package that supersedes the one to be removed."
2595 "削除依頼では、依頼を判断する理由を詳細に書く必要があります。これは不必要な"
2596 "削除を避け、何故パッケージが削除されたのかを追跡できるようにするためです。"
2599 # type: Content of: <chapter><section><section><para>
2600 #. type: Content of: <chapter><section><section><para>
2603 "Usually you only ask for the removal of a package maintained by yourself. "
2604 "If you want to remove another package, you have to get the approval of its "
2605 "maintainer. Should the package be orphaned and thus have no maintainer, you "
2606 "should first discuss the removal request on &email-debian-qa;. If there is a "
2607 "consensus that the package should be removed, you should reassign and "
2608 "retitle the <literal>O:</literal> bug filed against the <literal>wnpp</"
2609 "literal> package instead of filing a new bug as removal request."
2612 # type: Content of: <chapter><section><section><para>
2613 #. type: Content of: <chapter><section><section><para>
2616 "Further information relating to these and other package removal related "
2617 "topics may be found at <ulink url=\"http://wiki.debian.org/ftpmaster_Removals"
2618 "\"></ulink> and <ulink url=\"&url-debian-qa;howto-remove.html\"></ulink>."
2621 #. type: Content of: <chapter><section><section><para>
2624 "If in doubt concerning whether a package is disposable, email &email-debian-"
2625 "devel; asking for opinions. Also of interest is the <command>apt-cache</"
2626 "command> program from the <systemitem role=\"package\">apt</systemitem> "
2627 "package. When invoked as <literal>apt-cache showpkg <replaceable>package</"
2628 "replaceable></literal>, the program will show details for "
2629 "<replaceable>package</replaceable>, including reverse depends. Other useful "
2630 "programs include <command>apt-cache rdepends</command>, <command>apt-"
2631 "rdepends</command>, <command>build-rdeps</command> (in the <systemitem role="
2632 "\"package\">devscripts</systemitem> package) and <command>grep-dctrl</"
2633 "command>. Removal of orphaned packages is discussed on &email-debian-qa;."
2636 #. type: Content of: <chapter><section><section><para>
2639 "Once the package has been removed, the package's bugs should be handled. "
2640 "They should either be reassigned to another package in the case where the "
2641 "actual code has evolved into another package (e.g. <literal>libfoo12</"
2642 "literal> was removed because <literal>libfoo13</literal> supersedes it) or "
2643 "closed if the software is simply no longer part of Debian. When closing the "
2644 "bugs, to avoid marking the bugs as fixed in versions of the packages in "
2645 "previous Debian releases, they should be marked as fixed in the version "
2646 "<literal><most-recent-version-ever-in-Debian>+rm</literal>."
2649 # type: Content of: <chapter><section><section><section><title>
2650 #. type: Content of: <chapter><section><section><section><title>
2652 msgid "Removing packages from <filename>Incoming</filename>"
2653 msgstr "<filename>Incoming</filename> からパッケージを削除する"
2655 # type: Content of: <chapter><section><section><section><para>
2656 #. type: Content of: <chapter><section><section><section><para>
2659 "In the past, it was possible to remove packages from <filename>incoming</"
2660 "filename>. However, with the introduction of the new incoming system, this "
2661 "is no longer possible. Instead, you have to upload a new revision of your "
2662 "package with a higher version than the package you want to replace. Both "
2663 "versions will be installed in the archive but only the higher version will "
2664 "actually be available in <literal>unstable</literal> since the previous "
2665 "version will immediately be replaced by the higher. However, if you do "
2666 "proper testing of your packages, the need to replace a package should not "
2667 "occur too often anyway."
2669 "以前は、<filename>incoming</filename> からパッケージを削除することが可能"
2670 "でした。しかし、新しい incoming システムが導入されたことにより、これはもはや"
2671 "不可能となっています。その代わりに、置き換えたいパッケージよりも高いバージョン"
2672 "のリビジョンの新しいパッケージをアップロードする必要があります。両方の"
2673 "バージョンのパッケージがアーカイブにインストールされますが、一つ前のバージョン"
2674 "はすぐに高いバージョンで置き換えられるため、実際にはバージョンが高い方だけが "
2675 "<literal>不安定版 (unstable)</literal> で利用可能になります。しかし、もし"
2676 "あなたがパッケージをきちんとテストしていれば、パッケージを置き換える必要は"
2679 # type: Content of: <chapter><section><section><title>
2680 #. type: Content of: <chapter><section><section><title>
2682 msgid "Replacing or renaming packages"
2683 msgstr "パッケージをリプレースあるいはリネームする"
2685 #. type: Content of: <chapter><section><section><para>
2688 "When the upstream maintainers for one of your packages chose to rename their "
2689 "software (or you made a mistake naming your package), you should follow a "
2690 "two-step process to rename it. In the first step, change the "
2691 "<filename>debian/control</filename> file to reflect the new name and to "
2692 "replace, provide and conflict with the obsolete package name (see the <ulink "
2693 "url=\"&url-debian-policy;\">Debian Policy Manual</ulink> for details). "
2694 "Please note that you should only add a <literal>Provides</literal> relation "
2695 "if all packages depending on the obsolete package name continue to work "
2696 "after the renaming. Once you've uploaded the package and the package has "
2697 "moved into the archive, file a bug against <literal>ftp.debian.org</literal> "
2698 "asking to remove the package with the obsolete name (see <xref linkend="
2699 "\"removing-pkgs\"/>). Do not forget to properly reassign the package's bugs "
2703 #. type: Content of: <chapter><section><section><para>
2706 "At other times, you may make a mistake in constructing your package and wish "
2707 "to replace it. The only way to do this is to increase the version number "
2708 "and upload a new version. The old version will be expired in the usual "
2709 "manner. Note that this applies to each part of your package, including the "
2710 "sources: if you wish to replace the upstream source tarball of your package, "
2711 "you will need to upload it with a different version. An easy possibility is "
2712 "to replace <filename>foo_1.00.orig.tar.gz</filename> with "
2713 "<filename>foo_1.00+0.orig.tar.gz</filename> or <filename>foo_1.00.orig.tar."
2714 "bz2</filename>. This restriction gives each file on the ftp site a unique "
2715 "name, which helps to ensure consistency across the mirror network."
2718 # type: Content of: <chapter><section><section><title>
2719 #. type: Content of: <chapter><section><section><title>
2721 msgid "Orphaning a package"
2722 msgstr "パッケージをみなしご化する"
2724 # type: Content of: <chapter><section><section><para>
2725 #. type: Content of: <chapter><section><section><para>
2728 "If you can no longer maintain a package, you need to inform others, and see "
2729 "that the package is marked as orphaned. You should set the package "
2730 "maintainer to <literal>Debian QA Group &orphan-address;</literal> and submit "
2731 "a bug report against the pseudo package <systemitem role=\"package\">wnpp</"
2732 "systemitem>. The bug report should be titled <literal>O: "
2733 "<replaceable>package</replaceable> -- <replaceable>short description</"
2734 "replaceable></literal> indicating that the package is now orphaned. The "
2735 "severity of the bug should be set to <literal>normal</literal>; if the "
2736 "package has a priority of standard or higher, it should be set to "
2737 "important. If you feel it's necessary, send a copy to &email-debian-devel; "
2738 "by putting the address in the X-Debbugs-CC: header of the message (no, don't "
2739 "use CC:, because that way the message's subject won't indicate the bug "
2743 # type: Content of: <chapter><section><section><para>
2744 #. type: Content of: <chapter><section><section><para>
2747 "If you just intend to give the package away, but you can keep maintainership "
2748 "for the moment, then you should instead submit a bug against <systemitem "
2749 "role=\"package\">wnpp</systemitem> and title it <literal>RFA: "
2750 "<replaceable>package</replaceable> -- <replaceable>short description</"
2751 "replaceable></literal>. <literal>RFA</literal> stands for <literal>Request "
2752 "For Adoption</literal>."
2755 # type: Content of: <chapter><section><section><para>
2756 #. type: Content of: <chapter><section><section><para>
2759 "More information is on the <ulink url=\"&url-wnpp;\">WNPP web pages</ulink>."
2761 "より詳細な情報は <ulink url=\"&url-wnpp;\">WNPP ウェブページ</ulink>にありま"
2764 # type: Content of: <chapter><section><section><title>
2765 #. type: Content of: <chapter><section><section><title>
2767 msgid "Adopting a package"
2768 msgstr "パッケージに変更を加える"
2770 # type: Content of: <chapter><section><section><para>
2771 #. type: Content of: <chapter><section><section><para>
2774 "A list of packages in need of a new maintainer is available in the <ulink "
2775 "url=\"&url-wnpp;\">Work-Needing and Prospective Packages list (WNPP)</"
2776 "ulink>. If you wish to take over maintenance of any of the packages listed "
2777 "in the WNPP, please take a look at the aforementioned page for information "
2781 #. type: Content of: <chapter><section><section><para>
2784 "It is not OK to simply take over a package that you feel is neglected — that "
2785 "would be package hijacking. You can, of course, contact the current "
2786 "maintainer and ask them if you may take over the package. If you have "
2787 "reason to believe a maintainer has gone AWOL (absent without leave), see "
2788 "<xref linkend=\"mia-qa\"/>."
2791 # type: Content of: <chapter><section><section><para>
2792 #. type: Content of: <chapter><section><section><para>
2795 "Generally, you may not take over the package without the assent of the "
2796 "current maintainer. Even if they ignore you, that is still not grounds to "
2797 "take over a package. Complaints about maintainers should be brought up on "
2798 "the developers' mailing list. If the discussion doesn't end with a positive "
2799 "conclusion, and the issue is of a technical nature, consider bringing it to "
2800 "the attention of the technical committee (see the <ulink url=\"&url-tech-"
2801 "ctte;\">technical committee web page</ulink> for more information)."
2804 #. type: Content of: <chapter><section><section><para>
2807 "If you take over an old package, you probably want to be listed as the "
2808 "package's official maintainer in the bug system. This will happen "
2809 "automatically once you upload a new version with an updated "
2810 "<literal>Maintainer</literal> field, although it can take a few hours after "
2811 "the upload is done. If you do not expect to upload a new version for a "
2812 "while, you can use <xref linkend=\"pkg-tracking-system\"/> to get the bug "
2813 "reports. However, make sure that the old maintainer has no problem with the "
2814 "fact that they will continue to receive the bugs during that time."
2817 # type: Content of: <chapter><section><title>
2818 #. type: Content of: <chapter><section><title>
2820 msgid "Porting and being ported"
2823 # type: Content of: <chapter><section><para>
2824 #. type: Content of: <chapter><section><para>
2827 "Debian supports an ever-increasing number of architectures. Even if you are "
2828 "not a porter, and you don't use any architecture but one, it is part of your "
2829 "duty as a maintainer to be aware of issues of portability. Therefore, even "
2830 "if you are not a porter, you should read most of this chapter."
2832 "Debian がサポートするアーキテクチャの数は増え続けています。あなたが移植作業者"
2833 "ではない、あるいは別のアーキテクチャを使うことが無いという場合であっても、移"
2834 "植性の問題に注意を払うことはメンテナとしてのあなたの義務です。従って、あなた"
2835 "が移植作業者でなくても、この章の大半を読む必要があります。"
2837 #. type: Content of: <chapter><section><para>
2840 "Porting is the act of building Debian packages for architectures that are "
2841 "different from the original architecture of the package maintainer's binary "
2842 "package. It is a unique and essential activity. In fact, porters do most "
2843 "of the actual compiling of Debian packages. For instance, when a maintainer "
2844 "uploads a (portable) source packages with binaries for the <literal>i386</"
2845 "literal> architecture, it will be built for each of the other architectures, "
2846 "amounting to &number-of-arches; more builds."
2849 # type: Content of: <chapter><section><section><title>
2850 #. type: Content of: <chapter><section><section><title>
2852 msgid "Being kind to porters"
2855 # type: Content of: <chapter><section><section><para>
2856 #. type: Content of: <chapter><section><section><para>
2859 "Porters have a difficult and unique task, since they are required to deal "
2860 "with a large volume of packages. Ideally, every source package should build "
2861 "right out of the box. Unfortunately, this is often not the case. This "
2862 "section contains a checklist of ``gotchas'' often committed by Debian "
2863 "maintainers — common problems which often stymie porters, and make their "
2864 "jobs unnecessarily difficult."
2867 # type: Content of: <chapter><section><section><para>
2868 #. type: Content of: <chapter><section><section><para>
2871 "The first and most important thing is to respond quickly to bug or issues "
2872 "raised by porters. Please treat porters with courtesy, as if they were in "
2873 "fact co-maintainers of your package (which, in a way, they are). Please be "
2874 "tolerant of succinct or even unclear bug reports; do your best to hunt down "
2875 "whatever the problem is."
2878 # type: Content of: <chapter><section><section><para>
2879 #. type: Content of: <chapter><section><section><para>
2882 "By far, most of the problems encountered by porters are caused by "
2883 "<emphasis>packaging bugs</emphasis> in the source packages. Here is a "
2884 "checklist of things you should check or be aware of."
2887 #. type: Content of: <chapter><section><section><orderedlist><listitem><para>
2890 "Make sure that your <literal>Build-Depends</literal> and <literal>Build-"
2891 "Depends-Indep</literal> settings in <filename>debian/control</filename> are "
2892 "set properly. The best way to validate this is to use the <systemitem role="
2893 "\"package\">debootstrap</systemitem> package to create an <literal>unstable</"
2894 "literal> chroot environment (see <xref linkend=\"debootstrap\"/>). Within "
2895 "that chrooted environment, install the <systemitem role=\"package\">build-"
2896 "essential</systemitem> package and any package dependencies mentioned in "
2897 "<literal>Build-Depends</literal> and/or <literal>Build-Depends-Indep</"
2898 "literal>. Finally, try building your package within that chrooted "
2899 "environment. These steps can be automated by the use of the "
2900 "<command>pbuilder</command> program which is provided by the package of the "
2901 "same name (see <xref linkend=\"pbuilder\"/>)."
2904 #. type: Content of: <chapter><section><section><orderedlist><listitem><para>
2907 "If you can't set up a proper chroot, <command>dpkg-depcheck</command> may be "
2908 "of assistance (see <xref linkend=\"dpkg-depcheck\"/>)."
2910 "chroot を正しく設定できない場合は、<command>dpkg-depcheck</command> が手助け"
2911 "になることでしょう (<xref linkend=\"dpkg-depcheck\"/> 参照)。"
2913 # type: Content of: <chapter><section><section><orderedlist><listitem><para>
2914 #. type: Content of: <chapter><section><section><orderedlist><listitem><para>
2917 "See the <ulink url=\"&url-debian-policy;\">Debian Policy Manual</ulink> for "
2918 "instructions on setting build dependencies."
2920 "ビルドの依存情報の指定方法については、<ulink url=\"&url-debian-policy;"
2921 "\">Debian ポリシーマニュアル</ulink>を参照してください。"
2923 # type: Content of: <chapter><section><section><orderedlist><listitem><para>
2924 #. type: Content of: <chapter><section><section><orderedlist><listitem><para>
2927 "Don't set architecture to a value other than <literal>all</literal> or "
2928 "<literal>any</literal> unless you really mean it. In too many cases, "
2929 "maintainers don't follow the instructions in the <ulink url=\"&url-debian-"
2930 "policy;\">Debian Policy Manual</ulink>. Setting your architecture to only "
2931 "one architecture (such as <literal>i386</literal> or <literal>amd64</"
2932 "literal>) is usually incorrect."
2934 "意図がある場合以外は、アーキテクチャの値を <literal>all</literal> または "
2935 "<literal>any</literal> 以外に指定しないでください。非常に多くの場合、メンテナ"
2936 "が <ulink url=\"&url-debian-policy;\">Debianポリシーマニュアル</ulink> の指示"
2937 "に従っていません。アーキテクチャを単一のものに指定する (<literal>i386</"
2938 "literal> あるいは <literal>amd64</literal> など) は大抵誤りです。"
2940 # type: Content of: <chapter><section><section><orderedlist><listitem><para>
2941 #. type: Content of: <chapter><section><section><orderedlist><listitem><para>
2944 "Make sure your source package is correct. Do <literal>dpkg-source -x "
2945 "<replaceable>package</replaceable>.dsc</literal> to make sure your source "
2946 "package unpacks properly. Then, in there, try building your package from "
2947 "scratch with <command>dpkg-buildpackage</command>."
2950 # type: Content of: <chapter><section><section><orderedlist><listitem><para>
2951 #. type: Content of: <chapter><section><section><orderedlist><listitem><para>
2954 "Make sure you don't ship your source package with the <filename>debian/"
2955 "files</filename> or <filename>debian/substvars</filename> files. They "
2956 "should be removed by the <literal>clean</literal> target of <filename>debian/"
2960 # type: Content of: <chapter><section><section><orderedlist><listitem><para>
2961 #. type: Content of: <chapter><section><section><orderedlist><listitem><para>
2964 "Make sure you don't rely on locally installed or hacked configurations or "
2965 "programs. For instance, you should never be calling programs in <filename>/"
2966 "usr/local/bin</filename> or the like. Try not to rely on programs being "
2967 "setup in a special way. Try building your package on another machine, even "
2968 "if it's the same architecture."
2971 # type: Content of: <chapter><section><section><orderedlist><listitem><para>
2972 #. type: Content of: <chapter><section><section><orderedlist><listitem><para>
2975 "Don't depend on the package you're building being installed already (a sub-"
2976 "case of the above issue). There are, of course, exceptions to this rule, but "
2977 "be aware that any case like this needs manual bootstrapping and cannot be "
2978 "done by automated package builders."
2981 # type: Content of: <chapter><section><section><orderedlist><listitem><para>
2982 #. type: Content of: <chapter><section><section><orderedlist><listitem><para>
2985 "Don't rely on the compiler being a certain version, if possible. If not, "
2986 "then make sure your build dependencies reflect the restrictions, although "
2987 "you are probably asking for trouble, since different architectures sometimes "
2988 "standardize on different compilers."
2991 #. type: Content of: <chapter><section><section><orderedlist><listitem><para>
2994 "Make sure your <filename>debian/rules</filename> contains separate "
2995 "<literal>binary-arch</literal> and <literal>binary-indep</literal> targets, "
2996 "as the Debian Policy Manual requires. Make sure that both targets work "
2997 "independently, that is, that you can call the target without having called "
2998 "the other before. To test this, try to run <command>dpkg-buildpackage -B</"
3002 # type: Content of: <chapter><section><section><title>
3003 #. type: Content of: <chapter><section><section><title>
3005 msgid "Guidelines for porter uploads"
3008 # type: Content of: <chapter><section><section><para>
3009 #. type: Content of: <chapter><section><section><para>
3012 "If the package builds out of the box for the architecture to be ported to, "
3013 "you are in luck and your job is easy. This section applies to that case; it "
3014 "describes how to build and upload your binary package so that it is properly "
3015 "installed into the archive. If you do have to patch the package in order to "
3016 "get it to compile for the other architecture, you are actually doing a "
3017 "source NMU, so consult <xref linkend=\"nmu-guidelines\"/> instead."
3020 # type: Content of: <chapter><section><section><para>
3021 #. type: Content of: <chapter><section><section><para>
3024 "For a porter upload, no changes are being made to the source. You do not "
3025 "need to touch any of the files in the source package. This includes "
3026 "<filename>debian/changelog</filename>."
3029 #. type: Content of: <chapter><section><section><para>
3032 "The way to invoke <command>dpkg-buildpackage</command> is as <literal>dpkg-"
3033 "buildpackage -B -m<replaceable>porter-email</replaceable></literal>. Of "
3034 "course, set <replaceable>porter-email</replaceable> to your email address. "
3035 "This will do a binary-only build of only the architecture-dependent portions "
3036 "of the package, using the <literal>binary-arch</literal> target in "
3037 "<filename>debian/rules</filename>."
3040 # type: Content of: <chapter><section><section><para>
3041 #. type: Content of: <chapter><section><section><para>
3044 "If you are working on a Debian machine for your porting efforts and you need "
3045 "to sign your upload locally for its acceptance in the archive, you can run "
3046 "<command>debsign</command> on your <filename>.changes</filename> file to "
3047 "have it signed conveniently, or use the remote signing mode of <command>dpkg-"
3051 # type: Content of: <chapter><section><section><section><title>
3052 #. type: Content of: <chapter><section><section><section><title>
3054 msgid "Recompilation or binary-only NMU"
3055 msgstr "再コンパイル、あるいは binary-only NMU"
3057 #. type: Content of: <chapter><section><section><section><para>
3060 "Sometimes the initial porter upload is problematic because the environment "
3061 "in which the package was built was not good enough (outdated or obsolete "
3062 "library, bad compiler, etc.). Then you may just need to recompile it in an "
3063 "updated environment. However, you have to bump the version number in this "
3064 "case, so that the old bad package can be replaced in the Debian archive "
3065 "(<command>dak</command> refuses to install new packages if they don't have a "
3066 "version number greater than the currently available one)."
3069 #. type: Content of: <chapter><section><section><section><para>
3072 "You have to make sure that your binary-only NMU doesn't render the package "
3073 "uninstallable. This could happen when a source package generates arch-"
3074 "dependent and arch-independent packages that have inter-dependencies "
3075 "generated using dpkg's substitution variable <literal>$(Source-Version)</"
3079 # type: Content of: <chapter><section><section><section><para>
3080 #. type: Content of: <chapter><section><section><section><para>
3083 "Despite the required modification of the changelog, these are called binary-"
3084 "only NMUs — there is no need in this case to trigger all other architectures "
3085 "to consider themselves out of date or requiring recompilation."
3088 # type: Content of: <chapter><section><section><section><para>
3089 #. type: Content of: <chapter><section><section><section><para>
3092 "Such recompilations require special ``magic'' version numbering, so that the "
3093 "archive maintenance tools recognize that, even though there is a new Debian "
3094 "version, there is no corresponding source update. If you get this wrong, "
3095 "the archive maintainers will reject your upload (due to lack of "
3096 "corresponding source code)."
3099 # type: Content of: <chapter><section><section><section><para><footnote><para>
3100 #. type: Content of: <chapter><section><section><section><para><footnote><para>
3103 "In the past, such NMUs used the third-level number on the Debian part of the "
3104 "revision to denote their recompilation-only status; however, this syntax was "
3105 "ambiguous with native packages and did not allow proper ordering of "
3106 "recompile-only NMUs, source NMUs, and security NMUs on the same package, and "
3107 "has therefore been abandoned in favor of this new syntax."
3110 #. type: Content of: <chapter><section><section><section><para>
3113 "The ``magic'' for a recompilation-only NMU is triggered by using a suffix "
3114 "appended to the package version number, following the form "
3115 "<literal>b<replaceable>number</replaceable></literal>. For instance, if the "
3116 "latest version you are recompiling against was version <literal>2.9-3</"
3117 "literal>, your binary-only NMU should carry a version of <literal>2.9-3+b1</"
3118 "literal>. If the latest version was <literal>3.4+b1</literal> (i.e, a "
3119 "native package with a previous recompilation NMU), your binary-only NMU "
3120 "should have a version number of <literal>3.4+b2</literal>.<placeholder type="
3121 "\"footnote\" id=\"0\"/>"
3124 # type: Content of: <chapter><section><section><section><para>
3125 #. type: Content of: <chapter><section><section><section><para>
3128 "Similar to initial porter uploads, the correct way of invoking <command>dpkg-"
3129 "buildpackage</command> is <literal>dpkg-buildpackage -B</literal> to only "
3130 "build the architecture-dependent parts of the package."
3133 # type: Content of: <chapter><section><section><section><title>
3134 #. type: Content of: <chapter><section><section><section><title>
3137 msgid "When to do a source NMU if you are a porter"
3138 msgstr "あなたが移植作業者の場合、source NMU を行う時は何時か"
3140 #. type: Content of: <chapter><section><section><section><para>
3143 "Porters doing a source NMU generally follow the guidelines found in <xref "
3144 "linkend=\"nmu\"/>, just like non-porters. However, it is expected that the "
3145 "wait cycle for a porter's source NMU is smaller than for a non-porter, since "
3146 "porters have to cope with a large quantity of packages. Again, the "
3147 "situation varies depending on the distribution they are uploading to. It "
3148 "also varies whether the architecture is a candidate for inclusion into the "
3149 "next stable release; the release managers decide and announce which "
3150 "architectures are candidates."
3153 #. type: Content of: <chapter><section><section><section><para>
3156 "If you are a porter doing an NMU for <literal>unstable</literal>, the above "
3157 "guidelines for porting should be followed, with two variations. Firstly, "
3158 "the acceptable waiting period — the time between when the bug is submitted "
3159 "to the BTS and when it is OK to do an NMU — is seven days for porters "
3160 "working on the <literal>unstable</literal> distribution. This period can be "
3161 "shortened if the problem is critical and imposes hardship on the porting "
3162 "effort, at the discretion of the porter group. (Remember, none of this is "
3163 "Policy, just mutually agreed upon guidelines.) For uploads to "
3164 "<literal>stable</literal> or <literal>testing</literal>, please coordinate "
3165 "with the appropriate release team first."
3168 # type: Content of: <chapter><section><section><section><para>
3169 #. type: Content of: <chapter><section><section><section><para>
3172 "Secondly, porters doing source NMUs should make sure that the bug they "
3173 "submit to the BTS should be of severity <literal>serious</literal> or "
3174 "greater. This ensures that a single source package can be used to compile "
3175 "every supported Debian architecture by release time. It is very important "
3176 "that we have one version of the binary and source package for all "
3177 "architectures in order to comply with many licenses."
3180 # type: Content of: <chapter><section><section><section><para>
3181 #. type: Content of: <chapter><section><section><section><para>
3184 "Porters should try to avoid patches which simply kludge around bugs in the "
3185 "current version of the compile environment, kernel, or libc. Sometimes such "
3186 "kludges can't be helped. If you have to kludge around compiler bugs and the "
3187 "like, make sure you <literal>#ifdef</literal> your work properly; also, "
3188 "document your kludge so that people know to remove it once the external "
3189 "problems have been fixed."
3192 # type: Content of: <chapter><section><section><section><para>
3193 #. type: Content of: <chapter><section><section><section><para>
3196 "Porters may also have an unofficial location where they can put the results "
3197 "of their work during the waiting period. This helps others running the port "
3198 "have the benefit of the porter's work, even during the waiting period. Of "
3199 "course, such locations have no official blessing or status, so buyer beware."
3202 # type: Content of: <chapter><section><section><title>
3203 #. type: Content of: <chapter><section><section><title>
3205 msgid "Porting infrastructure and automation"
3208 # type: Content of: <chapter><section><section><para>
3209 #. type: Content of: <chapter><section><section><para>
3212 "There is infrastructure and several tools to help automate package porting. "
3213 "This section contains a brief overview of this automation and porting to "
3214 "these tools; see the package documentation or references for full "
3218 # type: Content of: <chapter><section><section><section><title>
3219 #. type: Content of: <chapter><section><section><section><title>
3221 msgid "Mailing lists and web pages"
3222 msgstr "メーリングリストとウェブページ"
3224 # type: Content of: <chapter><section><section><section><para>
3225 #. type: Content of: <chapter><section><section><section><para>
3228 "Web pages containing the status of each port can be found at <ulink url="
3229 "\"&url-debian-ports;\"></ulink>."
3231 "各移植版についての状況を含んだウェブページは <ulink url=\"&url-debian-ports;"
3232 "\"></ulink> から参照できます。"
3234 # type: Content of: <chapter><section><section><section><para>
3235 #. type: Content of: <chapter><section><section><section><para>
3238 "Each port of Debian has a mailing list. The list of porting mailing lists "
3239 "can be found at <ulink url=\"&url-debian-port-lists;\"></ulink>. These "
3240 "lists are used to coordinate porters, and to connect the users of a given "
3241 "port with the porters."
3243 "Debian の各移植版はメーリングリストを持っています。移植作業のメーリングリスト"
3244 "は <ulink url=\"&url-debian-port-lists;\"></ulink> で見ることができます。"
3245 "これらのリストは移植作業者の作業の調整や移植版のユーザと移植作業者をつなぐ"
3248 # type: Content of: <chapter><section><section><section><title>
3249 #. type: Content of: <chapter><section><section><section><title>
3251 msgid "Porter tools"
3254 #. type: Content of: <chapter><section><section><section><para>
3257 "Descriptions of several porting tools can be found in <xref linkend=\"tools-"
3260 "移植用のツールの説明をいくつか <xref linkend=\"tools-porting\"/> で見ることが"
3263 # type: Content of: <chapter><section><section><section><title>
3264 #. type: Content of: <chapter><section><section><section><title>
3266 msgid "<systemitem role=\"package\">wanna-build</systemitem>"
3267 msgstr "<systemitem role=\"package\">wanna-build</systemitem>"
3269 #. type: Content of: <chapter><section><section><section><para>
3272 "The <systemitem role=\"package\">wanna-build</systemitem> system is used as "
3273 "a distributed, client-server build distribution system. It is usually used "
3274 "in conjunction with build daemons running the <systemitem role=\"package"
3275 "\">buildd</systemitem> program. <literal>Build daemons</literal> are "
3276 "``slave'' hosts which contact the central <systemitem role=\"package\">wanna-"
3277 "build</systemitem> system to receive a list of packages that need to be "
3281 #. type: Content of: <chapter><section><section><section><para>
3284 "<systemitem role=\"package\">wanna-build</systemitem> is not yet available "
3285 "as a package; however, all Debian porting efforts are using it for automated "
3286 "package building. The tool used to do the actual package builds, "
3287 "<systemitem role=\"package\">sbuild</systemitem> is available as a package, "
3288 "see its description in <xref linkend=\"sbuild\"/>. Please note that the "
3289 "packaged version is not the same as the one used on build daemons, but it is "
3290 "close enough to reproduce problems."
3293 #. type: Content of: <chapter><section><section><section><para>
3296 "Most of the data produced by <systemitem role=\"package\">wanna-build</"
3297 "systemitem> which is generally useful to porters is available on the web at "
3298 "<ulink url=\"&url-buildd;\"></ulink>. This data includes nightly updated "
3299 "statistics, queueing information and logs for build attempts."
3302 # type: Content of: <chapter><section><section><section><para>
3303 #. type: Content of: <chapter><section><section><section><para>
3306 "We are quite proud of this system, since it has so many possible uses. "
3307 "Independent development groups can use the system for different sub-flavors "
3308 "of Debian, which may or may not really be of general interest (for instance, "
3309 "a flavor of Debian built with <command>gcc</command> bounds checking). It "
3310 "will also enable Debian to recompile entire distributions quickly."
3313 #. type: Content of: <chapter><section><section><section><para>
3316 "The wanna-build team, in charge of the buildds, can be reached at "
3317 "<literal>debian-wb-team@lists.debian.org</literal>. To determine who (wanna-"
3318 "build team, release team) and how (mail, BTS) to contact, refer to <ulink "
3319 "url=\"&url-wb-team;\"></ulink>."
3322 #. type: Content of: <chapter><section><section><section><para>
3325 "When requesting binNMUs or give-backs (retries after a failed build), please "
3326 "use the format described at <ulink url=\"&url-release-wb;\"/>."
3329 # type: Content of: <chapter><section><section><title>
3330 #. type: Content of: <chapter><section><section><title>
3332 msgid "When your package is <emphasis>not</emphasis> portable"
3333 msgstr "あなたのパッケージが移植可能なものでは<emphasis>ない</emphasis>場合"
3335 # type: Content of: <chapter><section><section><para>
3336 #. type: Content of: <chapter><section><section><para>
3339 "Some packages still have issues with building and/or working on some of the "
3340 "architectures supported by Debian, and cannot be ported at all, or not "
3341 "within a reasonable amount of time. An example is a package that is SVGA-"
3342 "specific (only available for <literal>i386</literal> and <literal>amd64</"
3343 "literal>), or uses other hardware-specific features not supported on all "
3347 # type: Content of: <chapter><section><section><para>
3348 #. type: Content of: <chapter><section><section><para>
3351 "In order to prevent broken packages from being uploaded to the archive, and "
3352 "wasting buildd time, you need to do a few things:"
3355 # type: Content of: <chapter><section><section><itemizedlist><listitem><para>
3356 #. type: Content of: <chapter><section><section><itemizedlist><listitem><para>
3359 "First, make sure your package <emphasis>does</emphasis> fail to build on "
3360 "architectures that it cannot support. There are a few ways to achieve "
3361 "this. The preferred way is to have a small testsuite during build time that "
3362 "will test the functionality, and fail if it doesn't work. This is a good "
3363 "idea anyway, as this will prevent (some) broken uploads on all "
3364 "architectures, and also will allow the package to build as soon as the "
3365 "required functionality is available."
3368 # type: Content of: <chapter><section><section><itemizedlist><listitem><para>
3369 #. type: Content of: <chapter><section><section><itemizedlist><listitem><para>
3372 "Additionally, if you believe the list of supported architectures is pretty "
3373 "constant, you should change <literal>any</literal> to a list of supported "
3374 "architectures in <filename>debian/control</filename>. This way, the build "
3375 "will fail also, and indicate this to a human reader without actually trying."
3378 #. type: Content of: <chapter><section><section><itemizedlist><listitem><para>
3381 "In order to prevent autobuilders from needlessly trying to build your "
3382 "package, it must be included in <filename>Packages-arch-specific</filename>, "
3383 "a list used by the <command>wanna-build</command> script. The current "
3384 "version is available as <ulink url=\"&url-buildd-p-a-s;\"/>; please see the "
3385 "top of the file for whom to contact for changes."
3388 #. type: Content of: <chapter><section><section><para>
3391 "Please note that it is insufficient to only add your package to "
3392 "<filename>Packages-arch-specific</filename> without making it fail to build "
3393 "on unsupported architectures: A porter or any other person trying to build "
3394 "your package might accidently upload it without noticing it doesn't work. "
3395 "If in the past some binary packages were uploaded on unsupported "
3396 "architectures, request their removal by filing a bug against <systemitem "
3397 "role=\"package\">ftp.debian.org</systemitem>."
3400 # type: Content of: <chapter><section><title>
3401 #. type: Content of: <chapter><section><title>
3403 msgid "Non-Maintainer Uploads (NMUs)"
3404 msgstr "Non-Maintainer Upload (NMU)"
3406 #. type: Content of: <chapter><section><para>
3409 "Every package has one or more maintainers. Normally, these are the people "
3410 "who work on and upload new versions of the package. In some situations, it "
3411 "is useful that other developers can upload a new version as well, for "
3412 "example if they want to fix a bug in a package they don't maintain, when the "
3413 "maintainer needs help to respond to issues. Such uploads are called "
3414 "<emphasis>Non-Maintainer Uploads (NMU)</emphasis>."
3417 # type: Content of: <chapter><section><section><title>
3418 #. type: Content of: <chapter><section><section><title>
3420 msgid "When and how to do an NMU"
3421 msgstr "いつ、どうやって NMU を行うか"
3423 #. type: Content of: <chapter><section><section><para>
3425 msgid "Before doing an NMU, consider the following questions:"
3426 msgstr "NMU を行う前に、以下の質問について考えてください:"
3428 #. type: Content of: <chapter><section><section><itemizedlist><listitem><para>
3431 "Does your NMU really fix bugs? Fixing cosmetic issues or changing the "
3432 "packaging style in NMUs is discouraged."
3435 #. type: Content of: <chapter><section><section><itemizedlist><listitem><para>
3438 "Did you give enough time to the maintainer? When was the bug reported to the "
3439 "BTS? Being busy for a week or two isn't unusual. Is the bug so severe that "
3440 "it needs to be fixed right now, or can it wait a few more days?"
3443 #. type: Content of: <chapter><section><section><itemizedlist><listitem><para>
3446 "How confident are you about your changes? Please remember the Hippocratic "
3447 "Oath: \"Above all, do no harm.\" It is better to leave a package with an "
3448 "open grave bug than applying a non-functional patch, or one that hides the "
3449 "bug instead of resolving it. If you are not 100% sure of what you did, it "
3450 "might be a good idea to seek advice from others. Remember that if you break "
3451 "something in your NMU, many people will be very unhappy about it."
3454 #. type: Content of: <chapter><section><section><itemizedlist><listitem><para>
3457 "Have you clearly expressed your intention to NMU, at least in the BTS? It is "
3458 "also a good idea to try to contact the maintainer by other means (private "
3462 #. type: Content of: <chapter><section><section><itemizedlist><listitem><para>
3465 "If the maintainer is usually active and responsive, have you tried to "
3466 "contact him? In general it should be considered preferable that a maintainer "
3467 "takes care of an issue himself and that he is given the chance to review and "
3468 "correct your patch, because he can be expected to be more aware of potential "
3469 "issues which an NMUer might miss. It is often a better use of everyone's "
3470 "time if the maintainer is given an opportunity to upload a fix on their own."
3473 #. type: Content of: <chapter><section><section><para>
3476 "When doing an NMU, you must first make sure that your intention to NMU is "
3477 "clear. Then, you must send a patch with the differences between the current "
3478 "package and your proposed NMU to the BTS. The <command>nmudiff</command> "
3479 "script in the <systemitem role=\"package\">devscripts</systemitem> package "
3483 #. type: Content of: <chapter><section><section><para>
3486 "While preparing the patch, you should better be aware of any package-"
3487 "specific practices that the maintainer might be using. Taking them into "
3488 "account reduces the burden of getting your changes integrated back in the "
3489 "normal package workflow and thus increases the possibilities that that will "
3490 "happen. A good place where to look for for possible package-specific "
3491 "practices is <ulink url=\"&url-debian-policy;ch-source.html#s-readmesource"
3492 "\"><filename>debian/README.source</filename></ulink>."
3495 #. type: Content of: <chapter><section><section><para>
3498 "Unless you have an excellent reason not to do so, you must then give some "
3499 "time to the maintainer to react (for example, by uploading to the "
3500 "<literal>DELAYED</literal> queue). Here are some recommended values to use "
3504 #. type: Content of: <chapter><section><section><itemizedlist><listitem><para>
3506 msgid "Upload fixing only release-critical bugs older than 7 days: 2 days"
3508 "7 日以上経っているリリースクリティカルバグのみを修正するアップロード: 2 日"
3510 #. type: Content of: <chapter><section><section><itemizedlist><listitem><para>
3512 msgid "Upload fixing only release-critical and important bugs: 5 days"
3513 msgstr "リリースクリティカルバグや重要なバグの修正のみのアップロード: 5 日"
3515 #. type: Content of: <chapter><section><section><itemizedlist><listitem><para>
3517 msgid "Other NMUs: 10 days"
3518 msgstr "他の NMU: 10 日"
3520 #. type: Content of: <chapter><section><section><para>
3523 "Those delays are only examples. In some cases, such as uploads fixing "
3524 "security issues, or fixes for trivial bugs that blocking a transition, it is "
3525 "desirable that the fixed package reaches <literal>unstable</literal> sooner."
3528 #. type: Content of: <chapter><section><section><para>
3531 "Sometimes, release managers decide to allow NMUs with shorter delays for a "
3532 "subset of bugs (e.g release-critical bugs older than 7 days). Also, some "
3533 "maintainers list themselves in the <ulink url=\"&url-low-threshold-nmu;"
3534 "\">Low Threshold NMU list</ulink>, and accept that NMUs are uploaded without "
3535 "delay. But even in those cases, it's still a good idea to give the "
3536 "maintainer a few days to react before you upload, especially if the patch "
3537 "wasn't available in the BTS before, or if you know that the maintainer is "
3541 #. type: Content of: <chapter><section><section><para>
3544 "After you upload an NMU, you are responsible for the possible problems that "
3545 "you might have introduced. You must keep an eye on the package (subscribing "
3546 "to the package on the PTS is a good way to achieve this)."
3549 #. type: Content of: <chapter><section><section><para>
3552 "This is not a license to perform NMUs thoughtlessly. If you NMU when it is "
3553 "clear that the maintainers are active and would have acknowledged a patch in "
3554 "a timely manner, or if you ignore the recommendations of this document, your "
3555 "upload might be a cause of conflict with the maintainer. You should always "
3556 "be prepared to defend the wisdom of any NMU you perform on its own merits."
3559 #. type: Content of: <chapter><section><section><title>
3561 msgid "NMUs and <filename>debian/changelog</filename>"
3562 msgstr "NMU と <filename>debian/changelog</filename>"
3564 #. type: Content of: <chapter><section><section><para>
3567 "Just like any other (source) upload, NMUs must add an entry to "
3568 "<filename>debian/changelog</filename>, telling what has changed with this "
3569 "upload. The first line of this entry must explicitely mention that this "
3570 "upload is an NMU, e.g.:"
3573 # type: Content of: <chapter><section><section><screen>
3574 #. type: Content of: <chapter><section><section><screen>
3577 msgid " * Non-maintainer upload.\n"
3578 msgstr " * Non-maintainer upload.\n"
3580 #. type: Content of: <chapter><section><section><para>
3582 msgid "The way to version NMUs differs for native and non-native packages."
3585 #. type: Content of: <chapter><section><section><para>
3588 "If the package is a native package (without a Debian revision in the version "
3589 "number), the version must be the version of the last maintainer upload, plus "
3590 "<literal>+nmu<replaceable>X</replaceable></literal>, where <replaceable>X</"
3591 "replaceable> is a counter starting at <literal>1</literal>. If the last "
3592 "upload was also an NMU, the counter should be increased. For example, if "
3593 "the current version is <literal>1.5</literal>, then an NMU would get version "
3594 "<literal>1.5+nmu1</literal>."
3597 #. type: Content of: <chapter><section><section><para>
3600 "If the package is a not a native package, you should add a minor version "
3601 "number to the Debian revision part of the version number (the portion after "
3602 "the last hyphen). This extra number must start at <literal>1</literal>. For "
3603 "example, if the current version is <literal>1.5-2</literal>, then an NMU "
3604 "would get version <literal>1.5-2.1</literal>. If a new upstream version is "
3605 "packaged in the NMU, the Debian revision is set to <literal>0</literal>, for "
3606 "example <literal>1.6-0.1</literal>."
3609 #. type: Content of: <chapter><section><section><para>
3612 "In both cases, if the last upload was also an NMU, the counter should be "
3613 "increased. For example, if the current version is <literal>1.5+nmu3</"
3614 "literal> (a native package which has already been NMUed), the NMU would get "
3615 "version <literal>1.5+nmu4</literal>."
3618 #. type: Content of: <chapter><section><section><para>
3621 "A special versioning scheme is needed to avoid disrupting the maintainer's "
3622 "work, since using an integer for the Debian revision will potentially "
3623 "conflict with a maintainer upload already in preparation at the time of an "
3624 "NMU, or even one sitting in the ftp NEW queue. It also has the benefit of "
3625 "making it visually clear that a package in the archive was not made by the "
3626 "official maintainer."
3629 #. type: Content of: <chapter><section><section><para>
3632 "If you upload a package to testing or stable, you sometimes need to \"fork\" "
3633 "the version number tree. This is the case for security uploads, for "
3634 "example. For this, a version of the form <literal>+deb<replaceable>XY</"
3635 "replaceable>u<replaceable>Z</replaceable></literal> should be used, where "
3636 "<replaceable>X</replaceable> and <replaceable>Y</replaceable> are the major "
3637 "and minor release numbers, and <replaceable>Z</replaceable> is a counter "
3638 "starting at <literal>1</literal>. When the release number is not yet known "
3639 "(often the case for <literal>testing</literal>, at the beginning of release "
3640 "cycles), the lowest release number higher than the last stable release "
3641 "number must be used. For example, while Lenny (Debian 5.0) is stable, a "
3642 "security NMU to stable for a package at version <literal>1.5-3</literal> "
3643 "would have version <literal>1.5-3+deb50u1</literal>, whereas a security NMU "
3644 "to Squeeze would get version <literal>1.5-3+deb60u1</literal>. After the "
3645 "release of Squeeze, security uploads to the <literal>testing</literal> "
3646 "distribution will be versioned <literal>+deb61uZ</literal>, until it is "
3647 "known whether that release will be Debian 6.1 or Debian 7.0 (if that becomes "
3648 "the case, uploads will be versioned as <literal>+deb70uZ</literal>)."
3651 # type: Content of: <chapter><section><section><title>
3652 #. type: Content of: <chapter><section><section><title>
3654 msgid "Using the <literal>DELAYED/</literal> queue"
3655 msgstr "<literal>DELAYED/</literal> キューを使う"
3657 #. type: Content of: <chapter><section><section><para>
3660 "Having to wait for a response after you request permission to NMU is "
3661 "inefficient, because it costs the NMUer a context switch to come back to the "
3662 "issue. The <literal>DELAYED</literal> queue (see <xref linkend=\"delayed-"
3663 "incoming\"/>) allows the developer doing the NMU to perform all the "
3664 "necessary tasks at the same time. For instance, instead of telling the "
3665 "maintainer that you will upload the updated package in 7 days, you should "
3666 "upload the package to <literal>DELAYED/7</literal> and tell the maintainer "
3667 "that he has 7 days to react. During this time, the maintainer can ask you "
3668 "to delay the upload some more, or cancel your upload."
3671 #. type: Content of: <chapter><section><section><para>
3674 "The <literal>DELAYED</literal> queue should not be used to put additional "
3675 "pressure on the maintainer. In particular, it's important that you are "
3676 "available to cancel or delay the upload before the delay expires since the "
3677 "maintainer cannot cancel the upload himself."
3680 #. type: Content of: <chapter><section><section><para>
3683 "If you make an NMU to <literal>DELAYED</literal> and the maintainer updates "
3684 "his package before the delay expires, your upload will be rejected because a "
3685 "newer version is already available in the archive. Ideally, the maintainer "
3686 "will take care to include your proposed changes (or at least a solution for "
3687 "the problems they address) in that upload."
3690 #. type: Content of: <chapter><section><section><title>
3692 msgid "NMUs from the maintainer's point of view"
3693 msgstr "メンテナの視点から見た NMU"
3695 #. type: Content of: <chapter><section><section><para>
3698 "When someone NMUs your package, this means they want to help you to keep it "
3699 "in good shape. This gives users fixed packages faster. You can consider "
3700 "asking the NMUer to become a co-maintainer of the package. Receiving an NMU "
3701 "on a package is not a bad thing; it just means that the package is "
3702 "interesting enough for other people to work on it."
3705 #. type: Content of: <chapter><section><section><para>
3708 "To acknowledge an NMU, include its changes and changelog entry in your next "
3709 "maintainer upload. If you do not acknowledge the NMU by including the NMU "
3710 "changelog entry in your changelog, the bugs will remain closed in the BTS "
3711 "but will be listed as affecting your maintainer version of the package."
3714 #. type: Content of: <chapter><section><section><title>
3716 msgid "Source NMUs vs Binary-only NMUs (binNMUs)"
3717 msgstr "ソース NMU vs バイナリのみの NMU (binNMU)"
3719 #. type: Content of: <chapter><section><section><para>
3722 "The full name of an NMU is <emphasis>source NMU</emphasis>. There is also "
3723 "another type, namely the <emphasis>binary-only NMU</emphasis>, or "
3724 "<emphasis>binNMU</emphasis>. A binNMU is also a package upload by someone "
3725 "other than the package's maintainer. However, it is a binary-only upload."
3728 #. type: Content of: <chapter><section><section><para>
3731 "When a library (or other dependency) is updated, the packages using it may "
3732 "need to be rebuilt. Since no changes to the source are needed, the same "
3733 "source package is used."
3736 #. type: Content of: <chapter><section><section><para>
3739 "BinNMUs are usually triggered on the buildds by wanna-build. An entry is "
3740 "added to <filename>debian/changelog</filename>, explaining why the upload "
3741 "was needed and increasing the version number as described in <xref linkend="
3742 "\"binary-only-nmu\"/>. This entry should not be included in the next upload."
3745 #. type: Content of: <chapter><section><section><para>
3748 "Buildds upload packages for their architecture to the archive as binary-only "
3749 "uploads. Strictly speaking, these are binNMUs. However, they are not "
3750 "normally called NMU, and they don't add an entry to <filename>debian/"
3751 "changelog</filename>."
3754 #. type: Content of: <chapter><section><section><title>
3756 msgid "NMUs vs QA uploads"
3757 msgstr "NMU vs QA アップロード"
3759 #. type: Content of: <chapter><section><section><para>
3762 "NMUs are uploads of packages by somebody else than their assigned "
3763 "maintainer. There is another type of upload where the uploaded package is "
3764 "not yours: QA uploads. QA uploads are uploads of orphaned packages."
3767 #. type: Content of: <chapter><section><section><para>
3770 "QA uploads are very much like normal maintainer uploads: they may fix "
3771 "anything, even minor issues; the version numbering is normal, and there is "
3772 "no need to use a delayed upload. The difference is that you are not listed "
3773 "as the <literal>Maintainer</literal> or <literal>Uploader</literal> for the "
3774 "package. Also, the changelog entry of a QA upload has a special first line:"
3777 #. type: Content of: <chapter><section><section><screen>
3780 msgid " * QA upload.\n"
3781 msgstr " * QA upload.\n"
3783 #. type: Content of: <chapter><section><section><para>
3786 "If you want to do an NMU, and it seems that the maintainer is not active, it "
3787 "is wise to check if the package is orphaned (this information is displayed "
3788 "on the package's Package Tracking System page). When doing the first QA "
3789 "upload to an orphaned package, the maintainer should be set to "
3790 "<literal>Debian QA Group <packages@qa.debian.org></literal>. Orphaned "
3791 "packages which did not yet have a QA upload still have their old maintainer "
3792 "set. There is a list of them at <ulink url=\"&url-orphaned-not-qa;\"/>."
3795 #. type: Content of: <chapter><section><section><para>
3798 "Instead of doing a QA upload, you can also consider adopting the package by "
3799 "making yourself the maintainer. You don't need permission from anybody to "
3800 "adopt an orphaned package, you can just set yourself as maintainer and "
3801 "upload the new version (see <xref linkend=\"adopting\"/>)."
3804 #. type: Content of: <chapter><section><section><title>
3806 msgid "NMUs vs team uploads"
3807 msgstr "NMU vs チームアップロード"
3809 #. type: Content of: <chapter><section><section><para>
3812 "Sometimes you are fixing and/or updating a package because you are member of "
3813 "a packaging team (which uses a mailing list as <literal>Maintainer</literal> "
3814 "or <literal>Uploader</literal>, see <xref linkend=\"collaborative-maint\"/>) "
3815 "but you don't want to add yourself to <literal>Uploaders</literal> because "
3816 "you do not plan to contribute regularly to this specific package. If it "
3817 "conforms with your team's policy, you can perform a normal upload without "
3818 "being listed directly as <literal>Maintainer</literal> or <literal>Uploader</"
3819 "literal>. In that case, you should start your changelog entry with the "
3823 #. type: Content of: <chapter><section><section><screen>
3826 msgid " * Team upload.\n"
3827 msgstr " * Team upload.\n"
3829 # type: Content of: <chapter><section><title>
3830 #. type: Content of: <chapter><section><title>
3832 msgid "Collaborative maintenance"
3835 #. type: Content of: <chapter><section><para>
3838 "Collaborative maintenance is a term describing the sharing of Debian package "
3839 "maintenance duties by several people. This collaboration is almost always a "
3840 "good idea, since it generally results in higher quality and faster bug fix "
3841 "turnaround times. It is strongly recommended that packages with a priority "
3842 "of <literal>standard</literal> or which are part of the base set have co-"
3846 # type: Content of: <chapter><section><para>
3847 #. type: Content of: <chapter><section><para>
3850 "Generally there is a primary maintainer and one or more co-maintainers. The "
3851 "primary maintainer is the person whose name is listed in the "
3852 "<literal>Maintainer</literal> field of the <filename>debian/control</"
3853 "filename> file. Co-maintainers are all the other maintainers, usually "
3854 "listed in the <literal>Uploaders</literal> field of the <filename>debian/"
3855 "control</filename> file."
3858 # type: Content of: <chapter><section><para>
3859 #. type: Content of: <chapter><section><para>
3862 "In its most basic form, the process of adding a new co-maintainer is quite "
3866 #. type: Content of: <chapter><section><itemizedlist><listitem><para>
3869 "Setup the co-maintainer with access to the sources you build the package "
3870 "from. Generally this implies you are using a network-capable version "
3871 "control system, such as <literal>CVS</literal> or <literal>Subversion</"
3872 "literal>. Alioth (see <xref linkend=\"alioth\"/>) provides such tools, "
3876 # type: Content of: <chapter><section><itemizedlist><listitem><para>
3877 #. type: Content of: <chapter><section><itemizedlist><listitem><para>
3880 "Add the co-maintainer's correct maintainer name and address to the "
3881 "<literal>Uploaders</literal> field in the first paragraph of the "
3882 "<filename>debian/control</filename> file."
3885 # type: Content of: <chapter><section><itemizedlist><listitem><screen>
3886 #. type: Content of: <chapter><section><itemizedlist><listitem><screen>
3889 msgid "Uploaders: John Buzz <jbuzz@debian.org>, Adam Rex <arex@debian.org>\n"
3890 msgstr "Uploaders: John Buzz <jbuzz@debian.org>, Adam Rex <arex@debian.org>\n"
3892 #. type: Content of: <chapter><section><itemizedlist><listitem><para>
3895 "Using the PTS (<xref linkend=\"pkg-tracking-system\"/>), the co-maintainers "
3896 "should subscribe themselves to the appropriate source package."
3899 #. type: Content of: <chapter><section><para>
3902 "Another form of collaborative maintenance is team maintenance, which is "
3903 "recommended if you maintain several packages with the same group of "
3904 "developers. In that case, the <literal>Maintainer</literal> and "
3905 "<literal>Uploaders</literal> field of each package must be managed with "
3906 "care. It is recommended to choose between one of the two following schemes:"
3909 #. type: Content of: <chapter><section><orderedlist><listitem><para>
3912 "Put the team member mainly responsible for the package in the "
3913 "<literal>Maintainer</literal> field. In the <literal>Uploaders</literal>, "
3914 "put the mailing list address, and the team members who care for the package."
3917 #. type: Content of: <chapter><section><orderedlist><listitem><para>
3920 "Put the mailing list address in the <literal>Maintainer</literal> field. In "
3921 "the <literal>Uploaders</literal> field, put the team members who care for "
3922 "the package. In this case, you must make sure the mailing list accept bug "
3923 "reports without any human interaction (like moderation for non-subscribers)."
3926 #. type: Content of: <chapter><section><para>
3929 "In any case, it is a bad idea to automatically put all team members in the "
3930 "<literal>Uploaders</literal> field. It clutters the Developer's Package "
3931 "Overview listing (see <xref linkend=\"ddpo\"/>) with packages one doesn't "
3932 "really care for, and creates a false sense of good maintenance. For the same "
3933 "reason, team members do not need to add themselves to the "
3934 "<literal>Uploaders</literal> field just because they are uploading the "
3935 "package once, they can do a “Team upload” (see <xref linkend=\"nmu-team-"
3936 "upload\"/>). Conversely, it it a bad idea to keep a package with only the "
3937 "mailing list address as a <literal>Maintainer</literal> and no "
3938 "<literal>Uploaders</literal>."
3941 # type: Content of: <chapter><section><title>
3942 #. type: Content of: <chapter><section><title>
3944 msgid "The testing distribution"
3945 msgstr "テスト版ディストリビューション"
3947 # type: Content of: <chapter><section><section><title>
3948 #. type: Content of: <chapter><section><section><title>
3953 # type: Content of: <chapter><section><section><para>
3954 #. type: Content of: <chapter><section><section><para>
3957 "Packages are usually installed into the <literal>testing</literal> "
3958 "distribution after they have undergone some degree of <literal>testing</"
3959 "literal> in <literal>unstable</literal>."
3962 #. type: Content of: <chapter><section><section><para>
3965 "They must be in sync on all architectures and mustn't have dependencies that "
3966 "make them uninstallable; they also have to have generally no known release-"
3967 "critical bugs at the time they're installed into <literal>testing</"
3968 "literal>. This way, <literal>testing</literal> should always be close to "
3969 "being a release candidate. Please see below for details."
3972 # type: Content of: <chapter><section><section><title>
3973 #. type: Content of: <chapter><section><section><title>
3975 msgid "Updates from unstable"
3978 # type: Content of: <chapter><section><section><para>
3979 #. type: Content of: <chapter><section><section><para>
3982 "The scripts that update the <literal>testing</literal> distribution are run "
3983 "twice each day, right after the installation of the updated packages; these "
3984 "scripts are called <literal>britney</literal>. They generate the "
3985 "<filename>Packages</filename> files for the <literal>testing</literal> "
3986 "distribution, but they do so in an intelligent manner; they try to avoid any "
3987 "inconsistency and to use only non-buggy packages."
3990 # type: Content of: <chapter><section><section><para>
3991 #. type: Content of: <chapter><section><section><para>
3994 "The inclusion of a package from <literal>unstable</literal> is conditional "
3998 # type: Content of: <chapter><section><section><itemizedlist><listitem><para>
3999 #. type: Content of: <chapter><section><section><itemizedlist><listitem><para>
4002 "The package must have been available in <literal>unstable</literal> for 2, 5 "
4003 "or 10 days, depending on the urgency (high, medium or low). Please note "
4004 "that the urgency is sticky, meaning that the highest urgency uploaded since "
4005 "the previous <literal>testing</literal> transition is taken into account. "
4006 "Those delays may be doubled during a freeze, or <literal>testing</literal> "
4007 "transitions may be switched off altogether;"
4010 # type: Content of: <chapter><section><section><itemizedlist><listitem><para>
4011 #. type: Content of: <chapter><section><section><itemizedlist><listitem><para>
4014 "It must not have new release-critical bugs (RC bugs affecting the version "
4015 "available in <literal>unstable</literal>, but not affecting the version in "
4016 "<literal>testing</literal>);"
4019 #. type: Content of: <chapter><section><section><itemizedlist><listitem><para>
4022 "It must be available on all architectures on which it has previously been "
4023 "built in <literal>unstable</literal>. <link linkend=\"dak-ls\">dak ls</link> "
4024 "may be of interest to check that information;"
4027 # type: Content of: <chapter><section><section><itemizedlist><listitem><para>
4028 #. type: Content of: <chapter><section><section><itemizedlist><listitem><para>
4031 "It must not break any dependency of a package which is already available in "
4032 "<literal>testing</literal>;"
4035 #. type: Content of: <chapter><section><section><itemizedlist><listitem><para>
4038 "The packages on which it depends must either be available in "
4039 "<literal>testing</literal> or they must be accepted into <literal>testing</"
4040 "literal> at the same time (and they will be if they fulfill all the "
4041 "necessary criteria)."
4044 # type: Content of: <chapter><section><section><para>
4045 #. type: Content of: <chapter><section><section><para>
4048 "To find out whether a package is progressing into <literal>testing</literal> "
4049 "or not, see the <literal>testing</literal> script output on the <ulink url="
4050 "\"&url-testing-maint;\">web page of the testing distribution</ulink>, or use "
4051 "the program <command>grep-excuses</command> which is in the <systemitem role="
4052 "\"package\">devscripts</systemitem> package. This utility can easily be "
4053 "used in a <citerefentry> <refentrytitle>crontab</refentrytitle> "
4054 "<manvolnum>5</manvolnum> </citerefentry> to keep yourself informed of the "
4055 "progression of your packages into <literal>testing</literal>."
4058 # type: Content of: <chapter><section><section><para>
4059 #. type: Content of: <chapter><section><section><para>
4062 "The <filename>update_excuses</filename> file does not always give the "
4063 "precise reason why the package is refused; you may have to find it on your "
4064 "own by looking for what would break with the inclusion of the package. The "
4065 "<ulink url=\"&url-testing-maint;\">testing web page</ulink> gives some more "
4066 "information about the usual problems which may be causing such troubles."
4069 # type: Content of: <chapter><section><section><para>
4070 #. type: Content of: <chapter><section><section><para>
4073 "Sometimes, some packages never enter <literal>testing</literal> because the "
4074 "set of inter-relationship is too complicated and cannot be sorted out by the "
4075 "scripts. See below for details."
4078 # type: Content of: <chapter><section><section><para>
4079 #. type: Content of: <chapter><section><section><para>
4082 "Some further dependency analysis is shown on <ulink url=\"http://release."
4083 "debian.org/migration/\"></ulink> — but be warned, this page also shows build "
4084 "dependencies which are not considered by britney."
4087 #. type: Content of: <chapter><section><section><section><title>
4092 # type: Content of: <chapter><section><section><section><para>
4093 #. FIXME: better rename this file than document rampant professionalism?
4094 #. type: Content of: <chapter><section><section><section><para>
4097 "For the <literal>testing</literal> migration script, outdated means: There "
4098 "are different versions in <literal>unstable</literal> for the release "
4099 "architectures (except for the architectures in fuckedarches; fuckedarches is "
4100 "a list of architectures that don't keep up (in <filename>update_out.py</"
4101 "filename>), but currently, it's empty). outdated has nothing whatsoever to "
4102 "do with the architectures this package has in <literal>testing</literal>."
4105 # type: Content of: <chapter><section><section><section><para>
4106 #. type: Content of: <chapter><section><section><section><para>
4108 msgid "Consider this example:"
4111 # type: Content of: <chapter><section><section><section><informaltable><tgroup><thead><row><entry>
4112 #. type: Content of: <chapter><section><section><section><informaltable><tgroup><thead><row><entry>
4113 #: pkgs.dbk:2422 pkgs.dbk:2455
4117 # type: Content of: <chapter><section><section><section><informaltable><tgroup><thead><row><entry>
4118 #. type: Content of: <chapter><section><section><section><informaltable><tgroup><thead><row><entry>
4119 #: pkgs.dbk:2423 pkgs.dbk:2456
4123 # type: Content of: <chapter><section><section><section><informaltable><tgroup><thead><row><entry>
4124 #. type: Content of: <chapter><section><section><section><informaltable><tgroup><thead><row><entry>
4125 #: pkgs.dbk:2428 pkgs.dbk:2462 pkgs.dbk:2524
4129 # type: Content of: <chapter><section><section><section><informaltable><tgroup><tbody><row><entry>
4130 #. type: Content of: <chapter><section><section><section><informaltable><tgroup><tbody><row><entry>
4131 #: pkgs.dbk:2429 pkgs.dbk:2434 pkgs.dbk:2463 pkgs.dbk:2464 pkgs.dbk:2471
4135 # type: Content of: <chapter><section><section><section><informaltable><tgroup><tbody><row><entry>
4136 #. type: Content of: <chapter><section><section><section><informaltable><tgroup><tbody><row><entry>
4137 #: pkgs.dbk:2430 pkgs.dbk:2465 pkgs.dbk:2470
4141 # type: Content of: <chapter><section><section><section><informaltable><tgroup><thead><row><entry>
4142 #. type: Content of: <chapter><section><section><section><informaltable><tgroup><thead><row><entry>
4143 #: pkgs.dbk:2433 pkgs.dbk:2468 pkgs.dbk:2525
4147 # type: Content of: <chapter><section><section><section><informaltable><tgroup><tbody><row><entry>
4148 #. type: Content of: <chapter><section><section><section><informaltable><tgroup><tbody><row><entry>
4149 #: pkgs.dbk:2435 pkgs.dbk:2469
4153 #. type: Content of: <chapter><section><section><section><para>
4156 "The package is out of date on <literal>alpha</literal> in <literal>unstable</"
4157 "literal>, and will not go to <literal>testing</literal>. Removing the "
4158 "package would not help at all, the package is still out of date on "
4159 "<literal>alpha</literal>, and will not propagate to <literal>testing</"
4163 # type: Content of: <chapter><section><section><section><para>
4164 #. type: Content of: <chapter><section><section><section><para>
4167 "However, if ftp-master removes a package in <literal>unstable</literal> "
4168 "(here on <literal>arm</literal>):"
4171 # type: Content of: <chapter><section><section><section><informaltable><tgroup><thead><row><entry>
4172 #. type: Content of: <chapter><section><section><section><informaltable><tgroup><thead><row><entry>
4177 # type: Content of: <chapter><section><section><section><para>
4178 #. type: Content of: <chapter><section><section><section><para>
4181 "In this case, the package is up to date on all release architectures in "
4182 "<literal>unstable</literal> (and the extra <literal>hurd-i386</literal> "
4183 "doesn't matter, as it's not a release architecture)."
4186 # type: Content of: <chapter><section><section><section><para>
4187 #. type: Content of: <chapter><section><section><section><para>
4190 "Sometimes, the question is raised if it is possible to allow packages in "
4191 "that are not yet built on all architectures: No. Just plainly no. (Except "
4192 "if you maintain glibc or so.)"
4195 # type: Content of: <chapter><section><section><section><title>
4196 #. type: Content of: <chapter><section><section><section><title>
4198 msgid "Removals from testing"
4201 # type: Content of: <chapter><section><section><section><para>
4202 #. type: Content of: <chapter><section><section><section><para>
4205 "Sometimes, a package is removed to allow another package in: This happens "
4206 "only to allow <emphasis>another</emphasis> package to go in if it's ready in "
4207 "every other sense. Suppose e.g. that <literal>a</literal> cannot be "
4208 "installed with the new version of <literal>b</literal>; then <literal>a</"
4209 "literal> may be removed to allow <literal>b</literal> in."
4212 #. type: Content of: <chapter><section><section><section><para>
4215 "Of course, there is another reason to remove a package from "
4216 "<literal>testing</literal>: It's just too buggy (and having a single RC-bug "
4217 "is enough to be in this state)."
4220 # type: Content of: <chapter><section><section><section><para>
4221 #. type: Content of: <chapter><section><section><section><para>
4224 "Furthermore, if a package has been removed from <literal>unstable</literal>, "
4225 "and no package in <literal>testing</literal> depends on it any more, then it "
4226 "will automatically be removed."
4229 #. type: Content of: <chapter><section><section><section><title>
4231 msgid "Circular dependencies"
4234 # type: Content of: <chapter><section><section><section><para>
4235 #. type: Content of: <chapter><section><section><section><para>
4238 "A situation which is not handled very well by britney is if package "
4239 "<literal>a</literal> depends on the new version of package <literal>b</"
4240 "literal>, and vice versa."
4243 # type: Content of: <chapter><section><section><section><para>
4244 #. type: Content of: <chapter><section><section><section><para>
4246 msgid "An example of this is:"
4249 # type: Content of: <chapter><section><section><section><informaltable><tgroup><tbody><row><entry>
4250 #. type: Content of: <chapter><section><section><section><informaltable><tgroup><tbody><row><entry>
4255 # type: Content of: <chapter><section><section><section><informaltable><tgroup><tbody><row><entry>
4256 #. type: Content of: <chapter><section><section><section><informaltable><tgroup><tbody><row><entry>
4258 msgid "1; depends: b=1"
4259 msgstr "1; depends: b=1"
4261 # type: Content of: <chapter><section><section><section><informaltable><tgroup><tbody><row><entry>
4262 #. type: Content of: <chapter><section><section><section><informaltable><tgroup><tbody><row><entry>
4264 msgid "2; depends: b=2"
4265 msgstr "2; depends: b=2"
4267 # type: Content of: <chapter><section><section><section><informaltable><tgroup><tbody><row><entry>
4268 #. type: Content of: <chapter><section><section><section><informaltable><tgroup><tbody><row><entry>
4273 # type: Content of: <chapter><section><section><section><informaltable><tgroup><tbody><row><entry>
4274 #. type: Content of: <chapter><section><section><section><informaltable><tgroup><tbody><row><entry>
4276 msgid "1; depends: a=1"
4277 msgstr "1; depends: a=1"
4279 # type: Content of: <chapter><section><section><section><informaltable><tgroup><tbody><row><entry>
4280 #. type: Content of: <chapter><section><section><section><informaltable><tgroup><tbody><row><entry>
4282 msgid "2; depends: a=2"
4283 msgstr "2; depends: a=2"
4285 # type: Content of: <chapter><section><section><section><para>
4286 #. type: Content of: <chapter><section><section><section><para>
4289 "Neither package <literal>a</literal> nor package <literal>b</literal> is "
4290 "considered for update."
4293 # type: Content of: <chapter><section><section><section><para>
4294 #. type: Content of: <chapter><section><section><section><para>
4297 "Currently, this requires some manual hinting from the release team. Please "
4298 "contact them by sending mail to &email-debian-release; if this happens to "
4299 "one of your packages."
4302 # type: Content of: <chapter><section><section><section><title>
4303 #. type: Content of: <chapter><section><section><section><title>
4305 msgid "Influence of package in testing"
4306 msgstr "テスト版 (testing) にあるパッケージへの影響"
4308 #. type: Content of: <chapter><section><section><section><para>
4311 "Generally, there is nothing that the status of a package in "
4312 "<literal>testing</literal> means for transition of the next version from "
4313 "<literal>unstable</literal> to <literal>testing</literal>, with two "
4314 "exceptions: If the RC-bugginess of the package goes down, it may go in even "
4315 "if it is still RC-buggy. The second exception is if the version of the "
4316 "package in <literal>testing</literal> is out of sync on the different "
4317 "arches: Then any arch might just upgrade to the version of the source "
4318 "package; however, this can happen only if the package was previously forced "
4319 "through, the arch is in fuckedarches, or there was no binary package of that "
4320 "arch present in <literal>unstable</literal> at all during the "
4321 "<literal>testing</literal> migration."
4324 #. type: Content of: <chapter><section><section><section><para>
4327 "In summary this means: The only influence that a package being in "
4328 "<literal>testing</literal> has on a new version of the same package is that "
4329 "the new version might go in easier."
4332 #. type: Content of: <chapter><section><section><section><title>
4337 # type: Content of: <chapter><section><section><section><para>
4338 #. type: Content of: <chapter><section><section><section><para>
4340 msgid "If you are interested in details, this is how britney works:"
4343 # type: Content of: <chapter><section><section><section><para>
4344 #. type: Content of: <chapter><section><section><section><para>
4347 "The packages are looked at to determine whether they are valid candidates. "
4348 "This gives the update excuses. The most common reasons why a package is not "
4349 "considered are too young, RC-bugginess, and out of date on some arches. For "
4350 "this part of britney, the release managers have hammers of various sizes to "
4351 "force britney to consider a package. (Also, the base freeze is coded in "
4352 "that part of britney.) (There is a similar thing for binary-only updates, "
4353 "but this is not described here. If you're interested in that, please peruse "
4357 #. type: Content of: <chapter><section><section><section><para>
4360 "Now, the more complex part happens: Britney tries to update "
4361 "<literal>testing</literal> with the valid candidates. For that, britney "
4362 "tries to add each valid candidate to the testing distribution. If the number "
4363 "of uninstallable packages in <literal>testing</literal> doesn't increase, "
4364 "the package is accepted. From that point on, the accepted package is "
4365 "considered to be part of <literal>testing</literal>, such that all "
4366 "subsequent installability tests include this package. Hints from the "
4367 "release team are processed before or after this main run, depending on the "
4371 #. type: Content of: <chapter><section><section><section><para>
4374 "If you want to see more details, you can look it up on <filename>merkel:/org/"
4375 "&ftp-debian-org;/testing/update_out/</filename> (or in <filename>merkel:~aba/"
4376 "testing/update_out</filename> to see a setup with a smaller packages file). "
4377 "Via web, it's at <ulink url=\"http://&ftp-master-host;/testing/"
4378 "update_out_code/\"></ulink>."
4381 # type: Content of: <chapter><section><section><section><para>
4382 #. type: Content of: <chapter><section><section><section><para>
4385 "The hints are available via <ulink url=\"http://&ftp-master-host;/testing/"
4386 "hints/\"></ulink>."
4389 # type: Content of: <chapter><section><section><title>
4390 #. type: Content of: <chapter><section><section><title>
4392 msgid "Direct updates to testing"
4393 msgstr "直接テスト版を更新する"
4395 #. type: Content of: <chapter><section><section><para>
4398 "The <literal>testing</literal> distribution is fed with packages from "
4399 "<literal>unstable</literal> according to the rules explained above. "
4400 "However, in some cases, it is necessary to upload packages built only for "
4401 "<literal>testing</literal>. For that, you may want to upload to "
4402 "<literal>testing-proposed-updates</literal>."
4405 # type: Content of: <chapter><section><section><para>
4406 #. type: Content of: <chapter><section><section><para>
4409 "Keep in mind that packages uploaded there are not automatically processed, "
4410 "they have to go through the hands of the release manager. So you'd better "
4411 "have a good reason to upload there. In order to know what a good reason is "
4412 "in the release managers' eyes, you should read the instructions that they "
4413 "regularly give on &email-debian-devel-announce;."
4416 #. type: Content of: <chapter><section><section><para>
4419 "You should not upload to <literal>testing-proposed-updates</literal> when "
4420 "you can update your packages through <literal>unstable</literal>. If you "
4421 "can't (for example because you have a newer development version in "
4422 "<literal>unstable</literal>), you may use this facility, but it is "
4423 "recommended that you ask for authorization from the release manager first. "
4424 "Even if a package is frozen, updates through <literal>unstable</literal> are "
4425 "possible, if the upload via <literal>unstable</literal> does not pull in any "
4429 #. type: Content of: <chapter><section><section><para>
4432 "Version numbers are usually selected by adding the codename of the "
4433 "<literal>testing</literal> distribution and a running number, like "
4434 "<literal>1.2squeeze1</literal> for the first upload through <literal>testing-"
4435 "proposed-updates</literal> of package version <literal>1.2</literal>."
4438 # type: Content of: <chapter><section><section><para>
4439 #. type: Content of: <chapter><section><section><para>
4441 msgid "Please make sure you didn't miss any of these items in your upload:"
4444 #. type: Content of: <chapter><section><section><itemizedlist><listitem><para>
4447 "Make sure that your package really needs to go through <literal>testing-"
4448 "proposed-updates</literal>, and can't go through <literal>unstable</literal>;"
4451 # type: Content of: <chapter><section><section><itemizedlist><listitem><para>
4452 #. type: Content of: <chapter><section><section><itemizedlist><listitem><para>
4454 msgid "Make sure that you included only the minimal amount of changes;"
4455 msgstr "必ず最小限な量だけの変更を含めるようにする;"
4457 # type: Content of: <chapter><section><section><itemizedlist><listitem><para>
4458 #. type: Content of: <chapter><section><section><itemizedlist><listitem><para>
4461 "Make sure that you included an appropriate explanation in the changelog;"
4464 # type: Content of: <chapter><section><section><itemizedlist><listitem><para>
4465 #. type: Content of: <chapter><section><section><itemizedlist><listitem><para>
4468 "Make sure that you've written <literal>testing</literal> or <literal>testing-"
4469 "proposed-updates</literal> into your target distribution;"
4472 # type: Content of: <chapter><section><section><itemizedlist><listitem><para>
4473 #. type: Content of: <chapter><section><section><itemizedlist><listitem><para>
4476 "Make sure that you've built and tested your package in <literal>testing</"
4477 "literal>, not in <literal>unstable</literal>;"
4480 # type: Content of: <chapter><section><section><itemizedlist><listitem><para>
4481 #. type: Content of: <chapter><section><section><itemizedlist><listitem><para>
4484 "Make sure that your version number is higher than the version in "
4485 "<literal>testing</literal> and <literal>testing-proposed-updates</literal>, "
4486 "and lower than in <literal>unstable</literal>;"
4489 # type: Content of: <chapter><section><section><itemizedlist><listitem><para>
4490 #. type: Content of: <chapter><section><section><itemizedlist><listitem><para>
4493 "After uploading and successful build on all platforms, contact the release "
4494 "team at &email-debian-release; and ask them to approve your upload."
4497 # type: Content of: <chapter><section><section><title>
4498 #. type: Content of: <chapter><section><section><title>
4500 msgid "Frequently asked questions"
4501 msgstr "よく聞かれる質問とその答え (FAQ)"
4503 # type: Content of: <chapter><section><section><section><title>
4504 #. type: Content of: <chapter><section><section><section><title>
4506 msgid "What are release-critical bugs, and how do they get counted?"
4507 msgstr "リリースクリティカルバグとは何ですか、どうやって数えるのですか?"
4509 # type: Content of: <chapter><section><section><section><para>
4510 #. type: Content of: <chapter><section><section><section><para>
4513 "All bugs of some higher severities are by default considered release-"
4514 "critical; currently, these are <literal>critical</literal>, <literal>grave</"
4515 "literal> and <literal>serious</literal> bugs."
4517 "ある重要度以上のバグすべてが通常リリースクリティカルであると見なされます。"
4518 "現在のところ、<literal>critical (致命的)</literal>、<literal>grave (重大)"
4519 "</literal>、<literal>serious (深刻)</literal> バグがそれにあたります。"
4521 #. type: Content of: <chapter><section><section><section><para>
4524 "Such bugs are presumed to have an impact on the chances that the package "
4525 "will be released with the <literal>stable</literal> release of Debian: in "
4526 "general, if a package has open release-critical bugs filed on it, it won't "
4527 "get into <literal>testing</literal>, and consequently won't be released in "
4528 "<literal>stable</literal>."
4530 "そのようなバグは、Debian の <literal>安定版 (stable)</literal> リリース時に、"
4531 "そのパッケージがリリースされる見込みに影響があるものと仮定されます: "
4532 "一般的に、パッケージでオープンになっているリリースクリティカルバグがある場合、"
4533 "そのパッケージは<literal>テスト版 (testing)</literal> に入らず、その結果"
4534 "<literal>安定版 (stable)</literal> ではリリースされません。"
4536 #. type: Content of: <chapter><section><section><section><para>
4539 "The <literal>unstable</literal> bug count are all release-critical bugs "
4540 "which are marked to apply to <replaceable>package</replaceable>/"
4541 "<replaceable>version</replaceable> combinations that are available in "
4542 "unstable for a release architecture. The <literal>testing</literal> bug "
4543 "count is defined analogously."
4545 "<literal>不安定版 (unstable)</literal> でのバグのカウント数は、リリース対象"
4546 "アーキテクチャの不安定版 (unstable) で利用可能な<replaceable>パッケージ"
4547 "</replaceable>/<replaceable>バージョン</replaceable>の組み合わせに適用される"
4548 "とマークされたすべてのリリースクリティカルバグです。<literal>テスト版 "
4549 "(testing)</literal> のバグのカウント数も同様に定義します。"
4551 # type: Content of: <chapter><section><section><section><title>
4552 #. type: Content of: <chapter><section><section><section><title>
4555 "How could installing a package into <literal>testing</literal> possibly "
4556 "break other packages?"
4558 "どのようにすれば、他のパッケージを壊す可能性があるパッケージを"
4559 "<literal>テスト版 (testing)</literal> へインストールできますか?"
4561 #. type: Content of: <chapter><section><section><section><para>
4564 "The structure of the distribution archives is such that they can only "
4565 "contain one version of a package; a package is defined by its name. So when "
4566 "the source package <literal>acmefoo</literal> is installed into "
4567 "<literal>testing</literal>, along with its binary packages <literal>acme-foo-"
4568 "bin</literal>, <literal>acme-bar-bin</literal>, <literal>libacme-foo1</"
4569 "literal> and <literal>libacme-foo-dev</literal>, the old version is removed."
4571 "ディストリビューションにおけるアーカイブの構造では、一つのバージョンのパッケージ"
4572 "だけを持つことができ、パッケージは名前によって定義されています。"
4573 "そのため、ソースパッケージ <literal>acmefoo</literal> が<literal>テスト"
4574 "版 (testing)</literal> にインストールされると、付随するバイナリパッケージ "
4575 "<literal>acme-foo-bin</literal>、<literal>acme-bar-bin</literal>、"
4576 "<literal>libacme-foo1</literal>、<literal>libacme-foo-dev</literal> の古い"
4579 # type: Content of: <chapter><section><section><section><para>
4580 #. type: Content of: <chapter><section><section><section><para>
4583 "However, the old version may have provided a binary package with an old "
4584 "soname of a library, such as <literal>libacme-foo0</literal>. Removing the "
4585 "old <literal>acmefoo</literal> will remove <literal>libacme-foo0</literal>, "
4586 "which will break any packages which depend on it."
4588 "しかし、古いバージョンではライブラリに古い soname を含んだ <literal>"
4589 "libacme-foo0</literal> のようなバイナリパッケージを提供しているかもしれません"
4590 "。古い <literal>acmefoo</literal> を削除するのは <literal>"
4591 "libacme-foo0</literal> を削除することになり、これに依存しているパッケージを"
4594 # type: Content of: <chapter><section><section><section><para>
4595 #. type: Content of: <chapter><section><section><section><para>
4598 "Evidently, this mainly affects packages which provide changing sets of "
4599 "binary packages in different versions (in turn, mainly libraries). However, "
4600 "it will also affect packages upon which versioned dependencies have been "
4601 "declared of the ==, <=, or << varieties."
4604 # type: Content of: <chapter><section><section><section><para>
4605 #. type: Content of: <chapter><section><section><section><para>
4608 "When the set of binary packages provided by a source package change in this "
4609 "way, all the packages that depended on the old binaries will have to be "
4610 "updated to depend on the new binaries instead. Because installing such a "
4611 "source package into <literal>testing</literal> breaks all the packages that "
4612 "depended on it in <literal>testing</literal>, some care has to be taken now: "
4613 "all the depending packages must be updated and ready to be installed "
4614 "themselves so that they won't be broken, and, once everything is ready, "
4615 "manual intervention by the release manager or an assistant is normally "
4619 # type: Content of: <chapter><section><section><section><para>
4620 #. type: Content of: <chapter><section><section><section><para>
4623 "If you are having problems with complicated groups of packages like this, "
4624 "contact &email-debian-devel; or &email-debian-release; for help."
4626 "この様に複雑な組み合わせのパッケージで問題がある場合は、&email-debian-devel; "
4627 "あるいは &email-debian-release; に連絡を取って手助けを求めてください。"