svn commit: r46119 - head/ja_JP.eucJP/books/handbook/ports

Ryusuke SUZUKI ryusuke at FreeBSD.org
Wed Dec 24 08:20:56 UTC 2014


Author: ryusuke
Date: Wed Dec 24 08:20:54 2014
New Revision: 46119
URL: https://svnweb.freebsd.org/changeset/doc/46119

Log:
  - Merge the following from the English version:
  
  	r43886 -> r44016	head/ja_JP.eucJP/books/handbook/ports/chapter.xml

Modified:
  head/ja_JP.eucJP/books/handbook/ports/chapter.xml

Modified: head/ja_JP.eucJP/books/handbook/ports/chapter.xml
==============================================================================
--- head/ja_JP.eucJP/books/handbook/ports/chapter.xml	Wed Dec 24 00:57:15 2014	(r46118)
+++ head/ja_JP.eucJP/books/handbook/ports/chapter.xml	Wed Dec 24 08:20:54 2014	(r46119)
@@ -1640,6 +1640,171 @@ The deinstallation will free 229 kB
     </sect2>
   </sect1>
 
+  <sect1 xml:id="ports-poudriere">
+    <title><application>Poudriere</application> ¤òÍѤ¤¤¿
+      package ¤Î¹½ÃÛ</title>
+
+    <para><application>Poudriere</application> ¤Ï¡¢&os; jails ¤òÍѤ¤¤Æ¡¢
+      ÆÈΩ¤·¤¿¥³¥ó¥Ñ¥¤¥ë´Ä¶­¤ò¹½ÃÛ¤·¤Þ¤¹¡£
+      ¤³¤ÎÃæ¤Ç¡¢ports ¤Ï¡¢Ä̾ï¤Î &man.make.1; ¥¿¡¼¥²¥Ã¥È¤ª¤è¤Ó &man.pkg.8;
+      ¤Ë¤è¤Ã¤Æ¥³¥ó¥Ñ¥¤¥ë¤µ¤ì¡¢package ²½¤µ¤ì¤Þ¤¹¡£</para>
+
+    <sect2 xml:id="poudriere-installation-and-configuration">
+      <title>¥¤¥ó¥¹¥È¡¼¥ë¤ÈÀßÄê</title>
+
+      <para>Ports Collection
+	(<package role="port">ports-mgmt/poudriere</package>)
+	¤«¤é <application>Poudriere</application>
+	¤ò¥¤¥ó¥¹¥È¡¼¥ë¤·¤Æ¤¯¤À¤µ¤¤¡£</para>
+
+      <para>ÀßÄê¥Õ¥¡¥¤¥ë¤Ï¡¢
+	<filename>/usr/local/etc/poudriere.conf</filename> ¤È
+	<filename>/usr/local/etc/poudriere.d/</filename> ¤Ç¤¹¡£
+	ÀßÄêÎã¤Ï
+	<filename>/usr/local/etc/poudriere.conf.sample</filename>
+	¤ËÍÑ°Õ¤µ¤ì¤Æ¤¤¤Þ¤¹¡£</para>
+
+      <para>ɬ¤º¤·¤â <acronym>ZFS</acronym> ¤ò»È¤¦É¬ÍפϤ¢¤ê¤Þ¤»¤ó¤¬¡¢
+	Í­ÍѤǤ¹¡£<acronym>ZFS</acronym> ¤ò»È¤¦ºÝ¤Ë¤Ï¡¢
+	<application>Poudriere</application> ¤Î <varname>ZPOOL</varname>
+	¤ò»ØÄꤹ¤ëɬÍפ¬¤¢¤ê¤Þ¤¹¡£
+	<varname>FREEBSD_HOST</varname> ¤òºÇ¤â¶á¤¤¥ß¥é¡¼¤ËÀßÄꤷ¤Æ¤¯¤À¤µ¤¤¡£
+	¾¤ÎÃͤϥǥե©¥ë¥È¤ÎÃͤǽ½Ê¬¤Ç¤¹¡£
+	<varname>CCACHE_DIR</varname> ¤òÄêµÁ¤¹¤ë¤³¤È¤Ç¡¢
+	<package role="port">devel/ccache</package>
+	¤ò»È¤Ã¤¿¥³¥ó¥Ñ¥¤¥ë¤Î¥­¥ã¥Ã¥·¥å¤¬²Äǽ¤È¤Ê¤ê¡¢
+	¥³¥ó¥Ñ¥¤¥ë¤ÇÉÑÈˤ˻Ȥï¤ì¤ë¥³¡¼¥É¤Î¹½ÃÛ»þ´Ö¤òû½Ì¤Ç¤­¤Þ¤¹¡£
+	<application>Poudriere</application> ¥Ç¡¼¥¿¥»¥Ã¥È¤ò
+	<filename class="directory">/poudriere</filename>
+	¤Ë¥Þ¥¦¥ó¥È¤µ¤ì¤¿ÆÈΩ¤·¤¿¥Ä¥ê¡¼¤ËÃÖ¤¯¤ÈÎɤ¤¤Ç¤·¤ç¤¦¡£
+	¤³¤ì¤Ïµ¡Ç½Åª¤ÊÊѹ¹¤Ç¤Ï¤Ê¤¯¡¢¼ñÌ£¤ÎÌäÂê¤Ç¤¹¡£</para>
+
+      <para>Ʊ»þ¤ËÁö¤é¤»¤ë¥³¥ó¥Ñ¥¤¥ë¿ô¤ÎÄêµÁ¤Ë¤Ï¡¢
+	ǧ¼±¤µ¤ì¤¿¥³¥¢¥×¥í¥»¥Ã¥µ¤Î¿ô¤¬ÍѤ¤¤é¤ì¤Þ¤¹¡£
+	<acronym>RAM</acronym>
+	¤â¤·¤¯¤Ï¥¹¥ï¥Ã¥×¶õ´Ö¤Î¤É¤Á¤é¤«¤Î²¾ÁÛ¥á¥â¥ê¤ò½½Ê¬ÍÑ°Õ¤·¤Æ¤¯¤À¤µ¤¤¡£
+	¤â¤·¡¢²¾ÁÛ¥á¥â¥ê¤ò»È¤¤ÀڤäƤ·¤Þ¤Ã¤¿¤é¡¢jail ¤Î¹½ÃÛ¤ÏÃæÃǤ·¡¢
+<!-- ²õ¤ì¤Æ¤·¤Þ¤¤¡¢-->
+	°Û¾ï¤Ê¥á¥Ã¥»¡¼¥¸¤¬É½¼¨¤µ¤ì¤ë¤³¤È¤Ç¤·¤ç¤¦¡£</para>
+    </sect2>
+
+    <sect2 xml:id="poudriere-initialization">
+      <title>Jails ¤ª¤è¤Ó Port ¥Ä¥ê¡¼¤Î½é´ü²½</title>
+
+      <para>ºÇ½é¤Ï¡¢&os; ¥Ä¥ê¡¼¤È ports ¥Ä¥ê¡¼¤ò¥¤¥ó¥¹¥È¡¼¥ë¤¹¤ì¤Ð½½Ê¬¤Ç¤¹¡£
+	<option>-j</option> ¤ª¤è¤Ó <option>-v</option>
+	¤Ç̾Á°¤È¥Ð¡¼¥¸¥ç¥ó¤òÍ¿¤¨¤ë¤À¤±¤Ç´Êñ¤Ë¥»¥Ã¥È¥¢¥Ã¥×¤Ç¤­¤Þ¤¹¡£
+	&os;/&arch.amd64; ¥·¥¹¥Æ¥à¤Ç¤Ï¡¢
+	<option>-a</option> ¤ò»È¤Ã¤Æ¥¢¡¼¥­¥Æ¥¯¥Á¥ã¤Ë
+	<literal>i386</literal> ¤Þ¤¿¤Ï <literal>amd64</literal>
+	¤òÀßÄê¤Ç¤­¤Þ¤¹¡£
+	¥Ç¥Õ¥©¥ë¥È¤Ï¡¢
+	<command>uname</command> ¤Çɽ¼¨¤µ¤ì¤ë¥¢¡¼¥­¥Æ¥¯¥Á¥ã¤¬ÀßÄꤵ¤ì¤Þ¤¹¡£</para>
+
+      <screen>&prompt.root; <userinput>poudriere jail -c -j <replaceable>10amd64</replaceable> -v <replaceable>10.0-RELEASE</replaceable></userinput>
+====>> Creating 10amd64 fs... done
+====>> Fetching base.txz for FreeBSD 10.0-RELEASE amd64
+/poudriere/jails/10amd64/fromftp/base.txz      100% of   59 MB 1470 kBps 00m42s
+====>> Extracting base.txz... done
+====>> Fetching src.txz for FreeBSD 10.0-RELEASE amd64
+/poudriere/jails/10amd64/fromftp/src.txz       100% of  107 MB 1476 kBps 01m14s
+====>> Extracting src.txz... done
+====>> Fetching games.txz for FreeBSD 10.0-RELEASE amd64
+/poudriere/jails/10amd64/fromftp/games.txz     100% of  865 kB  734 kBps 00m01s
+====>> Extracting games.txz... done
+====>> Fetching lib32.txz for FreeBSD 10.0-RELEASE amd64
+/poudriere/jails/10amd64/fromftp/lib32.txz     100% of   14 MB 1316 kBps 00m12s
+====>> Extracting lib32.txz... done
+====>> Cleaning up... done
+====>> Jail 10amd64 10.0-RELEASE amd64 is ready to be used</screen>
+
+      <screen>&prompt.root; <userinput>poudriere ports -c -p <replaceable>local</replaceable></userinput>
+====>> Creating local fs... done
+====>> Extracting portstree "local"...
+Looking up portsnap.FreeBSD.org mirrors... 7 mirrors found.
+Fetching public key from ec2-eu-west-1.portsnap.freebsd.org... done.
+Fetching snapshot tag from ec2-eu-west-1.portsnap.freebsd.org... done.
+Fetching snapshot metadata... done.
+Fetching snapshot generated at Tue Feb 11 01:07:15 CET 2014:
+94a3431f0ce567f6452ffde4fd3d7d3c6e1da143efec76100% of   69 MB 1246 kBps 00m57s
+Extracting snapshot... done.
+Verifying snapshot integrity... done.
+Fetching snapshot tag from ec2-eu-west-1.portsnap.freebsd.org... done.
+Fetching snapshot metadata... done.
+Updating from Tue Feb 11 01:07:15 CET 2014 to Tue Feb 11 16:05:20 CET 2014.
+Fetching 4 metadata patches... done.
+Applying metadata patches... done.
+Fetching 0 metadata files... done.
+Fetching 48 patches.
+(48/48) 100.00%  done.
+done.
+Applying patches...
+done.
+Fetching 1 new ports or files... done.
+/poudriere/ports/tester/CHANGES
+/poudriere/ports/tester/COPYRIGHT
+
+[...]
+
+Building new INDEX files... done.</screen>
+
+      <para>°ì¤Ä¤Î¥³¥ó¥Ô¥å¡¼¥¿¾å¤Ç¡¢
+	Ê£¿ô¤ÎÀßÄꡢʣ¿ô¤Î jails¡¢°Û¤Ê¤ë port ¥Ä¥ê¡¼¤«¤é
+	<application>Poudriere</application> ¤Ï port ¤ò¥Ó¥ë¥É¤Ç¤­¤Þ¤¹¡£
+	¤³¤ì¤é¤Î¥³¥ó¥Ó¥Í¡¼¥·¥ç¥ó¤Î¥«¥¹¥¿¥àÀßÄê¤Ï
+	<emphasis>¥»¥Ã¥È</emphasis> ¤È¸Æ¤Ð¤ì¤Þ¤¹¡£
+	¾ÜºÙ¤Ï &man.poudriere.8; ¤Î CUSTOMIZATION ¤Î¾Ï¤ò¤´Í÷²¼¤µ¤¤¡£</para>
+
+      <para>¤³¤³¤Ç¼¨¤µ¤ì¤ë´ðËÜÀßÄê¤Ç¤Ï¡¢jail, ports ¤½¤·¤Æ¥»¥Ã¥È¸ÇÍ­¤Î
+	<filename>make.conf</filename> ¤ò <filename
+	  class="directory">/usr/local/etc/poudriere.d</filename>
+	¤ËÃÖ¤¤¤Æ¤¯¤À¤µ¤¤¡£
+	¤³¤ÎÎã¤Ç¤Î¥Õ¥¡¥¤¥ë̾
+	<filename><replaceable>10amd64-local-workstation</replaceable>-make.conf</filename>
+	¤Ï¡¢jail ̾¡¢port ̾¤½¤·¤Æ¡¢¥»¥Ã¥È̾¤ÎÁȤ߹ç¤ï¤»¤ÇÉÕ¤±¤é¤ì¤Æ¤¤¤Þ¤¹¡£
+	¥·¥¹¥Æ¥à¤Î <filename>make.conf</filename>
+	¤È¡¢¤³¤Î¿·¤·¤¤¥Õ¥¡¥¤¥ë¤Ï¡¢¥Ó¥ë¥É»þ¤Ë·ë¹ç¤µ¤ì¡¢¹½ÃÛ¤·¤¿ jail
+	¤ÇÍѤ¤¤é¤ì¤ë <filename>make.conf</filename> ¤òºîÀ®¤·¤Þ¤¹¡£</para>
+
+      <para>¥Ó¥ë¥É¤¹¤ë package ¤ò
+	<filename><replaceable>10amd64-local-workstation</replaceable>-pkglist</filename> ¤Ëµ­ºÜ¤·¤Æ¤¯¤À¤µ¤¤¡£</para>
+
+      <programlisting>editors/emacs
+devel/git
+ports-mgmt/pkg
+...</programlisting>
+
+      <para>¥ª¥×¥·¥ç¥ó¤ä°Í¸´Ø·¸¤Î ports ¤òÀßÄꤷ¤Æ¤¯¤À¤µ¤¤¡£</para>
+
+      <screen>&prompt.root; <userinput>poudriere options -j <replaceable>10amd64</replaceable> -p <replaceable>local</replaceable> -z <replaceable>workstation</replaceable> -f <replaceable>workstation-pkglist</replaceable></userinput></screen>
+
+      <para>ºÇ¸å¤Ë packages ¤ò¹½ÃÛ¤·¡¢
+	&man.pkg.8; ¥ê¥Ý¥¸¥È¥ê¤òÀ¸À®¤·¤Æ¤¯¤À¤µ¤¤¡£</para>
+
+      <screen>&prompt.root; <userinput>poudriere bulk -j <replaceable>10amd64</replaceable> -p <replaceable>local</replaceable> -z <replaceable>workstation</replaceable> -f <replaceable>workstation-pkglist</replaceable></userinput></screen>
+
+      <para><keycombo
+	  action="simul"><keycap>Ctrl</keycap><keycap>t</keycap></keycombo>
+	¤Ï¸½ºß¤Î¾õ¶·¤òɽ¼¨¤·¤Þ¤¹¡£
+	<application>Poudriere</application> ¤Ï
+	<filename>/poudriere/logs/bulk/<replaceable>jailname</replaceable>
+	</filename>
+	¤Ë¤¢¤ë¥Õ¥¡¥¤¥ë¤â¹½ÃÛ¤·¤Þ¤¹¡£
+	¤³¤Î¥Õ¥¡¥¤¥ë¤ò¥¦¥§¥Ö¥µ¡¼¥Ð¤È¶¦¤Ë»È¤¦¤³¤È¤Ç¡¢
+	¥Ó¥ë¥É¾ðÊó¤òɽ¼¨¤Ç¤­¤Þ¤¹¡£</para>
+
+      <para><application>Poudriere</application>
+	¥ê¥Ý¥¸¥È¥ê¤«¤é package
+	¤ò¥¤¥ó¥¹¥È¡¼¥ë¤ËÍøÍѤǤ­¤ë¤è¤¦¤Ë¤Ê¤ê¤Þ¤·¤¿¡£</para>
+
+      <para><application>Poudriere</application>
+	¤Ë´Ø¤¹¤ë¤è¤ê¿¤¯¤Î¾ðÊó¤Ë¤Ä¤¤¤Æ¤Ï
+	&man.poudriere.8; ¤ª¤è¤Ó¥á¥¤¥ó¤Î¥¦¥§¥Ö¥µ¥¤¥È¤Ç¤¢¤ë <link
+	  xlink:href="https://fossil.etoilebsd.net/poudriere/doc/trunk/doc/index.wiki"></link>
+	¤ò»²¾È¤·¤Æ¤¯¤À¤µ¤¤¡£</para>
+    </sect2>
+  </sect1>
+
   <sect1 xml:id="ports-nextsteps">
     <title>¥¤¥ó¥¹¥È¡¼¥ë¸å¤Îºî¶È</title>
 


More information about the svn-doc-head mailing list