[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Developer's Reference chap.9



é è—¤ã§ã™ã€‚

Debian デベロッパーズリファレンス第 9 ç« ã®ç¿»è¨³ã§ã™ã€‚
ãƒã‚§ãƒƒã‚¯ãŠé¡˜ã„ã—ã¾ã™ã€‚

|     <chapt id="archive-manip">
|       <heading>Moving, Removing, Renaming, Adopting, and Orphaning
|       Packages</heading>
|       <p>
| Some archive manipulation operation are not automated in the Debian
| upload process.  These procedures should be manually followed by
| maintainers.  This chapter gives guidelines in what to do in these
| cases.

    <chapt id="archive-manip">
      <heading>パッケージã®ç§»å‹•ã€å‰Šé™¤ã€æ”¹åã€å¼•ã継ãŽã€ã¿ãªã—ã”化</heading>
      <p>
Debian ã®ã‚¢ãƒƒãƒ—ロード手続ãã«ãŠã„ã¦ã€
アーカイブæ“作ã®ä½œæ¥­ã®ã™ã¹ã¦ãŒè‡ªå‹•åŒ–ã•ã‚Œã¦ã„ã‚‹ã‚ã‘ã§ã¯ã‚ã‚Šã¾ã›ã‚“。
自動化ã•ã‚Œã¦ã„ãªã„作業ã«é–¢ã—ã¦ã¯ã€é–‹ç™ºè€…ãŒæ‰‹å‹•ã§è¡Œãªã‚ãªã‘ã‚Œã°ãªã‚Šã¾ã›ã‚“。
ã“ã®ç« ã§ã¯ãã®ã‚ˆã†ãªä½œæ¥­ã®éš›ã«å¾“ã†ã¹ãガイドラインを扱ã„ã¾ã™ã€‚

|       <sect>Moving packages
| 	<p>
| Sometimes a package will change either its section.  For instance, a
| package from the `non-free' section might be GPL'd in a later version,
| in which case, the package should be moved to `main' or
| `contrib'.<footnote> See the <url id="&url-debian-policy;"
| name="Debian Policy Manual"> for guidelines on what section a package
| belongs in.
| 	  </footnote>

      <sect>パッケージã®ç§»å‹•
	<p>
パッケージã¯ãã®ã‚»ã‚¯ã‚·ãƒ§ãƒ³ãŒå¤‰æ›´ã•ã‚Œã‚‹ã“ã¨ã‚‚ã‚ã‚Šã¾ã™ã€‚
例ãˆã° `non-free' セクションã®ãƒ‘ッケージãŒå¾Œã®ãƒãƒ¼ã‚¸ãƒ§ãƒ³ã§ GPL
準拠ã¨ãªã£ãŸå ´åˆã€ãã®ãƒ‘ッケージã¯
`main' ã‚ã‚‹ã„㯠`contrib' ã«ç§»å‹•ã•ã‚Œãªã‘ã‚Œã°ãªã‚Šã¾ã›ã‚“
	  <footnote> 
ã‚るパッケージをã©ã®ã‚»ã‚¯ã‚·ãƒ§ãƒ³ã«åŽã‚ã‚‹ã¹ãã‹ã«é–¢ã™ã‚‹ã‚¬ã‚¤ãƒ‰ãƒ©ã‚¤ãƒ³ã«ã¤ã„ã¦ã¯
<url id="&url-debian-policy;" name="Debian ãƒãƒªã‚·ãƒ¼ãƒžãƒ‹ãƒ¥ã‚¢ãƒ«">
ã‚’ã”覧ãã ã•ã„。
	  </footnote>。

| 	<p>
| If you need to change the section for one of your packages, change the
| package control information to place the package in the desired
| section, and re-upload the package (see the <url id="&url-pkg-manual;"
| name="Debian Packaging Manual"> for details).  Carefully examine the
| installation log sent to you when the package is installed into the
| archive.  If for some reason the old location of the package remains,
| file a bug against <tt>ftp.debian.org</tt> asking that the old
| location be removed.  Give details on what you did, since it might be
| a <prgn>dinstall</prgn> bug.


	<p>
ã”自分ã®ãƒ‘ッケージã®ã‚»ã‚¯ã‚·ãƒ§ãƒ³ã‚’変更ã—ãªã‘ã‚Œã°ãªã‚‰ãªã„å ´åˆã€
変更先ã®ã‚»ã‚¯ã‚·ãƒ§ãƒ³ã«ãƒ‘ッケージを設置ã™ã‚‹ãŸã‚ã«ã€
パッケージã®åˆ¶å¾¡æƒ…報を変更ã—ã€
ãã®ãƒ‘ッケージをå†ã‚¢ãƒƒãƒ—ロードã—ã¦ãã ã•ã„。
(詳ã—ã㯠<url id="&url-pkg-manual;" name="Debian パッケージングマニュアル">
ã‚’ã”覧ãã ã•ã„。)
パッケージãŒã‚¢ãƒ¼ã‚«ã‚¤ãƒ–ã«ã‚¤ãƒ³ã‚¹ãƒˆãƒ¼ãƒ«ã•ã‚Œã‚‹éš›ã«é€ã‚‰ã‚Œã¦ãã‚‹
インストレーションログをå分ã«ç¢ºèªã—ã¦ãã ã•ã„。
ã‚‚ã—何らã‹ã®ç†ç”±ã§ãƒ‘ッケージãŒå¤‰æ›´å‰ã®å ´æ‰€ã«ã‚‚残ã£ã¦ã„ãŸå ´åˆã¯ã€
<tt>ftp.debian.org</tt> ã«å¯¾ã—ã¦ãƒã‚°å ±å‘Šã‚’è¡Œãªã„ã€
変更å‰ã®å ´æ‰€ã«ã‚るパッケージを削除ã™ã‚‹ã‚ˆã†ä¾é ¼ã—ã¦ãã ã•ã„。
ã‚‚ã—ã‹ã™ã‚‹ã¨ <prgn>dinstall</prgn> ã®ãƒã‚°ã‹ã‚‚ã—ã‚Œãªã„ã®ã§ã€
ãã®éš›ã«ã¯ã”自分ã§è¡Œãªã£ãŸã“ã¨ã®è©³ç´°ã‚’æ·»ãˆã¦ãã ã•ã„。

| 	<p>
| If, on the other hand, you need to change the <em>subsection</em> of
| one of your packages (e.g., ``devel'', ``admin''), the procedure is
| slightly different.  Correct the subsection as found in the control
| file of the package, and reupload that.  Also, you'll need to update
| the override file, as described in <ref id="override-file">.

	<p>
一方ã€ãƒ‘ッケージ㮠<em>subsection</em> (例ãˆã° ``devel'' ã‚„ ``admin'' ãªã©)
を変更ã™ã‚‹å¿…è¦ãŒã‚ã‚‹å ´åˆã€ãã®æ‰‹ç¶šãã¯è‹¥å¹²ç•°ãªã‚Šã¾ã™ã€‚
ã“ã®å ´åˆã¯ã€ãã®ãƒ‘ッケージã®åˆ¶å¾¡ãƒ•ã‚¡ã‚¤ãƒ«ã«ã‚ã‚‹ subsection を修正ã—ã€
å†ã‚¢ãƒƒãƒ—ロードã—ã¦ãã ã•ã„。
ã¾ãŸã€<ref id="override-file"> ã§èª¬æ˜Žã—ãŸã‚ˆã†ã«ã€
オーãƒãƒ©ã‚¤ãƒ‰ãƒ•ã‚¡ã‚¤ãƒ«ã‚’æ›´æ–°ã™ã‚‹å¿…è¦ã‚‚ã‚ã‚Šã¾ã™ã€‚

|       <sect id="removing-pkgs">Removing packages
| 	<p>
| If for some reason you want to completely remove a package (say, if it
| is an old compatibility library which is not longer required), you
| need to file a bug against <tt>ftp.debian.org</tt> asking that the
| package be removed.  Make sure you indicate which distribution the
| package should be removed from.

      <sect id="removing-pkgs">パッケージã®å‰Šé™¤
	<p>
ã‚るパッケージ (例ãˆã°ã€ã‚‚ã¯ã‚„ä¸è¦ã«ãªã£ãŸå¤ã„互æ›ãƒ©ã‚¤ãƒ–ラリãªã©ã‚’) 
を何らã‹ã®ç†ç”±ã®ãŸã‚ã«å®Œå…¨ã«å‰Šé™¤ã—ãŸã„å ´åˆã¯ã€<tt>ftp.debian.org</tt> 
ã«å¯¾ã—ã¦ãƒã‚°å ±å‘Šã‚’è¡Œãªã„ã€
ãã®ãƒ‘ッケージを削除ã™ã‚‹ã‚ˆã†ä¾é ¼ã—ãªã‘ã‚Œã°ãªã‚Šã¾ã›ã‚“。
ãã®éš›ã€ãã®ãƒ‘ッケージをã©ã®ãƒ‡ã‚£ã‚¹ãƒˆãƒªãƒ“ューションã‹ã‚‰
削除ã™ã‚‹ã®ã‹ã‚’å¿…ãšæ˜Žè¨˜ã—ã¦ãã ã•ã„。

| 	<p>
| If in doubt concerning whether a package is disposable, email
| &email-debian-devel; asking for opinions.  Also of interest is the
| <prgn>apt-cache</prgn> program from the <package>apt</package>
| package.  When invoked as <tt>apt-cache showpkg
| <var>package</var></tt>, the program will show details for
| <var>package</var>, including reverse depends.

	<p>
ãªãŠã€ãã®ãƒ‘ッケージãŒä¸è¦ãªã‚‚ã®ã‹ã©ã†ã‹ã¯ã£ãã‚Šã—ãªã„å ´åˆã¯ã€
&email-debian-devel; ã«é›»å­ãƒ¡ãƒ¼ãƒ«ã‚’é€ã‚Šæ„見を求ã‚ã¦ãã ã•ã„。
ã¾ãŸã€ã“ã¡ã‚‰ã«é–¢ã—ã¦ã¯ <package>apt</package> パッケージ㮠
<prgn>apt-cache</prgn> プログラムを利用ã—ã¦ç¢ºèªã—ã¦ã¿ã¦ã‚‚よã„ã§ã—ょã†ã€‚
<tt>apt-cache showpkg <var>package</var></tt> ã¨ã™ã‚Œã°ã€reverse 
depends 情報をå«ã‚€ <var>package</var> 詳細ãŒè¡¨ç¤ºã•ã‚Œã¾ã™ã€‚

| 	<sect1>Removing packages from <tt>Incoming</tt>
| 	  <p>
| If you decide to remove a package from <tt>Incoming</tt>, it is nice
| but not required to send a notification of that to the appropriate
| announce list (either &email-debian-changes; or
| &email-debian-devel-changes;).

	<sect1><tt>Incoming</tt> ã‹ã‚‰ã®ãƒ‘ッケージ削除
	  <p>
ã‚るパッケージを <tt>Incoming</tt> ã‹ã‚‰å‰Šé™¤ã—ãŸã„å ´åˆã¯ã€
義務ã§ã¯ã‚ã‚Šã¾ã›ã‚“ãŒã€é©åˆ‡ãªã‚¢ãƒŠã‚¦ãƒ³ã‚¹ç”¨ãƒ¡ãƒ¼ãƒªãƒ³ã‚°ãƒªã‚¹ãƒˆ
(&email-debian-changes; ã‹ &email-debian-devel-changes;)
ã«ãã®æ—¨ã‚’通知ã—ã¦ãŠãã¨ã‚ˆã„ã§ã—ょã†ã€‚

|       <sect>Replacing or renaming packages
| 	<p>
| Sometimes you made a mistake naming the package and you need to rename
| it.  In this case, you need to follow a two-step process.  First, set
| your <file>debian/control</file> file to replace and conflict with the
| obsolete name of the package (see the <url id="&url-pkg-manual;"
| name="Debian Packaging Manual"> for details).  Once you've uploaded
| that package, and the package has moved into the archive, file a bug
| against <tt>ftp.debian.org</tt> asking to remove the package with the
| obsolete name.

      <sect>パッケージã®ç½®ãæ›ãˆã‚„改å
	<p>
パッケージã®åå‰ã‚’é–“é•ãˆã¦ä»˜ã‘ã¦ã—ã¾ã„ã€
ãれを改åã—ãªã‘ã‚Œã°ãªã‚‰ãªã„ã“ã¨ãŒã‚ã‚‹ã‹ã‚‚ã—ã‚Œã¾ã›ã‚“。
ã“ã®å ´åˆã€æ¬¡ã®äºŒã¤ã®æ‰‹é †ã‚’è¸ã‚€å¿…è¦ãŒã‚ã‚Šã¾ã™ã€‚
ã¾ãšåˆã‚ã«ã€ãã®ãƒ‘ッケージã®å¤ã„åå‰ã«å¯¾ã—ã¦
replace ãŠã‚ˆã³ conflict ã¨ãªã‚‹ã‚ˆã†
<file>debian/control</file> ファイルã«è¨­å®šã‚’è¡Œãªã„ã¾ã™ã€‚
(詳細㯠<url id="&url-pkg-manual;" name="Debian パッケージングマニュアル"> 
ã‚’ã”覧ãã ã•ã„。)
ãã—ã¦ã€ã“ã®ãƒ‘ッケージをアップロードã—ã€ãれをアーカイブã«ç§»å‹•ã—ãŸã‚‰ã€
<tt>ftp.debian.org</tt> ã«å¯¾ã™ã‚‹ãƒã‚°å ±å‘Šã‚’è¡Œãªã„ã€
å¤ã„åå‰ã®ãƒ‘ッケージを削除ã™ã‚‹ã‚ˆã†ä¾é ¼ã—ã¦ãã ã•ã„。

|       <sect id="orphaning">Orphaning a package
| 	<p>
| If you can no longer maintain a package, then you should set the
| package maintainer to <tt>Debian QA Group
| &lt;debian-qa@lists.debian.org&gt;</tt> and email &email-wnpp;
| indicating that the package is now orphaned.  If the package is
| especially crucial to Debian, you should instead email
| &email-debian-devel; asking for a new maintainer.

      <sect id="orphaning">パッケージã®ã¿ãªã—ã”化
	<p>
ã‚るパッケージã®ãƒ¡ãƒ³ãƒ†ãƒŠãƒ³ã‚¹ãŒã§ããªããªã£ãŸå ´åˆã¯ã€ãã®ãƒ‘ッケージ開発者を 
<tt>Debian QA Group &lt;debian-qa@lists.debian.org&gt;</tt> ã«è¨­å®šã—ç›´ã—ã€
&email-wnpp; å®›ã¦ã«ãã®ãƒ‘ッケージをã¿ãªã—ã”化ã™ã‚‹æ—¨ã‚’
é›»å­ãƒ¡ãƒ¼ãƒ«ã§é€šçŸ¥ã—ãªã‘ã‚Œã°ãªã‚Šã¾ã›ã‚“。
ãŸã ã€ãã®ãƒ‘ッケージ㌠Debian ã«ã¨ã£ã¦æ¥µã‚ã¦é‡è¦ãªã‚‚ã®ã§ã‚ã‚‹å ´åˆã¯ã€
代ã‚ã‚Šã« &email-debian-devel; å®›ã¦ã«é›»å­ãƒ¡ãƒ¼ãƒ«ã‚’é€ã‚Šã€
新開発者を募集ã™ã¹ãã§ã—ょã†ã€‚


|       <sect id="adopting">Adopting a package
| 	<p>
| Periodically, a listing of packages in need of new maintainers will be
| sent to &email-debian-devel list. This list is also available at in
| the Work-Needing and Prospective Packages document (WNPP), <url
| id="&url-wnpp;">.  If you wish to take over maintenance of any of the
| packages listed in the WNPP, or if you can no longer maintain a
| packages you have, or you simply want to know if any one is working on
| a new package, send a message to &email-wnpp;.

      <sect id="adopting">パッケージã®å¼•ã継ãŽ
	<p>
新開発者ãŒå¿…è¦ãªãƒ‘ッケージã®ä¸€è¦§ãŒã€å®šæœŸçš„ã«
&email-debian-devel メーリングリストã«æµã•ã‚Œã¾ã™ã€‚
ã“ã®ä¸€è¦§ã¯ <url id="&url-wnpp;"> ã«ã‚ã‚‹
Work-Needing and Prospective Packages document (WNPP)
ã‹ã‚‰ã‚‚入手ã§ãã¾ã™ã€‚
WNPP ã®ä¸€è¦§ã«ã‚るパッケージã®ãƒ¡ãƒ³ãƒ†ãƒŠãƒ³ã‚¹ã‚’引ã継ãŽãŸã„å ´åˆã‚„ã€
ã”自分ã®ãƒ‘ッケージã®ãƒ¡ãƒ³ãƒ†ãƒŠãƒ³ã‚¹ã‚’放棄ã™ã‚‹å ´åˆã€
æ–°è¦ãƒ‘ッケージã®ä½œæ¥­ã‚’誰ãŒè¡Œãªã£ã¦ã„ã‚‹ã‹ã©ã†ã‹å˜ã«ç¢ºèªã—ãŸå ´åˆã¯ã€
&email-wnpp; ã«é›»å­ãƒ¡ãƒ¼ãƒ«ã‚’é€ã£ã¦ãã ã•ã„。

| 	<p>
| It is not OK to simply take over a package that you feel is neglected
| -- that would be package hijacking.  You can, of course, contact the
| current maintainer and ask them if you may take over the package.
| However, without their assent, you may not take over the package.
| Even if they ignore you, that is still not grounds to take over a
| package.  If you really feel that a maintainer has gone AWOL (absent
| without leave), post a query to &email-debian-private;.

	<p>
ã“ã®ã“ã¨ã‚’ãŠã‚ãã‹ã«ã—ã¦ã€ã‚るパッケージをå˜ã«å¼•ã継ãã ã‘ã§ã¯ã„ã‘ã¾ã›ã‚“。
-- ã“ã‚Œã§ã¯ãƒ‘ッケージãƒã‚¤ã‚¸ãƒ£ãƒƒã‚¯ã§ã™ã€‚
ã‚‚ã¡ã‚ã‚“ã€ç¾è¡Œã®é–‹ç™ºè€…ã«é€£çµ¡ã‚’å–ã‚Šã€
ãã®ãƒ‘ッケージã®å¼•ã継ãŽã‚’ä¾é ¼ã™ã‚‹ã“ã¨ã¯å¯èƒ½ã§ã™ã€‚
ã—ã‹ã—ãªãŒã‚‰ã€ãã®éš›ã«åŒæ„を得られãªã‘ã‚Œã°ã€
ãã®ãƒ‘ッケージを引ã継ãã“ã¨ã¯ã§ãã¾ã›ã‚“。
ãŸã¨ãˆã‚ãªãŸã®ç”³ã—出ãŒç„¡è¦–ã•ã‚ŒãŸã¨ã—ã¦ã‚‚ã€
ãã‚Œã¯ãƒ‘ッケージ引ã継ãŽã®ç†ç”±ã¨ã¯ãªã‚Šã¾ã›ã‚“。
ç¾è¡Œé–‹ç™ºè€…ãŒéŸ³æ²™æ±°ã‚‚ãªããã®ä½œæ¥­ã‚’放棄ã—ã¦ã„ã‚‹ã¨ç¢ºä¿¡ã§ãã‚‹å ´åˆã¯ã€
ãã®æ—¨ã‚’ &email-debian-private; ã«ã¦å°‹ã­ã¦ã¿ã¦ãã ã•ã„。

| 	<p>
| If you take over an old package, you probably want to be listed as the
| package's official maintainer in the bug system. This will happen
| automatically once you upload a new version with an updated
| <tt>Maintainer:</tt> field, although it can take a couple of weeks. If
| you do not expect to upload a new version for a while, send an email
| to &email-override; so that bug reports will go to you right away.

	<p>
ãªãŠã€å¤ã„パッケージを引ã継ã„ã å ´åˆã¯ã€
ã”自分をãã®ãƒ‘ッケージã®å…¬å¼é–‹ç™ºè€…ã¨ã—ã¦
ãƒã‚°è¿½è·¡ã‚·ã‚¹ãƒ†ãƒ ã«ç™»éŒ²ãªã•ã‚ŠãŸã„ã§ã—ょã†ã€‚
<tt>Maintainer:</tt> フィールドを更新ã—ãŸæ–°ãƒãƒ¼ã‚¸ãƒ§ãƒ³ã‚’アップロードã™ã‚Œã°ã€
二週間ã»ã©æ™‚é–“ãŒã‹ã‹ã‚Šã¾ã™ãŒã€ãã®å‡¦ç†ã¯è‡ªå‹•çš„ã«è¡Œãªã‚ã‚Œã¾ã™ã€‚
ãŸã ã€ã—ã°ã‚‰ãã®é–“ã€æ–°ãƒãƒ¼ã‚¸ãƒ§ãƒ³ã‚’アップロードã§ããªã„å ´åˆã¯ã€
ãƒã‚°å ±å‘ŠãŒã‚ãªãŸã®å…ƒã¸æ­£ã—ãé€ä»˜ã•ã‚Œã‚‹ã‚ˆã†ã«ã™ã‚‹ãŸã‚ã«ã€
&email-override; ã«é›»å­ãƒ¡ãƒ¼ãƒ«ã‚’é€ã£ã¦ãã ã•ã„。

-- 
Yoshizumi Endo <y-endo@xxxxxxxxxxxxxxx>