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

Documentation/pkgsrc/submit.xml: 1.2 -> 1.3



以下のページの更新をしました。ツッコミをお願いします。

Documentation/pkgsrc/submit.xml: 1.2 -> 1.3

> revision 1.3
> date: 2004/09/29 13:08:36;  author: hubertf;  state: Exp;  lines: +19 -19
> Sync with pkgsrc/Packages.txt rev. 1.360.
> 
> Changes that were made to the XML version were not added back into
> Packages.txt, as Packages.txt will be deprecated soon.
> 
> Going to update the contents of our new "pkgsrc Guide" a bit more now...

内容の変更は、下につけた差分の最初の 2 段落において
- NetBSD が pkgsrc に変わった
- cwd が current working directory に変わった
  (訳はカレントディレクトリーのまま)
ことだけです。

木曜日までに異議がなければ、 commit します。

以下、訳と原文それぞれの新旧の差分です。

--- Documentation/pkgsrc/submit.xml.orig	2006-07-19 07:05:27.000000000 +0900
+++ Documentation/pkgsrc/submit.xml	2006-07-19 07:05:27.000000000 +0900
@@ -1,6 +1,6 @@
-<!-- $NetBSD: submit.xml,v 1.2 2004/09/28 09:58:20 grant Exp $ -->
+<!-- $NetBSD: submit.xml,v 1.3 2004/09/29 13:08:36 hubertf Exp $ -->
 <!-- Based on english version: -->
-<!-- NetBSD: submit.xml,v 1.2 2004/09/28 09:58:20 grant Exp   -->
+<!-- NetBSD: submit.xml,v 1.3 2004/09/29 13:08:36 hubertf Exp   -->
 
 <chapter id="submit"> <?dbhtml filename="submit.html"?>
 <title>提出およびコミット</title>
@@ -16,7 +16,7 @@
 <listitem>
 <para>コンパイル済みのバイナリーパッケージ</para>
 <para>
-  我々は、トロイの木馬等を含まないことを保証するために、NetBSD 開発者からし
+  我々は、トロイの木馬等を含まないことを保証するために、pkgsrc 開発者からし
   かバイナリーを受け取りません。これは、誰かを糞ったれ扱いするものではなく、
   むしろユーザーを保護するための方針です。しかしながら、あなたの作ったバイ
   ナリーパッケージをどこかに置き、配布することは自由に行なってもかまいま
@@ -56,17 +56,18 @@
 <sect1>
 <title>コミット: パッケージのCVSへのインポート</title>
 <para>
-  このセクションは、NetBSD のpkgsrcリポジトリーへの書き込みアクセス権限を持っ
-  ている NetBSD 開発者にのみ意味があるものです。cvsはカレントディレクトリーから
+  このセクションは、pkgsrcリポジトリーへの書き込みアクセス権限を持っ
+  ている pkgsrc 開発者にのみ意味があるものです。cvsはカレントディレクトリーから
   の相対位置にファイルをインポートすることと、<command>cvs import</command>コマンドに渡したパ
   ス名からリポジトリー中のファイルの位置が決まることを忘れないでください。新
   しく作ったパッケージは、<quote>TNF</quote>のベンダータグと<quote>pkgsrc-base</quote>のリリースタ
   グでインポートしてください。例えば:
 </para>
 
-<screen><prompt>%</prompt> <userinput>cd
-.../pkgsrc/&lt;category&gt;/&lt;pkgname&gt;</userinput>
-<prompt>%</prompt> <userinput>cvs import pkgsrc/&lt;category&gt;/&lt;pkgname&gt; TNF pkgsrc-base</userinput></screen>
+<programlisting>
+  % cd .../pkgsrc/category/pkgname
+  % cvs import pkgsrc/category/pkgname TNF pkgsrc-base
+</programlisting>
 
 <para>
   また、インポートに使ったディレクトリーは、忘れずに邪魔にならないところに移
@@ -97,7 +98,6 @@
   してください。"cvs import"なら、単一のコマンドですべて記述することができ、
   また、一貫したタグを打つことができるからです。
 </para>
-
 </sect1>
 
 <sect1>
@@ -141,14 +141,13 @@
   よいか、分別をもって判断してください。新機能(テストされていない機能があるか
   もしれません)よりも安定性のほうが好ましいことを念頭に置いてください。
 </para>
-
 </sect1>
 
 <sect1>
 <title>pkgsrcのパッケージを移動する</title>
 
 <orderedlist>
-<listitem>パッケージのディレクトリーをどこかにコピーします。</listitem>
+<listitem><para>パッケージのディレクトリーをどこかにコピーします。</para></listitem>
 
 <listitem><para>コピーしたものからCVSディレクトリーをすべて削除します。</para>
 <para>
@@ -157,12 +156,12 @@
 <screen><prompt>%</prompt> <userinput>cvs -d user@cvs.NetBSD.org:/cvsroot export -D today pkgsrc/category/package</userinput></screen>
 </listitem>
 
-<listitem><varname>CATEGORIES</varname>を修正します。また、<quote>../../category/package</quote>のかわりに単に
-<quote>../package</quote>とすることができる<varname>DEPENDS</varname>のパスをすべて修正します。
+<listitem><para><varname>CATEGORIES</varname>を修正します。また、<quote>../../category/package</quote>のかわりに単に
+<quote>../package</quote>とすることができる<varname>DEPENDS</varname>のパスをすべて修正します。</para>
 </listitem>
 
-<listitem>新しい場所で、修正後のパッケージを<command>cvs import</command>
-します。</listitem>
+<listitem><para>新しい場所で、修正後のパッケージを<command>cvs import</command>
+します。</para></listitem>
 
 <listitem><para>このパッケージに依存しているパッケージを調べます:
 <screen><prompt>%</prompt> <userinput>cd /usr/pkgsrc</userinput>
@@ -170,13 +169,13 @@
 </para>
 </listitem>
 
-<listitem>手順5で見つかったものに対して、このパッケージへのパスを、新しい場所を指すように修正します。</listitem>
+<listitem><para>手順5で見つかったものに対して、このパッケージへのパスを、新しい場所を指すように修正します。</para></listitem>
 
-<listitem>古い場所で、移動前のパッケージを<command>cvs rm (-f)</command>します。</listitem>
+<listitem><para>古い場所で、移動前のパッケージを<command>cvs rm (-f)</command>します。</para></listitem>
 
-<listitem><filename>oldcategory/Makefile</filename> からこのパッケージを削除します。</listitem>
+<listitem><para><filename>oldcategory/Makefile</filename> からこのパッケージを削除します。</para></listitem>
 
-<listitem><filename>newcategory/Makefile</filename> にこのパッケージを追加します。</listitem>
+<listitem><para><filename>newcategory/Makefile</filename> にこのパッケージを追加します。</para></listitem>
 
 <listitem><para>変更および削除されたファイルを commit します:</para>
 <screen><prompt>%</prompt> <userinput>cvs commit oldcategory/package oldcategory/Makefile newcategory/Makefile</userinput></screen>
Index: Documentation/pkgsrc/submit.xml
===================================================================
RCS file: /cvsroot/htdocs/Documentation/pkgsrc/Attic/submit.xml,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- Documentation/pkgsrc/submit.xml	28 Sep 2004 09:58:20 -0000	1.2
+++ Documentation/pkgsrc/submit.xml	29 Sep 2004 13:08:36 -0000	1.3
@@ -1,4 +1,4 @@
-<!-- $NetBSD: submit.xml,v 1.2 2004/09/28 09:58:20 grant Exp $ -->
+<!-- $NetBSD: submit.xml,v 1.3 2004/09/29 13:08:36 hubertf Exp $ -->
 
 <chapter id="submit"> <?dbhtml filename="submit.html"?>
 <title>Submitting and Committing</title>
@@ -14,7 +14,7 @@
 <listitem>
 <para>precompiled binary packages</para>
 <para>
-  Our policy is that we accept binaries only from NetBSD developers to
+  Our policy is that we accept binaries only from pkgsrc developers to
   guarantee that the packages don't contain any trojan horses etc. 
   This is not to piss anyone off but rather to protect our users!
   You're still free to put up your home-made binary packages and tell
@@ -53,18 +53,20 @@
 <sect1>
 <title>Committing: Importing a package into CVS</title>
 <para>
-  This section is only of interest for NetBSD developers with write
-  access to the NetBSD pkgsrc repository. Please remember that cvs
-  imports files relative to the cwd, and that the pathname that you
+  This section is only of interest for pkgsrc developers with write
+  access to the pkgsrc repository. Please remember that cvs
+  imports files relative to the current working directory, and that
+  the pathname that you 
   give the <command>cvs import</command> command is so that it knows where
   to place the files in the repository.  Newly created packages should be
   imported with a vendor tag of <quote>TNF</quote> and a release tag of
   <quote>pkgsrc-base</quote>, e.g:
 </para>
 
-<screen><prompt>%</prompt> <userinput>cd
-.../pkgsrc/&lt;category&gt;/&lt;pkgname&gt;</userinput>
-<prompt>%</prompt> <userinput>cvs import pkgsrc/&lt;category&gt;/&lt;pkgname&gt; TNF pkgsrc-base</userinput></screen>
+<programlisting>
+  % cd .../pkgsrc/category/pkgname
+  % cvs import pkgsrc/category/pkgname TNF pkgsrc-base
+</programlisting>
 
 <para>
   Remember to move the directory from which you imported out of
@@ -94,7 +96,6 @@
   add</quote> because the former gets everything with a single command,
   and provides a consistent tag.
 </para>
-
 </sect1>
 
 <sect1>
@@ -139,14 +140,13 @@
   judgement about what should go into pkgsrc, and bear in mind that
   stability is to be preferred above new and possibly untested features.
 </para>
-
 </sect1>
 
 <sect1>
 <title>Moving a Package in pkgsrc</title>
 
 <orderedlist>
-<listitem>Make a copy of the directory somewhere else.</listitem>
+<listitem><para>Make a copy of the directory somewhere else.</para></listitem>
 
 <listitem><para>Remove all CVS dirs.</para>
 <para>
@@ -158,13 +158,13 @@
 </para>
 </listitem>
 
-<listitem>Fix <varname>CATEGORIES</varname> and any
+<listitem><para>Fix <varname>CATEGORIES</varname> and any
 <varname>DEPENDS</varname> paths that just did <quote>../package</quote>
-instead of <quote>../../category/package</quote>.
+instead of <quote>../../category/package</quote>.</para>
 </listitem>
 
-<listitem><command>cvs import</command> the modified package in the new
-place.</listitem>
+<listitem><para><command>cvs import</command> the modified package in the new
+place.</para></listitem>
 
 <listitem><para>Check if any package depends on it:
 <screen><prompt>%</prompt> <userinput>cd /usr/pkgsrc</userinput>
@@ -172,13 +172,13 @@
 </para>
 </listitem>
 
-<listitem>Fix paths in packages from step 5 to point to new location.</listitem>
+<listitem><para>Fix paths in packages from step 5 to point to new location.</para></listitem>
 
-<listitem><command>cvs rm (-f)</command> the package at the old location.</listitem>
+<listitem><para><command>cvs rm (-f)</command> the package at the old location.</para></listitem>
 
-<listitem>Remove from <filename>oldcategory/Makefile</filename>.</listitem>
+<listitem><para>Remove from <filename>oldcategory/Makefile</filename>.</para></listitem>
 
-<listitem>Add to <filename>newcategory/Makefile</filename>.</listitem>
+<listitem><para>Add to <filename>newcategory/Makefile</filename>.</para></listitem>
 
 <listitem><para>Commit the changed and removed files:</para>
 <screen><prompt>%</prompt> <userinput>cvs commit oldcategory/package oldcategory/Makefile newcategory/Makefile</userinput></screen>