diff --git a/ru_RU.KOI8-R/articles/portbuild/Makefile b/ru_RU.KOI8-R/articles/portbuild/Makefile new file mode 100644 index 0000000000..68b527e327 --- /dev/null +++ b/ru_RU.KOI8-R/articles/portbuild/Makefile @@ -0,0 +1,23 @@ +# +# The FreeBSD Russian Documentation Project +# +# $FreeBSD$ +# $FreeBSDru: frdp/doc/ru_RU.KOI8-R/articles/portbuild/Makefile,v 1.1 2004/07/10 09:56:33 marck Exp $ +# +# Original revision: 1.1 +# +# Article: Portbuild Procedure +# + +DOC?= article + +FORMATS?= html +WITH_ARTICLE_TOC?= YES + +INSTALL_COMPRESSED?= gz +INSTALL_ONLY_COMPRESSED?= + +SRCS= article.sgml + +DOC_PREFIX?= ${.CURDIR}/../../.. +.include "${DOC_PREFIX}/share/mk/doc.project.mk" diff --git a/ru_RU.KOI8-R/articles/portbuild/article.sgml b/ru_RU.KOI8-R/articles/portbuild/article.sgml new file mode 100644 index 0000000000..d6ccf65005 --- /dev/null +++ b/ru_RU.KOI8-R/articles/portbuild/article.sgml @@ -0,0 +1,696 @@ +<!-- + The FreeBSD Russian Documentation Project + + $FreeBSDru: frdp/doc/ru_RU.KOI8-R/articles/portbuild/article.sgml,v 1.1 2004/07/10 09:56:33 marck Exp $ + + Original revision: 1.3 +--> + +<!DOCTYPE article PUBLIC "-//FreeBSD//DTD DocBook V4.1-Based Extension//EN" [ +<!ENTITY % man PUBLIC "-//FreeBSD//ENTITIES DocBook Manual Page Entities//EN"> +%man; +<!ENTITY % freebsd PUBLIC "-//FreeBSD//ENTITIES DocBook Miscellaneous FreeBSD Entities//EN"> +%freebsd; +<!ENTITY % authors PUBLIC "-//FreeBSD//ENTITIES DocBook Author Entities//EN"> +%authors; +<!ENTITY % teams PUBLIC "-//FreeBSD//ENTITIES DocBook Team Entities//RU"> +%teams; +<!ENTITY % mailing-lists PUBLIC "-//FreeBSD//ENTITIES DocBook Mailing List Entities//RU"> +%mailing-lists; +<!ENTITY % trademarks PUBLIC "-//FreeBSD//ENTITIES DocBook Trademark Entities//RU"> +%trademarks; +]> + +<article> + <articleinfo> + <title>������� ���������� �������</title> + + <authorgroup> + <corpauthor>������ ��������� ������ &os;</corpauthor> + </authorgroup> + + <pubdate>$FreeBSD$</pubdate> + + <copyright> + <year>2003</year> + <year>2004</year> + <holder role="mailto:portmgr@FreeBSD.org">������ ��������� ������ + &os;</holder> + </copyright> + + <legalnotice id="trademarks" role="trademarks"> + &tm-attrib.freebsd; + &tm-attrib.intel; + &tm-attrib.sparc; + &tm-attrib.general; + </legalnotice> + </articleinfo> + + <sect1 id="intro"> + <title>��������</title> + + <para>��� ����, ����� ����������� ������������������� ������ + �������������� ���������� ��� &os;, �� ����� �� <quote>��������� ������ + �������</quote> ��������� ������������ ������ ������� ������ ������. + � ��������� ����� ���������� ��� ����� ��������: + <hostid role="fqdn">pointyhat.FreeBSD.org</hostid> � + <hostid role="fqdn">dosirak.kr.FreeBSD.org</hostid>.</para> + + <para>������� ����� <quote>�����</quote> �������� ������ + ������������� � ������ ��������� <filename>/var/portbuild</filename>. + ���� �� ������������� ����, ��� ���� ������� ������������ ����� + ��������. <replaceable>${arch}</replaceable> ������������ ��� �������� + �� ����������� ��������� ������ (&i386;, alpha, &sparc64;, ia64 ��� + amd64); <replaceable>${branch}</replaceable> ��������� ����� ���������� + (4, 5, 4-exp). + </para> + </sect1> + + <sect1 id="management"> + <title>������������ �����-��������</title> + + <para>������� ���������� &i386;, alpha, amd64 � ��� �� sparc64 �������� + ����������� �� ���� � <hostid>pointyhat</hostid>; ������ sparc64 ������� + � ������ ��� ������ ia64 ����������� ��������������. ��� ��� �����, ��� + ��� � �������� �������� ���������������� � ������ �������. + </para> + + <para>������-������������ + <username>ports-<replaceable>${arch}</replaceable></username> + ����� ��������� ������� &man.ssh.1; �� ����� <username>root</username> + �� ����� ���������� ������ ����������� + <replaceable>${arch}</replaceable>. + </para> + + <para>������ <command>scripts/allgohans</command> ������������ ��� + ���������� ������ �� ���� �������� ����������� + <replaceable>${arch}</replaceable>. + </para> + + <para>������ <command>scripts/checkmachines</command> ����������� ������� + �������� ����� �������� � ������������, ����� �� ����� ����� ������� + ��������� ����. ���� ������ �� ������� ���� � ����� �� ������� �������. + ����� ����� ��������� ��� ��� �������� �������� ������ �������� + (<hostid>pointyhat</hostid> ��� <hostid>dosirak</hostid>) � ����� + &man.while.1;. + </para> + </sect1> + + <sect1 id="setup"> + <title>���������� ������������ ����� ������</title> + + <para>������ ���������� � ������������ (<literal>chroot</literal>) �����, + ������� ��������������� �������� <filename>portbuild</filename> �� ������ + <filename><replaceable>${arch}</replaceable>/<replaceable>${branch}</replaceable>/tarballs/bindist.tar</filename>. + ���� ����� ��������� ��� ������ ������� <command>mkbindist</command>, + ������������ �������� ����������� ������ + <filename><replaceable>${arch}</replaceable>/<replaceable>${branch}</replaceable>/mkbindist.conf</filename>. + </para> + + <para>������ ������ ����������� � ������� ������������ + <username>root</username> � ���������� �����������: + </para> + + <screen>/var/portbuild&prompt.root; <userinput>scripts/mkbindist <replaceable>${arch}</replaceable> <replaceable>${branch}</replaceable></userinput></screen> + + <para>��� �������� � ����� <filename>mkbindist.conf</filename> ��������� + <literal>ftp=1</literal> � ������ + ftp://<replaceable>${ftpserver}</replaceable>/<replaceable>${ftpurl}</replaceable>/<replaceable>${rel}</replaceable> + ����� �������� �������������� ��������� �����. + ���� ������� <literal>ftp=0</literal> � <literal>buildworld=1</literal>, + ������ <command>mkbindist</command> �������� + <command>makeworld</command> ��� ����, ����� ������� ����� �� ����� + [<literal>XXX</literal> ��� ����� � ��������� ����� �� ��������]. + </para> + + <para>���� ��� ��������� ����� ���� (<literal>ftp=0</literal> � + <literal>buildworld=0</literal>), �� <command>mkbindist</command> + ����� ������������ ������������ �� ������ ������� ��������� ������ + <replaceable>${worlddir}</replaceable> ��� �������� + <filename>bindist.tar</filename>. �� �������� ��� ��������, ��� �� + ������ �������������� ���������� ������� � ${worlddir}, ��� ������ + �������� ��� ������ ������� <command>makeworld</command>: + </para> + + <screen>/var/portbuild&prompt.root; <userinput>scripts/makeworld <replaceable>${arch}</replaceable> <replaceable>${branch}</replaceable> [-nocvs]</userinput></screen> + + <para>��� ������� ������� ������� �� ���� �������� ������� � ������ + <filename><replaceable>${arch}</replaceable>/<replaceable>${branch}</replaceable>/src</filename> + � ��������� �� � <replaceable>${worlddir}</replaceable>. + �������� ������ ����� ���������, ���� �� ������ �������� + <literal>-nocvs</literal>. + </para> + + <para>���������� ������ <filename>bindist.tar</filename> ����� ����������� + �� ������ ������� � ������ ��������, � ����� �� ������ ������� ������� + ������� <command>dopackages</command>. + </para> + </sect1> + + <sect1 id="starting"> + <title>������ ������</title> + + <para>��� ������ ������� ������������ ������� + <filename>scripts/dopackages*</filename>. �������� ��������� ��������: + </para> + + <itemizedlist> + <listitem> + <para><command>dopackages.5</command> - �������� ������ ��� ������ 5.X + </para> + </listitem> + + <listitem> + <para><command>dopackages.4</command> - �������� ������ ��� ������ 4.X + </para> + </listitem> + + <listitem> + <para><command>dopackages.4-exp</command> - ���������� ������ ����� + ��� ������ 4.X � ������������������ ����������� (����� 4-exp) + </para> + </listitem> + </itemizedlist> + + <para>��� ��� �������� ������������� ������ <command>dopackages</command>, + � �������� ����������� �������� �� <command>dopackages.wrapper</command>. + ��� �������� ������� ��� ������ ������� ����� ����� ���������� ������� + ������������� ������ <command>dopackages.${branch}</command>, ����������� + �� <command>dopackages.wrapper</command>. ����� ���� ������� + �������������� ���������, ��������: + + <screen><command>dopackages.5 <replaceable>${arch}</replaceable> <literal>[-options]</literal></command></screen> + + <para><literal>[-options]</literal> ����� ���� ������������ ������� �� + ��������� �����:</para> + + <itemizedlist> + <listitem> + <para><literal>-nofinish</literal> - �� ����������� ����-��������� + �� ���������� ������. �������, ���� ������� ������ ����������� + ������������. � ������� ��������� ��� ����� ������� ������������ + ������. + </para> + </listitem> + + <listitem> + <para><literal>-finish</literal> - ���������� ����-��������� + (� ������: ���������� ������ �� �����������). + </para> + </listitem> + + <listitem> + <para><literal>-restart</literal> - ������������ ���������� + (��� �������������, �.�. ���������� ��� ����� + <literal>-finish</literal>) ������� ������ � ������ ������. + ��� ���� �����, ������� ������ ������� �� ���������� ������� + ����������� ��������, ����� �����������. + </para> + </listitem> + + <listitem> + <para><literal>-continue</literal> - ���������� ���������� + (��� �������������) ������� ������. �����, �� ��������� + ������, �� ��������������. + </para> + </listitem> + + <listitem> + <para><literal>-cdrom</literal> - ������� ������ ������������� ��� + ��������� �� CD-ROM, ������� �������� ������ � ������ ������, + ���������� <literal>NO_CDROM</literal> ������ ���� ������� ��� + ����-���������. + </para> + </listitem> + + <listitem> + <para><literal>-nobuild</literal> - ���������� �������������� + ����������, �� �������� ���������� ������� ������ �������. + </para> + </listitem> + + <listitem> + <para><literal>-noindex</literal> - �� ������������� ���� + <filename>INDEX</filename> � ���� ��������������. + </para> + </listitem> + + <listitem> + <para><literal>-noduds</literal> - �� ������������� ���� + <filename>duds</filename> (������ ������, ������� �� ����� ���������, + ��������, ���������� ���������� <literal>IGNORE</literal>, + <literal>NO_PACKAGE</literal> � �.�.) ����� ��������� ������. + </para> + </listitem> + + <listitem> + <para><literal>-nocvs</literal> - �� ��������� ���������� + (<command>cvs update</command>) ������ �������� ������� + (<literal>src</literal>) �� ����� ��������������. + </para> + </listitem> + + <listitem> + <para><literal>-noportscvs</literal> - �� ��������� + (<command>cvs update</command>) ������ ������ + (<literal>ports</literal>) �� ����� ��������������. + </para> + </listitem> + + <listitem> + <para><literal>-norestr</literal> - �� �������� ������������� �����, + ���������� ��� <literal>RESTRICTED</literal>. + </para> + </listitem> + + <listitem> + <para><literal>-plistcheck</literal> - ������� ������� ���������� + ������ ������ ����� ������������� �����. + </para> + </listitem> + + <listitem> + <para><literal>-distfiles</literal> - ������� ������ �������� ������ + (<literal>distfiles</literal>) ��� ����������� �� �������� �� + <hostid>ftp-master</hostid>. ��� ����� ������� ������������ �������, + ��������� ��� ������� ����� ����� �����. �������� ������ ������� + ������� ����� �������� �� �� <hostid>ftp-master</hostid>. + </para> + </listitem> + + <listitem> + <para><literal>-fetch-original</literal> - ��������� �������� ������ + � ������������ ������, ������������ ����������� + <literal>MASTER_SITES</literal>, � �� � <hostid>ftp-master</hostid>. + </para> + </listitem> + </itemizedlist> + + <para>���������, ��� ������� ������ ������� ��� ����������� + <replaceable>${arch}</replaceable> ����������� �� ����� ������������ + ports-<replaceable>${arch}</replaceable>; � ��������� ������ ������ + ���������. + </para> + + <note><para>������ ������� ������������ � ��� ���������� �������. ������ + ��������� ��������, ����� ��� ������ NFS ��� ������������� FTP-������, + ����� �������� ������. ������������ ������� ��������� ������ �������� + ��������. + </para></note> + + <para>���������, ����� <filename>ports/Makefile</filename> + �� �������� �� ������ �����������. � ����������� ��� ����� ��� ������ + ����� 4-exp. ���� ������� ������ ������������ ������ �������, ��� + ���� ������ ������ �����������. ��� ���� � ����� + <filename><replaceable>${arch}</replaceable>/<replaceable>${branch}</replaceable>/make.[0|1]</filename> + ����� �������� ��������� �� ������ �������� ������ ����: + </para> + + <screen><literal>don't know how to make dns-all(continuing)</literal></screen> + + <para>��� ����������� �������� ������ ��������������� ��� ������� ������� + <literal>SUBDIR</literal>, ����������� �� ������ �����������. + ����� ����� �� ������ ������������� ������ �������� + <command>dopackages</command>, ������� �� �������� + <literal>-restart</literal>. + </para> + </sect1> + + <sect1 id="anatomy"> + <title>������� ������</title> + + <para>������ ������� ������ ��� �����-���� ������, ������������ � + <literal>-no</literal>, ��������� ��������� ������������������ + ��������:</para> + + <orderedlist> + <listitem> + <para>���������� �� CVS-����������� �������� ������ + <literal>ports</literal> [*] + </para> + </listitem> + + <listitem> + <para>���������� �� CVS-����������� �������� ������ + <literal>doc</literal> [*] + </para> + </listitem> + + <listitem> + <para>���������� �� CVS-����������� ������ + <literal>src</literal> ����������� ����� [*] + </para> + </listitem> + + <listitem> + <para>�������� ������ <filename>Makefile</filename> �� ���������� + ����� <literal>SUBDIR</literal> [*] + </para> + </listitem> + + <listitem> + <para>�������� ����� <filename>duds</filename>, ����������� ������ + ������, ������� �� ���� �������� �������� [*] [+] + </para> + </listitem> + + <listitem> + <para>��������� ������ ����� <filename>INDEX</filename> [*] [+] + </para> + </listitem> + + <listitem> + <para>��������� ���������� �����, ������� ����� ����������� � ������ + [*] [+] + </para> + </listitem> + + <listitem> + <para>���������� ������ ������ ������������� ��������������� + (restricted) [*] [+]</para> + </listitem> + + <listitem> + <para>������ ������� (���� 1) [++]</para> + </listitem> + + <listitem> + <para>��������� ��������� ����� ������ [+]</para> + </listitem> + + <listitem> + <para>������ ������� (���� 2) [++]</para> + </listitem> + </orderedlist> + + <para>[*] ���������� ���������� ���� ����� ������������ � ���� + <filename><replaceable>${arch}</replaceable>/<replaceable>${branch}</replaceable>/build.log</filename>, + � ����� � ����������� ����� ��� ������ �������, � ������� ���������� ������ + <command>dopackages</command>.</para> + + <para>[+] ��� ��������� ���������� ������ �� ���� ����� ������� + ������������.</para> + + <para>[++] ���������� ���������� ������� � ���� + <filename><replaceable>${arch}</replaceable>/<replaceable>${branch}</replaceable>/make.[0|1]</filename>, + ��� <filename>make.0</filename> ������������� ������, � + <filename>make.1</filename> ������ ���� ������. ������� ������ ��������� + ������ ������������ � ����� + <filename><replaceable>${arch}</replaceable>/<replaceable>${branch}</replaceable>/logs</filename>, + � ������� ������, ����������� ��������, � + <filename><replaceable>${arch}</replaceable>/<replaceable>${branch}</replaceable>/errors</filename>. + </para> + </sect1> + + <sect1 id="interrupting"> + <title>���������� �������� ������</title> + + <para>��� ���������� �������� ������ ������ ���������� ������� ������ + <literal>HUP</literal> ��������� <command>dopackages*</command> + ��� ��������� ��� ��������� <command>make</command>. ��������, + ���������� �� ����� ������, ���������� �������������� � ������� + ���������� ����� (�� ������� ������� ��������� �������� + <command>ps x</command>). ������ ���������� ��������� �������:</para> + + <screen>&prompt.user; <userinput>killall -HUP sh ssh make</userinput></screen> + + <para>������� ���� + <filename><replaceable>${arch}</replaceable>/lock</filename> + ����� ���, ��� ������������� ������. + </para> + </sect1> + + <sect1 id="monitoring"> + <title>�������� �� ���������</title> + + <para>������� + <command>scripts/stats <replaceable>${branch}</replaceable></command> + ���������� ���������� ��������� �� ��������� ������ �������.</para> + + <para>������� <command>cat /var/portbuild/*/loads/*</command> + ������� ������� �������� ���������� ����� � ���������� ��������� ������, + ���������� �� ���.</para> + + <para>���������� + <command>tail -f <replaceable>${arch}</replaceable>/<replaceable>${branch}</replaceable>/build.log</command> + ���������������� ����� ��������� �������� ������.</para> + + <para>� ������, ���� ���� �� ����������, � �� ����� �� ������� ������� + �����, �� ������ ��������� ������� ������� ������ + (<literal>WRKDIR</literal>) ��� ������������ �������. + ��� ����� �������� ���� <filename>.keep</filename> � �������� �����. + ��� ��������� ������ ����� ��������� ����� <literal>WRKDIR</literal> + ����� ������� � ���� + <filename><replaceable>${arch}</replaceable>/<replaceable>${branch}</replaceable>/wrkdirs</filename>. + </para> + + <para>������� �� ������� ������� &man.df.1;. ���� �������� �������, + ���������� <filename>/var/portbuild</filename>, ������������, ����� + <trademark>����� �����</trademark>. + </para> + </sect1> + + <sect1 id="release"> + <title>������ ������� ��� �������</title> + + <para>��� ������ ������� ��� ��������� � ����� ����� ������������� ������ + ���������� �������� <literal>ports</literal> � <literal>src</literal> + �� ������� ����, � ����� ������������� ����� <literal>-nocvs</literal> + � <literal>-noportscvs</literal>.</para> + + <para>��� ���������� ��������� ������� ��� ��������� �� CD-ROM ����������� + �������� <literal>-cdrom</literal> ��� ������� + <command>dopackages</command>.</para> + + <para>���� �� �������� ���������� ��������� ������������, ����� ��������� + ���� <literal>-distfiles</literal> ��� ����������� �������������� + �������.</para> + + <note><para>������ ������ ������ ���� ����������� � ���������� + <literal>-distfiles</literal>.</para></note> + + <para>�� ���������� ������� �������� ������ ������������� ��� � ����������� + <literal>-restart -distfiles -fetch-original</literal>, + ��� ���� ����� �������� ����������� ������������. + �����, �� ����� ��������� ���������, �������� ������ ������ ��� ������ + �������</para> + + <screen>&prompt.user; <userinput>cd <replaceable>${arch}</replaceable>/<replaceable>${branch}</replaceable></userinput> +&prompt.user; <userinput>find distfiles > distfiles-<replaceable>${release}</replaceable></userinput></screen> + + <para>���� ���� ������ �������� � ������� + <filename>i386/<replaceable>${branch}</replaceable></filename> + ������� ������ ��������.</para> + + <para>������ ��������� �������� ������� �������� �������������� �������, + ��������������� �� <hostid>ftp-master</hostid>. ���� �������� + ������������ �������������, ����� ��������� ������ ��� ������ �������, + � ������ — �������.</para> + + <para>����� ����������� ������������� (��. ����) ���� ������� ������������� + �������� ������� ��� ������. ��� ������� �����������, ��������� ������ + <filename><replaceable>${arch}</replaceable>/<replaceable>${branch}</replaceable>/cdrom.sh</filename> + �������, ����� ���� ���������, ��� ��� ������ ������������� + ��������������� � �� �������� ������ �������. ����� ���������� ������� + <filename><replaceable>${arch}</replaceable>/<replaceable>${branch}</replaceable>/packages</filename> + � + <filename><replaceable>${arch}</replaceable>/<replaceable>${branch}</replaceable>/packages-<replaceable>${release}</replaceable></filename>. + ����� ����, ��� ������ ���������� � �������� �����, ��������� � ������� + &a.re; � �������� �� ������������ ���������� ��������� �������.</para> + + <para>������� � ������������� ����������� � ������� &a.re; �� ������ + ������� � ������� ������ ������� ��� �������. + </para> + </sect1> + + <sect1 id="uploading"> + <title>�������� ������� ��� �������</title> + + <para>����� ���������� ������ ������ �/��� �� �������� ������ + ����� ���� ��������� �� <hostid>ftp-master</hostid> ��� + ������� �� ���� ������ FTP. ���� ������ ������ � ������ + <literal>-nofinish</literal>, �� �������� ���������� ����-��������� + ��� ������ ������� <command>dopackages -finish</command> (����� ������� + ������, ���������� ��� <literal>RESTRICTED</literal> � + <literal>NO_CDROM</literal>, � ����� ������, ������������� � ����� + <filename>INDEX</filename>, �� ����� <filename>INDEX</filename> ����� + ������� ������ �� �� ����������� ������, �, �������, ����� ������ ���� + <filename>CHECKSUM.MD5</filename> � ������������ ������� ��������� + �������; ����� ����, ��� ���� ���������� �������� ������ �� �������� + <filename>distfiles/.pbtmp</filename> � <filename>distfiles/</filename>, + � ����� ������ �������� ������ ��� ������, ���������� ��� + <literal>RESTRICTED</literal> � <literal>NO_CDROM</literal>).</para> + + <para>������� ����� �������� ��������� ������� ������� + <command>restricted.sh</command> �/��� + <command>cdrom.sh</command> ����� ���������� ������ + <command>dopackages</command> ������ ��� ������������ �����������. + ������ <command>restricted.sh</command> ����������� ����� ������������ + �� <hostid>ftp-master</hostid>; �����, ����� ����������� ���������� + ������ ������� ��� ������ ��������� <command>cdrom.sh</command>. + </para> + + <para>������ ����� ���������� �� ��������� ������� �� + <hostid>ftp-master</hostid> �������� ����� ��������:</para> + + <screen>&prompt.root; <userinput>cd /var/portbuild/<replaceable>${arch}</replaceable>/<replaceable>${branch}</replaceable></userinput> +&prompt.root; <userinput>tar cfv - packages/ | ssh portmgr@ftp-master tar xfC - w/ports/<replaceable>${arch}</replaceable>/tmp/<replaceable>${branch}</replaceable></userinput></screen> + + <para>�����, �� ������ <hostid>ftp-master</hostid>, ���������, ��� ����� + ������� ���������� ���������, ������� ������ ����� (�� �������� + <filename>~/w/ports/<replaceable>${arch}</replaceable></filename>), + � ����������� ����� �� ��� �����.</para> + + <note><para>��������� �������� �� <hostid>ftp-master</hostid> �� ����� ���� + �������� ����������� ��������. ���������, ��� �� ����������� ����� ����� + ������� � <emphasis>��������</emphasis> �������, � �� �� ����� + ������������ ����� �� ������.</para></note> + + <para>�������������� ������ ���������� ��� ������ ������� + <command>rsync</command>:</para> + + <screen>&prompt.root; <userinput>cd /var/portbuild/<replaceable>${arch}</replaceable>/<replaceable>${branch}</replaceable></userinput> +&prompt.root; <userinput>rsync -r -v -l -p -c -n distfiles/ portmgr@ftp-master:w/ports/distfiles/ | tee log</userinput></screen> + + <para><emphasis>������</emphasis> ��� ������ ����������� ���� + <literal>-n</literal> ������� <command>rsync</command> � ���������� + �� �����. ���� ��� �������� ���������, ������������� + <command>rsync</command> ��� ����� <literal>-n</literal>. + </para> + </sect1> + + <sect1 id="expbuilds"> + <title>����������������� ������</title> + + <para>����� �� ������� ��� ������������ ����� ������������ ��� + ����������� ����� �������������� ������ (<literal>bsd.port.mk</literal>), + � ����� ��� ������������ ������� ����������, ������������� ������������ + ����� �������, ���������� ������ � ������������������ �������. ������� + ����������������� ������ �������� <literal>4-exp</literal> � ����������� + <literal>i386</literal>.</para> + + <para>� �����, ����������������� ������ ������������ ��� ��, ��� � �������. + �������� �������: ����� �������� ������� <literal>dopackages</literal> + ����� ��������� � ������ ������ ����������� ���������. + ������� ����� ����� ��������� ����� ���� ���������� ������, � ����� �� + ������. � ������ �� ������� ��������� ����� ������������� �������������� + �������.</para> + + <para>��� �������� <quote>������������ ����������</quote> ��� ��������� + ������� ������� ���������� ������ ��� ����� ����������� i386, �� ������� + �������� ����������������� ����� (� ��������� ����� ��� ����� + <literal>4</literal>). ����� ����������������� ������� ��������� + ������� src � ports �� ������ ������������ ����������� ������. + � ���� ������ �� ������ ���� �������, ��� ����������� ������ � ��������. + </para> + + <note><para>��� �������� ������ ����� ����������� ����������� � + ����������������� ������ ������������. ��� ����� ������� ���������� + ����� ����� ������.</para></note> + + <para>�� ���������� ������ �������� ���������� ����������� � + ����������������� ������ �������� ����� �������� (��������������, ��� + ����������� �������� ����� <literal>4</literal>, � + ����������������� — <literal>4-exp</literal>):</para> + + <screen>&prompt.user; <userinput>cd /var/portbuild/i386/4-exp/errors</userinput> +&prompt.user; <userinput>find . -name \*.log | sort > /tmp/4-exp-errs</userinput> +&prompt.user; <userinput>cd /var/portbuild/i386/4/errors</userinput> +&prompt.user; <userinput>find . -name \*.log | sort > /tmp/4-errs</userinput></screen> + + <note><para>���� � ������� ���������� ����� �� ������ ������ ���������� + ����� �������, ������� ������ ����� ���� ������������� ������������ + bzip2. � ���� ������ ����������� + <literal>sort | sed 's,\.bz2,,g'</literal>.</para></note> + + <screen>&prompt.user; <userinput>comm -3 /tmp/4-errs /tmp/4-exp-errs | less</userinput></screen> + + <para>����������� ������ ��������� ������� ����� �����, ��������� �� ���� + ��������. � ������ ������� ����� ����������� �����, ������ ������� �� + ������� � �����������, �� �� � ����������������� ������; ������ ������� + ��������� ��������������� ��������. �������, �� ������� ���� ����� + ��������� � ������ ������, ��������:</para> + + <itemizedlist> + <listitem> + <para>���� ��� ��������� � ������� ���������� ������������ �������, + ��� �������� �� ����� ������ ������, ������� ����� �� ���������� + (���� � ����� ������� �������� �� ������ �������) + </para> + </listitem> + + <listitem> + <para>������ ����� ���������� ������� ����������������� ������</para> + </listitem> + + <listitem> + <para>���� �� ���������� ����������������� ������� ��-�� ������ � + ��������� ������ + </para> + </listitem> + </itemizedlist> + + <para>�� ������ ������� ���� ����� ��������� �� ��������� ��������:</para> + + <itemizedlist> + <listitem> + <para>���� �� ���������� � ������������������ ����������� [1]</para> + </listitem> + + <listitem> + <para>���� ��� �������� � ������� ����������� ������ � ���� + ������������ [2] + </para> + </listitem> + + <listitem> + <para>���� �� �������� �� ������� ��������� ������ (����������� FTP + ����, ������ �����-������ �� ������� � �.�.) + </para> + </listitem> + </itemizedlist> + + <para>����� �������� ����������������� ���������� ���������� ������� + ���������� ����� ��������. ����� �������� �������� [1] � [2], ����� + ����������� ��������������� ������ � ����������� �����:</para> + + <screen>&prompt.user; <userinput>cd /var/portbuild/i386/4/ports</userinput></screen> + + <note><para>�� �������� �������� ������ ������ �� ��� �� ����, ��� � ������ + ����������������� ������.</para></note> + + <para>��� ���������� ����������� ����� ����������� �������:</para> + + <screen>&prompt.user; <userinput>/var/portbuild/scripts/dopackages.4 -noportscvs -nobuild -nocvs -nofinish</userinput></screen> + + <para>������ ������ ������������� �� �������� + <literal>packages/All</literal>. ���������� ���� ������� ������ ���� + ����, �� ����������� ���������� ������ Makefile. ���� ���� ������ ���, + �������� ��:</para> + + <screen>&prompt.user; <userinput>cd /var/portbuild/i386/4/packages/All</userinput> +&prompt.user; <userinput>ln -sf ../../Makefile .</userinput> +&prompt.user; <userinput>make -k -j<#> <������ ������� ��� ������></userinput></screen> + + <note><para><#> ��������� ������� ������������ ������. + ������, ��� ����� ����� ���������� �����, ��������� � + <filename>/var/portbuild/i386/mlist</filename>, ���� � ��� ��� ������ + ��������� ����� ������� ���, ��������, ����������� ������.</para> + + <para><������ ������� ��� ������> ������������ ����� ������ ���� + ������� (������� �� ������) � ��� ����, ��� ��� ������������ � ����� + <filename>INDEX</filename>. ������� <literal>PKGSUFFIX</literal> + (.tgz or .tbz) �������� ��������������.</para></note> + + <para>����� ������� ������ ��������� ������, � ����� �� ��������� �����. + ������� ������ ����� �������������� ��� ��, ��� � ����������� ������. + ����� ����, ��� ��� ������ ����������, �� ������ ���������� ������ + ��������� �����������. �������� ������� ����� ��������� ������ + � ����� <literal>HEADS UP</literal> � ������ �������� <ulink + url="mailto:ports@FreeBSD.org">ports@FreeBSD.org</ulink> � <ulink + url="mailto:ports-developers@FreeBSD.org">ports-developers@FreeBSD.org</ulink> + � ����������� � ��������� ����������. ������� ��������� ��������� ����� + ������ ���� ��������� � ���� <filename>/usr/ports/CHANGES</filename>. + </para> + </sect1> +</article>