diff --git a/ru_RU.KOI8-R/books/porters-handbook/book.sgml b/ru_RU.KOI8-R/books/porters-handbook/book.sgml index 61a4ba3568..c907aa1bc4 100644 --- a/ru_RU.KOI8-R/books/porters-handbook/book.sgml +++ b/ru_RU.KOI8-R/books/porters-handbook/book.sgml @@ -4,7 +4,7 @@ $FreeBSD$ $FreeBSDru: frdp/doc/ru_RU.KOI8-R/books/porters-handbook/book.sgml,v 1.136 2006/10/20 09:25:00 marck Exp $ - Original revision: 1.440 + Original revision: 1.1111 --> <!DOCTYPE BOOK PUBLIC "-//FreeBSD//DTD DocBook V4.1-Based Extension//EN" [ @@ -28,6 +28,13 @@ <year>2002</year> <year>2003</year> <year>2004</year> + <year>2005</year> + <year>2006</year> + <year>2007</year> + <year>2008</year> + <year>2009</year> + <year>2010</year> + <year>2011</year> <holder role="mailto:doc@FreeBSD.org"> The FreeBSD Documentation Project</holder> </copyright> @@ -53,7 +60,7 @@ </chapter> <chapter id="own-port"> - <title>��� ������ ������� ����</title> + <title>��� ������ ������� ����� ����</title> <para>����, �� �������������, ��� ������� ����������� ���� ��� �������� ������������? �����������!</para> @@ -65,7 +72,7 @@ <para>���� ���� �������� ������������ ��������, �� ������ ���������� � ����� <filename>/usr/ports/Mk/bsd.port.mk</filename>, ������� ���������� � make-���� ������� �����. �� ������ ����������������, � - ���� ���� �� �� ����������� �������� make-������ �����������, �� ���� + ���� ���� �� �� ����������� �������� make-������ �����������, �� ���� �� ������� ������ ����� ������. ����� ����, ���������� ������� ����� ������, ������ ������ �� ����� &a.ports;.</para> @@ -82,12 +89,18 @@ ����������� �������� ������� ������� <command>:set tabstop=4</command> ����� �������� �����.</para> </note> + + <para> + �����, � ���� �� ������ �������? ���������� �� <ulink + url="http://wiki.freebsd.org/WantedPorts">�������� ����������� + ������</ulink>, ���� �� ��� �����, ��� �������� �� ������ ��������. + </para> </chapter> <chapter id="quick-porting"> <title>������� ������������</title> - <para>� ���� ������� ����� �������, ��� ������� ���� �� ������ ����. + <para>� ���� ������� �������, ��� ������� ����� ���� �� ������ ����. �� ������ ������� ����� ������ �� ����������, ��� ��� ��� ����� ����� ��������� �������� ������.</para> @@ -166,18 +179,15 @@ USE_IMAKE= yes �������� ���������.</para> </note> - <para>�������������, ����� �� ������� ���� ��� � ����� ����� �����, - ��� �����:</para> + <para>��������� ������ ����������, ��� ������ ��������� ��� + <filename>pkg-descr</filename>:</para> <programlisting>This is a port of oneko, in which a cat chases a poor mouse all over the screen. : (etc.) -WWW: http://www.oneko.org/ - -- Satoshi -asami@cs.berkeley.edu</programlisting> +WWW: http://www.oneko.org/</programlisting> </sect2> <sect2> @@ -191,7 +201,9 @@ asami@cs.berkeley.edu</programlisting> <filename>/usr/X11R6</filename>). ���� �� ����������� ���������� <makevar>MAN<replaceable>n</replaceable></makevar> (� �� ������ ��� ������), �� ��������� �������� ����������� ����� �� - �����.</para> + �����. ���� ���� �� ����� ��������� ������� ��������, ���������, + ��� �������� ������ <literal>@dirrm</literal> ��� �������� + ��������� ��� �������� ������.</para> <para>��� ��������� ������:</para> @@ -207,19 +219,16 @@ lib/X11/oneko/mouse.xpm ��������.</para> <note> - <para>� ������ �� ������ ������� ��� �����, �� �� ��������. - ����� ����, ���� ���� ������� �������� ��� �� ����� ���������, - ����� �������� ��������� <literal>@dirrm</literal> � ���������� - ����� ��� �������� �� ��� �������� �����.</para> - <para>�������������, ����� ����� ������ � ���� ������ ���� ������������� � ���������� �������. ��� �������� ����������� ��������� ������ ��������� ��� ���������� �����.</para> + </note> + <note> <para>�������� ������ �������� ������� ����� ��������� ������ ����ϣ���� �������. ���� ���� ������������� ������� ���������� ������, ������ �� <link - linkend="porting-autoplist">�������������� ���������� ������ + linkend="plist-autoplist">�������������� ���������� ������ ��������</link> ����� ������ ���������� �����.</para> </note> @@ -234,12 +243,12 @@ lib/X11/oneko/mouse.xpm <filename>oneko</filename>, ������� ��������� ������ � <filename>Makefile</filename>:</para> - <programlisting>PLIST_FILES= bin/oneko \ - lib/X11/app-defaults/Oneko \ - lib/X11/oneko/cat1.xpm \ - lib/X11/oneko/cat2.xpm \ - lib/X11/oneko/mouse.xpm -PLIST_DIRS= lib/X11/oneko</programlisting> + <programlisting>PLIST_FILES= bin/oneko \ + lib/X11/app-defaults/Oneko \ + lib/X11/oneko/cat1.xpm \ + lib/X11/oneko/cat2.xpm \ + lib/X11/oneko/mouse.xpm +PLIST_DIRS= lib/X11/oneko</programlisting> <para>�������, ���������� <makevar>PLIST_DIRS</makevar> �� ������ ����������, ���� ���� �� ������������� ������� ���������.</para> @@ -255,7 +264,7 @@ PLIST_DIRS= lib/X11/oneko</programlisting> <para>����� �� ������, ��� ����� ������������ ����� <filename>pkg-plist</filename> � <makevar>PLIST_FILES</makevar> - ���������� <link linkend="porting-plist">����� ������� + ���������� <link linkend="plist">����� ������� �����</link>.</para> </sect2> </sect1> @@ -266,6 +275,14 @@ PLIST_DIRS= lib/X11/oneko</programlisting> <para>������ ������� ������� <command>make makesum</command>. ������� ������� make ������������� ����������� ���� <filename>distinfo</filename>.</para> + + <para>���� � ������������ ����� ��������� �������� ����������� + ����� � �� �� ������������ � ���������� ��������� (�.�. �� ������� + �� CD �������������, ���� ��������� ����������� ������������), �� �� + ������ ������� ��� ����� � ���������� <makevar>IGNOREFILES</makevar>. + ����� ����������� ����� ��� ���������� <command>make makesum</command> + ��� ����� ����� ����������� �� �����, � ������ ����� ��� ���� ����� + ����������� �������� <literal>IGNORE</literal>.</para> </sect1> <sect1 id="porting-testing"> @@ -292,7 +309,7 @@ PLIST_DIRS= lib/X11/oneko</programlisting> </listitem> <listitem> - <para>��� ���� <link linkend="porting-cleaning">���������</link> + <para>��� ���� <link linkend="plist-cleaning">���������</link> �� ����� ����� ������ ��������</para> </listitem> </itemizedlist> @@ -336,6 +353,13 @@ PLIST_DIRS= lib/X11/oneko</programlisting> �������� ���� ������� �������. ����� ���������� ��������� ����������� ����������� ����� ���������� ���� 4, ����� ���������, ��� ��� �������� ��������� ��� ��������� �� ������.</para> + + <para>�������� ������������� �������� ������������� ���� ����� �������� + ��������� <application>ports tinderbox</application>. ��� + ������������ <literal>jails</literal>, � ������� �� ������ ��������� + ��� ������������� ���� ��� ��������� ��������� � ����� �������� + �������. ��� ��������� �������������� ���������� �������� + <filename>ports/ports-mgmt/tinderbox</filename>.</para> </sect1> <sect1 id="porting-portlint"> @@ -344,65 +368,65 @@ PLIST_DIRS= lib/X11/oneko</programlisting> <para>������ �����, ����������� �������� <command>portlint</command> ��� �������� ����, ��� ��� ���� ������������� ����� �������������. - ��������� <command>portlint</command> �������� ������ ��������� + ��������� <filename role="package">ports-mgmt/portlint</filename> + �������� ������ ��������� ������. � ���������, �� ������ �������� ���������, ��������� �� ����������� ���� <link linkend="porting-samplem">Makefile</link> � - ��������������� �� ������� ���������� <link + ��������������� �� ������� �������� <link linkend="porting-pkgname">�����</link>.</para> </sect1> <sect1 id="porting-submitting"> - <title>������� �����</title> + <title>������� ������ �����</title> - <para>������ ����� ��������������, ��� �� ��������� ������ � - ���, ��� <link + <para>����� �������� ������ ����� ��������������, ��� �� ��������� + ������ � ���, ��� <link linkend="porting-dads">����� � ������</link> ������.</para> <para>������, ����� �� ��������� �� ������ ������� �����, ������������, ��� �������� �������, ��� �������� ��� � �������� ������ ������ - FreeBSD � ������������ ���� ���� ���������. ��� �� ����� �� ��� + &os; � ������������ ���� ���� ���������. ��� �� ����� �� ��� ������� <filename>work</filename>, �� ����� <filename>pkgname.tgz</filename>, ��� ��� ������� �� ����� ������. - ����� ������ �������� ����� ������� - <command>shar `find port_dir`</command> � ��������� �� ������ � ������� + ����� (�����������, ��� ��� ���� ����� oneko) ��������� � ������� + ����, ���, ��� ��������� ������� <literal>oneko</literal>, � �������� + ���������: <command>shar `find oneko` > oneko.shar</command> + + <para>�������� ��� ���� <literal>oneko.shar</literal> + � ��������� �� ������ � ������� ��� � ������� ��������� &man.send-pr.1; (���������� � ������� <ulink - url="../../articles/contributing/contrib-how.html#CONTRIB-GENERAL"> + url="&url.articles.contributing;/contrib-how.html#CONTRIB-GENERAL"> ��������� �� ������� � ����� ���������</ulink> ��� ��������� ��������� - ���������� � ��������� &man.send-pr.1;). ���� ������ �������������� - ����� ��������� 20��, �� ������� ��� � tar-���� � �������������� - �������� &man.uuencode.1; ����� ���, ��� �������� ��� � ��������� - (����� �������� ����� �����, ���� ���� ��������� �� ��������� 20��, �� - ��� �� �������������). �� �������� + ���������� � ��������� &man.send-pr.1;). �� �������� ������� � ��������� ��������� <literal>ports</literal> � ����� <literal>change-request</literal> (�� ����������, ��� ��������� ����� ������ <literal>confidential</literal>!). �������� ����� ������� �������� ���������, ���� ������� �� �������, � ������ - <quote>Description</quote> ������������� PR � ��� ���� � ���� ������ - shar ��� ������ tar, ������������� �������� uuencode, �������� ��� � - ������ <quote>Fix</quote>.</para> + <quote>Description</quote> ������������� PR (��������, ���������� + <makevar>COMMENT</makevar> � ����������� ����) � ��� ���� � ���� ������ + shar, �������� ��� � ������ <quote>Fix</quote>.</para> <note> <para>�� ������ ����������� ��������� ���� ������, ���� � ���� ��������� � �������� ��������� ������� ��������. �� ����������� ����� ����� <quote>New port: <���������>/<�������� - �����> <������� �������� �����></quote> ��� ����� ������ � - <quote>Update port: <���������>/<��� �����> <������� - �������� ����������></quote> � ������ ���������� ������. ���� - �� �������� ���� �����, �� ����� �� ��, ��� �� ���� PR ������ + �����> <������� �������� �����></quote> ��� ����� ������. + ���� �� �������� ���� �����, �� ����� �� ��, ��� �� ���� PR ������ ���-�� ��������, ������� ����.</para> </note> <para>�������� �ݣ ���, ��� <emphasis>�� ����� �������� �� ������������ ���� � �������������, �� ������� <filename>work</filename>, �� �����, ����������� ���� �������� - <command>make package</command></emphasis>.</para> + <command>make package</command></emphasis>; ��� ����� ������ + ����������� &man.shar.1;, �� �� &man.diff.1;.</para> <para>����� ���� ��� �� ������� ����, ����������, ���������. - ������ ��������� ������ ����� ����� ������ �� ���������� �������, � - ������ ����� ��������� ����. <ulink + ������ ��������� ������ ����� �� &os; ����� ������ �� ���������� + �������, � ������ ����� ��������� ����. <ulink url="http://www.FreeBSD.org/cgi/query-pr-summary.cgi?category=ports"> - �����</ulink> �� ������ ����� ������ ������ ��������� ����� ������� - ��� ��������� �� FreeBSD.</para> + �����</ulink> �� ������ ����� ������ PR ��� ������ ��������� ����� + ������� ��� ��������� �� &os;.</para> <para>�� ���������� ��� ����, ��� ������������� ���Σ� ��� �������, � ����� ������� ���� � ���� ������. ���� ��� ����� �������� � ������ @@ -600,7 +624,7 @@ PLIST_DIRS= lib/X11/oneko</programlisting> ţ ������ � ������ <makevar>MASTER_SITES</makevar>. ���� ������, ����������� ������������ � ������� ����� �� ����; ��� ������������� �������� � ���������� ���������� ���������� �������� �����. - ������������ ����������� ������ ������� �������� ��������� ������ � + ���������� ����������� ������ ������� �������� ��������� ������ � ������������� ���� <errorname>checksum mismatch</errorname>, � ����� �������� �������� �� �����, �������������� ��� FTP-������. �����, ���� � ����� ������� ������ ���� �������� ������, �� @@ -620,7 +644,7 @@ PLIST_DIRS= lib/X11/oneko</programlisting> <para>���������� ����� ��������������� ����� � ��������� ������� � ������� ���������, ������� ���������� ��� ����, ����� ���� - �������������� ��������� � ������� ������ FreeBSD. + �������������� ��������� � ������� ������ &os;. <emphasis>��������� ������������</emphasis> ���, ��� �� �������, ���� ������� ��� ��������� ����������������. ���, ������� ��������, ���������� ��� ����������� � ������ ������ ����� ����������� @@ -640,7 +664,7 @@ PLIST_DIRS= lib/X11/oneko</programlisting> <note> <para>���� ���� �� ������� ��������, �� �����, ������� � ������ �����, ������� �� ������� � ������������ ��� ��������� ������ - FreeBSD, ������ ��������� ��� ����������� ������� �������� + &os;, ������ ��������� ��� ����������� ������� �������� BSD.</para> </note> </sect1> @@ -649,29 +673,38 @@ PLIST_DIRS= lib/X11/oneko</programlisting> <title>�������� ������</title> <para>�����, ������� ����������� ��� ���������� � �������� �������� - �����, ����� ���� �������� ������� ��������� &man.diff.1; � ���������, + �����, ����� ���� �������� ������� ��������� &man.diff.1;, � ��������� ������ ���� ��������� ����� ���� � ���������� ������� - ��������� &man.patch.1;. ������ ����� ������, ������� �� ����������� - ���������, ������ ���� ������ � ���� � ������ + ��������� &man.patch.1;. ������ ����, ������� �� ����������� + ���������, ������ ���� �������� � ���� � ������ <filename>patch-<replaceable>*</replaceable></filename>, ��� - <replaceable>*</replaceable> �������� �������, � ������� ����� - ����������� ����� — ��� �������� � - <emphasis>���������� �������</emphasis>, �� ���� ������� - <literal>aa</literal>, ����� <literal>ab</literal> � ��� �����. ���� - ������, �� ������ ������������ ����� ������, ����������� �� ����� - ������, � ������� ����������� �����, �����, ��� + <replaceable>*</replaceable> ���������� ���� � �����, � �������� + ����������� ����, ����� ��� <filename>patch-Imakefile</filename> ��� <filename>patch-src-config.h</filename>. ��� ����� ������ ���������� � - �������� <makevar>PATCHDIR</makevar>, - ������ ��� ����� ����� �������������. ��� ����� ������ ���� ������� + �������� <makevar>PATCHDIR</makevar> + (��� �������, ��� <filename>files/</filename>), + ������ ��� ����� ����� �������������. ��� ����� ������� ���� ������� ������������ �������� <makevar>WRKSRC</makevar> (��� �������, ��� �������, � ������� ��������������� �������� ����� � ��� ����� ����������� ����������). ��� ��������� �������� ��������� � ���������� �� ������ �������� ������� ����� ��� ������ ����� ��� ������ � ���� �� ����� (��������, ������ - <filename>patch-aa</filename> � <filename>patch-ab</filename>, ��� - �������� ���� - <filename><makevar>WRKSRC</makevar>/foobar.c</filename>).</para> + <filename>patch-file</filename> � <filename>patch-file2</filename>, + ��� �������� ���� <filename><makevar>WRKSRC</makevar>/foobar.c</filename>). + �������� ��������, ��� ���� ���� � ����������� ����� �������� ������ + ������������� (<literal>_</literal>), �� ���� ������ ��������� � ����� + ����� ��� ������������� ������ ������. ��������, ��� ���������� ����� + �� ���� � ������ <filename>src/freeglut_joystick.c</filename> + ��������������� ���� ������� ������� + <filename>patch-src-freeglut__joystick.c</filename>.</para> + + <para>����������, ����������� ��� ���������� ����� ������ ������ ������� + <literal>[-+._a-zA-Z0-9]</literal>. �� ����������� ����� ������ + �������, ����� ����. �� ��������� ���� ����� ��� + <filename>patch-aa</filename> ��� <filename>patch-ab</filename> � + ��� �����, ������ ���������� �� ���� � �������� ����� � ��������� + ������.</para> <para>�� ��������� ������ RCS � �����. CVS ����� �������� �� ��� ��������� ������ � ������ ������, � ����� �� ����� �� ������ @@ -693,13 +726,61 @@ PLIST_DIRS= lib/X11/oneko</programlisting> <command>autoconf</command> ��� ������������� <command>configure</command>, �� ����� �������� ����� diff ��� <command>configure</command> (��� ��������� ��������� �� ���������� - ����� �����!); ������� <literal>USE_AUTOCONF_VER=213</literal> � + ����� �����!); ������� <literal>USE_AUTOTOOLS=autoconf:261</literal> � �������� diff-���� ��� <filename>configure.in</filename>.</para> - <para>����� ����, ���� �� �������� ����, �� ��� ����� ������� � � ���� - <maketarget>post-extract</maketarget>, � �� ������ �����. ��� ������ - �� ������ ������������� ������������ diff-������, �������� ��� �� - ��������� �� ������ ����� �� ��������� ����.</para> + <para>����� ������������ �������������� � ����� ������ ����� + ���������������� ��������� � ������� ���������. � ���� ��������� + ��������� ���� �������� ���������������� ���������� ������������� + ��������� ������� ������� ������� ����, �� � ���������� ������� + � ��������� ��������. ���� �� ������ ���������� �������������� + ����� �� ������ ������� ��� ����������� ������� ������� � ������, + �� ������ ���������, ����������: ���������� ������������ ���� + ����� ���� ����� ���������������� ���������. ��� �� ������ + ����������� ������ ����������� CVS, �� ����� ��������� ����� ����, + ��� ��������� ������� �������� � ��� �� ������ ��������.</para> + + <para>���� ��� ����� ������� ����, �� �� ������ ������� ��� ��� + ���������� ���� <maketarget>post-extract</maketarget> ������ ����, + ����� ��������� ��� ��� ����� �����.</para> + + <para>������� ����������� ����� ���� ��������� ��������������� �� + <filename>Makefile</filename> ����� � �������������� &man.sed.1; � + ������ in-place. ��� ����� ������, ����� ��� ����� ��������� ���� + �� �������� ����������. ������:</para> + + <programlisting>post-patch: + @${REINPLACE_CMD} -e 's|for Linux|for FreeBSD|g' ${WRKSRC}/README + @${REINPLACE_CMD} -e 's|-pthread|${PTHREAD_LIBS}|' ${WRKSRC}/configure</programlisting> + + <para>�������� ����� ������ ��������, ����� ����������� ����������� + �����������, �������� ���� �������� ���������� ���������� �������� + &windows;, ���������� ��������� CR/LF ��� ����������� ����� �������� + ������. ��� ����� ���� �������� ������� � ���������� ���������, + ���������������� �����������, ����������� �������� + (<command>/bin/sh^M</command> not found) � ��� �����. ��� ������� + �������������� ���� ������ �� CR/LF ������ � LF �������� + <literal>USE_DOS2UNIX=yes</literal> � <filename>Makefile</filename> + �����. ����� ���� ������ �������� ������������� ������:</para> + + <programlisting>USE_DOS2UNIX= util.c util.h</programlisting> + + <para>���� �� ������ ������������� ������ ������ � ������ ������������, + �� ��� ����� ����� ������������ <makevar>DOS2UNIX_REGEX</makevar>. + ��� ���������� �������� ���������� ���������, ����������� � + <command>find</command>. ��������� � ������� � &man.re.format.7;. + ��� ����� ������������ ��� �������������� ���� ������ ��������� + ����������, � ������� ���� �������� ������, �� ���������� �������� + �����:</para> + + <programlisting>USE_DOS2UNIX= yes +DOS2UNIX_REGEX= .*\.(c|cpp|h)</programlisting> + + <para>���� �� ������ ������� ���� �� ������ ������������� �����, �� �� + ������ ��� ����������� � ����������� <filename>.orig</filename>, � + ����� �������� ��������. ����<maketarget>makepatch</maketarget> + ������� ��������������� ���� � ������ � ������� + <filename class="directory">files</filename> ������� �����.</para> </sect1> <sect1 id="slow-configure"> @@ -757,7 +838,8 @@ PLIST_DIRS= lib/X11/oneko</programlisting> <filename>foozolix-1.2.tar.gz</filename>? ���� ��� ���, ����� ������� � ���������� ����. ���� ���, �� �� ������ ���������� �������������� ��������� �� ���������� - <makevar>DISTNAME</makevar>, <makevar>EXTRACT_CMD</makevar>, + <makevar>DISTVERSION</makevar>, <makevar>DISTNAME</makevar>, + <makevar>EXTRACT_CMD</makevar>, <makevar>EXTRACT_BEFORE_ARGS</makevar>, <makevar>EXTRACT_AFTER_ARGS</makevar>, <makevar>EXTRACT_SUFX</makevar> ��� <makevar>DISTFILES</makevar> � @@ -789,7 +871,7 @@ PLIST_DIRS= lib/X11/oneko</programlisting> <makevar>PORTVERSION</makevar> - ����� ������.</para> </sect2> - <sect2> + <sect2 id="makefile-naming-revepoch"> <title><makevar>PORTREVISION</makevar> � <makevar>PORTEPOCH</makevar></title> @@ -952,8 +1034,8 @@ PLIST_DIRS= lib/X11/oneko</programlisting> <para>�������� ������ ����� <literal>gtkmumble</literal>, ������ <literal>0.10</literal>, � ��������� ������.</para> - <programlisting>PORTNAME= gtkmumble -PORTVERSION= 0.10</programlisting> + <programlisting>PORTNAME= gtkmumble +PORTVERSION= 0.10</programlisting> <para>�������� <makevar>PKGNAME</makevar> ������ ������ <literal>gtkmumble-0.10</literal>.</para> @@ -962,9 +1044,9 @@ PORTVERSION= 0.10</programlisting> ���������� ����� ��� FreeBSD. �������������� ���� ��������� �������� ���������� <makevar>PORTREVISION</makevar>.</para> - <programlisting>PORTNAME= gtkmumble -PORTVERSION= 0.10 -PORTREVISION= 1</programlisting> + <programlisting>PORTNAME= gtkmumble +PORTVERSION= 0.10 +PORTREVISION= 1</programlisting> <para><makevar>PKGNAME</makevar> ��������� �������� <literal>gtkmumble-0.10_1</literal></para> @@ -982,9 +1064,9 @@ PORTREVISION= 1</programlisting> <makevar>PORTREVISION</makevar> ���������� (��� ��������� �� ����� <filename>Makefile</filename>).</para> - <programlisting>PORTNAME= gtkmumble -PORTVERSION= 0.2 -PORTEPOCH= 1</programlisting> + <programlisting>PORTNAME= gtkmumble +PORTVERSION= 0.2 +PORTEPOCH= 1</programlisting> <para><makevar>PKGNAME</makevar> ��������� �������� <literal>gtkmumble-0.2,1</literal></para> @@ -993,9 +1075,9 @@ PORTEPOCH= 1</programlisting> ���������� <makevar>PORTEPOCH</makevar> ������� �� �����������, ��� ����������, ������������ ������, ������ �������� ���:</para> - <programlisting>PORTNAME= gtkmumble -PORTVERSION= 0.3 -PORTEPOCH= 1</programlisting> + <programlisting>PORTNAME= gtkmumble +PORTVERSION= 0.3 +PORTEPOCH= 1</programlisting> <para><makevar>PKGNAME</makevar> ��������� �������� <literal>gtkmumble-0.3,1</literal></para> @@ -1034,6 +1116,28 @@ PORTEPOCH= 1</programlisting> ������ �������� ���������� <makevar>PORTNAME</makevar>.</para> </sect2> + <sect2> + <title><makevar>LATEST_LINK</makevar></title> + + <para>� ��������� ������� � ��������� ������ ����� �������������� + ��������� ������ ��������� ������������. ��� �������, ���������� + �������� � ���������� �������, ��������� � ����������� �� ������ + ��� ������, ����������� �����, ���� ��� ��� ����� ����� ������ + �������� ��� <makevar>PORTNAME</makevar>, + <makevar>PKGNAMEPREFIX</makevar> � ���� + <makevar>PKGNAMESUFFIX</makevar>. � ���� ������� ��� ���� ������ + ����� �������� ������� ��������� ��������� �������� ��� + �������������� ���������� <makevar>LATEST_LINK</makevar> — + ����� �������� ������ �� �������������, �������� ����� + <filename>editors/vim5</filename> � <filename>editors/vim</filename>, + � ����� ��������� <filename>www/apache*</filename>. �������� + ��������, ��� �������� <quote>�������</quote> ������ — + <quote>����� ����������</quote>, <quote>����� ��������������</quote>, + <quote>� ����������� �����������</quote> � ��� ����� — ��� + ������� �� ����� ������������ ����� �����������; �� ����� ���� + �������� ���, ��� ��������� ������ ������ ������ ����� ����, ��� + �� ������� <quote>�������</quote>.</para> + <sect2 id="porting-pkgname"> <title>���������� �� ���������� �������</title> @@ -1078,18 +1182,33 @@ PORTEPOCH= 1</programlisting> ����� � ������� ��������, ��� ��� ���������� ������� ����, ����� ������������ ��� ������������ ������, ����������� � ����� ��������� ���������� ��������� ����.) ���������� �������� - ��������� ������ ��� <literal>perl 5</literal>, �������� ������� + ��������� ������ ��� <literal>Perl 5</literal>, �������� ������� <literal>p5-</literal> � ���������� ���� ��������� � �����; ��������, ������ <literal>Data::Dumper</literal> ����� - ����������� <literal>p5-Data-Dumper</literal>. ���� ����������� - ����������� �������� � ����� �����, ������ ��� �������������, �� - �� ������ �������� ����� � �� (��������, - <literal>kinput2</literal>).</para> + ����������� <literal>p5-Data-Dumper</literal>.</para> + </listitem> + + <listitem> + <para>���������, ��� ��� ����� � ������ ����� �������� � + ����������� � ���������� <makevar>PORTNAME</makevar> � + <makevar>PORTVERSION</makevar>. ������������ �������, �� + ������� <makevar>PORTNAME</makevar> �������� ���������� �����, + ��� ���� ���������� ����������� ��� ������ ����� �������, ��� + ��� ������� ��� ������ <filename>textproc/libxml2</filename> + ��� <filename>japanese/kinput2-freewnn</filename>. � ��������� + ������ <makevar>PORTNAME</makevar> �� ������ ��������� ������� + ����������, ����������� �� ������. ��, ��� ��������� ����� + ����� ���������� <makevar>PORTNAME</makevar>, �������� ������ + ����������, ��� ��� ������ <filename>www/apache*</filename>; + � ���� ������ ��������� ������ (� ��������� ������ � �������) + ���������� �� ��������� <makevar>PKGNAMEPREFIX</makevar>, + <makevar>PKGNAMESUFFIX</makevar> � + <makevar>LATEST_LINK</makevar>.</para> </listitem> <listitem> <para>���� ���� ����� ���� �������� � ���������� <link - linkend="porting-masterdir">���������� ��������� ���������� �� + linkend="makefile-masterdir">���������� ��������� ���������� �� ���������</link> (������ ��� ����� ����� �������� � ��������� ������), �� ����� <replaceable>-compiled.specifics</replaceable> ������ ���������� ���������������� �������� �� ��������� (����� @@ -1120,10 +1239,15 @@ PORTEPOCH= 1</programlisting> �� ������ ������. � ���������, ������� �� ���, ����� ���������� ������ ������ ����������� ������, � ���� ��� ������������ ����, �� ����������� ������ - <literal><replaceable>yyyy</replaceable>.<replaceable>mm</replaceable>.<replaceable>dd</replaceable></literal>, �� �� + <literal>0.0.<replaceable>yyyy</replaceable>.<replaceable>mm</replaceable>.<replaceable>dd</replaceable></literal>, �� �� <literal><replaceable>dd</replaceable>.<replaceable>mm</replaceable>.<replaceable>yyyy</replaceable></literal> - ��� �� ����������� � ��������� �2000 - <literal><replaceable>yy</replaceable>.<replaceable>mm</replaceable>.<replaceable>dd</replaceable></literal>.</para> + ��� �� ����������� � ��������� Y2K + <literal><replaceable>yy</replaceable>.<replaceable>mm</replaceable>.<replaceable>dd</replaceable></literal>. + ���������� � ������ �������� <literal>0.0.</literal> �������� + ������, � ������ ���� ������� ����� � ����������� ��������� + ������, ������� � �������� �������������, ������� ��, ����� + ����, ��� + <literal><replaceable>yyyy</replaceable></literal>.</para> </listitem> </orderedlist> @@ -1131,7 +1255,7 @@ PORTEPOCH= 1</programlisting> �������������, ������������ ��������, � ����������� ��� ����� ������:</para> - <informaltable frame="none"> + <informaltable frame="none" pgwide="1"> <tgroup cols="6"> <thead> <row> @@ -1159,126 +1283,117 @@ PORTEPOCH= 1</programlisting> <entry>��������� �� �������������</entry> </row> - <row> - <entry>XFree86-3.3.6</entry> - <entry>(�����)</entry> - <entry>XFree86</entry> - <entry>(�����)</entry> - <entry>3.3.6</entry> - <entry>��������� �� �������������</entry> - </row> + <row> + <entry>EmiClock-1.0.2</entry> + <entry>(�����)</entry> + <entry>emiclock</entry> + <entry>(�����)</entry> + <entry>1.0.2</entry> + <entry>��� ��������� �������� ����� � ���������� ������� + ���������</entry> + </row> - <row> - <entry>EmiClock-1.0.2</entry> - <entry>(�����)</entry> - <entry>emiclock</entry> - <entry>(�����)</entry> - <entry>1.0.2</entry> - <entry>��� ��������� �������� ����� � ���������� ������� - ���������</entry> - </row> + <row> + <entry>rdist-1.3alpha</entry> + <entry>(�����)</entry> + <entry>rdist</entry> + <entry>(�����)</entry> + <entry>1.3.a</entry> + <entry>������� ���� <literal>alpha</literal> ���������</entry> + </row> - <row> - <entry>rdist-1.3alpha</entry> - <entry>(�����)</entry> - <entry>rdist</entry> - <entry>(�����)</entry> - <entry>1.3.a</entry> - <entry>������� ���� <literal>alpha</literal> ���������</entry> - </row> + <row> + <entry>es-0.9-beta1</entry> + <entry>(�����)</entry> + <entry>es</entry> + <entry>(�����)</entry> + <entry>0.9.b1</entry> + <entry>������� ���� <literal>beta</literal> ���������</entry> + </row> - <row> - <entry>es-0.9-beta1</entry> - <entry>(�����)</entry> - <entry>es</entry> - <entry>(�����)</entry> - <entry>0.9.b1</entry> - <entry>������� ���� <literal>beta</literal> ���������</entry> - </row> + <row> + <entry>mailman-2.0rc3</entry> + <entry>(�����)</entry> + <entry>mailman</entry> + <entry>(�����)</entry> + <entry>2.0.r3</entry> + <entry>������� ���� <literal>rc</literal> ���������</entry> + </row> - <row> - <entry>mailman-2.0rc3</entry> - <entry>(�����)</entry> - <entry>mailman</entry> - <entry>(�����)</entry> - <entry>2.0.r3</entry> - <entry>������� ���� <literal>rc</literal> ���������</entry> - </row> + <row> + <entry>v3.3beta021.src</entry> + <entry>(�����)</entry> + <entry>tiff</entry> + <entry>(�����)</entry> + <entry>3.3</entry> + <entry>��� ��� ����� ���� ������?</entry> + </row> - <row> - <entry>v3.3beta021.src</entry> - <entry>(�����)</entry> - <entry>tiff</entry> - <entry>(�����)</entry> - <entry>3.3</entry> - <entry>��� ��� ����� ���� ������?</entry> - </row> + <row> + <entry>tvtwm</entry> + <entry>(�����)</entry> + <entry>tvtwm</entry> + <entry>(�����)</entry> + <entry>pl11</entry> + <entry>������ ��������� �������� ������ ������</entry> + </row> - <row> - <entry>tvtwm</entry> - <entry>(�����)</entry> - <entry>tvtwm</entry> - <entry>(�����)</entry> - <entry>pl11</entry> - <entry>������ ��������� �������� ������ ������</entry> - </row> + <row> + <entry>piewm</entry> + <entry>(�����)</entry> + <entry>piewm</entry> + <entry>(�����)</entry> + <entry>1.0</entry> + <entry>������ ��������� �������� ������ ������</entry> + </row> - <row> - <entry>piewm</entry> - <entry>(�����)</entry> - <entry>piewm</entry> - <entry>(�����)</entry> - <entry>1.0</entry> - <entry>������ ��������� �������� ������ ������</entry> - </row> + <row> + <entry>xvgr-2.10pl1</entry> + <entry>(�����)</entry> + <entry>xvgr</entry> + <entry>(�����)</entry> + <entry>2.10.1</entry> + <entry><literal>pl</literal> ��������� ������ ��� ���������� + ��������/�������� ������ ������</entry> + </row> - <row> - <entry>xvgr-2.10pl1</entry> - <entry>(�����)</entry> - <entry>xvgr</entry> - <entry>(�����)</entry> - <entry>2.10.1</entry> - <entry><literal>pl</literal> ��������� ������ ��� ���������� - ��������/�������� ������ ������</entry> - </row> + <row> + <entry>gawk-2.15.6</entry> + <entry>ja-</entry> + <entry>gawk</entry> + <entry>(�����)</entry> + <entry>2.15.6</entry> + <entry>������ �� �������� �����</entry> + </row> - <row> - <entry>gawk-2.15.6</entry> - <entry>ja-</entry> - <entry>gawk</entry> - <entry>(�����)</entry> - <entry>2.15.6</entry> - <entry>������ �� �������� �����</entry> - </row> + <row> + <entry>psutils-1.13</entry> + <entry>(�����)</entry> + <entry>psutils</entry> + <entry>-letter</entry> + <entry>1.13</entry> + <entry>������ ������ �������� ���������� �� ����� ���������� + ������</entry> + </row> - <row> - <entry>psutils-1.13</entry> - <entry>(�����)</entry> - <entry>psutils</entry> - <entry>-letter</entry> - <entry>1.13</entry> - <entry>������ ������ �������� ���������� �� ����� ���������� - ������</entry> - </row> - - <row> - <entry>pkfonts</entry> - <entry>(�����)</entry> - <entry>pkfonts</entry> - <entry>300</entry> - <entry>1.0</entry> - <entry>����� ��� ������� 300dpi</entry> - </row> - </tbody> - </tgroup> - </informaltable> + <row> + <entry>pkfonts</entry> + <entry>(�����)</entry> + <entry>pkfonts</entry> + <entry>300</entry> + <entry>1.0</entry> + <entry>����� ��� ������� 300dpi</entry> + </row> + </tbody> + </tgroup> + </informaltable> <para>���� � �������� ���� ��������� ��� ���������� � ������ ������ � �� ������, ��� ����� ���������� ��������� ������ ������, �� � �������� ������ ������ ������� ������ <literal>1.0</literal> (��� � ������� � <literal>piewm</literal> ����). � ��������� ������ �������� ������ ��������� ��� ����������� ���� - (<literal><replaceable>yyyy</replaceable>.<replaceable>mm</replaceable>.<replaceable>dd</replaceable></literal>) + (<literal>0.0.<replaceable>yyyy</replaceable>.<replaceable>mm</replaceable>.<replaceable>dd</replaceable></literal>) � �������� ������ ������.</para> </sect2> </sect1> @@ -1296,36 +1411,16 @@ PORTEPOCH= 1</programlisting> ���������� <makevar>CATEGORIES</makevar>. ����� ����� ����� ��� ���������� ����� ������������, ����� �� ������������ � ������ ������� �� FTP-������� ��� �������-�����. ����������, ���������� �� - ������ ������������ <link - linkend="porting-categories">���������</link> � �������� �� �� ���, + <link linkend="porting-categories">������� ������ ���������</link> + � �������� �� �� ���, ������� ����� ����� �������� � ������ �����.</para> <para>���� ������ ����� ����������, ���� � ������ ������ ����� ������� ����. ���� �� ������� ����� ����� ����� ���������, �� ��������������, ��� ����� ����� ����� �������� � ���������� � ������ - ������ ���������. ���������� ������ � <link - linkend="porting-categories">����������</link> ��� ��������� + ������ ���������. ���������� <link + linkend="choosing-categories">����</link> ��� ��������� ��������� ���������� � ���, ��� ��������� ������� ���������.</para> - - <para>���� ��� ���� ������������� ��������� � ����-��, ��� ��������� - �� ����� ��������� �� � ����� �� ������������ ���������, �� ������ - ���� ������� ����� ���������. � ���� ������, ����������, ������� - ������ � ����� ������������ �� ����� &a.ports;. ������, ������ - ������, ���� �� ����ң��� ����� ��� ������������ ���������� ������, - ������� ����� ������� � ������������ ���� ���������, ���� ���� ����� - �����������.</para> - - <note> - <para>����� �� ������� ���-������ ���������� ���������� ������������� - ��������� ���� �� �������������, ���� ������� ���� �� ������ - �������� ����. �� ������ ������ �� ���� ����������� ������ �� - ����������, ������ ���, ���� ��� ������ � ����������, �� - �������������� ��������� ���� ��������� ������ �� ������� ���� - �������� � ������. ����������, �������� ������� ���� ����������� - � ������� �������� ����� ���, ��� ��������� ���� �����������; - ����� ����, �� ������ ���� ������ ����������� ���������� - ��������.</para> - </note> </sect2> <sect2 id="porting-categories"> @@ -1338,13 +1433,12 @@ PORTEPOCH= 1</programlisting> �������� ��������� ���������, � ������ ��� ������.</para> <note> - <para>��� ������ ����������� ��������� ������� ���� - <filename>pkg/COMMENT</filename> � �� ������������ ��������� - � ��������������� ����������� (��������, - <filename>archivers/pkg/COMMENT</filename>).</para> + <para>��� ������������� ��������� ������� ������������ �������� + � <makevar>COMMENT</makevar> � <filename>Makefile</filename> + ���������������� �����������.</para> </note> - <informaltable frame="none"> + <informaltable frame="none" pgwide="1"> <tgroup cols="3"> <thead> <row> @@ -1359,125 +1453,95 @@ PORTEPOCH= 1</programlisting> <tbody> <row> <entry><filename>accessibility</filename></entry> - <entry>����� ��� ������ ������������� � ������������� �������������.</entry> - <entry></entry> </row> <row> <entry><filename>afterstep*</filename></entry> - <entry>�����, �������������� �������� ���� <ulink url="http://www.afterstep.org">AfterStep</ulink>.</entry> - <entry></entry> </row> <row> <entry><filename>arabic</filename></entry> - <entry>��������� ��������� �����.</entry> - <entry></entry> </row> <row> <entry><filename>archivers</filename></entry> - <entry>����������� ��� ������ � ��������.</entry> - <entry></entry> </row> <row> <entry><filename>astro</filename></entry> - <entry>����������, ��������� � �����������.</entry> - <entry></entry> </row> <row> <entry><filename>audio</filename></entry> - <entry>��������� ������ �� ������.</entry> - <entry></entry> </row> <row> <entry><filename>benchmarks</filename></entry> - <entry>������� ��� ��������� ������������������ �������.</entry> - <entry></entry> </row> <row> <entry><filename>biology</filename></entry> - <entry>����������� �����������, ��������� � ���������.</entry> - <entry></entry> </row> <row> <entry><filename>cad</filename></entry> - <entry>����������� ������ ������������������� ��������������.</entry> - <entry></entry> </row> <row> <entry><filename>chinese</filename></entry> - <entry>��������� ���������� �����.</entry> - <entry></entry> </row> <row> <entry><filename>comms</filename></entry> - <entry>���������������� ����������� �����������.</entry> - <entry>� �������� ��������� ��� ������ � ���������������� ������.</entry> </row> <row> <entry><filename>converters</filename></entry> - <entry>������� ��� �������������� ���������� ��������.</entry> - <entry></entry> </row> <row> <entry><filename>databases</filename></entry> - <entry>���� ������.</entry> - <entry></entry> </row> <row> <entry><filename>deskutils</filename></entry> - <entry>��, ��� ���� �� ����� �� ����������� �����������.</entry> - <entry></entry> </row> <row> <entry><filename>devel</filename></entry> - <entry>������� ��� ���������� ������������ �����������.</entry> - <entry>�� ��������� ���� ���������� ������ ������ ��� ��� ����������—���� ��� ��������� ��� �����-�� ������ ���������, �� �� ���� ����� �� ������.</entry> @@ -1485,17 +1549,19 @@ PORTEPOCH= 1</programlisting> <row> <entry><filename>dns</filename></entry> - <entry>����������� ����������� ��� ������ � DNS.</entry> + <entry></entry> + </row> + <row> + <entry><filename>docs*</filename></entry> + <entry>����-����� ��� ������������ FreeBSD.</entry> <entry></entry> </row> <row> <entry><filename>editors</filename></entry> - <entry>��������� ������ ����������.</entry> - <entry>������������������ ��������� ������� � ������� ��� ��������������� ������������ (��������, �������� �������������� ������ �������� � @@ -1504,17 +1570,13 @@ PORTEPOCH= 1</programlisting> <row> <entry><filename>elisp*</filename></entry> - <entry>����� ��� Emacs lisp.</entry> - <entry></entry> </row> <row> <entry><filename>emulators</filename></entry> - <entry>��������� ������ ������������ ������.</entry> - <entry>��������� ���������� ���� <emphasis>��</emphasis> ���������—��, ������� ����������� ��� X, ������ ���� � ��������� <filename>x11</filename>, � ��������� � @@ -1524,26 +1586,20 @@ PORTEPOCH= 1</programlisting> <row> <entry><filename>finance</filename></entry> - <entry>���������� ��� ������ � ��������, ��������� � ����, ��� � ���� �������.</entry> - <entry></entry> </row> <row> <entry><filename>french</filename></entry> - <entry>��������� ������������ �����.</entry> - <entry></entry> </row> <row> <entry><filename>ftp</filename></entry> - <entry>������� � ������� FTP.</entry> - <entry>���� ��� ���� �������� ��� FTP, ��� � HTTP, ��������� ��� � ��������� <filename>ftp</filename> � ������� ��������� ��������� @@ -1552,298 +1608,258 @@ PORTEPOCH= 1</programlisting> <row> <entry><filename>games</filename></entry> - <entry>����.</entry> + <entry></entry> + </row> + <row> + <entry><filename>geography*</filename></entry> + <entry>����������� �����������, ��������� � ����������.</entry> <entry></entry> </row> <row> <entry><filename>german</filename></entry> - <entry>��������� ��������� �����.</entry> - <entry></entry> </row> <row> <entry><filename>gnome*</filename></entry> - <entry>����� ������� <ulink url="http://www.gnome.org">GNOME</ulink>.</entry> - <entry></entry> </row> + <row> + <entry><filename>gnustep*</filename></entry> + <entry>����������� ����������� ��� ��������� �������� + ����� GNUstep.</entry> + <entry></entry> + </row> + <row> <entry><filename>graphics</filename></entry> - <entry>����������� �������.</entry> + <entry></entry> + </row> + <row> + <entry><filename>hamradio*</filename></entry> + <entry>����������� ����������� ��� ������������� �����</entry> <entry></entry> </row> <row> <entry><filename>haskell*</filename></entry> - <entry>����������� �����������, ��������� � ������ Haskell.</entry> - <entry></entry> </row> <row> <entry><filename>hebrew</filename></entry> - <entry>��������� ������.</entry> - <entry></entry> </row> <row> <entry><filename>hungarian</filename></entry> - <entry>��������� ����������� �����.</entry> - <entry></entry> </row> <row> <entry><filename>ipv6*</filename></entry> - <entry>����������� �����������, ��������� � IPv6.</entry> - <entry></entry> </row> <row> <entry><filename>irc</filename></entry> - <entry>������� ��� ������ � Internet Relay Chat.</entry> - <entry></entry> </row> <row> <entry><filename>japanese</filename></entry> - <entry>��������� ��������� �����.</entry> - <entry></entry> </row> <row> <entry><filename>java</filename></entry> - <entry>����������� �����������, ��������� � ������ - Java.</entry> - - <entry></entry> + Java™.</entry> + <entry>��������� <filename>java</filename> �� ������ ���� + ������������ ��� �����. �������� ��� ������, + ��������������� ������� ��������� � ����� Java, �������� + ����� ������������� �� ������������ + <filename>java</filename> ��� �������� ��������� + �����.</entry> </row> <row> <entry><filename>kde*</filename></entry> - <entry>����� ������� <ulink url="http://www.kde.org">K Desktop Environment (KDE)</ulink>.</entry> + <entry></entry> + </row> + <row> + <entry><filename>kld*</filename></entry> + <entry>����������� ������ ����.</entry> <entry></entry> </row> <row> <entry><filename>korean</filename></entry> - <entry>��������� ���������� �����.</entry> - <entry></entry> </row> <row> <entry><filename>lang</filename></entry> - <entry>����� ����������������.</entry> - <entry></entry> </row> <row> <entry><filename>linux*</filename></entry> - <entry>Linux ���������� � �������.</entry> - <entry></entry> </row> <row> <entry><filename>lisp*</filename></entry> - <entry>����������� �����������, ��������� � ������ Lisp.</entry> - <entry></entry> </row> <row> <entry><filename>mail</filename></entry> - <entry>��������� ��� ������ � ����������� ������.</entry> - <entry></entry> </row> <row> <entry><filename>math</filename></entry> - <entry>����������� ����������� ��� ��������� ���������� � ������ �������, ��������� � �����������.</entry> - <entry></entry> </row> <row> - <entry><filename>mbone</filename></entry> - + <entry><filename>mbone*</filename></entry> <entry>���������� ��� MBone.</entry> - <entry></entry> </row> <row> <entry><filename>misc</filename></entry> - <entry>��������� �������</entry> - <entry>� �������� ��, ��� �� �������� � - ������ ���������. ��� ������������ ���������, ������� �� - ������ ����������� ������ � ����� ������ ������������� - ����������. ���� �� ���������� <literal>misc</literal> - ������ � ���-�� �ݣ � ������ <makevar>CATEGORIES</makevar>, - ��� ������, ��� �� ������ �������� ������� - <literal>misc</literal> � ������ ��������� ���� � ���� - ������ ����������! ���� ��� ��������, ���������� ����� + ������ ���������. ���� ��� ��������, ���������� ����� ����� ����������, ��� <literal>misc</literal>, ��������� ��� ������ �����, ��� ��� ����� ����� ��������.</entry> </row> <row> <entry><filename>multimedia</filename></entry> - <entry>����������� ����������� ��� ������ � �����������.</entry> - <entry></entry> </row> <row> <entry><filename>net</filename></entry> - <entry>��������� ������� ����������� �����������.</entry> + <entry></entry> + </row> + <row> + <entry><filename>net-im</filename></entry> + <entry>��������� ����������� ������ �����������.</entry> <entry></entry> </row> <row> <entry><filename>net-mgmt</filename></entry> - <entry>����������� ����������� ��� �������� ����������.</entry> + <entry></entry> + </row> + <row> + <entry><filename>net-p2p</filename></entry> + <entry>���������� ��� ���������� �����.</entry> <entry></entry> </row> <row> <entry><filename>news</filename></entry> - <entry>����������� ����������� ��� ������ � ������������� USENET.</entry> - - <entry></entry> - </row> - - <row> - <entry><filename>offix*</filename></entry> - - <entry>����� �� ������ <ulink - url="http://leb.net/OffiX/">OffiX</ulink>.</entry> - <entry></entry> </row> <row> <entry><filename>palm</filename></entry> - <entry>����������� ��������� <ulink url="http://www.palm.com/">Palm™</ulink>.</entry> - <entry></entry> </row> <row> <entry><filename>parallel*</filename></entry> - <entry>����������, ��������� � ������������� ������������.</entry> - <entry></entry> </row> <row> <entry><filename>pear*</filename></entry> - <entry>�����, ����������� � ���������� Pear PHP.</entry> - <entry></entry> </row> <row> <entry><filename>perl5*</filename></entry> - <entry>�����, ������� ��� ������ ��������� <application>Perl</application> ������ 5.</entry> - <entry></entry> </row> - <row> - <entry><filename>picobsd</filename></entry> - - <entry>����� ��� ��������� <ulink - url="http://people.FreeBSD.org/~picobsd/"> - PicoBSD</ulink>.</entry> - - <entry></entry> - </row> - <row> <entry><filename>plan9*</filename></entry> - <entry>��������� ��������� �� <ulink url="http://www.cs.bell-labs.com/plan9dist/"> Plan9</ulink>.</entry> - <entry></entry> </row> <row> <entry><filename>polish</filename></entry> - <entry>��������� ��������� �����.</entry> + <entry></entry> + </row> + <row> + <entry><filename>ports-mgmt</filename></entry> + <entry>����� ��� ����������, ��������� � ���������� + ������ � ������� FreeBSD.</entry> <entry></entry> </row> <row> <entry><filename>portuguese</filename></entry> - <entry>��������� �������������� �����.</entry> - <entry></entry> </row> <row> <entry><filename>print</filename></entry> - <entry>����������� ����������� ��� ������.</entry> - <entry>����������� ��� ף����� (������������ � ���� ��������) ���� ��������� ����.</entry> @@ -1852,201 +1868,118 @@ PORTEPOCH= 1</programlisting> <row> <entry><filename>python*</filename></entry> - <entry>����������� �����������, ��������� � ������ <ulink url="http://www.python.org/">Python</ulink>.</entry> - <entry></entry> </row> <row> <entry><filename>ruby*</filename></entry> - <entry>����������� �����������, ��������� � ������ <ulink url="http://www.ruby-lang.org/">Ruby</ulink>.</entry> + <entry></entry> + </row> + <row> + <entry><filename>rubygems*</filename></entry> + <entry>����� ��� ������� <ulink + url="http://www.rubygems.org/">RubyGems</ulink>.</entry> <entry></entry> </row> <row> <entry><filename>russian</filename></entry> - <entry>��������� �������� �����.</entry> - <entry></entry> </row> <row> - <entry><filename>science</filename></entry> + <entry><filename>scheme*</filename></entry> + <entry>����������� �����������, ��������� � ������ + Scheme.</entry> + <entry></entry> + </row> + <row> + <entry><filename>science</filename></entry> <entry>������� ���������, ������� �� ��������� ��� ������ ���������, ������, <filename>astro</filename>, <filename>biology</filename> ��� <filename>math</filename>.</entry> - <entry></entry> </row> <row> <entry><filename>security</filename></entry> - <entry>���������, �������������� ������������ �������.</entry> - <entry></entry> </row> <row> <entry><filename>shells</filename></entry> - <entry>��������� ��������� ����������.</entry> - <entry></entry> </row> <row> <entry><filename>sysutils</filename></entry> - <entry>��������� �������.</entry> - <entry></entry> </row> <row> - <entry><filename>tcl76*</filename></entry> - - <entry>�����, ������� ��� ������ ����� Tcl ������ 7.6.</entry> - + <entry><filename>spanish*</filename></entry> + <entry>��������� ���������� �����.</entry> <entry></entry> </row> <row> - <entry><filename>tcl80*</filename></entry> - - <entry>�����, ������� ��� ������ ����� Tcl ������ 8.0.</entry> - + <entry><filename>tcl*</filename></entry> + <entry>�����, ��� ������ ������� ����� Tcl.</entry> <entry></entry> </row> - <row> - <entry><filename>tcl81*</filename></entry> - - <entry>�����, ������� ��� ������ ����� Tcl ������ 8.1.</entry> - - <entry></entry> - </row> - - <row> - <entry><filename>tcl82*</filename></entry> - - <entry>�����, ������� ��� ������ ����� Tcl ������ 8.2.</entry> - - <entry></entry> - </row> - - <row> - <entry><filename>tcl83*</filename></entry> - - <entry>�����, ������� ��� ������ ����� Tcl ������ 8.3.</entry> - - <entry></entry> - </row> - <row> <entry><filename>textproc</filename></entry> - <entry>������� ��� ��������� �������.</entry> - <entry>����������� ��� ף����� ���������� � ��������� <filename>print</filename>, � �� ����.</entry> </row> <row> - <entry><filename>tk42*</filename></entry> - - <entry>�����, ������� ��� ������ ����� Tk ������ 4.2.</entry> - + <entry><filename>tk*</filename></entry> + <entry>�����, ��� ������ ������� ����� Tk.</entry> <entry></entry> </row> - <row> - <entry><filename>tk80*</filename></entry> - - <entry>�����, ������� ��� ������ ����� Tk ������ 8.0.</entry> - - <entry></entry> - </row> - - <row> - <entry><filename>tk81*</filename></entry> - - <entry>�����, ������� ��� ������ ����� Tk ������ 8.1.</entry> - - <entry></entry> - </row> - - <row> - <entry><filename>tk82*</filename></entry> - - <entry>�����, ������� ��� ������ ����� Tk ������ 8.2.</entry> - - <entry></entry> - </row> - - <row> - <entry><filename>tk83*</filename></entry> - - <entry>�����, ������� ��� ������ ����� Tk ������ 8.3.</entry> - - <entry></entry> - </row> - - <row> - <entry><filename>tkstep80*</filename></entry> - - <entry>�����, ������� ��� ������ ����� TkSTEP ������ - 8.0.</entry> - - <entry></entry> - </row> - <row> <entry><filename>ukrainian</filename></entry> - <entry>��������� ����������� �����.</entry> - <entry></entry> </row> <row> <entry><filename>vietnamese</filename></entry> - <entry>��������� ������������ �����.</entry> - <entry></entry> </row> <row> <entry><filename>windowmaker*</filename></entry> - <entry>�����, �������������� �������� ���� WindowMaker.</entry> - <entry></entry> </row> <row> <entry><filename>www</filename></entry> - <entry>����������� �����������, ��������� � World Wide Web.</entry> - <entry>��������� ����� HTML ��������� ���� ��.</entry> </row> <row> <entry><filename>x11</filename></entry> - <entry>X Window System � ��� � ����.</entry> - <entry>��� ��������� ������������� ������ ��� ������������ �����������, ������� ������������ ���� ������� �������. �� ��������� ���� @@ -2061,58 +1994,63 @@ PORTEPOCH= 1</programlisting> <row> <entry><filename>x11-clocks</filename></entry> - <entry>���� ��� X11.</entry> + <entry></entry> + </row> + <row> + <entry><filename>x11-drivers</filename></entry> + <entry>�������� X11.</entry> <entry></entry> </row> <row> <entry><filename>x11-fm</filename></entry> - <entry>��������� ������ ��� X11.</entry> - <entry></entry> </row> <row> <entry><filename>x11-fonts</filename></entry> - <entry>������ ��� X11 � ������� ��� ������ � ����.</entry> - <entry></entry> </row> <row> <entry><filename>x11-servers</filename></entry> - <entry>������� ��� X11.</entry> + <entry></entry> + </row> + <row> + <entry><filename>x11-themes</filename></entry> + <entry>���� ��� X11.</entry> <entry></entry> </row> <row> <entry><filename>x11-toolkits</filename></entry> - <entry>������ ������������ ��� X11.</entry> - <entry></entry> </row> <row> <entry><filename>x11-wm</filename></entry> - <entry>������� ��������� ��� X11.</entry> - <entry></entry> </row> <row> - <entry><filename>zope*</filename></entry> + <entry><filename>xfce*</filename></entry> + <entry>�����, ��������� � ���������� �������� ����� + <ulink url="http://www.xfce.org/">Xfce</ulink>.</entry> + <entry></entry> + </row> + <row> + <entry><filename>zope*</filename></entry> <entry>��������� <ulink url="http://www.zope.org/">Zope</ulink>.</entry> - <entry></entry> </row> </tbody> @@ -2120,7 +2058,7 @@ PORTEPOCH= 1</programlisting> </informaltable> </sect2> - <sect2> + <sect2 id="choosing-categories"> <title>����� ���������� ���������</title> <para>��� ��� ������ ��������� �������������, ��� ����� ���������� @@ -2129,6 +2067,13 @@ PORTEPOCH= 1</programlisting> ������ �����������, � ������������� ������� ������������:</para> <itemizedlist> + <listitem> + <para>������ ��������� ������ ���� ���������� ��������� (�������� + <link linkend="porting-categories">����</link>). ��� + ���������� ��� �������� �������. ����� ����� ����������� + � ���������� ��������� ����� �����������.</para> + </listitem> + <listitem> <para>������� ������ ���� ���������, ����������� ��� ������. ��������, ���� ��� ���� ������������� �������� ������ ��� X11, @@ -2137,12 +2082,12 @@ PORTEPOCH= 1</programlisting> </listitem> <listitem> - <para>����� ���������� ��������� ���������������� ����� ����� + <para>����� ���������� ��������� ���� ������� ����� ����� ������. � ���������, �������� HTML ������ ���� ������ ��� <filename>www editors</filename>, � �� ��������. ����� ����, �� �� ������ ��������� ��������� <filename>net</filename>, ���� ���� ��������� � ����� �� ��������� <filename>irc</filename>, - <filename>mail</filename>, <filename>mbone</filename>, + <filename>mail</filename>, <filename>news</filename>, <filename>security</filename> ��� <filename>www</filename>, ��� ��� <filename>net</filename> ���������� �������������.</para> @@ -2165,6 +2110,23 @@ PORTEPOCH= 1</programlisting> ������ ���� ������� � ��������� <filename>lang</filename>.</para> </listitem> + <listitem> + <para>�����, ��������������� ����������� ������ ����, ������ + ��������� ����������� ��������� <filename>kld</filename> � + ������ <makevar>CATEGORIES</makevar>. + </para> + </listitem> + + <listitem> + <para><filename>misc</filename> + �� ������ ����������� ������ � ����� ������ ������������� + ����������. ���� �� ���������� <literal>misc</literal> + ������ � ���-�� �ݣ � ������ <makevar>CATEGORIES</makevar>, + ��� ������, ��� �� ������ �������� ������� + <literal>misc</literal> � ������ ��������� ���� � ���� + ������ ����������! + </listitem> + <listitem> <para>���� ��� ���� ����������� ������� �� ��������� �� ��� ����� ���������, ��������� ��� � <filename>misc</filename>.</para> @@ -2180,6 +2142,123 @@ PORTEPOCH= 1</programlisting> ��� �������� � ��������� � ��������� ����� ��������� ��������� �������� �������.</para> </sect2> + + <sect2 id="proposing-categories"> + <title>����������� ����� ���������</title> + + <para>��������� �� �������� ��������� ������ �����������, �� � ����� + � ���� ���� ��������� ��������� ����� ���������. ����� ��������� + ����� ���� ��� <emphasis>������������</emphasis> �����������— + ������� �� ����� ���������������� ����������� � ������ ������— + ��� <emphasis>�����������</emphasis> �����������—� ������� + �� ����. ��������� ����� �������� ���������� ��������, ����������� + ��� �������� ����� ���������� ���������, ����� �� ����� �������� + ��, ����� ���������� ����� ���������.</para> + + <para>� ������������ � ������������ ��������� �� �������� �������� + ����� ���������� ���������, ���� ���������� ������� ����� ������ + ��������� �� �� ����������� ��� �� �����, ������� ����� �� �� + ������������, �� �������� ��������� ������������ �������, + �������������� ��� ���� ������������ ������� (� ���������, + ���������, ����������� � ������������ ������); ��������������� + ���������� ����� �������.</para> + + <para>�������� �������� ��� ����� �������� ��, ��� ����� ��������� + ������� <ulink url="&url.articles.committers-guide;/#ports">�������� + ���������� ������</ulink> � ��� �����������, � ��� ���� ��� + �������������, ������� ����������� ��������� � ��������� ������. + � ����������, ������������ ��������� ������� ������������ + �����������. (�������, ������ ��� �� ���������� ������� ����������, + �������� �� ��������� <quote>������� �������</quote>, ��� ������ + �� ��������� ������������� ���� ��� ��������� (�, ����� �������, + ����� ���������� ��������� ���� �� ��������� ���������), � ��� + �����.)</para> + + <para>���������:</para> + + <procedure> + <step> + <para>���������� ����� ��������� �� &a.ports;. ��� ������� + �������� ��� ����� ��������� ��������� �����������, � ��� ����� + ������ �� ��������, ��� ������������ ��������� �� �������� + ������������, � ������ ������������ ������, ������������ ��� + �����������. (���� ���� ����� �����, ��������� � + <application>GNATS</application> � ���������� � ��� ���������, + �� ������� �� ����.) ���� �� ��������� �������������� �/��� + ������������, �� ������� ��� ��������������, ��� ��� ��� ����� + ������ ��� � ����� ����.</para> + </step> + + <step> + <para>���������� ������� � ����������.</para> + </step> + + <step> + <para>���� �������, ��� ��� ����� ���� ��������� ���������, + ��������� PR, ������� ����� �������� ����������� � ������ + ������������ ������, ������� ���� �����������. � ������ + ���� PR ������ ����� �������� ����� ��� ����������:</para> + + <itemizedlist> + <listitem> + <para><filename>Makefile</filename>'� ��� ����� ������ � + ���������� ������������� �����������</para> + </listitem> + + <listitem> + <para><filename>Makefile</filename> ��� ��������� ������ + ������</para> + </listitem> + + <listitem> + <para><filename>Makefile</filename>'� ��� ������, ��������� + �� ������ ������</para> + </listitem> + + <listitem> + <para>(� ����������, �� ������ �������� ������ �����, + ��������� ���������, �������� ��������� �� ����������� + ����������.)</para> + </listitem> + </itemizedlist> + </step> + + <step> + <para>��������� ��� ����������� �������������� ������ � + ���������� �� ������ ���������� ������������� �����������, �� + �����, ��������, � ���������� ������������ ������ �� �������� + ����������, �� PR ������ ��������� ���� &a.portmgr;.</para> + </step> + + <step> + <para>���� ���� PR �������, �� ���������� ����� ���������� + ��������� ����� ���������, ������� <ulink + url="&url.articles.committers-guide;/article.html#PORTS"> + �������� � ����������� ����������</ulink>.</para> + </step> + </procedure> + + <para>����������� ����� ����������� ��������� ������ ���� ������ + � ��������������, �� ��� ���� ����������� ������� ������, + ��������� �� ���� �� ������ �� ����� ��������� � ����������������. + � ���� ������ ������������� �������, ����������� � PR, ����� + ��, ��� ��������� ����� ��������� � <makevar>CATEGORIES</makevar> + ������� �� ������������� ������.</para> + </sect2> + + <sect2 id="proposing-reorg"> + <title>����������� ������������� ���� ���������</title> + + <para>����� �� ������� ���-������ ���������� ���������� ������������� + ��������� ���� �� �������������, ���� ������� ���� �� ������ + �������� ����. �� ������ ������ �� ���� ����������� ������ �� + ����������, ������ ���, ���� ��� ������ � ����������, �� + �������������� ��������� ���� ��������� ������ �� ������� ���� + �������� � ������. ����������, �������� ������� ���� ����������� + � ������� �������� ����� ���, ��� ��������� ���� �����������; + ����� ����, �� ������ ���� ������ ����������� ���������� + ��������.</para> + </sect2> </sect1> <sect1 id="makefile-distfiles"> @@ -2190,7 +2269,7 @@ PORTEPOCH= 1</programlisting> ����.</para> <sect2> - <title><makevar>DISTNAME</makevar></title> + <title><makevar>DISTVERSION/DISTNAME</makevar></title> <para>� ���������� <makevar>DISTNAME</makevar> ����������� ��� ����� ���, ��� ������� ��� ��������� ������������ �����������. �������� @@ -2206,6 +2285,47 @@ PORTEPOCH= 1</programlisting> ��������� ���� �� ��� ����, ��� <filename>work/<makevar>${DISTNAME}</makevar></filename>.</para> + <para>�������� ��������� �������������, ������� �� ������������ � + <literal>${PORTNAME}-${PORTVERSION}</literal>-�����, ����� ���� + ������������� ���������� ����������� ��������� ���������� + <makevar>DISTVERSION</makevar>. <makevar>PORTVERSION</makevar> � + <makevar>DISTNAME</makevar> ����� ������������ �������������, �� + ������� �� ����� ���� ��������������. ��������� ������� + ������������� ��������� �������:</para> + + <informaltable frame="none" pgwide="1"> + <tgroup cols="2"> + <thead> + <row> + <entry><makevar>DISTVERSION</makevar></entry> + <entry><makevar>PORTVERSION</makevar></entry> + </row> + </thead> + + <tbody> + <row> + <entry>0.7.1d</entry> + <entry>0.7.1.d</entry> + </row> + + <row> + <entry>10Alpha3</entry> + <entry>10.a3</entry> + </row> + + <row> + <entry>3Beta7-pre2</entry> + <entry>3.b7.p2</entry> + </row> + + <row> + <entry>8:f_17</entry> + <entry>8f.17</entry> + </row> + </tbody> + </tgroup> + </informaltable> + <note> <para>�������� ���������� <makevar>PKGNAMEPREFIX</makevar> � <makevar>PKGNAMESUFFIX</makevar> �� ������ �� �������� @@ -2241,28 +2361,129 @@ PORTEPOCH= 1</programlisting> ����� �������������� ����� ���������.</para> <para>���� ������������ ����� ��������� �� ����� �� ����� ���������� - ��������, ��� X-contrib, GNU ��� Perl CPAN, �� ���������� ��� ����� � - ������� ����� ��� ������ + ��������, ��� SourceForge, GNU ��� Perl CPAN, �� ���������� ��� + ����� � ������� ����� ��� ������ <makevar>MASTER_SITE_<replaceable>*</replaceable></makevar> - (� �������, <makevar>MASTER_SITE_XCONTRIB</makevar> ��� - <makevar>MASTER_SITE_PERL_GNU</makevar>). ������ ������� � ���������� + (� �������, <makevar>MASTER_SITE_SOURCEFORGE</makevar>, + <makevar>MASTER_SITE_GNU</makevar> ��� + <makevar>MASTER_SITE_PERL_CPAN</makevar>. ������ ������� � ���������� <makevar>MASTER_SITES</makevar> ���� �� ���� ��������, � � ���������� <makevar>MASTER_SITE_SUBDIR</makevar> ������� ���� � ������. ��� ������:</para> - <programlisting>MASTER_SITES= ${MASTER_SITE_XCONTRIB} -MASTER_SITE_SUBDIR= applications</programlisting> + <programlisting>MASTER_SITES= ${MASTER_SITE_GNU} +MASTER_SITE_SUBDIR= make</programlisting> + + <para>��� ����� ������������ ����������� ������:</para> + + <programlisting>MASTER_SITES= GNU/make</programlisting> <para>��� ���������� ���������� � ����� <filename>/usr/ports/Mk/bsd.sites.mk</filename>. �ӣ ����� ����������� ����� ������, ��� ��� ����������� � ��������� ������ ����� ����� ����� ���, ��� ������� ��� ���� ����.</para> - <para>������������ ����� ����� ������ �������� ���������� - <makevar>MASTER_SITE_*</makevar> � ����� - <filename>/etc/make.conf</filename> ��� ����, ����� �������������� - ��������� ���� ��������, � ������������ ������ ��� ���� ������� - ������� ���� ���������� �������.</para> + <para>��� ���������� ������ ���������� ��������� + <emphasis>����������</emphasis> �������� � ������� ��������� + ���������� ���������. ����������� ��� ��� ����������, � ������� + ���������� ������� ��� ��� ���������� ����������.</para> + + <programlisting>MASTER_SITES= SF</programlisting> + + <para>���� ������� ������� �� �������, ��� ��� ����� ���� ���������� + ��������� �������.</para> + + <programlisting>MASTER_SITES= SF/stardict/WyabdcRealPeopleTTS/${PORTVE +RSION}</programlisting> + + <table frame="none"> + <title>���������� ���������� ������� ��� + <makevar>MASTER_SITES</makevar></title> + + <tgroup cols="2"> + <thead> + <row> + <entry>Macro</entry> + + <entry>Assumed subdirectory</entry> + </row> + </thead> + + <tbody> + <row> + <entry><makevar>BERLIOS</makevar></entry> + + <entry><makevar>/${PORTNAME:L}</makevar></entry> + </row> + + <row> + <entry><makevar>CHEESESHOP</makevar></entry> + + <entry><makevar>/packages/source/source/${DISTNAME:C/(.).*/\1/}/${DISTNAME:C/(.*)-[0-9].*/\1/}</makevar></entry> + </row> + + <row> + <entry><makevar>DEBIAN</makevar></entry> + + <entry><makevar>/debian/pool/main/${PORTNAME:C/^((lib)?.).*$/\1/}/${PORTNAME}</makevar></entry> + </row> + + <row> + <entry><makevar>GCC</makevar></entry> + + <entry><makevar>/pub/gcc/releases/${DISTNAME}</makevar></entry> + </row> + + <row> + <entry><makevar>GNOME</makevar></entry> + + <entry><makevar>/pub/GNOME/sources/${PORTNAME}/${PORTVERSION:C/^([0-9]+\.[0-9]+).*/\1/}</makevar></entry> + </row> + + <row> + <entry><makevar>GNU</makevar></entry> + + <entry><makevar>/gnu/${PORTNAME}</makevar></entry> + </row> + + <row> + <entry><makevar>MOZDEV</makevar></entry> + + <entry><makevar>/pub/mozdev/${PORTNAME:L}</makevar></entry> + </row> + + <row> + <entry><makevar>PERL_CPAN</makevar></entry> + + <entry><makevar>/pub/CPAN/modules/by-module/${PORTNAME:C/-.*//}</makevar></entry> + </row> + + <row> + <entry><makevar>PYTHON</makevar></entry> + + <entry><makevar>/ftp/python/${PYTHON_PORTVERSION:C/rc[0-9]//}</makevar></entry> + </row> + + <row> + <entry><makevar>RUBYFORGE</makevar></entry> + + <entry><makevar>/${PORTNAME:L}</makevar></entry> + </row> + + <row> + <entry><makevar>SAVANNAH</makevar></entry> + + <entry><makevar>/${PORTNAME:L}</makevar></entry> + </row> + + <row> + <entry><makevar>SF</makevar></entry> + + <entry><makevar>/project/${PORTNAME:L}/${PORTNAME:L}/${PORTVERSION}</makevar></entry> + </row> + </tbody> + </tgroup> + </table> </sect2> <sect2> @@ -2280,9 +2501,10 @@ MASTER_SITE_SUBDIR= applications</programlisting> EXTRACT_SUFX= .tgz</programlisting> <para>���������� <makevar>USE_BZIP2</makevar> � - <makevar>USE_ZIP</makevar> ������������� ������������� �������� - <makevar>EXTRACT_SUFX</makevar> � <literal>.bz2</literal> ��� - <literal>.zip</literal> ��������������. ���� �� ���� �� ���� + <makevar>USE_ZIP</makevar> ��� ������������� ������������� + ������������� �������� <makevar>EXTRACT_SUFX</makevar> � + <literal>.tar.bz2</literal> ��� <literal>.zip</literal>. + ���� �� ���� �� ���� ���������� �� ������, �� �������� <makevar>EXTRACT_SUFX</makevar> �� ��������� ��������������� � <literal>.tar.gz</literal>.</para> @@ -2390,8 +2612,8 @@ EXTRACT_ONLY= source.tar.gz</programlisting> <para>������� ������� ����� ����������. � OpenBSD ������� �������� �����������, ������������ � ���������� <makevar>DISTFILES</makevar> � - <makevar>PATCHFILES</makevar>, ����� �� ������� ������ � ������ ����� - ��������� �������������� ���� <literal>:n</literal>, ��� + <makevar>PATCHFILES</makevar>, ������� ��������� ���������� ����� + ���� ������ � ������ �������������� ���� <literal>:n</literal>. ����� <literal>n</literal> ����� ���� �� ��������� <literal>[0-9]</literal> � ���������� ������̣���� ������. � �������:</para> @@ -2416,8 +2638,8 @@ EXTRACT_ONLY= source.tar.gz</programlisting> <para>������, ����� �� �������� ����� �������������, ������ ����������� �ݣ ������� ���������� <makevar>DISTFILES</makevar> � - <makevar>MASTER_SITES</makevar>. ������, ��� ��� <quote>��������� - ������� ������ �������������</quote> ������������ �������� �������� + <makevar>MASTER_SITES</makevar>. �������, ��� <quote>������� + ����������� �������������</quote> ������������ �������� �������� �� ����, ������� ��� ����.</para> <para>� ����������� �������� ���������� ����� �������� ������ � @@ -2602,15 +2824,15 @@ MASTER_SITES= alpha:DEFAULT,SOME_SITE</programlisting> �������� ������� ����� <literal>/</literal>. ���� �����-�� �������� ����������� �����-�� �������, �������� ������ <literal>:<replaceable>n</replaceable></literal> ������ - ��������� ����� ����� �������������� ������� + ��������� ����� ����� ������������ ������� <literal>/</literal>. �������� <literal>MASTER_SITES:n</literal> ��������� �� ������� - �������������� ������� <literal>/</literal> �� ��������� + ������������ ������� <literal>/</literal> �� ��������� ����������� ���������, ��� <literal>:n</literal> �������� ���������� ������ �������� � �����������, ��� <literal>:n</literal> ���������� ������ <literal>n</literal>. ��� ����� �������������, ��� ��� - ������������� ������ <literal>/</literal> ����� �� + ����������� ������ <literal>/</literal> ����� �� ���������� � ��������� <makevar>MASTER_SITE_SUBDIR</makevar> � <makevar>PATCH_SITE_SUBDIR</makevar>, ���� ������, ����� @@ -2633,12 +2855,12 @@ MASTER_SITES= alpha:DEFAULT,SOME_SITE</programlisting> <itemizedlist> <listitem> <para>�������� ������ ������ - <literal>DEFAULT</literal> -> old:n</para> + <literal>DEFAULT</literal> -> old:n</para> </listitem> <listitem> <para>�������� ������ ������ - <literal>NEW</literal> -> new</para> + <literal>NEW</literal> -> new</para> </listitem> </itemizedlist> </example> @@ -2678,7 +2900,7 @@ MASTER_SITE_SUBDIR= directory-trial:1 directory-n/:groupn \ </listitem> <listitem> - <para>http://site1/directory/</para> + <para>http://site1/directory-trial:1/</para> </listitem> <listitem> @@ -2686,7 +2908,7 @@ MASTER_SITE_SUBDIR= directory-trial:1 directory-n/:groupn \ </listitem> <listitem> - <para>http://site1/directory-trial:1/</para> + <para>http://site1/directory/</para> </listitem> <listitem> @@ -2714,7 +2936,7 @@ MASTER_SITE_SUBDIR= directory-trial:1 directory-n/:groupn \ </listitem> <listitem> - <para>http://site1/directory/</para> + <para>http://site1/directory-trial:1/</para> </listitem> <listitem> @@ -2722,7 +2944,7 @@ MASTER_SITE_SUBDIR= directory-trial:1 directory-n/:groupn \ </listitem> <listitem> - <para>http://site1/directory-trial:1/</para> + <para>http://site1/directory/</para> </listitem> <listitem> @@ -2816,7 +3038,7 @@ MASTER_SITE_SUBDIR= directory-trial:1 directory-n/:groupn \ </listitem> <listitem> - <para>http://site8/directory-one/</para> + <para>http://site8/</para> </listitem> <listitem> @@ -3016,6 +3238,35 @@ PATCHFILES= patch1:test</programlisting> <filename>Makefile</filename>.</para> </note> </sect2> + + <sect2> + <title><makevar>ALWAYS_KEEP_DISTFILES</makevar></title> + + <para>���� ��� ���� ���������� �������� �������������� ����� � + �������� ���������, ���������, ����� �������� ��� �������������� + ������ � ��������, ����������������� � �������� �����, �������� + GPL, �� <makevar>ALWAYS_KEEP_DISTFILES</makevar> ���� �������� + ���������� &os; �������� ��������� ����� ������, ��������� � + <makevar>DISTFILES</makevar>. ������������� ����� ������ ��� + ����� � �������� �� �����, ������� ������� ����� �������� + ���������� � <makevar>DISTFILES</makevar> �������� + �������������� ������, ������ ����� ���������� ���������� + <makevar>PACKAGE_BUILDING</makevar>.</para> + + <example id="ports-master-sites-n-example-always-keep-distfiles"> + <title>������������� <makevar>ALWAYS_KEEP_DISTFILES</makevar>.</title> + <programlisting>.if defined(PACKAGE_BUILDING) +DISTFILES+= <replaceable>foo.tar.gz</replaceable> +ALWAYS_KEEP_DISTFILES= yes +.endif</programlisting> + </example> + + <para>��� ���������� �������������� ������ � <makevar>DISTFILES</makevar> + ���������, ��� �� �� ����� ���������� � <filename>distinfo</filename>. + ����� ����, �������������� ����� ������ ��������������� ����� � + <makevar>WRKDIR</makevar>, ��� ��� ��������� ������ ����� �������� + ������������� �������� ������� � ��������� ������ ���������.</para> + </sect2> </sect1> <sect1 id="makefile-maintainer"> @@ -3030,27 +3281,36 @@ PATCHFILES= patch1:test</programlisting> <literal>user@hostname.domain</literal>. ����������, �� ��������� �������� ������������� ������, ��������, ������ ���������� ����� � ��� ������—��� ��������� ������� � ����� - <filename>bsd.port.mk</filename>. ������ ����� ��������� ����� - ���������� � ��� <filename>pkg-descr</filename>.</para> + <filename>bsd.port.mk</filename>.</para> - <para>��������� �������� ����, �� ��� �������� ����, �������������� - ����, ������ � ����� <ulink - url="../developers-handbook/policies.html#POLICIES-MAINTAINER"> - MAINTAINER � Makefiles</ulink>.</para> - - <para>���� ���������� ����� �� ������� �� ������ ������������ �� + <para>�������������� ������������ �� ����������� ����� � ���������� + ��������� � ����������� ���������� ������ �����. �� ��������� + ��������� ������������ ��������������� ���� ����������� � ����� + <ulink url="&url.articles.contributing-ports.en;/maintain-port.html">The + challenge for port maintainers</ulink>.</para> + + <para>����� ��������� � ����������� ��������� � ����� ����� ���������� + ��������������� ��� ��������� � ���������. + ���� �������������� ����� �� ������� �� ������ ������������ �� ���������� � ������� ���� ������ (�������� ������� ���������), - �� ��� ����� ������� ����-����� �� �����������, � ���������� ����� - ���� ��������� ��� ������ ������������� �� �����������. ���� - ���������� �� �������� � ������� �ң� �������, �� ���������, ��� - �� �����������, � ��� ���������� �����, � ������� �ģ� ����, ����� + �� ��� ����� ������� ����-����� ���������������, � ���������� ����� + ���� ��������� ��� ������ ������������� �� ���������������. ���� + �������������� �� �������� � ������� �ң� �������, �� ���������, ��� + �� �����������, � ��� �������������� �����, � ������� �ģ� ����, ����� ���� ����Σ�. ������������ �� ����� ������� �������� �ӣ, ��� ������������ &a.portmgr; ��� &a.security-officer;. ��������� ������ ����� ������������������� ��������� � ������, ������� ����� ��� ������.</para> + <para>�� ��������� �� ����� ����� �������� ��������� ��������������� + ��� ������� ������������ ������������ ��������� � ����� ��������� + ������ ��� ������ ��������� �� ������� �����������. �����, + ������� ��������� � �������������� ����� ������� ��������� � ����� + ��� �������� ���������������. ����� ��� ��������� ������� �� ����� + ����������� ���������������� �����.</para> + <para>�� &a.portmgr; ����������� ����� ����� ��� ��������� ����-���� - ������������, �� ����� �������, � �� the &a.security-officer; + �������������� �� ����� �������, � �� the &a.security-officer; ����������� ����� ������ ��� ��������� ����� �� ������������� ����� �� ������������ �������������� ������������.</para> </sect1> @@ -3068,15 +3328,19 @@ PATCHFILES= patch1:test</programlisting> <para>� ����� <filename>Makefile</filename> ���������� COMMENT ������ ��������� ����� �� ���������� MAINTAINER.</para> - <para>����������, ������������ ������ ������ COMMENT ������, �������, - ��� 70 ��������, ��� ��� ��� �������� ������������� � �������� - ������������� �������� �����.</para> + <para>����������, ������������ ������ ������ COMMENT ������ �� ������, + ��� 70 ��������, ��� ��� ��� ������ ����� ������������ ���������� + &man.pkg.info.1; ��� ����������� ������������� �������� �����.</para> </sect1> <sect1 id="makefile-depend"> <title>�����������</title> - <para>������ ����� ������� �� ������ ������. ������� ���� ����������, + <para>������ ����� ������� �� ������ ������. ��� ����� ������� + ������������� ����������� ����������� Unix-�������� ������������ + ������, ������� &os;. ��� ��������� ���������� �� ��������� �������� + ������������ ������ ������� ����� ��� ������, ��������� ����� ������ + ����� �� ������������ ���������. ������� ���� ����������, ������� �� ������ ������������ ��� ����������� ����, ��� �ӣ ��������� ��������� �� ������ ������������. ������� ����� ��������� ����������̣���� ����������, ���������� ����������� ��� ����� @@ -3093,8 +3357,8 @@ PATCHFILES= patch1:test</programlisting> <replaceable>dir</replaceable> - ��� �������, � ������� ����� �� ����� � ������, ���� �� ��� �� ������, � <replaceable>target</replaceable> - ��� ����, ������� ����� ������� - � ���� ��������. ��������, <programlisting> LIB_DEPENDS= - jpeg.9:${PORTSDIR}/graphics/jpeg:install</programlisting> + � ���� ��������. ��������, + <programlisting>LIB_DEPENDS= jpeg.9:${PORTSDIR}/graphics/jpeg</programlisting> �������� ������� ���������� jpeg �� ������� ������� ������ 9 � �������� � ���������� <filename>graphics/jpeg</filename> ������ ������ ������ ��� �� ���������� � ���������, ���� ���������� @@ -3103,9 +3367,14 @@ PATCHFILES= patch1:test</programlisting> (�� ��������� <literal>install</literal>).</para> <note> - <para>����� <replaceable>lib</replaceable> - ��� ��������, ������� - ���������� ������� <command>ldconfig -r | grep -wF</command>. � - ���� ���������� �� ������ ���� ���������� ���������.</para> + <para>����� <replaceable>lib</replaceable> �������� ���������� + ����������, ������� ���������� ��� ������, ����������� �� + <command>ldconfig -r</command>. ����������� ����� ��������, ��� + <literal>intl.[5-7]</literal> � <literal>intl</literal>. + ������ ������, <literal>intl.[5-7]</literal>, �������� � ����� + ��: <literal>intl.5</literal>, <literal>intl.6</literal> ��� + <literal>intl.7</literal>. ������ ������, <literal>intl</literal>, + �������� � ����� ������� ���������� <literal>intl</literal>.</para> </note> <para>����������� ����������� ������, ���� ��� ������ ���� @@ -3129,33 +3398,38 @@ PATCHFILES= patch1:test</programlisting> � ���� ��������. ���� <replaceable>path</replaceable> ���������� �� ����� (<literal>/</literal>), �� �������������� ��� ���� � ��� ������������� ����������� �������� <command>test -e</command>; � - ��������� ������ ��������������, ��� ��� ���������� ���� � - ��� ����������� ����, ������� �� ��������� � ���� ������ - ������������, ������������ ������� - <command>which -s</command>.</para> + ��������� ������ ��������������, ��� ��� ���������� ����, � + ��� ����������� ����, ������� �� ��������� � ���� ������, + ������������ ������� <command>which -s</command>.</para> <para>��������,</para> <programlisting>RUN_DEPENDS= ${LOCALBASE}/etc/innd:${PORTSDIR}/news/inn \ - wish8.0:${PORTSDIR}/x11-toolkits/tk80 - </programlisting> + xmlcatmgr:${PORTSDIR}/textproc/xmlcatmgr</programlisting> <para>��������, ���������� �� ���� ��� ������� <filename>/usr/local/etc/innd</filename> � �������� � ��������� ��� �� ����������� <filename>news/inn</filename> ������ ������, ���� �� �� ����� ������. �� ����� ��������, ������� �� ���������� ���� � - ������ <command>wish8.0</command> � ����� ���� ������, �������� � - ���������� <filename>x11-toolkits/tk80</filename> ������ ������ + ������ <command>xmlcatmgr</command> � ���� ������, � �������� � + ���������� <filename>textproc/xmlcatmgr</filename> ������ ������ ������ ��� ��� ���������� � ���������, ���� �� �� ����� ������.</para> <note> <para>� ����������� ������� <command>innd</command> �������� - ���������� ������; ���� ���������� ���� ��������� � ��������� ��� - ����������������� �������� ������ ������ �����, �� ������ ������� + ���������� ������; ���� ���������� ���� ��������� � �����, + ������� ����������� � ������ ����� ������, �� �� ������ ������� ������ ���� � �����.</para> </note> + <note> + <para>����������� ��������� ���������� ������ <envar>PATH</envar>, + ������������ � �������� ���������� ������ ��������</para> + + <programlisting>/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/usr/X11R6/bin</programlisting> + </note> + <para>����������� ����������� ������ ���� <maketarget>install</maketarget>. ����� ����, ��� ����������� ���������� � �����, ��� ��� ��������� &man.pkg.add.1; @@ -3163,6 +3437,33 @@ PATCHFILES= patch1:test</programlisting> � ���������������� �������. ����� <replaceable>target</replaceable> ����� ���� �������, ���� ��� ��������� � <makevar>DEPENDS_TARGET</makevar>.</para> + + <para>�������� ���������������� �������� ��������, ����� + <makevar>RUN_DEPENDS</makevar> ��������� ����� �� ��� + <makevar>BUILD_DEPENDS</makevar>, �������� ���� ����������� + ����������� ����������� �������� �� ����� ���������, ��� ���� + ��� ������� ����� �� ��������� ��� ����������, ��� � ������������ + �� ����� ����������. � ���� ������, ����� ���������� ��� �������� + ������������ �������� ���������� ������ �������:</para> + + <programlisting>RUN_DEPENDS= ${BUILD_DEPENDS}</programlisting> + + <para>��� �� �����, �������� ���������� ����� ���������� ����������� + ������� ���������� ����������, �� �������� � + <makevar>BUILD_DEPENDS</makevar> ��������� �����. + ����� ��������� ��-�� �������� ���������� � &man.make.1 + ������������� ����������. ����������� <filename>Makefile</filename> + � ����������� <makevar>USE_<replaceable>*</replaceable></makevar>, + ������� �������������� � <filename>ports/Mk/bsd.*.mk</filename> + ��� ���������� �������������� ������������ ����������. ��������, + <literal>USE_GMAKE=yes</literal> ��������� + <filename role="package">devel/gmake</filename> � + <makevar>BUILD_DEPENDS</makevar>. ��� �������������� ����������� + <makevar>RUN_DEPENDS</makevar> ��������� ��������������� + ������������� ���������� ������������ � ����������� � ����������, + �.�. � ���������� �������� ����� ��� ����������� ����������:</para> + + <programlisting>RUN_DEPENDS:= ${BUILD_DEPENDS}</programlisting> </sect2> <sect2> @@ -3232,7 +3533,7 @@ PATCHFILES= patch1:test</programlisting> �������� (�� ��������� �������������� ������������� <command>gzip</command>) � ��� �� ������������ ��� ������ <makevar>USE_ZIP</makevar> ��� <makevar>USE_BZIP2</makevar>, - ������� ������� � <xref linkend="use-vars">. + ������� ������� � <xref linkend="use-vars">.</para> </note> </sect2> @@ -3246,8 +3547,7 @@ PATCHFILES= patch1:test</programlisting> ��������, <programlisting>PATCH_DEPENDS= ${NONEXISTENT}:${PORTSDIR}/java/jfc:extract</programlisting> ����� ���������� � ���������� <filename>java/jfc</filename> ������ ������ - ������ ��� ���������� � ���������, ���� �� ���ģ� ������ - ���������.</para> + ������ ��� ����������.</para> <para>����������� ����������� ������ ���� <maketarget>patch</maketarget>. ����� @@ -3255,26 +3555,27 @@ PATCHFILES= patch1:test</programlisting> ��������� � <makevar>DEPENDS_TARGET</makevar>.</para> </sect2> - <sect2> - <title><makevar>DEPENDS</makevar></title> - - <para>���� ������� �����������, ������� �� ��������� �� ��� ���� �� - ����������������� ���������, ��� ��� ���� ������� ������� - �������� ������� ������� ����� � ������������� ���� ����� ����, - ��� ���� ���� ������ ���� ����������, �� �������������� ���� - ����������. ��� ������ ��� ���� - <replaceable>dir</replaceable><optional><replaceable>:target</replaceable></optional>, - ������ ���, � ������� �� ���������� �������, ������ �� - �����������. ����� <replaceable>target</replaceable> ����� - ���� �������, ���� ��� ��������� � - <makevar>DEPENDS_TARGET</makevar>.</para> - </sect2> - <sect2 id="use-vars"> <title><makevar>USE_<replaceable>*</replaceable></makevar></title> <para>��� ����������� ���������� ������������, ������� ���� �� ������ - ������, ������������� ��������� ����������.</para> + ������, ������������� ��������� ����������. ���� �� ������������� + �������� ��������������, ��� ����� ��������� ������������ ������ + <filename>Makefile</filename> �����. ������ �� ��� ����������� ��� + <makevar>USE_<replaceable>*</replaceable></makevar>. ������������� + ���� ���������� ���������� <filename>Makefile</filename>'�� ����� + � <filename>ports/Mk/bsd.*.mk</filename> � �� ���������� �� + ����������� ����������� �������������� ����� — ����������� + ��� ���� ����� <makevar>WITH_<replaceable>*</replaceable></makevar> + � <makevar>WITHOUT_<replaceable>*</replaceable></makevar>.</para> + + <note> + <para>��������� ����� <makevar>USE_<replaceable>*</replaceable></makevar> + � <filename>/etc/make.conf</filename> <emphasis>������</emphasis> + �������� ��������� ���������. � ���������, ��������� + <programlisting>USE_GCC=3.4</programlisting> ������� ����������� + �� gcc34 � ������� �����, ������� ��� gcc34!</para> + </note> <table frame="none"> <title>���������� @@ -3304,71 +3605,6 @@ PATCHFILES= patch1:test</programlisting> <command>zip</command>.</entry> </row> - <row> - <entry><makevar>USE_GMAKE</makevar></entry> - - <entry>��� ���������� ���� ������� ������� - <command>gmake</command>.</entry> - </row> - - <row> - <entry><makevar>USE_PERL5</makevar></entry> - - <entry>��� ���������� � ��������� ����� ��������� - <literal>perl 5</literal>. - ���������� � <xref linkend="using-perl"> ��� ��������� - ���������� � �������������� ����������, ������� ������� � - <literal>perl</literal>.</entry> - </row> - - <row> - <entry><makevar>USE_X_PREFIX</makevar></entry> - - <entry>���� ��������������� � ������� - <makevar>X11BASE</makevar>, � �� � <makevar>PREFIX</makevar>. - ���������� � <xref linkend="using-x11"> ��� ��������� - ���������� � �������������� ����������, ������� ������� � - X11.</entry> - </row> - - <row> - <entry><makevar>USE_AUTOMAKE_VER</makevar></entry> - - <entry>� �������� ������ ���������� ���� ���������� GNU - <command>automake</command>. ���������� � <xref - linkend="using-automake"> ��� ��������� - ���������� � �������������� ����������, ������� ������� � - <command>automake</command>.</entry> - </row> - - <row> - <entry><makevar>USE_AUTOCONF_VER</makevar></entry> - - <entry>� �������� ������ ���������� ���� ���������� GNU - <command>autoconf</command>. ���������� � <xref - linkend="using-automake"> ��� ��������� - ���������� � �������������� ����������, ������� ������� � - <command>autoconf</command>.</entry> - </row> - - <row> - <entry><makevar>USE_LIBTOOL_VER</makevar></entry> - - <entry>� �������� ������ ���������� ���� ���������� GNU - <command>libtool</command>. ���������� � <xref - linkend="using-automake"> ��� ��������� - ���������� � �������������� ����������, ������� ������� � - <command>libtool</command>.</entry> - </row> - - <row> - <entry><makevar>GMAKE</makevar></entry> - - <entry>������ ������� �� <command>gmake</command>, ���� �� - ����������� � ���������� ��������� - <envar>PATH</envar>.</entry> - </row> - <row> <entry><makevar>USE_BISON</makevar></entry> @@ -3377,38 +3613,70 @@ PATCHFILES= patch1:test</programlisting> </row> <row> - <entry><makevar>USE_SDL</makevar></entry> + <entry><makevar>USE_CDRTOOLS</makevar></entry> - <entry>��� ���������� � ������ ���� ���������� - <literal>SDL</literal>. ���������� � ������� <xref - linkend="using-sdl"> ��� ��������� ���������� � ���, ��� - ������������ <makevar>USE_SDL</makevar>.</entry> - </row> - - <row> - <entry><makevar>NO_INSTALL_MANPAGES</makevar></entry> - - <entry>�� ������������ ���� - <maketarget>install.man</maketarget>.</entry> + <entry>���� ������� <application>cdrecord</application> + �� <filename + role="package">sysutils/cdrtools</filename> ��� <filename + role="package">sysutils/cdrtools-cjk</filename> � + ����������� �� ������������ ������������.</entry> </row> + + <row> + <entry><makevar>USE_GCC</makevar></entry> + + <entry>���� ������� ��� ������ ����������� ������ + <command>gcc</command>. ������ ������ ����� ���� ������� + � �������� ����������, �������� <literal>3.4</literal>. + ���������� ����������� ������ ����� ������� ��� + <literal>3.4+</literal>. <command>gcc</command> �� + �������� ������� ������������ � ������, ���� �� + ������������� ����������� ������, ����� ������������ + ���������� ���������� ������ <command>gcc</command> �� + ������ � ��������� ���������� <makevar>CC</makevar> � + <makevar>CXX</makevar>.</entry> + </row> + </tbody> </tgroup> </table> - <para>���������� ���������� <literal>USE_XLIB=yes</literal>, ���� ��� - ���� ��� ��������� ������� X Window System (��� ��������������� ��� - ������������� ���������� <makevar>USE_IMAKE</makevar>). ���������� - ���������� <literal>USE_GMAKE=yes</literal>, ���� ��� ���� ������� - ������ ����������� ��� BSD ������� <command>make</command> �� - GNU-������. ������� <literal>USE_AUTOCONF_VER=213</literal>, ���� - ����� ��� ������ ��������� GNU autoconf. ���������� ���������� - <literal>USE_QT=yes</literal>, ���� ��� ���� ���������� ����� - ��������� ������ ������ qt. ������� - <literal>USE_PERL5=yes</literal> � ������, ���� ������ ����� - ��������� ������ 5 ����� <literal>perl</literal>. (��������� - �������� �����, ��� ��� ��������� ������ FreeBSD ����� - <literal>perl5</literal> � ������� �������, ����� ��� - ������ - ���.)</para> + <para>����������, ����������� � <application>gmake</application> + � �������� <filename>configure</filename>, ������� � + <xref linkend="building">, � <application>autoconf</application>, + <application>automake</application> � + <application>libtool</application> ������� � + <xref linkend="using-autotools">. ����������, ��������� � + <application>Perl</application>, ������� � <xref + linkend="using-perl">. ���������� X11 ����������� � <xref + linkend="using-x11">. <xref linkend="using-gnome"> + �������� � ����������� GNOME � <xref linkend="using-kde"> � KDE. + <xref linkend="using-java"> ��������� ���������� Java, � <xref + linkend="using-php"> �������� ���������� �� + <application>Apache</application>, <application>PHP</application> + � ������� PEAR. <application>Python</application> ����������� � + <xref linkend="using-python">, � <application>Ruby</application> + � <xref linkend="using-ruby">. <xref linkend="using-sdl"> + ������������� ����������, ������������ ��� ���������� + <application>SDL</application>, �, �������, + <xref linkend="using-xfce"> �������� ���������� � ���������� + <application>Xfce</application>.</para> + </sect2> + + <sect2> + <title>����������� ������ �����������</title> + + <para>����������� ������ ����������� ����� ���� ������� � ����� + ���������� <makevar>*_DEPENDS</makevar>, �� ����������� + <makevar>LIB_DEPENDS</makevar>, � �������������� ���������� + ����������:</para> + + <programlisting>p5-Spiffy>=0.26:${PORTSDIR}/devel/p5-Spiffy</programlisting> + + <para>������ ���� �������� �������� ���������� ������, ������� + ������� ��������� � ������� � ���� ������ �������, ���� ��������� + � ������ ������ ������. ����������� ��������������� ���� �� ������ + ���������� p5-Spiffy-0.26 ��� �����.</para> </sect2> <sect2> @@ -3432,7 +3700,7 @@ PATCHFILES= patch1:test</programlisting> ����� ������� �� ����������, � ��ϣ� ������ ������������, ��������, KDE, GNOME ��� Mozilla.</para> - <para>����� ���������� �������� �� ������� �����, ������� ���������� + <para>����� ���������� �������� �� ������� �����, ������� ���������� <makevar>${NONEXISTENT}</makevar> � �������� ������� ���� ���������� <makevar>BUILD_DEPENDS</makevar> ��� <makevar>RUN_DEPENDS</makevar>. ����������� ����, ������ ����� ��� @@ -3441,50 +3709,6 @@ PATCHFILES= patch1:test</programlisting> <programlisting>BUILD_DEPENDS= ${NONEXISTENT}:${PORTSDIR}/graphics/jpeg:extract</programlisting> ������ ����� ���������� � ������� � ������ <literal>jpeg</literal> � ������������� ���.</para> - - <para>�� ����� ������������ <makevar>DEPENDS</makevar>, ���� ���� - ������ ������ �������� ��������� ���������. ��� ����� �������� � - ����, ��� �����-�� ������ ���� ������ ����� ��������� (� �� - ��������� ���������������). � ����� ����������� ��������� � �� - ������. ���� ��� ������ ��, ��� ��� �����, �� ���, ��������, - ������� ��������� ��� ����� <literal>BUILD_DEPENDS</literal> � - <literal>RUN_DEPENDS</literal>—�� ������� ���� ����� - ����� ����� �������.</para> - </sect2> - - <sect2> - <title>�������������� �����������</title> - - <para>��������� ������� ���������� ����� ���� ��������� � ��������� - �������������, � �������������� �����������������, ��������� �� - ������� � ������� ������̣���� ��������� ��� ����������. ��� ��� �� - ���� ������������� ��������� ��� ���������� ��� ����������, �� � - ������� ������ ������������ ��������, ����������� ������ ����� - ��������� ������� � ������������, ������� ����� ���������. ������ - ��������� ����� ��������� ��������� ������������� ����� � ���� ��� - ��� ����� ����� ����� �������� ������.</para> - - <para>����� ������� �� ���� ���������� �������� ������������� - <makevar>WITHOUT_X11</makevar>. ���� ���� ����� ���� �������� ��� � - ���������� X, ��� � ��� ����, �� ������ �� ������ ��������� � - ���������� X. ���� ���������� ���������� - <makevar>WITHOUT_X11</makevar>, �� ������ ��������� ������, �� - �������������� X.</para> - - <para>��������� ����� ������ GNOME ����� ����� �����������, ���� �� - ������� ������� ������������. � <filename>Makefile</filename> ����� - ������������ ���������� <makevar>WANT_*</makevar> � - <makevar>HAVE_*</makevar>. ���� ���������� ����� ���� ��������� ��� - � �������������, ��� � ��� ������������, ������������� ����, �� � - <filename>Makefile</filename> ������ ���� ������ ���������� - <makevar>WANT_PKG</makevar> � ������, ������� ���������� ����� - <makevar>PKG</makevar>, ����� ���������, ���� ���������� ���������� - <makevar>HAVE_PKG</makevar>.</para> - - <para>�� ������ ������ ��� �������� ���������� - <makevar>WANT_*</makevar>, <makevar>WANT_GLIB</makevar>, - <makevar>WANT_GTK</makevar>, <makevar>WANT_ESOUND</makevar>, - <makevar>WANT_IMLIB</makevar> � <makevar>WANT_GNOME</makevar>.</para> </sect2> <sect2> @@ -3505,6 +3729,452 @@ PATCHFILES= patch1:test</programlisting> ������ �������, ���� �� ������� ������ ������� ���������� �����—������� ����—�� �������� ���.</para> </sect2> + + </sect1> + + <sect1 id="makefile-masterdir"> + <title><makevar>MASTERDIR</makevar></title> + + <para>���� ������ ����� ��������� ���������� �������� ������������� + ������ ������� ����� ���������� (��������, ��������, ����������, + ��� ������ ������), ������� ��������� ��������� ��������, �������� ��� + ������� ������ ��������� ����������, ����� ������������� ���� ����� + ����������, ����� ������� ���������������, �� ���������� ������������ + ��������� ����� ������� ��� ����� ������ ������. � �������� ������ ��� + ����������� ������ ����� �������� ����� <filename>Makefile</filename> + �� ���� ���������, ����� ������, ���� �� ������ ������������ ���������� + � ����. � ��������� ������ <filename>Makefile</filename> �� ������ + ������������ ���������� <makevar>MASTERDIR</makevar> ��� �������� + ��������, � ������� ��������� ��� ��������� �����. ����� ����������� + ���������� ��� ����� <link + linkend="porting-pkgname"><makevar>PKGNAMESUFFIX</makevar></link>, ����� + ������ ����� ������ �����.</para> + + <para>���������������� ��� �� �������. ��� ����� ����� + <filename>japanese/xdvi300/Makefile</filename>:</para> + + <programlisting> +PORTNAME= xdvi +PORTVERSION= 17 +PKGNAMEPREFIX= ja- +PKGNAMESUFFIX= ${RESOLUTION} + : +# default +RESOLUTION?= 300 +.if ${RESOLUTION} != 118 && ${RESOLUTION} != 240 && \ + ${RESOLUTION} != 300 && ${RESOLUTION} != 400 + @${ECHO_MSG} "Error: invalid value for RESOLUTION: \"${RESOLUTION}\"" + @${ECHO_MSG} "Possible values are: 118, 240, 300 (default) and 400." + @${FALSE} +.endif + </programlisting> + + <para>���� <filename role="package">japanese/xdvi300</filename> �������� + ����� ��� ������� �����, ����� ��� ������ � ��� �����. ���� �� ������� + ����� ������� <command>make</command>, ��� ������� � �������� ���������� + �������� �� ��������� (300) � �������� ���� ������� �������.</para> + + <para>��� ������� ���������� �������� <emphasis>������</emphasis> + <filename>xdvi118/Makefile</filename>:</para> + + <programlisting>RESOLUTION= 118 +MASTERDIR= ${.CURDIR}/../xdvi300 + +.include "${MASTERDIR}/Makefile"</programlisting> + + <para>(<filename>xdvi240/Makefile</filename> � + <filename>xdvi400/Makefile</filename> ������). ������� + <makevar>MASTERDIR</makevar> ������� <filename>bsd.port.mk</filename>, + ��� ������� ����� ������������ ���� <makevar>FILESDIR</makevar> � + <makevar>SCRIPTDIR</makevar> ��������� � �������� + <filename>xdvi300</filename>. ������� + <literal>RESOLUTION=118</literal> ������������� ������ + <literal>RESOLUTION=300</literal> � ����� + <filename>xdvi300/Makefile</filename> � ���� ����� �������� � + ����������� 118.</para> + </sect1> + + <sect1 id="makefile-manpages"> + <title>�������� �����������</title> + + <para>���������� <makevar>MAN[1-9LN]</makevar> ������������� ������� ����� + �������� ����������� � ����� <filename>pkg-plist</filename> (��� + ��������, ��� ��� <emphasis>�� �����</emphasis> ��������� �������� + ����������� � ����� <filename>pkg-plist</filename>—���������� � + ����� � <link linkend="plist-sub">��������� ����� PLIST</link> ��� + ��������� ����� ��������� ����������). ��� ����� ��������� �� ����� + ��������� ������������� ����������� � ������������� �������� + ����������� � ����������� �� �������� ���������� + <makevar>NO_MANCOMPRESS</makevar> � ����� + <filename>/etc/make.conf</filename>.</para> + + <para>���� ��� ���� �������� ������ ��������� ���� ��� ������� + ����������� ��� ������ ������������� ��� ������� ������, �� �� ������ + ������������ ���������� <makevar>MLINKS</makevar>, ����� ������� �� + ���. ������, ������������� ����� ������, ����� ���������� � ������� + ������ ��������� <filename>bsd.port.mk</filename> ��� �������� ����, + ��� ��� ��������� �� ���������� ����. ����� �������� �����������, + ������������� � ���������� MLINKS, �� ������ ������������ � ����� + <filename>pkg-plist</filename>.</para> + + <para>��� �������� ����, ��� �������� ����������� ����� ������� �� + ����� ���������, ����������� ���������� + <makevar>MANCOMPRESSED</makevar>. ��� ���������� ����� ��������� ��� + �������� - <literal>yes</literal>, <literal>no</literal> � + <literal>maybe</literal>. <literal>yes</literal> ��������, ��� + �������� ����������� ��������������� ��� �������, <literal>no</literal> + ��������, ��� ��� �� ��������� � <literal>maybe</literal> ��������, ��� + ����������� ����������� ��������� �� �������� �������� ���������� + <makevar>NO_MANCOMPRESS</makevar>, ��� ��� �������� + <filename>bsd.port.mk</filename> ������ ������������� ������ �� + �����.</para> + + <para>�������� ���������� <makevar>MANCOMPRESSED</makevar> ������������� + ��������������� � <literal>yes</literal>, ���� ���������� + <makevar>USE_IMAKE</makevar> ������, � + <makevar>NO_INSTALL_MANPAGES</makevar> ���, � � �������� + <literal>no</literal> � ��������� ������. ��� �� ����� �������� �� + ����, ���� �������� �� ��������� �������� ������ �����.</para> + + <para>���� ��� ���� ���������� ������ ��� ������ ����������� �������, + �������� �� <makevar>MANPREFIX</makevar>, �� ������ ������������ + ���������� <makevar>MANPREFIX</makevar>, ����� ������ ��� ����. ����� + ����, ���� �������� ������ ��������� �������� ���������� � + ������������� �����, ��������, � ������ ������ ������� ����� + <literal>perl</literal> Perl, �� ������ ���������� �������� � ���������� + ��������� �������������, ��� ������ + <makevar>MAN<replaceable>sect</replaceable>PREFIX</makevar> (��� + <replaceable>sect</replaceable> ��������� �������� + <literal>1-9</literal>, <literal>L</literal> ��� + <literal>N</literal>).</para> + + <para>���� �������� ����������� ���������� � �����������, ��������������� + ���������� �����, �� ������� �������� ����� ����� � ���������� + <makevar>MANLANG</makevar>. �������� ���� ���������� �� ��������� + ����� <literal>""</literal> (�� ���� ������ ���������� ����).</para> + + <para>��� ������, � ������� ���������� ��� ������.</para> + + <programlisting> +MAN1= foo.1 +MAN3= bar.3 +MAN4= baz.4 +MLINKS= foo.1 alt-name.8 +MANLANG= "" ja +MAN3PREFIX= ${PREFIX}/share/foobar +MANCOMPRESSED= yes + </programlisting> + + <para>����� �������, ��� ���� ���� ������������� 6 ������:</para> + + <programlisting>${MANPREFIX}/man/man1/foo.1.gz +${MANPREFIX}/man/ja/man1/foo.1.gz +${PREFIX}/share/foobar/man/man3/bar.3.gz +${PREFIX}/share/foobar/man/ja/man3/bar.3.gz +${MANPREFIX}/man/man4/baz.4.gz +${MANPREFIX}/man/ja/man4/baz.4.gz</programlisting> + + <para>����� ����, ���� + <filename>${MANPREFIX}/man/man8/alt-name.8.gz</filename> ����� ����, � + ����� � �� ���� ���������� ����� ������. � ����� ������ ����� ������� + ������������� ������ ��� ����������� ������� ����������� foo(1) � + alt-name(8).</para> + + <para>���� ���������� ������ ����� ������� �����������, �� ������ + ������������ ��������� ����������, ��������� ����������� �� + ����������� <makevar>MANLANG</makevar>:</para> + + <programlisting>MANLANG= "" de ja +MAN1= foo.1 +MAN1_EN= bar.1 +MAN3_DE= baz.3</programlisting> + + <para>��� ����������� � ����� ������ ������:</para> + + <programlisting>${MANPREFIX}/man/man1/foo.1.gz +${MANPREFIX}/man/de/man1/foo.1.gz +${MANPREFIX}/man/ja/man1/foo.1.gz +${MANPREFIX}/man/man1/bar.1.gz +${MANPREFIX}/man/de/man3/baz.3.gz</programlisting> + </sect1> + + <sect1 id="makefile-info"> + <title>����� � ������� info</title> + + <para>���� � ����� ������ ����� ��������� ������ GNU info, ��� ������ + ���� ����������� � ���������� <makevar>INFO</makevar> (��� ��������� + <literal>.info</literal>), �� ������ �� ��������. ��������������, + ��� ��� ����� ��������������� � + <filename><makevar>PREFIX</makevar>/<makevar>INFO_PATH</makevar></filename>. + �� ������ �������� <makevar>INFO_PATH</makevar>, ���� ��� ����� + ���������� ������ ����� ��� ����������. ������, ��� �� ������������� + ������. ��� ������ ����� ���� �������� ���� ������������ + <filename><makevar>PREFIX</makevar>/<makevar>INFO_PATH</makevar></filename>. + ��������, <filename role="package">lang/gcc34</filename> ������������� + ����� info � + <filename><makevar>PREFIX</makevar>/<makevar>INFO_PATH</makevar>/gcc34</filename>, + � � <makevar>INFO</makevar> ����� ���-�� ����� �����: + <programlisting>INFO= gcc34/cpp gcc34/cppinternals gcc34/g77 ... +</programlisting> + ����� ������������ ������ ��������������� ��� ���������/�������� ����� + ������������� �������� �� ��������� <filename>pkg-plist</filename>.</para> + </sect1> + + <sect1 id="makefile-options"> + <title>����� ��� Makefile</title> + + <para>��������� ������� ���������� ����� ���� ��������� � ��������� + �������������, � �������������� �����������������, ��������� �� + ������� � ������� ������̣���� ��������� ��� ����������. ��������, + ����� ������������� (�������������) �����, GUI ������ ��������� + ������ ��� ���� ������������ ���� ������. ��� ��� �� + ���� ������������� ��������� ��� ���������� ��� ����������, �� � + ������� ������ ������������ ��������, ����������� ������ ����� + ��������� ������� � ������������, ������� ����� ���������. ������ + ��������� ����� ��������� ��������� ������������� ����� � ���� ��� + ��� ����� ����� ����� �������� ������.</para> + + <sect2> + <title>Knobs</title> + + <sect3> + <title><makevar>WITH_<replaceable>*</replaceable></makevar> � + <makevar>WITHOUT_<replaceable>*</replaceable></makevar></title> + + <para>��� ���������� ������������� ��� ��������� ��������� + ���������������. ������ �� ��� ��������������� � ����� + <ulink url="http://www.freebsd.org/cgi/cvsweb.cgi/ports/KNOBS?rev=HEAD&content-type=text/x-cvsweb-markup"><filename>ports/KNOBS</filename></ulink>.</para> + + <para>��� �������� ����� �� ������� ��� ��� knob, ����������� + ��� ������� ����������. �� ������� ����� Avahi, ����������� + <makevar>WITHOUT_MDNS</makevar> ������ + <makevar>WITHOUT_AVAHI_MDNS</makevar>.</para> + + <note> + <para>�� ����� ������������, ��� + <makevar>WITH_<replaceable>*</replaceable></makevar> + ����������� ����� ��������������� ���������� + <makevar>WITHOUT_<replaceable>*</replaceable></makevar>, + � ��������. � ����� ������, �������������� �������� �� + ���������.</para> + </note> + + <note> + <para>���� �������� �� �������, �� ����������� ������ ���� + ��������� ����� ����������, �� �� �� �������� ���� + <literal>YES</literal> ��� <literal>NO</literal>.</para> + </note> + + <table frame="none"> + <title>�������� ���������� + <makevar>WITH_<replaceable>*</replaceable></makevar> + � <makevar>WITHOUT_<replaceable>*</replaceable></makevar></title> + + <tgroup cols="2"> + <thead> + <row> + <entry>����������</entry> + + <entry>��������</entry> + </row> + </thead> + + <tbody> + <row id="knobs-without-nls"> + <entry><makevar>WITHOUT_NLS</makevar></entry> + + <entry>���� �����������, ��������� �� ������������� + �������������������, ��� ����� �������� ����������. + �� ���������, ������������������� ������������.</entry> + </row> + + <row> + <entry><makevar>WITH_OPENSSL_BASE</makevar></entry> + + <entry>������������ ������ OpenSSL �� ������� �������.</entry> + </row> + + <row> + <entry><makevar>WITH_OPENSSL_PORT</makevar></entry> + + <entry>������������� ������ OpenSSL �� + <filename role="package">security/openssl</filename>, + ���� ���� � ������� ������� ��������� ������.</entry> + </row> + + <row> + <entry><makevar>WITHOUT_X11</makevar></entry> + + <entry>���� ���� ����� ���� ������ � ���������� ��� ��� + ��������� X, ��, ��� �������, ������ ���� ���������� + � ���������� X. ���� ��� ���������� ����������, �� + ����� ������� ������ ��� ��������� X.</entry> + </row> + </tbody> + </tgroup> + </table> + + </sect3> + + <sect3> + <title>������������ KNOBS</title> + <para>�������������, ����� ������� ������������ ��� ���������� + knobs ��� ������ �������� ������������� � ��� ����������� + ���������� ������������ knobs � ��������� ����������. + ������ ���������� �������� knobs ����� ����� � ����� <ulink + url="http://www.freebsd.org/cgi/cvsweb.cgi/ports/KNOBS?rev=HEAD&content-type=text/x-cvsweb-markup">KNOBS</ulink> + </para> + + <para>�������� knobs ������ ��������, ��� ��� ����� � ��� + ���������. ���� � ����� ������� ������������ ������� � + <makevar>PORTNAME</makevar>, �� �� ������ �������������� � + �������� knobs.</para> + </sect3> + </sect2> + + <sect2> + <title><makevar>OPTIONS</makevar></title> + + <sect3> + <title>��������</title> + <para>��� ��������� ����� ���������� <makevar>OPTIONS</makevar> + ������������� ������������ ���� ������� � ���������� + ����������� � ��������� �� � ���� + <filename>/var/db/ports/<replaceable>portname</replaceable>/options</filename>. + ��� ����� ����� �������� ������������ ��� ��������� + ������������ �����. ��� ������ ������� �� ����������� + ���������� ��� �������� ����� + <makevar>WITH_<replaceable>*</replaceable></makevar> � + <makevar>WITHOUT_<replaceable>*</replaceable></makevar>, + ������������ ���� ��� ���������� ����� �����!</para> + + <para>����� ������������ ��������� <command>make config</command> + (��� ��������� ������� <command>make build</command>), + �������������� �������� �������� ������������� ����� + <filename>/var/db/ports/<replaceable>portname</replaceable> + /options</filename>. ���� ���� ���� �� ����������, �� ��� + �������� ����������� ���� ����� ������������ �������� + <makevar>OPTIONS</makevar>, � ������� �� ����� �����������. + ����� ����������� ���� �����, � ��������� ���������� + ������������ ��� ���������� �����.</para> + + <para>���� ����� ������ ����� ��������� ����� �������� + <makevar>OPTIONS</makevar>, �� ������������ ����� ������������ + ���� ������� � ������������ ������������ ���������� ������ + <makevar>OPTIONS.</makevar> + + <para>��� ��������� ����������� ������������ ����������� + <command>make showconfig</command>. ��� �������� + ����������� ������������ ����������� + <command>make rmconfig</command>.</para> + </sect3> + + <sect3> + <title>���������</title> + <para>��������� ���������� <makevar>OPTIONS</makevar>: + +<programlisting>OPTIONS= OPTION "descriptive text" default ... +</programlisting> + + ��������� �� ��������� �������� ��� <literal>ON</literal>, + ��� <literal>OFF</literal>. ����������� ������������� + ������� ���� ���� �����.</para> + + <para>����������� <makevar>OPTIONS</makevar> ������� ��������� + �� ����������� <filename>bsd.port.options.mk</filename>. + ���������� <makevar>WITH_*</makevar> � + <makevar>WITHOUT_*</makevar> ����� ���� ��������� ������ ����� + ����������� <filename>bsd.port.options.mk</filename>. + ������ ����� ����� ����� ������������ ����������� + <filename>bsd.port.pre.mk</filename>, ��� ��� ��� ������ + ������������ � ������, ���������� �� ��������� + <filename>bsd.port.options.mk</filename>. �� ������ � ����, + ��� ��������� ����������, ������ ����� <makevar>USE_*</makevar>, + ����� ����������� <filename>bsd.port.pre.mk</filename> ����� + �������� �� ���, ��� ��� �� ��� ���������.</para> + + <example id="ports-options-simple-use"> + <title>������� ������������� <makevar>OPTIONS</makevar></title> + <para><programlisting>OPTIONS= FOO "Enable option foo" On \ + BAR "Support feature bar" Off + +.include <bsd.port.options.mk> + +.if defined(WITHOUT_FOO) +CONFIGURE_ARGS+= --without-foo +.else +CONFIGURE_ARGS+= --witht-foo +.endif + +.if defined(WITH_BAR) +RUN_DEPENDS+= bar:${PORTSDIR}/bar/bar +.endif + +.include <bsd.port.mk></programlisting></para> + </example> + + <example id="ports-options-old-style-use"> + <title>������������� <makevar>OPTIONS</makevar> + � ������ �����</title> + <para><programlisting>OPTIONS= FOO "Enable option foo" On + +.include <bsd.port.pre.mk> + +.if defined(WITHOUT_FOO) +CONFIGURE_ARGS+= --without-foo +.else +CONFIGURE_ARGS+= --with-foo +.endif + +.include <bsd.port.post.mk></programlisting></para> + </example> + </sect3> + </sect2> + + <sect2> + <title>������� �������������� ���������</title> + + <para>��� ������������� �������� GNU configure, ������� �� ���, + ����� �������������� ������� ������������� ����������� + �������������� ���������. ���������� ����� ������� �� + �������������� �������, ������� �� �� ������ �� ������������, + ����� �������� ��������������� <literal>--without-xxx</literal> + ��� <literal>--disable-xxx</literal> � ���������� + <makevar>CONFIGURE_ARGS</makevar>.</para> + + <example> + <title>������������ ���������� ������</title> + <programlisting>.if defined(WITH_FOO) +LIB_DEPENDS+= foo.0:${PORTSDIR}/devel/foo +CONFIGURE_ARGS+= --enable-foo +.endif</programlisting> + </example> + + <para>� ����������� ���� ������� ����������� ���� ���������� libfoo, + ������������� � �������. ������������ �� ������, ����� ���������� + ������������ libfoo, � ������� �� ��������� ��������������� ����� + � ������� <literal>make config</literal>. �� �������� configure + ���������� ���������� ������� ���������� � ������� � �������� �� + ��������� � �������� ����������� ����. ������, ����� ������������ + ����� ������� libfoo �� �������, ������� ������ �������� ��� + ������� (�.�. ����������� �� libfoo �� ���� ��������), �� + ���������� ���������� ��������.</para> + + <example> + <title>���������� ���������� ������</title> + <programlisting>.if defined(WITH_FOO) +LIB_DEPENDS+= foo.0:${PORTSDIR}/devel/foo +CONFIGURE_ARGS+= --enable-foo +.else +CONFIGURE_ARGS+= --disable-foo +.endif</programlisting> + </example> + + <para>�� ������ ������� ���������� libfoo ��������� ����� �������. + �������� configure �� �������� ��������������� ������� � ����������, + �������� �� ����������� ���������� � �������.<para> + </sect2> + </sect1> <sect1 id="makefile-wrkdir"> @@ -3554,78 +4224,359 @@ PORTVERSION= 1.0</programlisting> </sect1> <sect1 id="conflicts"> - <title><makevar>CONFLICTS</makevar></title> + <title>���������� ����������</title> - <para>���� ��� ����� �� ����� ������������ ������������ � ������� - (��-�� ���������� ������, ��������������� �� ����� ���������� � ��� - �����), ����������� ����� ��������� ������� � ���������� - <makevar>CONFLICTS</makevar>. ����� �� ������ ������������ ������� - ���������� ���������� ���� <literal>*</literal> � - <literal>?</literal>. ����� ������� ������ ��������� ��� ��, ��� - � <filename>/var/db/pkg</filename>. ����������, ���������, ��� - <makevar>CONFLICTS</makevar> �� �������� ����� ������ ����� ����� - ��� ���, ��� ��������� � ������� ���������� <makevar>FORCE_PKG_REGISTER</makevar> - ������ �� ����� ��������������.</para> - </sect1> - - <sect1 id="makefile-build"> - <title>��������� ����������</title> - - <para>���� ��� ����� ���������� GNU-������ ������� - <command>make</command>, ������� <literal>USE_GMAKE=yes</literal>. - ���� ��� ����� ���������� <command>configure</command>, ������� - <literal>HAS_CONFIGURE=yes</literal>. ���� ��� ����� ���������� - GNU-������ <command>configure</command>, ������� - <literal>GNU_CONFIGURE=yes</literal> (��� ����� ������������� - <literal>HAS_CONFIGURE</literal>). ���� �� ������ �������� - �������������� ��������� � <command>configure</command> (������ - ���������� ������������ ����� - <literal>--prefix=${PREFIX}</literal> ��� GNU - <command>configure</command> � ������ ������ ��� ��-GNU - <command>configure</command>), ������� ��� �������������� ��������� � - <makevar>CONFIGURE_ARGS</makevar>. ���� ��� ����� ���������� - GNU-������ <command>autoconf</command>, ������� - <literal>USE_AUTOCONF_VER=213</literal>. ��� ������������� - <makevar>GNU_CONFIGURE</makevar>, � �������� � ������ - <command>autoconf</command> �� ������� - <command>configure</command>.</para> + <para>��� ����������� ��������� ����� �������� � ������� ������������ + ��� ��������� ����������: <makevar>CONFLICTS</makevar>, + <makevar>CONFLICTS_INSTALL</makevar> � + <makevar>CONFLICTS_BUILD</makevar>.</para> <note> - <para>���� ��� ����� ���������� GNU <command>configure</command>, � - ������������ ���������� ���� ����� <quote>��������</quote> ���, - ���� - <filename>i386-portbld-freebsd4.7-</filename><replaceable>appname</replaceable>, - �� ��� ����������, ����� ����� �������, �������������� ���������� - <makevar>CONFIGURE_TARGET</makevar>, ������ ���� � ��� ����, ������� - ������� �������, ������������ ���������� �������� - <command>autoconf</command>. �������� ��������� ������ ����� ����� - ������ <literal>GNU_CONFIGURE=yes</literal> � ����� ����� - <filename>Makefile</filename>:</para> - - <para><literal>CONFIGURE_TARGET=--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}</literal></para> + <para>���������� ����������� ��������� ������������� ���������� + ���������� <makevar>IGNORE</makevar>, ������� ����� �������� + ������� � <xref linkend="dads-noinstall">.</para> </note> - <para>���� ��� ����� �������� ����������� ��� X, ������� ������� - ����� <filename>Makefile</filename> �� ��������������� ������ - <filename>Imakefile</filename> ��� ������ ������� - <command>imake</command>, �� ������� <literal>USE_IMAKE=yes</literal>. - ��� �������� � ��������������� ������� ������� - <command>xmkmf -a</command> �� ����� ����������������. ���� - ������������� ����� <option>-a</option> �������� ��� ������ ����� - ��������������, ������� <literal>XMKMF=xmkmf</literal>. ���� ���� - ���������� ������� <command>imake</command>, �� �� ������������ ���� - <maketarget>install.man</maketarget>, �� ������ ���� ������ - ���������� <literal>NO_INSTALL_MANPAGES=yes</literal>. ����� ����, - ����� ��������� ������ ���� ����������. <!-- - smiley --><emphasis>:-></emphasis></para> + <para>��� �������� ������ �� ������������� ������ ������������� + ��������� ������ <makevar>CONFLICTS</makevar> � ��� ������ ������ + � ������� ���������� �������, ����� ������������ � ��� �������������, + ������� ����������� �� ������ � ������.</para> - <para>���� � ����� <filename>Makefile</filename> �� ������������ ������ - ����� � �������� ������� ���� ��� ���������� ������� �����, �������� - �� <maketarget>all</maketarget>, �� ������� ��������������� ������� - ���������� <makevar>ALL_TARGET</makevar>. �� �� ����� �������� - ����� <maketarget>install</maketarget> � - <makevar>INSTALL_TARGET</makevar>.</para> + <sect2> + <title><makevar>CONFLICTS_INSTALL</makevar></title> + + <para>���� ��� ����� �� ����� ������������ ������ � ������� + (��-�� ��������� ������, ��������������� ������� ���������� � ��� + �����), ����������� ����� ��������� ������� � ���������� + <makevar>CONFLICTS_INSTALL</makevar>. ����� �� ������ ������������ + ������� ���������� ��������������, ����� ��� <literal>*</literal> + � <literal>?</literal>. ����� ������� ������ ��������� ��� ��, + ��� � <filename>/var/db/pkg</filename>. ����������, ���������, + ��� <makevar>CONFLICTS_INSTALL</makevar> �� �������� ����� ������ + ����� �����. � ��������� ������ �� ����� �������� ��������� � + �������������� ���������� <makevar>FORCE_PKG_REGISTER</makevar>. + �������� CONFLICTS_INSTALL ����������� ����� �������� ������ � + �� �������� ���������.</para> + </sect2> + + <sect2> + <title><makevar>CONFLICTS_BUILD</makevar></title> + + <para>���� ��� ���� �� ����� ���� ������, ����� ��� ���������� + ������, ����������� ����� ��������� ������ � ���������� + <makevar>CONFLICTS_BUILD</makevar>. ����� �� ������ ������������ + ������� ���������� ��������������, ����� ��� <literal>*</literal> + � <literal>?</literal>. ����� ������� ������ ��������� ��� ��, + ��� � <filename>/var/db/pkg</filename>. �������� CONFLICTS_BUILD + ����������� �� �������� ������. ��������� ������ � ���������� + ������ �� ������������.</para> + </sect2> + + <sect2> + <title><makevar>CONFLICTS</makevar></title> + + <para>���� ��� ���� �� ����� ���� ������, ����� ��� ���������� + ������, � ���������� ����� �� ����� ������������ ������ � �������, + ����������� ����� ��������� ������� � ���������� + <makevar>CONFLICTS</makevar>. ����� �� ������ ������������ ������� + ���������� ��������������, ����� ��� <literal>*</literal> � + <literal>?</literal>. ����� ������� ������ ��������� ��� ��, ��� + � <filename>/var/db/pkg</filename>. ����������, ���������, ��� + <makevar>CONFLICTS</makevar> �� �������� ����� ������ ����� �����. + � ��������� ������ �� ����� �������� ��������� � �������������� + ���������� <makevar>FORCE_PKG_REGISTER</makevar>. �������� + CONFLICTS ����������� �� ��������� ������ � ���������.</para> + </sect2> </sect1> + + <sect1 id="install"> + <title>��������� ������</title> + + <sect2 id="install-macros"> + <title>������� INSTALL_*</title> + + <para>����������� �������, ������� ���� � ����� + <filename>bsd.port.mk</filename> ��� ����������� ���������� ���� + ������� � �������� ������ � ����� ����� + <maketarget>*-install</maketarget>.</para> + + <itemizedlist> + <listitem> + <para><makevar>INSTALL_PROGRAM</makevar> - ��� ������� ��� + ��������� �������� ���������� ������.</para> + </listitem> + + <listitem> + <para><makevar>INSTALL_SCRIPT</makevar> - ��� ������� ��� ��������� + ���������� ��������.</para> + </listitem> + + <listitem> + <para><makevar>INSTALL_LIB</makevar> - ��� ������� ��� ��������� + ������������ ���������.</para> + </listitem> + + <listitem> + <para><makevar>INSTALL_KLD</makevar> - ��� ������� ��� ��������� + ����������� ������� ����. ��������� ����������� ������������, + ����� ��� ������� ����������� ���������� ��������, �� ���� + ������� ����������� ��� ������� ������ + <makevar>INSTALL_PROGRAM</makevar>.</para> + </listitem> + + <listitem> + <para><makevar>INSTALL_DATA</makevar> - ��� ������� ��� ��������� + ��������� ������������ ������ ������.</para> + </listitem> + + <listitem> + <para><makevar>INSTALL_MAN</makevar> - ��� ������� ��� ��������� + ������� ����������� � ������ ������������ (������� ������ ��� �� + �������).</para> + </listitem> + </itemizedlist> + + <para>� ������ ������ ���� �������� ����� ������� + <command>install</command> �� ����� ���������������� �������. + �������� ������ �� ������������� ����.</para> + </sect2> + + <sect2 id="install-strip"> + <title>�������� ���������� ���������� � �������� ������ � + ������������ �����������</title> + + <para>�� �������� ���������� ���������� �� �������� ������ �������, + ���� �� ��� ������. �� ���� �������� ������ ���������� ���������� + ������ ���� �������, � ������ <makevar>INSTALL_PROGRAM</makevar> + �������� ��������� � �������� ���������� ���������� ������������ + (���������� � ���������� �������). ������ + <makevar>INSTALL_LIB</makevar> ������ �� �� ����� ��� + ������������ ���������.</para> + + <para>���� ��� ����� ������� ���������� ���������� �� ����� ��� + ������������� �������� <makevar>INSTALL_PROGRAM</makevar> � + <makevar>INSTALL_LIB</makevar>, �� ��� ����� ������� ��� ������ + <makevar>${STRIP_CMD}</makevar>. ������ ��� �������� ������ ���� + <literal>post-install</literal>. � �������:</para> + + <programlisting>post-install: + ${STRIP_CMD} ${PREFIX}/bin/xdl</programlisting> + + <para>��� �������� ����, ������� �� ���������� ���������� �� + �������������� ����������� �����, ��������� ������� &man.file.1;. + ���� ������� �� ������ ������ <literal>not stripped</literal>, �� + ���� ��� ���������. ����� ����, &man.strip.1; �� ����� ������������ + ���������, ���������� ���������� �� ������� ��� �������; ������ ����� + ������� ������ �������� ���� ������.</para> + </sect2> + + <sect2 id="install-copytree"> + <title>��������� ������ ������ ������</title> + + <para>������ ���������� ������������� � ��������� �������� ���������� + ������ � ����������� �� ������������� �����������, �.�. � ����������� + ������ ��������� ������� �� <makevar>WRKSRC</makevar> � ������� + ������� ������ <makevar>PREFIX</makevar>.</para> + + <para>��� ���� �������� ���������� ��� �������. ������������ �� + ������������� ���� �������� ������ ������� <command>cp</command> + � ���, ��� ��� ����������� ��������� ����������� ��������� � ���� + �� �������� �����. ������ ������, <makevar>COPYTREE_BIN</makevar>, + ������ ��� ��������������� ����� ������������, ��� �������� ��� + ��������� � <filename><makevar>PREFIX</makevar>/bin</filename>. + ������ ������, <makevar>COPYTREE_SHARE</makevar>, �� ������������� + �� ����� ����� ����������, �, ����� �������, �������� ��� ��������� + ������ ������ �������� + <filename><makevar>PREFIX</makevar>/share</filename>.</para> + + <programlisting>post-install: + ${MKDIR} ${EXAMPLESDIR} + (cd ${WRKSRC}/examples/ && ${COPYTREE_SHARE} \* ${EXAMPLESDIR})</programlisting> + + <para>� ���� ������� ��������������� ���������� �������� + <filename>examples</filename> �� ������������ ������ ������������� + � ���������� ����� ��� �������� ������ �����.</para> + + <programlisting>post-install: + ${MKDIR} ${DATADIR}/summer + (cd ${WRKSRC}/temperatures/ && ${COPYTREE_SHARE} "June July August" ${DATADIR}/summer/)</programlisting> + + <para>� � ���� ������� ����� ����������� ������ ������ ������� � + ���������� <filename>summer</filename> �������� + <filename><makevar>DATADIR</makevar></filename>.</para> + + <para>� �������� �������� ��������� � ������� + <makevar>COPYTREE_*</makevar> ����� �������� �������������� + ��������� <command>find</command>. ��������, ����� � ������ + ������� ���������� ��� ����� ����� ������ Makefile, ����� + ������������ ��������� �������.</para> + + <programlisting>post-install: + ${MKDIR} ${EXAMPLESDIR} + (cd ${WRKSRC}/examples/ && \ + ${COPYTREE_SHARE} \* ${EXAMPLESDIR} "! -name Makefile")</programlisting> + + <para>�������� ��������, ��� ��� ������� �� ���������� ���������� + ��������������� ������ � <filename>pkg-plist</filename>. ��� ��� + ��� ����� �� �����������.</para> + + </sect2> + + <sect2 id="install-documentation"> + <title>��������� �������������� ������������</title> + + <para>���� � ����� ����������� ������������ ������������ ��������� + ������������, ������������ �� ����������� ������� ����������� � + ������ info, �������, ��� �� �������, ����� ������� �������������, + ���������� �� � ������� + <filename><makevar>PREFIX</makevar>/share/doc</filename>. ��� ����� + ���� �������, ��� � � ���������� �������, � ���� + <maketarget>post-install</maketarget>.</para> + + <para>�������� ��� ������ ����� ����� �������. ��� �������� ������ + ��������������� ����, ��� ������������ �� ���� ����. ������ ��� + �������� <makevar>PORTNAME</makevar>. ������, ���� + �� �������, ��� ������������ ������� ����� ������ ������ �����, + ������������� ������������, �� �� ������ ������������ ������ ��� + <makevar>PKGNAME</makevar>.</para> + + <para>�������� ��������� ������������ ��������� �� ���������� + <makevar>NOPORTDOCS</makevar> ��� ����, ����� ������������ ����� + ��������� ��� � ����� <filename>/etc/make.conf</filename>, ��� + �����:</para> + + <programlisting>post-install: +.if !defined(NOPORTDOCS) + ${MKDIR} ${DOCSDIR} + ${INSTALL_MAN} ${WRKSRC}/docs/xvdocs.ps ${DOCSDIR} + .endif</programlisting> + + <para>��� ��������� �������� ���������� � ��, ��� ��� ������������� �� + ��������� ��� ������������� � <filename>Makefile</filename>:</para> + + <itemizedlist> + <listitem> + <para><makevar>DATADIR</makevar> ������������� � + <filename><makevar>PREFIX</makevar>/share/<makevar>PORTNAME</makevar></filename>.</para> + </listitem> + + <listitem> + <para><makevar>DATADIR_REL</makevar> ������������� � + <filename>share/<makevar>PORTNAME</makevar></filename>.</para> + </listitem> + + <listitem> + <para><makevar>DOCSDIR</makevar> ������������� � + <filename><makevar>PREFIX</makevar>/share/doc/<makevar>PORTNAME</makevar></filename>.</para> + </listitem> + + <listitem> + <para><makevar>DOCSDIR_REL</makevar> ������������� � + <filename>share/doc/<makevar>PORTNAME</makevar></filename>.</para> + </listitem> + + <listitem> + <para><makevar>EXAMPLESDIR</makevar> ������������� � + <filename><makevar>PREFIX</makevar>/share/examples/<makevar>PORTNAME</makevar></filename>.</para> + </listitem> + + <listitem> + <para><makevar>EXAMPLESDIR_REL</makevar> ������������� � + <filename>share/examples/<makevar>PORTNAME</makevar></filename>.</para> + </listitem> + </itemizedlist> + + <note> + <para><makevar>NOPORTDOCS</makevar> ��������� ���������� + �������������� ������������ � <makevar>DOCSDIR</makevar>. ��� + �� ��������� � ����������� ��������� ����������� � ��������� info. + ���, ��� ��������������� � <makevar>DATADIR</makevar> � + <makevar>EXAMPLESDIR</makevar>, ����������� ����� + <makevar>NOPORTDATA</makevar> � <makevar>NOPORTEXAMPLES</makevar> + ��������������.</para> + </note> + + <para>��� ���������� �������������� � <makevar>PLIST_SUB</makevar>. + �� �������� �������� ��� � ���� �ͣ� ����� ������������ + <filename><makevar>PREFIX</makevar></filename>, ���� ��� ��������. + �� ���� <filename>share/doc/<makevar>PORTNAME</makevar></filename> + � ������ ������ �� ��������� ����� ������� �� + <literal>%%DOCSDIR%%</literal>, � ��� �����. (�������������� + ���������� � ����������� � <filename>pkg-plist</filename> ����� + ����� <link linkend="plist-sub">�����</link>.)</para> + + <para>��� ������� ��������������� ����� � �������� � ������������� + ������ ���� ����������� � ����� <filename>pkg-plist</filename> � + ��������� <literal>%%PORTDOCS%%</literal>, ��������:</para> + + <programlisting>%%PORTDOCS%%%%DOCSDIR%%/AUTHORS +%%PORTDOCS%%%%DOCSDIR%%/CONTACT +%%PORTDOCS%%@dirrm %%DOCSDIR%%</programlisting> + + <para>� �������� ������������ ������������ ������ ������������ � ����� + <filename>pkg-plist</filename>, ���� ����� ������� � ���������� + <makevar>PORTDOCS</makevar> ������ �ͣ� ������ � ���������� �������� + ���������� ���������� ��� ���������� � ������������� ������ ������. + ����� ����� ���������� ������������ <makevar>DOCSDIR</makevar>. + ����� �������, ����, ������������ <makevar>PORTDOCS</makevar> � + ������������� �������������� ������������, ������ �������� + ��������������� ������� � <makevar>DOCSDIR</makevar>. ���� ������� + ������ � <makevar>PORTDOCS</makevar> ��� ������������� ������� ��� + ���� ����������, �� ������ ��������� � ��������� � ���� ������� � + ���������� ����� ���������������� � ������������� ������ ������. + ���� ���������� <makevar>NOPORTDOCS</makevar>, �� ����� � ��������, + ������������� � <makevar>PORTDOCS</makevar>, �� ����� ����������� � + ��������� � ������ ������ �����. ��������� ������������ � + <makevar>PORTDOCS</makevar>, ��� ��� �������� ����, �������� �� + ����� ������. �������� ������ ������������� + <makevar>PORTDOCS</makevar> �������� ��������� �������:</para> + + <programlisting>PORTDOCS= README.* ChangeLog docs/*</programlisting> + + <note> + <para>������������� <makevar>PORTDOCS</makevar> ��� ������, + ��������������� � <makevar>DATADIR</makevar> � + <makevar>EXAMPLESDIR</makevar> �������� <makevar>PORTDATA</makevar> + � <makevar>PORTEXAMPLES</makevar> ��������������.</para> + + <para>����� ����, �� ������ ������������ ���� + <filename>pkg-message</filename> ��� ������ ��������� �� + ����� ���������. �� ��������� ����������� ���������� � <link + linkend="porting-message">������� �� ������������� + <filename>pkg-message</filename></link>. + ���� <filename>pkg-message</filename> �� ����� ��������� � + <filename>pkg-plist</filename>.</para> + </note> + </sect2> + + <sect2 id="install-subdirs"> + <title>����������� ������ PREFIX</title> + + <para>���������� ��������� ��� ����� ����� � ���������� ������������ + �������� <makevar>PREFIX</makevar>. ��������� ����� ���������� ��� + ��������� � �������� ��� � ���������� � ������ �����, ��� + �����������. ����� ������ ����� �������� ���, ����� �������� ������, + ������ ���������� � ������� �����������, � ���������� �������� + <filename>lib</filename>, ��� �� ����� ������ �������� � �������� + BSD. ������ ����� ������ ���� ���������� � ���� �� ��������� + ��������������: <filename>etc</filename> + (�����������/���������������� �����), <filename>libexec</filename> + (���������� �����, ����������� �� ������ ��������), + <filename>sbin</filename> (���������� ����� ��� + ���������������/���������� �������), <filename>info</filename> + (������������ � ������� info ��� ������������ info) ��� + <filename>share</filename> (����������� �� ����������� �����). + ���������� � &man.hier.7; ��� ���������� �������; �������, + ����������� <filename>/usr</filename>, ���������� ������ �������� + ����� � � <filename>/usr/local</filename>. ����������� �������� + �����, ������� ���� � <quote>���������</quote> USENET. ��� ����� + ������������ ������� + <filename><makevar>PREFIX</makevar>/news</filename> ��� ��������� + ����� ������.</para> + </sect2> + + </sect1> + </chapter> <chapter id="special"> @@ -3639,7 +4590,7 @@ PORTVERSION= 1.0</programlisting> <title>������������ ����������</title> <para>���� ��� ���� ������������� ���� ��� ��������� ������������ - ���������, ���������� ���������� <makevar>INSTALLS_SHLIB</makevar>, + ���������, ���������� ���������� <makevar>USE_LDCONFIG</makevar>, ������� �����ģ� � ������� �� <filename>bsd.port.mk</filename> ������� <literal>${LDCONFIG} -m</literal> ������������ ��������, � ������� ��������������� ����� ���������� (��� �������, ��� @@ -3654,26 +4605,40 @@ PORTVERSION= 1.0</programlisting> �������� ������ �� �����ģ� � ����, ��� ������� ����� ������������, ��� ���������� �ӣ �ݣ ������� � �������.</para> - <para>���� �����, �� ������ �������������� �������, � ������� �� - ��������� ��������������� ����������, ����� ���������� - <makevar>LDCONFIG_DIRS</makevar>, � ������� ������ ���� ����������� + <programlisting>USE_LDCONFIG= yes</programlisting> + + <para>���� �����, �� ������ �������������� ������� �� ���������, + ����� �������� + <makevar>USE_LDCONFIG</makevar>, � ������� ������ ���� ����������� ��������, � ������� ��������������� ������������ ����������. ��������, ���� ��� ���� ������������� ������������ ���������� � �������� <filename><makevar>PREFIX</makevar>/lib/foo</filename> � <filename><makevar>PREFIX</makevar>/lib/bar</filename>, �� �� ������ � ����� <filename>Makefile</filename> ������� ���������:</para> - <programlisting>INSTALLS_SHLIB= yes -LDCONFIG_DIRS= %%PREFIX%%/lib/foo %%PREFIX%%/lib/bar</programlisting> + <programlisting>USE_LDCONFIG= ${PREFIX}/lib/foo ${PREFIX}/lib/bar</programlisting> + + <para>������ + ����� �������������, �.�. ����� ��� ����� �� �������� ����������� + � ����� ���� ������ ����� � ������� <literal>-rpath</literal> + ��� ��������� <envar>LD_RUN_PATH</envar> �� ����� ���������� (��� + ������� �������� <filename role="package">lang/moscow_ml</filename>), + ��� � ������� ��������-�£����, ������� ���������� + <makevar>LD_LIBRARY_PATH</makevar> ����� �������� ������������ ����� + ��� ��� ������ <filename role="package">www/mozilla</filename>.</para> + + <para>��� ��������� 32-��������� ��������� �� 64-��������� ������� + ����������� ������ ����� <makevar>USE_LDCONFIG32</makevar>.</para> + + <para>������������ ��������� ������ ������ ������������ ��������� + � ������� <filename>libfoo.so.0</filename>. ��� ����������� + ����������� ������ � ������� (������) ������.</para> + + <para>���� ��� ���������� ����� ������������� ������� ����� ������ + ����������, �� ��� ���� ������, ����������� � ���������� �����������, + ������� ��������� �������� <makevar>PORTREVISION</makevar> ��� + ������������ �������������� � ����� ������� ����������.</para> - <para>��������, ��� �������� ���������� <makevar>LDCONFIG_DIRS</makevar> - ���������� ����� &man.sed.1;, ��� � �ӣ ��������� � - <filename>pkg-plist</filename>, ��� ��� ����������� �������� - <makevar>PLIST_SUB</makevar> ����� ���������� �����. ������������� - ������������ <literal>%%PREFIX%%</literal> ��� - <makevar>PREFIX</makevar>, <literal>%%LOCALBASE%%</literal> ��� - <makevar>LOCALBASE</makevar> � <literal>%%X11BASE%%</literal> ��� - <makevar>X11BASE</makevar>.</para> </sect1> <sect1 id="porting-restrictions"> @@ -3743,6 +4708,18 @@ LDCONFIG_DIRS= %%PREFIX%%/lib/foo %%PREFIX%%/lib/bar</programlisting> <quote>��������������</quote> �������������.</para> </sect2> + <sect2> + <title><makevar>NOFETCHFILES</makevar></title> + + <para>�����, ������������ � ���������� <makevar>NOFETCHFILES</makevar>, + �� ����� ����������� �� �� ������ �� <makevar>MASTER_SITES</makevar>. + �������� ������ ����� �������� ����, ������������ �� CD-ROM.</para> + + <para>�����������, ����������� ����������� ���� ������ �� + <makevar>MASTER_SITES</makevar>, ������ ������������ ��� ����� � + �� �������� � ���.</para> + </sect2> + <sect2> <title><makevar>RESTRICTED</makevar></title> @@ -3780,9 +4757,539 @@ LDCONFIG_DIRS= %%PREFIX%%/lib/foo %%PREFIX%%/lib/bar</programlisting> </sect2> </sect1> + <sect1 id="building"> + <title>��������� ����������</title> + + <sect2 id="parallel-builds"> + <title>������������ ���������� ������</title> + + <para>�������������� ������ &os; ������������ ������������ + ���������� � �������������� ������������� ������������ + <command>make</command>, ��� ��������� �������� + <acronym>SMP</acronym> ������������� ��� ��������� �������� + <acronym>CPU</acronym>, ��� ����� ����� ���������� ������ ����� + ������� � �����������.</para> + + <para>��� ����������� ����� �������� ����� <makevar>-jX</makevar> + ������� &man.make.1;. � ���������, �� ��� ����� ������������ + ������������ ������ ���������� ������. ������� ��������� �������� + ���� �������� ����� ������� ����� ���������� ������ + <literal>MAKE_JOBS_SAFE=yes</literal> � <filename>Makefile</filename> + ���-������ ����� ������� � ������������ ������������.</para> + + <para>������ ������ ���������� ���� ���������� � ����� ������ + ��������������� �������� <makevar>MAKE_JOBS_UNSAFE=yes</makevar>. + ��� ���������� ������������ � ������, ����� ��������, ��� ���� + �������� � <makevar>-jX</makevar>, � ������������ ��������� + ������������� ����������������� ���������� ��� ���� ������ � + ���������� <literal>FORCE_MAKE_JOBS=yes</literal> � + <filename>/etc/make.conf</filename> + </sect2> + + <sect2 id="using-make"> + <title><command>make</command>, <command>gmake</command> � + <command>imake</command></title> + + <para>���� ��� ���� ���������� <application>GNU make</application>, + �� ���������� <literal>USE_GMAKE=yes</literal>.</para> + + <table frame="none"> + <title>���������� ��� ������, ������������ + <application>gmake</application></title> + + <tgroup cols="2"> + <thead> + <row> + <entry>����������</entry> + + <entry>��������</entry> + </row> + </thead> + + <tbody> + <row> + <entry><makevar>USE_GMAKE</makevar></entry> + + <entry>��� ������ ����� ��������� + <command>gmake</command>.</entry> + </row> + + <row> + <entry><makevar>GMAKE</makevar></entry> + + <entry>������ ���� � ������� <command>gmake</command>, ���� + ����������� � <envar>PATH</envar>.</entry> + </row> + </tbody> + </tgroup> + </table> + + <para>���� ��� ���� �������� ����������� X, ������� ������� ����� + <filename>Makefile</filename> �� <filename>Imakefile</filename>, + ��������� <application>imake</application>, �� ���������� + <literal>USE_IMAKE=yes</literal>. ��� �������� ������ + ���������������� ������������� ��������� <command>xmkmf -a</command>. + ���� ���� <option>-a</option> ������������ ��� ������ ����� + ��������, �� ���������� <literal>XMKMF=xmkmf</literal>. ���� + ���� ���������� <application>imake</application>, �� �� �������� + ���� <maketarget>install.man</maketarget>, �� ������� ���������� + <literal>NO_INSTALL_MANPAGES=yes</literal>.</para> + + <para>���� �������� <filename>Makefile</filename> ������ ����� + ����� ���-������ ������ <maketarget>all</maketarget> � �������� + �������� ���� ����������, �� ������� ��������������� �������� + <makevar>ALL_TARGET</makevar>. �� �� �������� + <maketarget>install</maketarget> � + <makevar>INSTALL_TARGET</makevar>.</para> + + </sect2> + + <sect2 id="using-configure"> + <title>�������� <command>configure</command></title> + + <para>���� ��� ���� ���������� �������� <command>configure</command> + ��� ��������� ������ <filename>Makefile</filename> �� ������ + <filename>Makefile.in</filename>, �� ���������� + <literal>GNU_CONFIGURE=yes</literal>. ���� �� ������ ���� + �������������� ��������� �������� <command>configure</command> + (���������� �� ��������� �������� <literal>--prefix=${PREFIX} + --infodir=${PREFIX}/${INFO_PATH} + --mandir=${MANPREFIX}/man + --build=${CONFIGURE_TARGET}</literal>), ���������� ��� ��������� + � <makevar>CONFIGURE_ARGS</makevar>. �������������� ���������� + ��������� ����� ��������, ��������� ���������� + <makevar>CONFIGURE_ENV</makevar>.</para> + + <table frame="none"> + <title>���������� ��� ������, ������������ + <command>configure</command></title> + + <tgroup cols="2"> + <thead> + <row> + <entry>����������</entry> + </row> + </thead> + + <tbody> + <row> + <entry><makevar>GNU_CONFIGURE</makevar></entry> + + <entry>���� ���������� �������� <command>configure</command> + ��� ���������� ����������.</entry> + </row> + + <row> + <entry><makevar>HAS_CONFIGURE</makevar></entry> + + <entry>�� ��, ��� � <makevar>GNU_CONFIGURE</makevar>, ����� + ����, ��� ���� configure �� ��������� �� ����������� � + <makevar>CONFIGURE_ARGS</makevar>.</entry> + </row> + + <row> + <entry><makevar>CONFIGURE_ARGS</makevar></entry> + + <entry>�������������� ���������, ������������ �������� + <command>configure</command>.</entry> + </row> + + <row> + <entry><makevar>CONFIGURE_ENV</makevar></entry> + + <entry>�������������� ���������� ���������, ���������� ��� + ������� �������� <command>configure</command>.</entry> + </row> + + <row> + <entry><makevar>CONFIGURE_TARGET</makevar></entry> + + <entry>�������������� ���� configure �� ���������. ��������� + �� ��������� �������� + <literal>${MACHINE_ARCH}-portbld-freebsd${OSREL}</literal>.</entry> + </row> + </tbody> + </tgroup> + </table> + </sect2> + + <sect2 id="using-scons"> + <title>������������� <command>scons</command></title> + + <para>���� ��� ���� ���������� <application>SCons</application>, + ���������� <literal>USE_SCONS=yes</literal>.</para> + + <table frame="none"> + <title>���������� ��� ������, ������������ + <command>scons</command></title> + + <tgroup cols="2"> + <thead> + <row> + <entry>����������</entry> + + <entry>��������</entry> + </row> + </thead> + + <tbody> + <row> + <entry><makevar>SCONS_ARGS</makevar></entry> + + <entry>����������� ��� ����� ����� SCons, ������������ + ��������� SCons.</entry> + </row> + + <row> + <entry><makevar>SCONS_BUILDENV</makevar></entry> + + <entry>���������� ��� ��������� � ��������� ���������.</entry> + </row> + + <row> + <entry><makevar>SCONS_ENV</makevar></entry> + + <entry>���������� ��� ��������� � ��������� SCons.</entry> + </row> + + <row> + <entry><makevar>SCONS_TARGET</makevar></entry> + + <entry>��������� �������� ��� �������� SCons, ������� �� + <makevar>MAKE_TARGET</makevar>.</entry> + </row> + </tbody> + </tgroup> + </table> + + <para>��� ����, ����� ��������� <filename>SConstruct</filename> + �������������� �����, ��� ���������� SCons � ���������� + <makevar>SCONS_ENV</makevar> (����� �������, ��� + <makevar>CC/CXX/CFLAGS/CXXFLAGS</makevar>), ��������� ���� � + <filename>SConstruct</filename>, ��� ����� ���������� ���������� + <literal>Environment</literal> ��������� ��������� �������:</para> + + <programlisting>env = Environment(**ARGUMENTS)</programlisting> + + <para>� ���������� �� ����� �������� ��� ������ + <literal>env.Append</literal> � <literal>env.Replace</literal>.</para> + </sect2> + </sect1> + + <sect1 id="using-autotools"> + <title>������������� GNU autotools</title> + + <sect2 id="using-autotools-introduction"> + <title>��������</title> + + <para>��������� ����������� GNU autotools ������������� �������� + ���������� ��� ���������� ������ ������������ ����������� �� + ������� ������ ������������ ������ � ���������� ����������. + ������ ��������� ������ ��������� ���� ����� ������������ + ��� ����������� ��� ������ ������� �����������:</para> + + <programlisting>USE_AUTOTOOLS= <replaceable>tool</replaceable>:<replaceable>version</replaceable>[:<replaceable>operation</replaceable>] ...</programlisting> + + <para>� ������� ��������� <replaceable>tool</replaceable> + ����� ���� ����� �� <literal>libtool</literal>, + <literal>libltdl</literal>, <literal>autoconf</literal>, + <literal>autoheader</literal>, <literal>automake</literal> ��� + <literal>aclocal</literal>.</para> + + <para><replaceable>version</replaceable> ��������� ���������� + ������ ������������� ����������� (����������� ������ �������� � + <literal>devel/{automake,autoconf,libtool}[0-9]+</literal>).</para> + + <para><replaceable>operation</replaceable> �������� �������������� + ����������� � ��������� �� ������ ������������� + �����������.</para> + + <para>������������ ����� ���� ������� ��������� ������������, + �������� �� ��� �� ����� ������ ��� ��������� ����������� + Makefile <literal>+=</literal>.</para> + + <para>� ����������, ���������� ����������� ���������� �� ��������� + <literal>autotools</literal>, ������� �������� ������� �������� + ��� ��������� ���� ��������� ������ autotools ��� ����������� + ���������� �����-����������. ��� ����� ����� ���� ���������� + ����� ��������� ����� <literal>devel/autotools</literal>.</para> + + </sect2> + + <sect2 id="using-libtool"> + <title><command>libtool</command></title> + + <para>������������ ����������, ������������ �������������� + ���������� GNU, ������ ���������� <application>libtool</application> + ��� ��������� ���������� � ��������� ������������ ��������� � + ������������ � ������������� ������ ������������ �������. + � �������� �������� ������������ ����������� ����������� � + ���������� <command>libtool</command>. ���� ��� ����� + ������������ ������� ������� <command>libtool</command>, �� �� + ������ ������������ ������, ������������ ���������� ������:</para> + + <programlisting>USE_AUTOTOOLS= libtool:<replaceable>version</replaceable>[:env]</programlisting> + + <para>��� ���������� �������������� ��������, + <literal>libtool:<replaceable>version</replaceable></literal> + �������� �������������� ���������� � ���������� ����� � �������� + configure � ������������� � ������� ������ + <command>libtool</command>. ��������������� ������������� + The <makevar>GNU_CONFIGURE</makevar> + ����� ����, ��������� ���������� make � �������� shell + ����� ��������� ��� ����������� ������������� ���� ������. + ����������� �������� � <filename>bsd.autotools.mk</filename>.</para> + + <para>��� ������������� �������� <literal>:env</literal> ����� + ��������� ������ ���������.</para> + + <para>�������, <makevar>LIBTOOLFLAGS</makevar> � + <makevar>LIBTOOLFILES</makevar> ����� ���������� �� �������, + ����� �������������� �������� ��������� ��������� ��� + <command>libtool</command> � �����, ��������������� ��� + ���������. ����������� ������ ��� ������ ����� �� �����������. + ��� ���������� ������������ �������� + <filename>bsd.autotools.mk</filename>.</para> + </sect2> + + <sect2 id="using-libltdl"> + <title><command>libltdl</command></title> + + <para>��������� ����� ����������� ����� � ����������� + <command>libltdl</command>, ������� �������� ������ ��������� + <command>libtool</command>. ������������� ���� ���������� + �� �������� �������������� ������������� ����� + <command>libtool</command>, �, ����� �������, �������������� + ��������� �����������.</para> + + <programlisting>USE_AUTOTOOLS= libltdl:<replaceable>version</replaceable></programlisting> + + <para>�ӣ, ��� � ��������� ����� ��� ������, ��� ���������� + <makevar>LIB_DEPENDS</makevar> ��� ����������� ����� + <command>libltdl</command>, ������ ��� ��������������� ��� + ������� ������� ��� ������ � ���������� ������ ������������ �� + ������ autotools ��� �������������� <makevar>USE_AUTOTOOLS</makevar>. + ��� ����� ����������� �� ���������� �������������� ��������.</para> + + </sect2> + + <sect2 id="using-autoconf"> + <title><command>autoconf</command> � + <command>autoheader</command></title> + + <para>��������� ����� �� �������� �������� configure, �� �������� + ������ autoconf � ����� <filename>configure.ac</filename>. + �� ������ ������������ ��������� ����������, ����� ��������� + <command>autoconf</command> ������� �������� configure, � + <command>autoheader</command> ������� ��������� ������� ��� + ������������� � �������� configure.</para> + + <programlisting>USE_AUTOTOOLS= autoconf:<replaceable>version</replaceable>[:env]</programlisting> + + <para>�</para> + + <programlisting>USE_AUTOTOOLS= autoheader:<replaceable>version</replaceable></programlisting> + + <para>������� ����� ������������� ������������� + <literal>autoconf:<replaceable>version</replaceable></literal>.</para> + + <para>���������� ������� <command>libtool</command>, ����������� + �������������� �������� <literal>:env</literal> ����� ���� + ����������� ��������� ��� ����������� �������������. ��� ����� + ����������� ��������� ������ � �������������������� �����.</para> + + <para>�������������� �������������� ���������� + <makevar>AUTOCONF_ARGS</makevar> � <makevar>AUTOHEADER_ARGS</makevar> + ����� �������������� � <filename>Makefile</filename> �����, + ���� ������� ����� �������. ��� � � ������������� + <command>libtool</command>, ����������� ������ ��� ���� �� + �����������.</para> + </sect2> + + <sect2 id="using-automake"> + <title><command>automake</command> � + <command>aclocal</command></title> + + <para>��������� ������ �������� ������ ����� + <filename>Makefile.am</filename>. ��� ������ ���� ������������� + � ����� <filename>Makefile.in</filename> � �������������� + <application>automake</application> � ���������� ���������� + <command>configure</command> ��� ��������� ���������� + <filename>Makefile</filename>.</para> + + <para>����������, ������ ������ �� ������������ � ���������� + ������� <filename>aclocal.m4</filename>, ����� ��������� ��� + ���������� ������������ �����������. ����� ����� ������� + � <command>aclocal</command>, ������� ������������� + <filename>configure.ac</filename> ��� + <filename>configure.in</filename>.</para> + + <para><command>aclocal</command> ����� ������� ����� � + <command>automake</command>, ��� � <command>autoheader</command> + � <command>autoconf</command>, ��� ������� � ���������� �����. + <command>aclocal</command> ������������� ������������� + <command>automake</command>, ����� �������, �� �����:</para> + + <programlisting>USE_AUTOTOOLS= automake:<replaceable>version</replaceable>[:<replaceable>env</replaceable>]</programlisting> + + <para>�</para> + + <programlisting>USE_AUTOTOOLS= aclocal:<replaceable>version</replaceable></programlisting> + + <para>������� ����� ������������� ������������� + <literal>automake:<replaceable>version</replaceable></literal>.</para> + + <para>����� ��� � ��� <command>libtool</command> � + <command>autoconf</command>, ����������� �������������� + �������� <literal>:env</literal> ����� ���� ������������� + ��������� ��� ����������� �����������. ��� ����� ����������� + ������������������ ����� �����.</para> + + <para>��� � � ������ � + <command>autoconf</command> � <command>autoheader</command>, ��� + <command>automake</command> � <command>aclocal</command> ����� + �������������� ���������� <makevar>AUTOMAKE_ARGS</makevar> � + <makevar>ACLOCAL_ARGS</makevar>, ��������������, ������� ��� + ������������� ����� �������������� � <filename>Makefile</filename> + �����.</para> + + </sect2> + </sect1> + + <sect1 id="using-gettext"> + <title>������������� GNU <literal>gettext</literal></title> + + <sect2> + <title>������� ������� �������������</title> + + <para>���� ��� ������ ����� ������� <literal>gettext</literal>, + ������ ���������� ���������� <makevar>USE_GETTEXT</makevar> � + �������� <literal>yes</literal>, � � ��� ���� ��������� ����������� + �� <filename role="package">devel/gettext</filename>. ����� ����, + � <makevar>USE_GETTEXT</makevar> ����� ���������� ��������� ������ + ���������� <literal>libintl</literal>, �������� ���������� + <literal>gettext</literal>, �� ����� �������� ����� �� ������������. + ��� ���� ������ �������� � � ������� ������� + <filename role="package">devel/gettext</filename>.</para> + + <para>�������� ���������������� ������� �������� ������������� � + ����� <literal>gettext</literal> � <command>configure</command>. + ��� �������, GNU <command>configure</command> �������� �������� + <literal>gettext</literal> �������������. ���� �� ��� �� �� + ������ ��� �������, �� ��������� ��� ���������� + <literal>gettext</literal> ����� �������� ����� ���������� ��������� + <envar>CPPFLAGS</envar> � <envar>LDFLAGS</envar>:</para> + + <programlisting>USE_GETTEXT= yes +CPPFLAGS+= -I${LOCALBASE}/include +LDFLAGS+= -L${LOCALBASE}/lib + +GNU_CONFIGURE= yes +CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" \ + LDFLAGS="${LDFLAGS}"</programlisting> + + <para>Of course, the code can be more compact if there are no + more flags to pass to <command>configure</command>:</para> + + <programlisting>USE_GETTEXT= yes +GNU_CONFIGURE= yes +CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ + LDFLAGS="-L${LOCALBASE}/lib"</programlisting> + </sect2> + + <sect2> + <title>����������� �������������</title> + + <para>��������� ����������� �������� ��������� ��������� NLS, + � ������� ����� �������� ��������� <option>--disable-nls</option> + �������� <command>configure</command>. � ���� ������, ��� ���� + ������ ������������ <literal>gettext</literal> � ����������� �� + ������� ������������� <link + linkend="knobs-without-nls"><makevar>WITHOUT_NLS</makevar></link>. + ��� ������ ��������� ��� ������� ��������� �� ������ ���������� + �� ��������� ������:</para> + + <programlisting>GNU_CONFIGURE= yes + +.if !defined(WITHOUT_NLS) +USE_GETTEXT= yes +PLIST_SUB+= NLS="" +.else +CONFIGURE_ARGS+= --disable-nls +PLIST_SUB+= NLS="@comment " +.endif</programlisting> + + <para>��������� ����� � ����� ������ ��� �����������, ����� ����� + �������� ��������� ���������� � ������ �������� �� �������. �����, + �������� � <filename>Makefile</filename>, ��� ���������� ���� + �������. ��������� ����������� � ����� <link linkend="plist-sub"> + ����������� �������� <filename>pkg-plist</filename></link>. � + ������, ������ ��������� <literal>%%NLS%%</literal> � + <filename>pkg-plist</filename> ����� �������� �� + <quote><literal>@comment </literal></quote>, ���� NLS ��������, + ��� ������ �������, ���� �������. � ���������� ������, + ������������ <literal>%%NLS%%</literal>, ������ ������������� + � �������� ����� ��������, ���� NLS ��������; �����, ������� ����� + ������ ������. �ӣ, ��� ��� �����, ��� �������� + <literal>%%NLS%%</literal> ����� ������ ����� � ����� �������� + ��������� � <filename>pkg-plist</filename>. ��������:</para> + + <programlisting>%%NLS%%share/locale/fr/LC_MESSAGES/foobar.mo +%%NLS%%share/locale/no/LC_MESSAGES/foobar.mo</programlisting> + + <para>� ����� ������� ������� ��� ������������ ������������ ����� + ����������� �������, ��� ������ ������, ����� ��� <link + linkend="plist-dynamic">������������ ������ ��������</link>.</para> + </sect2> + + <sect2> + <title>���������� ���������� ���������</title> + + <para>���������� ������, ������� ������� ��������� ��� ��������� + ������ ��������� ���������. ������� �������� ��� ����������, + ������������� ��� + <filename><makevar>LOCALBASE</makevar>/share/locale</filename>, + ����� ����� ������ ����������� � ��������� ����� ������. ��� + �������� ���������� ������ ������� ����������� ��������, + ������������� � <filename>/etc/mtree/BSD.local.dist</filename>; + ����� �������, ��� �������� � �������� �������. �������� ��� + ��������� ������ ������ ����������� � ������� ����� <filename + role="package">devel/gettext</filename>. ��������, ��� ������������ + �������� �������� �� ��� <filename>pkg-plist</filename> � + ����������, ���� ��� ���� ���������� ���������� ����� ��������� + ��������� ��� ������������� � ����� ���� �����.</para> + </sect2> + </sect1> + <sect1 id="using-perl"> <title>������������� <literal>perl</literal></title> + <para>���� <makevar>MASTER_SITES</makevar> ����������� � �������� + <makevar>MASTER_SITE_PERL_CPAN</makevar>, �� ���������������� + ��������� <makevar>MASTER_SITE_SUBDIR</makevar> �������� ��� + �������� �������� ������. ��������, ������������� ��������� ��� + <literal>p5-Module-Name</literal> �������� <literal>Module</literal>. + �������� �������� ������ ����� ���������� �� ����� <ulink + url="http://cpan.org/modules/by-module/">cpan.org</ulink>. ��� + ������������ ���� � ������� ��������� ��� ��������� ������ + �������.</para> + + <para>����������� ����� ������� �������� ���������� ���������������� + �������� ��� ����� � ������������� � ���� ��������. � ���� ������ + � �������� <makevar>MASTER_SITE_SUBDIR</makevar> ����������� + ������������ id ������.</para> + + <para>��� �� ������������� knobs ���� ��������� � <literal>YES</literal>, + � ������ � �������, ���� <literal>5.8.0+</literal>. ������������� + <literal>YES</literal> ��������, ��� ������ ���� ����� ������������ + �� ����� ��������������� �������� <application>Perl</application>. + ���� ���� �������� ������ � ���������� �������� + <application>Perl</application>, �� ��� ����� ���������� ��� ������ + ������ � �������, ����������� �� ����������� ������ (������: + <literal>5.7.3+</literal>), ������������ ������ (������: + <literal>5.8.0-</literal>) ��� ������ ������ (������: + <literal>5.8.3</literal>).</para> + <table frame="none"> <title>���������� ��� ������, ������������ <literal>perl</literal></title> @@ -3833,6 +5340,14 @@ LDCONFIG_DIRS= %%PREFIX%%/lib/foo %%PREFIX%%/lib/bar</programlisting> <entry>������������ ��� ������ MakeMaker ����� Perl. ���ޣ� <makevar>USE_PERL5</makevar>.</entry> </row> + + <row> + <entry><makevar>PERL_MODBUILD</makevar></entry> + + <entry>������������, ���������� � ��������� � �������������� + Module::Build. ���ޣ� <makevar>PERL_CONFIGURE</makevar>. + </entry> + </row> </tbody> </tgroup> @@ -3847,24 +5362,16 @@ LDCONFIG_DIRS= %%PREFIX%%/lib/foo %%PREFIX%%/lib/bar</programlisting> <row> <entry><makevar>PERL_VERSION</makevar></entry> - <entry>������ ����� ������ �������������� <literal>perl</literal> - (��������, <literal>5.00503</literal>).</entry> + <entry>������ ������ �������������� <literal>perl</literal> + (��������, <literal>5.8.9</literal>).</entry> </row> - <row> - <entry><makevar>PERL_VER</makevar></entry> - - <entry>������� ����� ������ �������������� - <literal>perl</literal> (��������, - <literal>5.005</literal>).</entry> - </row> - <row> <entry><makevar>PERL_LEVEL</makevar></entry> <entry>������ �������������� <literal>perl</literal> � ����� ������ ����� ���� <literal>MNNNPP</literal> (��������, - <literal>500503</literal>).</entry> + <literal>500809</literal>).</entry> </row> <row> @@ -3892,41 +5399,86 @@ LDCONFIG_DIRS= %%PREFIX%%/lib/foo %%PREFIX%%/lib/bar</programlisting> </tbody> </tgroup> </table> + + <note> + <para>����� ��� ������� Perl, ������� �� ����� ������������ ��������, + ������ ��������� <hostid>cpan.org</hostid> � ������ WWW � ����� + <filename>pkg-descr</filename>. ���������������� ����� URL + <literal>http://search.cpan.org/dist/Module-Name/</literal> + (������� ����������� ����).</para> + </note> </sect1> <sect1 id="using-x11"> <title>������������� X11</title> + <sect2 id="x11-variables"> + <title>���������� X.Org</title> + + <para>X.Org �������� ����������� X11, ��������� � ��������� ������. + ���� ���� ���������� ������� �� ����������� X, ���������� � + ���������� <makevar>USE_XORG</makevar> � �������� ��������� + �����������. � ���������� ������� ���������� ������������ + ��������:</para> + + <para><literal>bigreqsproto compositeproto damageproto dmx dmxproto + evieproto fixesproto fontcacheproto fontenc fontsproto fontutil + glproto ice inputproto kbproto libfs oldx printproto randrproto + recordproto renderproto resourceproto scrnsaverproto sm trapproto + videoproto x11 xau xaw xaw6 xaw7 xaw8 xbitmaps xcmiscproto xcomposite + xcursor xdamage xdmcp xevie xext xextproto xf86bigfontproto + xf86dgaproto xf86driproto xf86miscproto xf86rushproto + xf86vidmodeproto xfixes xfont xfontcache xft xi xinerama + xineramaproto xkbfile xkbui xmu xmuu xorg-server xp xpm xprintapputil + xprintutil xpr oto xproxymngproto xrandr xrender xres xscrnsaver xt + xtrans xtrap xtst xv xvmc xxf86dga xxf86misc xxf86vm</literal>.</para> + + <para>������ ���������� �������� ����� ����� � + <filename>/usr/ports/Mk/bsd.xorg.mk</filename>.</para> + + <para>������ Mesa �������� �������� ���������� ��������� ���������� + OpenGL. �� ������ ������� ����������� �� ��������� ����������� + ����� ������� ��� ������ ���������� <makevar>USE_GL</makevar>. + �������������� �����: <literal>glut, glu, glw, glew, gl</literal> � + <literal>linux</literal>. ��� �������� ������������� �������� + <literal>yes</literal> ������������� <literal>glu</literal>.</para> + + <example id="use-xorg-example"> + <title>������ ��� USE_XORG</title> + <programlisting>USE_XORG= xrender xft xkbfile xt xaw +USE_GL= glu</programlisting> + </example> + + <para>������ ����� ���������� <makevar>USE_XLIB</makevar>, ������� + ������ ���� ��������� ��� ���� 50 ��� ����� ���� ���������. ��� + ���������� ���������� ��� �������� �������������, �.�. ������������ + ���������� X.Org, � �� ������ �������������� � ����� ������.</para> + <table frame="none"> <title>���������� ��� ������, ������������ X</title> <tgroup cols="2"> <tbody> - <row> - <entry><makevar>USE_X_PREFIX</makevar></entry> - - <entry>���� ��������������� � ������� <makevar>X11BASE</makevar>, - � �� � <makevar>PREFIX</makevar>.</entry> - </row> - <row> <entry><makevar>USE_XLIB</makevar></entry> - <entry>���� ���������� ���������� X.</entry> - </row> - - <row> - <entry><makevar>USE_MOTIF</makevar></entry> - - <entry>���� ���������� ���������������� ����� Motif. - ��������������� ��������� <makevar>USE_XPM</makevar>.</entry> + <entry>���� ���������� ���������� X. �������� ���������� - + ����������� ������ ����� ������ ����������� X.Org � + ���������� <makevar>USE_XORG</makevar>.</entry> </row> <row> <entry><makevar>USE_IMAKE</makevar></entry> + + <entry>���� ���������� <command>imake</command>.</entry> + </row> + + <row> + <entry><makevar>USE_X_PREFIX</makevar></entry> - <entry>���� ���������� <command>imake</command>. ��������������� - ��������� <makevar>USE_X_PREFIX</makevar>.</entry> + <entry>�������� ����������. ������ ��� ������������ + <makevar>USE_XLIB</makevar> � ����� ���� �������� �� + ��������.</entry> </row> <row> @@ -3939,198 +5491,225 @@ LDCONFIG_DIRS= %%PREFIX%%/lib/foo %%PREFIX%%/lib/bar</programlisting> </tbody> </tgroup> </table> - </sect1> - <sect1 id="using-automake"> - <title>������������� <command>automake</command>, - <command>autoconf</command> � <command>libtool</command></title> - - <table frame="none"> - <title>���������� ��� ������, ������������ automake, autoconf ��� - libtool</title> + <table> + <title>����������, ������������ ����������� �� ��������� + ������ X11</title> <tgroup cols="2"> - <thead> - <row> - <entry>����������</entry> - - <entry>�����</entry> - </row> - </thead> - <tbody> <row> - <entry><makevar>AUTOMAKE</makevar></entry> + <entry><makevar>X_IMAKE_PORT</makevar></entry> - <entry>������ ������� � <command>automake</command>, ���� ��� ��� - � ���������� ��������� <envar>PATH</envar>.</entry> + <entry>����, ��������������� <command>imake</command> � + ��������� ������ ������, ������������ ��� ���������� + X11.</entry> </row> <row> - <entry><makevar>USE_AUTOMAKE_VER</makevar></entry> + <entry><makevar>X_LIBRARIES_PORT</makevar></entry> - <entry>���� ���������� <command>automake</command>. ����������� - ���������� ��� ���� ���������� �������� <literal>14</literal> � - <literal>15</literal>, � ��� �������������� ���������� �������� - ���������� <makevar>AUTOMAKE_DIR</makevar> � - <makevar>ACLOCAL_DIR</makevar>.</entry> + <entry>����, ��������������� ���������� X11.</entry> </row> <row> - <entry><makevar>AUTOMAKE_ARGS</makevar></entry> + <entry><makevar>X_CLIENTS_PORT</makevar></entry> - <entry>���� ��� ����� ���������� ��������� ������ ��� �������� - <makevar>AUTOMAKE</makevar>, ���� ������ ���������� - <makevar>USE_AUTOMAKE_VER</makevar>.</entry> + <entry>����, ��������������� �������� X.</entry> </row> <row> - <entry><makevar>AUTOMAKE_ENV</makevar></entry> + <entry><makevar>X_SERVER_PORT</makevar></entry> - <entry>���� ��� ������� ���������� ���������� ��������� (� �� - ��������), ���������� ����� �������� - <makevar>AUTOMAKE</makevar>.</entry> + <entry>����, ��������������� ������ X.</entry> </row> <row> - <entry><makevar>ACLOCAL</makevar></entry> + <entry><makevar>X_FONTSERVER_PORT</makevar></entry> - <entry>������ ������� ��� GNU <command>aclocal</command>, ���� - ��� ��� � ���������� ��������� <envar>PATH</envar>. �� - ��������� �������� � ������������ �� ��������� ���������� - <makevar>USE_AUTOMAKE_VER</makevar>.</entry> + <entry>����, ��������������� ������ �������.</entry> </row> <row> - <entry><makevar>ACLOCAL_DIR</makevar></entry> - - <entry>������ ������� ��� ��������� ������������� �������� GNU - <command>aclocal</command>. �� ��������� �������� � - ������������ �� ��������� ���������� - <makevar>USE_AUTOMAKE_VER</makevar>.</entry> + <entry><makevar>X_PRINTSERVER_PORT</makevar></entry> + + <entry>����, ��������������� ������ ������.</entry> </row> <row> - <entry><makevar>AUTOMAKE_DIR</makevar></entry> + <entry><makevar>X_VFBSERVER_PORT</makevar></entry> - <entry>������ ������� ��� ��������� ������������� �������� GNU - <command>automake</command>. �� ��������� �������� � - ������������ �� ��������� ���������� - <makevar>USE_AUTOMAKE_VER</makevar>.</entry> + <entry>����, ��������������� ������ ������������ + �����������.</entry> </row> <row> - <entry><makevar>USE_AUTOCONF_VER</makevar></entry> + <entry><makevar>X_NESTSERVER_PORT</makevar></entry> - <entry>��������� �� ��, ��� ���� ���������� - <command>autoconf</command>. ������������� - <literal>GNU_CONFIGURE</literal>. �� ��������� �������� ����� - 213.</entry> + <entry>����, ��������������� ��������� ������ X.</entry> </row> <row> - <entry><makevar>AUTOCONF</makevar></entry> + <entry><makevar>X_FONTS_ENCODINGS_PORT</makevar></entry> - <entry>������ ������� ��� GNU <command>autoconf</command>, ���� - ��� ��� � ���������� ��������� <envar>PATH</envar>. �� - ��������� �������� � ������������ �� ��������� ���������� - <makevar>USE_AUTOCONF_VER</makevar>.</entry> + <entry>����, ��������������� ��������� ��� �������.</entry> </row> <row> - <entry><makevar>AUTOCONF_ARGS</makevar></entry> + <entry><makevar>X_FONTS_MISC_PORT</makevar></entry> - <entry>��������� ��������� ������ ��� �������� � - <command>autoconf</command>.</entry> + <entry>����, ��������������� ������ ��������� ������.</entry> </row> <row> - <entry><makevar>AUTOCONF_ENV</makevar></entry> + <entry><makevar>X_FONTS_100DPI_PORT</makevar></entry> - <entry>���������� �������� ��� - <literal><replaceable>variable</replaceable>=<replaceable>value</replaceable></literal> - � ��������� ����� �������� <command>autoconf</command>.</entry> - </row> - - <row> - <entry><makevar>USE_AUTOHEADER_VER</makevar></entry> - - <entry>���������, ��� ���� ���������� <command>autoheader</command>. - ������������� <literal>USE_AUTOCONF_VER</literal>. - �������� �� ��������� ����� 213.</entry> - - <row> - <entry><makevar>AUTOHEADER</makevar></entry> - - <entry>������ ������� ��� GNU <command>autoheader</command>, ���� - ��� ��� � ���������� ��������� <envar>PATH</envar>. �� - ��������� �������� � ������������ �� ��������� ���������� - <makevar>USE_AUTOCONF_VER</makevar>.</entry> + <entry>����, ��������������� 100dpi ��������� ������.</entry> </row> <row> - <entry><makevar>AUTORECONF</makevar></entry> + <entry><makevar>X_FONTS_75DPI_PORT</makevar></entry> - <entry>������ ������� ��� GNU <command>autoreconf</command>, ���� - ��� ��� � ���������� ��������� <envar>PATH</envar>. �� - ��������� �������� � ������������ �� ��������� ���������� - <makevar>USE_AUTOCONF_VER</makevar>.</entry> + <entry>����, ��������������� 75dpi ��������� ������.</entry> </row> <row> - <entry><makevar>AUTOSCAN</makevar></entry> + <entry><makevar>X_FONTS_CYRILLIC_PORT</makevar></entry> - <entry>������ ������� ��� GNU <command>autoscan</command>, ���� - ��� ��� � ���������� ��������� <envar>PATH</envar>. �� - ��������� �������� � ������������ �� ��������� ���������� - <makevar>USE_AUTOCONF_VER</makevar>.</entry> + <entry>����, ��������������� ������������� ��������� ������.</entry> </row> <row> - <entry><makevar>AUTOIFNAMES</makevar></entry> + <entry><makevar>X_FONTS_TTF_PORT</makevar></entry> - <entry>������ ������� ��� GNU <command>autoifnames</command>, - ���� ��� ��� � ���������� ��������� <envar>PATH</envar>. �� - ��������� �������� � ������������ �� ��������� ���������� - <makevar>USE_AUTOCONF_VER</makevar>.</entry> + <entry>����, ��������������� ������ &truetype;.</entry> </row> <row> - <entry><makevar>USE_LIBTOOL_VER</makevar></entry> + <entry><makevar>X_FONTS_TYPE1_PORT</makevar></entry> - <entry>���� ���������� <command>libtool</command>. - ��������������� ��������� - <makevar>GNU_CONFIGURE</makevar>. - �������� �� ��������� ����� 13.</entry> - </row> - - <row> - <entry><makevar>LIBTOOL</makevar></entry> - - <entry>������ ������� ��� <command>libtool</command>, - ���� ��� ��� � ���������� ��������� - <envar>PATH</envar>.</entry> - </row> - - <row> - <entry><makevar>LIBTOOLFILES</makevar></entry> - - <entry>����� ��� ��������� <command>libtool</command>. �� - ��������� ��� <literal>aclocal.m4</literal>, ���� ���������� - ���������� <makevar>USE_AUTOCONF</makevar>, � - <literal>configure</literal> � ��������� ������.</entry> + <entry>����, ��������������� ������ Type1.</entry> </row> <row> - <entry><makevar>LIBTOOLFLAGS</makevar></entry> + <entry><makevar>X_MANUALS_PORT</makevar></entry> - <entry>�������������� ����� ��� �������� � - <command>ltconfig</command>. �� ��������� ��� - <literal>--disable-ltlibs</literal>.</entry> + <entry>����, ��������������� �������� �����������, + ��������������� ��� �������������.</entry> </row> </tbody> </tgroup> </table> + + <example id="using-x11-vars"> + <title>������������� ���������� X11 � �����</title> + <programlisting># Use some X11 libraries and depend on +# font server as well as cyrillic fonts. +RUN_DEPENDS= ${LOCALBASE}/bin/xfs:${X_FONTSERVER_PORT} \ + ${LOCALBASE}/lib/X11/fonts/cyrillic/crox1c.pcf.gz:${X_FONTS_CYRILLIC_PORT} + +USE_XORG= x11 xpm</programlisting> + </example> + </sect2> + + <sect2 id="porting-motif"> + <title>�����, ������� ��������� Motif</title> + + <para>���� ������ ����� ��������� Motif, ������� ���������� + <makevar>USE_MOTIF</makevar> � ����� <filename>Makefile</filename>. + ���������� Motif, ������������ �� ���������, ��������� � + <filename role="package">x11-toolkits/open-motif</filename>. + ������������ ������ ����� ����� ������� + <filename role="package">x11-toolkits/lesstif</filename> ����� + ��������� ���������� <makevar>WANT_LESSTIF</makevar>.</para> + + <para>���������� <makevar>MOTIFLIB</makevar> ����� ����������� � + <filename>bsd.port.mk</filename>, ����� ��������� �� + ��������������� ���������� Motif. ����������, �������� �������� + ������ ������ ����� �� ������������� + <literal>${MOTIFLIB}</literal> �����, ��� ����������� + ���������� Motif, � �������������� <filename>Makefile</filename> + ��� <filename>Imakefile</filename>.</para> + + <para>���������� ��� ����� ������:</para> + + <itemizedlist> + <listitem> + <para>���� ���� ���������� � ���������� Motif ��� + <literal>-lXm</literal> � ����� ������ + <filename>Makefile</filename> ��� <filename>Imakefile</filename>, + ������ ���������� ������ ���� ��������� + <literal>${MOTIFLIB}</literal>.</para> + </listitem> + + <listitem> + <para>���� ���� ���������� <literal>XmClientLibs</literal> � ����� + ����� <filename>Imakefile</filename>, �������� ��� ��������� �� + <literal>${MOTIFLIB} ${XTOOLLIB} + ${XLIB}</literal>.</para> + </listitem> + </itemizedlist> + + <para>��������, ��� ���������� <makevar>MOTIFLIB</makevar> (��� + �������) ������������ � <literal>-L/usr/X11R6/lib -lXm</literal> ��� + <literal>/usr/X11R6/lib/libXm.a</literal>, ��� ��� ��� ����� ������� + ��������� <literal>-L</literal> ��� <literal>-l</literal>.</para> + + </sect2> + + <sect2> + <title>������ ��� X11</title> + + <para>���� ��� ���� ������������� ������ ��� X Window System, + ��������� �� � ������� + <filename><makevar>LOCALBASE</makevar>/lib/X11/fonts/local</filename>. + </para> + + </sect2> + + <sect2> + <title>��������� ����������� <envar>DISPLAY</envar>, ��������� + Xvfb</title> + + <para>��������� ���������� ��� �������� ���������� ������� + ������� ����������� ������� X11. ��� ������� �������� ��� �����, + ������� �������� � ������ headless. ��� ������������� ���������� + ������������� ���� �������������� ���������� + �������� ������ X � ����������� �����������. ����� ���������� + ����������� <envar>DISPLAY</envar> ���������� ��� ����������.</para> + + <programlisting>USE_DISPLAY= yes</programlisting> + + </sect2> + + <sect2 id="desktop-entries"> + <title>�������� �������� �����</title> + + <para>�������� �������� ����� (<ulink + url="http://standards.freedesktop.org/desktop-entry-spec/latest/">��������� + Freedesktop</ulink>) ����� ����� ��������� � ����� �����, ��������� + ���������� <makevar>DESKTOP_ENTRIES</makevar>. ��� �������� + ������������ � ���� ���������� ����� ��������� �������� �����, ��� + GNOME ��� KDE. ����� ������������� ������, ���������� � �������� + � <filename>pkg-plist</filename> ���� <filename>.desktop</filename>. + �������:</para> + + <programlisting>DESKTOP_ENTRIES= "NAME" "COMMENT" "ICON" "COMMAND" "CATEGORY" StartupNotify</programlisting> + + <para>�������� ��������� ��������� �������� �� <ulink + url="http://standards.freedesktop.org/menu-spec/latest/apa.html"> + �������� Freedesktop</ulink>. <makevar>StartupNotify</makevar> + ���������, ������� �� ���������� ������ � ���������, �������������� + ����������� � �������.</para> + + <para>������:</para> + + <programlisting>DESKTOP_ENTRIES= "ToME" "Roguelike game based on JRR Tolkien's work" \ + "${DATADIR}/xtra/graf/tome-128.png" \ + "tome -v -g" "Application;Game;RolePlaying;" \ + false</programlisting> + </sect2> + </sect1> <sect1 id="using-gnome"> @@ -4141,73 +5720,527 @@ LDCONFIG_DIRS= %%PREFIX%%/lib/foo %%PREFIX%%/lib/bar</programlisting> �� �������� ������� FreeBSD/GNOME �����ݣ� <ulink url="http://www.FreeBSD.org/gnome/docs/porting.html"> ������������� ������ ���� ����������</ulink>.</para> + + </sect1> + + <sect1 id="using-qt"> + <title>������������� Qt</title> + + <sect2 id="qt-common"> + <title>�����, ��� ������� ��������� Qt</title> + + <table frame="none"> + <title>���������� ��� ������, ������������ Qt</title> + + <tgroup cols="2"> + <tbody> + <row> + <entry><makevar>USE_QT_VER</makevar></entry> + + <entry>���� ���������� ���������������� ����� Qt. + ���������� ���������� �������� <literal>3</literal> � + <literal>4</literal>, ������ �� ������� ��������� �� + ������� ����� ������������ ������ Qt. ��������������� + ��������� ���������� � �������� <command>configure</command> + � <command>make</command>.</entry> + </row> + + <row> + <entry><makevar>QT_PREFIX</makevar></entry> + + <entry>��������������� � ��������, ���������� ���� � + �������������� Qt (���������� ������ ��� ������).</entry> + </row> + + <row> + <entry><makevar>MOC</makevar></entry> + + <entry>��������������� � ��������, ���������� ���� � + <command>moc</command> (���������� ������ ��� ������). + �� ��������� ��������������� � ������������ �� ��������� + <makevar>USE_QT_VER</makevar>.</entry> + </row> + + <row> + <entry><makevar>QTCPPFLAGS</makevar></entry> + + <entry>�������������� ����� ����������� ��� ����������������� + ������ Qt, ������������ ����� ���������� + <makevar>CONFIGURE_ENV</makevar>. �� ��������� + ��������������� � ������������ �� ��������� + <makevar>USE_QT_VER</makevar>.</entry> + </row> + + <row> + <entry><makevar>QTCFGLIBS</makevar></entry> + + <entry>�������������� ����� ���������� ��� ����������������� + ������ Qt, ������������ ����� ���������� + <makevar>CONFIGURE_ENV</makevar>. �� ��������� + ��������������� � ������������ �� ��������� + <makevar>USE_QT_VER</makevar>.</entry> + </row> + + <row> + <entry><makevar>QTNONSTANDARD</makevar></entry> + + <entry>��������� ��������� <makevar>CONFIGURE_ENV</makevar>, + <makevar>CONFIGURE_ARGS</makevar> � + <makevar>MAKE_ENV</makevar>.</entry> + </row> + + </tbody> + </tgroup> + </table> + + <table frame="none"> + <title>�������������� ���������� ��� ������, + ������������ Qt 4.x</title> + + <tgroup cols="2"> + <tbody> + <row> + <entry><makevar>QT_COMPONENTS</makevar></entry> + + <entry>��������� ����������� � ���������� � �������� + ������������ ��� Qt4. �������� ��������� ����.</entry> + </row> + + <row> + <entry><makevar>UIC</makevar></entry> + + <entry>������������� ���� � <command>uic</command> + (���������� ������ ��� ������). �� ��������� + ��������������� � ������������ � ���������� + <makevar>USE_QT_VER</makevar>.</entry> + </row> + + <row> + <entry><makevar>QMAKE</makevar></entry> + + <entry>������������� ���� � <command>qmake</command> + (���������� ������ ��� ������). �� ��������� + ��������������� � ������������ � ���������� + <makevar>USE_QT_VER</makevar>.</entry> + </row> + + <row> + <entry><makevar>QMAKESPEC</makevar></entry> + + <entry>������������� ���� � ����������������� ����� ��� + <command>qmake</command> (���������� ������ ��� ������). + �� ��������� ��������������� � ������������ � ���������� + <makevar>USE_QT_VER</makevar>.</entry> + </row> + + </tbody> + </tgroup> + </table> + + <para>��� ������������� ���������� <makevar>USE_QT_VER</makevar> + �������� <command>configure</command> ����� ���������� ��������� + �������� ���������:</para> + + <programlisting>CONFIGURE_ARGS+= --with-qt-includes=${QT_PREFIX}/include \ + --with-qt-libraries=${QT_PREFIX}/lib \ + --with-extra-libs=${LOCALBASE}/lib \ + --with-extra-includes=${LOCALBASE}/include +CONFIGURE_ENV+= MOC="${MOC}" CPPFLAGS="${CPPFLAGS} ${QTCPPFLAGS}" LIBS="${QTCFGLIBS}" \ + QTDIR="${QT_PREFIX}" KDEDIR="${KDE_PREFIX}"</programlisting> + + <para>���� ���������� <makevar>USE_QT_VER</makevar> ����������� � + �������� <literal>4</literal>, �� ����� ��������������� ��������� + ���������:</para> + + <programlisting>CONFIGURE_ENV+= UIC="${UIC}" QMAKE="${QMAKE}" QMAKESPEC="${QMAKESPEC}" +MAKE_ENV+= QMAKESPEC="${QMAKESPEC}"</programlisting> + + </sect2> + + <sect2 id="qt4-components"> + <title>����� ����������� (������ ��� Qt 4.x)</title> + + <para>���� <makevar>USE_QT_VER</makevar> ����������� � 4, �� � + ���������� <makevar>QT_COMPONENTS</makevar> ����� ������� + ����������� �� ��������� ������������ � ��������� Qt4. � ������� + ���������� ����� �������� �������, <literal>_build</literal> + ��� <literal>_run</literal>, ����������, ����� ������ ���� ��������� + �����������, �� ����� ������ ��� ����������, ��������������. ���� + ������� �����������, ����������� �� ���������� ����� � ��� ������� + ������, � ��� ������� ����������. ������, ���������� ��������� + ������ ����������� ��� ���������, ���������� ������������ - � + ��������� <literal>_build</literal>, � ���������� �������� - � + ��������� <literal>_run</literal>. �������� ����� ������������ + ���������� ����������� ���� (��� ��������� ���������� ����������� + � <makevar>_QT_COMPONENTS_ALL</makevar> � ����� + <filename>/usr/ports/Mk/bsd.qt.mk</filename>):</para> + + <table frame="none"> + <title>��������� ������������ ���������� Qt4</title> + + <tgroup cols="2"> + <thead> + <row> + <entry>��������</entry> + <entry>��������</entry> + </row> + </thead> + + <tbody> + <row> + <entry><literal>corelib</literal></entry> + <entry>�������� ���������� (����� ��������, ���� ���� �� + ���������� ������, ����� <literal>corelib</literal>)</entry> + </row> + + <row> + <entry><literal>gui</literal></entry> + <entry>���������� ������������ ����������������� + ����������</entry> + </row> + + <row> + <entry><literal>network</literal></entry> + <entry>������� ����������</entry> + </row> + + <row> + <entry><literal>opengl</literal></entry> + <entry>���������� OpenGL</entry> + </row> + + <row> + <entry><literal>qt3support</literal></entry> + <entry>���������� ������������� � Qt3</entry> + </row> + + <row> + <entry><literal>qtestlib</literal></entry> + <entry>���������� ���������� ������������</entry> + </row> + + <row> + <entry><literal>script</literal></entry> + <entry>���������� ���������</entry> + </row> + + <row> + <entry><literal>sql</literal></entry> + <entry>���������� SQL</entry> + </row> + + <row> + <entry><literal>xml</literal></entry> + <entry>���������� XML</entry> + </row> + + </tbody> + </tgroup> + </table> + + <para>�� ������ ����������, �� ����� ��������� ������� ����������, + �������� <command>ldd</command> �� �������� ����������� ���� + ����� �������� ����������.</para> + + <table frame="none"> + <title>��������� ���������� ������������ Qt4</title> + + <tgroup cols="2"> + <thead> + <row> + <entry>��������</entry> + <entry>��������</entry> + </row> + </thead> + + <tbody> + <row> + <entry><literal>moc</literal></entry> + <entry>����-��������� ���������� (����� ��� ���������� + ����� ��� ������� ���������� Qt)</entry> + </row> + + <row> + <entry><literal>qmake</literal></entry> + <entry>��������� Makefile / ������� ����������</entry> + </row> + + <row> + <entry><literal>rcc</literal></entry> + <entry>���������� �������� (�����, ���� ���������� + ���� ������ � ������� <filename>*.rc</filename> ��� + <filename>*.qrc</filename>)</entry> + </row> + + <row> + <entry><literal>uic</literal></entry> + <entry>���������� ����������������� ���������� (�����, ���� + ���������� ���� ������ � ������� <filename>*.ui</filename>, + ���������� ��� ������ Qt Designer, - �� �������� ������ + ���������� Qt � GUI)</entry> + </row> + + </tbody> + </tgroup> + </table> + + <table frame="none"> + <title>��������� ���������� �������� Qt4</title> + + <tgroup cols="2"> + <thead> + <row> + <entry>��������</entry> + <entry>��������</entry> + </row> + </thead> + + <tbody> + <row> + <entry><literal>iconengines</literal></entry> + <entry>������ ��� ������ ������ SVG (���� ���������� + ������������ � �������� SVG)</entry> + </row> + + <row> + <entry><literal>imageformats</literal></entry> + <entry>������� ��� ����������� �������� GIF, JPEG, MNG � SVG + (���� ���������� ������������ � ������������ �������)</entry> + </row> + + </tbody> + </tgroup> + </table> + + <example id="qt4-components-example"> + <title>����� ����������� Qt4</title> + + <para>� ���� ������� ������������� ���������� ���������� ���������� + ������������ ����������������� ���������� Qt4, �������� ���������� + Qt4, ��� ����������� ��������� ���� Qt4 � ��������� Makefile Qt4. + ��������� ���������� GUI ������������� ����������� �� �������� + ����������, ��������� corelib ��� �������������. ����������� + ��������� ���� Qt4 moc, uic � rcc, � ����� ��������� Makefile + qmake ����� ������ ��� ������� ����������, ������� ��� ������� + � ��������� <literal>_build</literal>:</para> + + <programlisting>USE_QT_VER= 4 +QT_COMPONENTS= gui moc_build qmake_build rcc_build uic_build</programlisting> + </example> + </sect2> + + <sect2 id="qt-additional"> + <title>������ �����������</title> + + <para>���� ������ � ����������� ������ <filename>configure</filename> + ������������ ���� <filename>.pro</filename>, �� ������ ������������ + ���������:</para> + + <programlisting>HAS_CONFIGURE= yes + +do-configure: + @cd ${WRKSRC} && ${SETENV} ${CONFIGURE_ENV} \ + ${QMAKE} -unix PREFIX=${PREFIX} texmaker.pro</programlisting> + + <para>�������� �������� �� �������� �� ������� <command>qmake</command> + �� ������������ �������� <filename>BUILD.sh</filename>. �������� + <makevar>CONFIGURE_ENV</makevar> ������������ ��������� ���������� + <makevar>QMAKESPEC</makevar> ��� <command>qmake</command>, ��� + ������� ������� �� ����� ��������. <command>qmake</command> + ��������� ����������� Makefile, �, ����� �������, �������� + ������������� � ��������� ����� ����������� ����� + <maketarget>build</maketarget>.</para> + + <para>���������� Qt ����� ������� � ������������������ ������, � + X11/Unix ����� �� �������� ��� ��� ���������� ����������, ��� � + ���� ������� ����� �������� � ��������������� ��������� + ��������:</para> + + <itemizedlist> + <listitem> + <para><emphasis>������������� �������������� ���� ��� + ������������ ������.</emphasis> ������ ���������� ���� � + ���������� ������ � ��������� ����, �� ������������ �������� + �� ������� ������������ ������ �/��� ������������ � ��������� + X11. �� ������ �������� <command>qmake</command>, ����� ��� + �������� �������� � ���� ������ ������������ ������ � ��������� + ����� ��������� ������. � �������:</para> + + <programlisting>${QMAKE} -unix PREFIX=${PREFIX} INCLUDEPATH+=${LOCALBASE}/include \ + LIBS+=-L${LOCALBASE}/lib sillyapp.pro</programlisting> + </listitem> + + <listitem> + <para><emphasis>��������� ���� ���������.</emphasis> + ������ ������, ����� ��� ������ � ����� .desktop, + ��������������� �� ��������� � ��������, ������� �� + ��������������� XDG-������������ ������������. �������� + �������� <filename role="package">editors/texmaker</filename> - + ��������� �� <filename>patch-texmaker.pro</filename> �� �������� + <filename>files</filename> ����� �����, ������� ����� ����� + � �������� ������� ����������� ����� ��������������� � ����� + ������� Qmake.</para> + </listitem> + </itemizedlist> + + </sect2> + </sect1> <sect1 id="using-kde"> <title>������������� KDE</title> - <table frame="none"> - <title>���������� ��� ������, ������� ���������� KDE</title> + <sect2 id="kde-variables"> + <title>������� ���������� (������ ��� KDE 3.x)</title> - <tgroup cols="2"> - <tbody> - <row> - <entry><makevar>USE_QT_VER</makevar></entry> + <table frame="none"> + <title>���������� ��� ������, ������������ KDE 3.x</title> - <entry>���� ���������� ���������������� ����� Qt. ���������� - ���������� �������� <literal>1</literal>, <literal>2</literal> - � <literal>3</literal>; ������ ������� ������ ������� ����� - ������������ ������ Qt. �������� ��������������� �������� - �� ��������� ���������� <makevar>MOC</makevar> � - <makevar>QTCPPFLAGS</makevar>.</entry> - </row> + <tgroup cols="2"> + <tbody> + <row> + <entry><makevar>USE_KDELIBS_VER</makevar></entry> - <row> - <entry><makevar>USE_KDELIBS_VER</makevar></entry> + <entry>���� ���������� ���������� KDE. ���������� ������� + ����� ������������ ������ KDE. ��������������� + ��������� <makevar>USE_QT_VER</makevar> ���������� ������. + ������������ ��������� ��������� �������� + <literal>3</literal>.</entry> + </row> - <entry>���� ���������� ���������� KDE. ���������� ���������� - �������� <literal>1</literal>, <literal>2</literal> � - <literal>3</literal>; ������ ������� ���������� ������� ����� - ������������ ������ KDE. ����������������� ��������� - <makevar>USE_QT_VER</makevar> ��������������� ������.</entry> - </row> + <row> + <entry><makevar>USE_KDEBASE_VER</makevar></entry> - <row> - <entry><makevar>USE_KDEBASE_VER</makevar></entry> + <entry>���� ���������� � �������� ��������� �������� ������� + KDE. ���������� ������� ����� ������������ ������ KDE. + ������������� ��������� <makevar>USE_QT_VER</makevar> + ���������� ������. ������������ ��������� ��������� + �������� <literal>3</literal>.</entry> + </row> + </tbody> + </tgroup> + </table> + </sect2> - <entry>���� ���������� � �������� ��������� �������� ������� KDE. - ���������� ���������� �������� <literal>1</literal>, - <literal>2</literal> � <literal>3</literal>; ������ ������� - ���������� ������� ����� ������������ ������ KDE. - ����������������� ��������� <makevar>USE_KDELIBS_VER</makevar> - ��������������� ������.</entry> - </row> + <sect2 id="kde4-variables"> + <title>������� ���������� KDE 4</title> - <row> - <entry><makevar>MOC</makevar></entry> + <para>���� ���� ���������� ������� �� KDE 4.x, ��������� + <makevar>USE_KDE4</makevar> ������ ��������� �����������. �������� + ������������ �������� ���������� ����������� ���� (���������� + ���������� ����������� � <makevar>_USE_KDE4_ALL</makevar> � + <filename>/usr/ports/Mk/bsd.kde4.mk</filename>):</para> - <entry>������ ������� �� <command>moc</command>. �� ��������� - ��������������� � ������������ �� ��������� ���������� - <makevar>USE_QT_VER</makevar>.</entry> - </row> + <table frame="none"> + <title>��������� ���������� KDE4</title> - <row> - <entry><makevar>QTCPPFLAGS</makevar></entry> + <tgroup cols="2"> + <thead> + <row> + <entry>��������</entry> + <entry>��������</entry> + </row> + </thead> - <entry>�������� �������� <makevar>CPPFLAGS</makevar> ��� - ������������� ��� ��������� ���� Qt. �� ��������� �������� - � ������������ �� ��������� ���������� - <makevar>USE_QT_VER</makevar>.</entry> - </row> - </tbody> - </tgroup> - </table> - </sect1> + <tbody> + <row> + <entry><literal>akonadi</literal></entry> + <entry>������ �������� ���������� ������ ����������� (PIM)</entry> + </row> - <sect1 id="using-bison"> - <title>������������� Bison</title> + <row> + <entry><literal>automoc4</literal></entry> + <entry>������ ������������� ������ ����������� ���������� + automoc4</entry> + </row> + + <row> + <entry><literal>kdebase</literal></entry> + <entry>�������� ���������� KDE (Konqueror, Dolphin, + Konsole)</entry> + </row> + + <row> + <entry><literal>kdeexp</literal></entry> + <entry>����������������� ���������� KDE (� ������������ API)</entry> + </row> + + <row> + <entry><literal>kdehier</literal></entry> + <entry>������������ ����� �������� KDE</entry> + </row> + + <row> + <entry><literal>kdelibs</literal></entry> + <entry>�������� ����� ��������� KDE</entry> + </row> + + <row> + <entry><literal>kdeprefix</literal></entry> + <entry>���� �����������, �� ���� ����� ���������� � + <literal>${KDE4_PREFIX}</literal> ������ + <literal>${LOCALBASE}</literal></entry> + </row> + + <row> + <entry><literal>pimlibs</literal></entry> + <entry>���������� PIM</entry> + </row> + + <row> + <entry><literal>workspace</literal></entry> + <entry>���������� � ����������, ����������� ������� + ���� (Plasma, KWin)</entry> + </row> + + </tbody> + </tgroup> + </table> + + <para>��� ��������� ���������� � ������� KDE 3.x, ����� KDE 4.x + ��������������� � <literal>${KDE4_PREFIX}</literal>, ��� � + ��������� ����� ������������� <filename>/usr/local/kde4</filename>. + ��� ����������� ����� �������� ���������� <literal>kdeprefix</literal>, + ������� ���������� �������� �� ��������� ��� <makevar>PREFIX</makevar>. + ��� �� �����, ����� ��������� ����� <makevar>PREFIX</makevar>, + ������������� ����� ���������� ��������� <envar>MAKEFLAGS</envar> + �/��� �������� <application>make</application>.</para> + + <para>����� KDE 4.x ����� ������������� � ������� KDE 3.x, �������, + ����� ������� ��������� <literal>kdeprefix</literal>, ��� + ��������������� � <literal>${KDE4_PREFIX}</literal>. + � ��������� ����� ��������� �� ��������� ��� + <literal>KDE4_PREFIX</literal> �������� + <filename>/usr/local/kde4</filename>. ����� �������� ��������� + ������ KDE 4.x � ����������� <literal>PREFIX</literal>. ���� + <literal>PREFIX</literal> ���������� ����� ���������� ��������� + <envar>MAKEFLAGS</envar> ��� ����� ����� + <application>make</application>, �� ��� �������������� ��������, + ������������������ ��� ������ <literal>kdeprefix</literal>.</para> + + <example id="kde4-components-example"> + <title>������ <makevar>USE_KDE4</makevar></title> + + <para>��� ������� ������ ��� ����� KDE 4. + <makevar>USE_CMAKE</makevar> ��������� ����� ������������ + <application>CMake</application> — ���������������� ����������, + ������ ���������������� ����� �������� KDE 4. + <makevar>USE_KDE4</makevar> ��������� ����������� �� ��������� KDE + � ���������� ����� ������������ <application>automoc4</application> + �� ����� ������. ��������� ���������� KDE � ������ ����������� + ����� ���������� � ������� configure. <makevar>USE_KDE4</makevar> + �� ������������� <makevar>USE_QT_VER</makevar>. ���� ���� ������� + �����-���� �� ����������� Qt4, �� ������� ���������� + <makevar>USE_QT_VER</makevar>, � ����� ����� ������� ����������� + ����������.</para> + + <programlisting>USE_CMAKE= yes +USE_KDE4= automoc4 kdelibs kdeprefix +USE_QT_VER= 4 +QT_COMPONENTS= qmake_build moc_build rcc_build uic_build</programlisting> + </example> + </sect2> - <para>���� ������ �ݣ ��������� ��������.</para> </sect1> <sect1 id="using-java"> @@ -4217,15 +6250,15 @@ LDCONFIG_DIRS= %%PREFIX%%/lib/foo %%PREFIX%%/lib/bar</programlisting> <title>������� ����������</title> <para>���� ������ ����� ���������� ������� Java™ Development Kit - (JDK) ��� ����������, ������ ��� ���� ���������� ��������������� - �����, �� � Σ� ������ ���� ������ ���������� + (JDK™) ��� ����������, ������ ��� ���� ���������� + ��������������� �����, �� � Σ� ������ ���� ������ ���������� <makevar>USE_JAVA</makevar>.</para> <para>� ��������� ������ ������������ ��������� JDK ��������� ������������� � ������ ������. ���� ��� ���� ������ ������������ ���� �� ���� ������, �� �� ������ �������, ����� ������. ����� ��������� ������� �������� <filename - role="package">java/jdk14</filename>.</para> + role="package">java/jdk16</filename>.</para> <table frame="none"> <title>����������, ������� ������� ����� ���������� �������, @@ -4250,17 +6283,16 @@ LDCONFIG_DIRS= %%PREFIX%%/lib/foo %%PREFIX%%/lib/bar</programlisting> <row> <entry><makevar>JAVA_VERSION</makevar></entry> - <entry>������ ������ Java, ������������� ����� ������, ���������� ��� �����. ������������ ���� <literal>"+"</literal> ��������� ��� ������� �������� ������ (��������� ��������: - <literal>1.1[+] 1.2[+] 1.3[+] 1.4[+]</literal>).</entry> + <literal>1.1[+] 1.2[+] 1.3[+] 1.4[+] 1.5[+] + 1.6[+]</literal>).</entry> </row> <row> <entry><makevar>JAVA_OS</makevar></entry> - <entry>������ ������������ ������, ������������� ����� ������, ����� JDK ��� ������� �������� ��� ����� (��������� ��������: <literal>native linux</literal>).</entry> @@ -4268,16 +6300,14 @@ LDCONFIG_DIRS= %%PREFIX%%/lib/foo %%PREFIX%%/lib/bar</programlisting> <row> <entry><makevar>JAVA_VENDOR</makevar></entry> - <entry>������ ������������� ������ JDK, ������������� ����� ������, ������� �������� ��� ����� (��������� ��������: - <literal>freebsd bsdjava sun ibm - blackdown</literal>).</entry> + <literal>freebsd bsdjava sun + blackdown openjdk</literal>).</entry> </row> <row> <entry><makevar>JAVA_BUILD</makevar></entry> - <entry>���� ������, �� ��������, ��� ��������� ���� JDK ������ ���� �������� � ������������ ����� ��� ��� ����������.</entry> @@ -4285,14 +6315,12 @@ LDCONFIG_DIRS= %%PREFIX%%/lib/foo %%PREFIX%%/lib/bar</programlisting> <row> <entry><makevar>JAVA_RUN</makevar></entry> - <entry>���� ������, �� ��������, ��� ��������� ���� JDK ������ ���� �������� � ������������ ����� ��� ��� ������.</entry> </row> <row> <entry><makevar>JAVA_EXTRACT</makevar></entry> - <entry>���� ������, �� ��������, ��� ��������� ���� JDK ������ ���� �������� � ������������ ����� ��� ���������� ��� �������������� ������.</entry> @@ -4300,7 +6328,6 @@ LDCONFIG_DIRS= %%PREFIX%%/lib/foo %%PREFIX%%/lib/bar</programlisting> <row> <entry><makevar>USE_JIKES</makevar></entry> - <entry>������ ��� ��� ���� ������������ ���������� ����-���� <command>jikes</command> ��� ������ ����������. ���� �������� ���� ���������� �� ����������, �� ���� ����� @@ -4311,7 +6338,11 @@ LDCONFIG_DIRS= %%PREFIX%%/lib/foo %%PREFIX%%/lib/bar</programlisting> <literal>'no'</literal> ��� <literal>'yes'</literal>). � ��������� ������ <filename role="package">devel/jikes</filename> ����� �������� � - ������������ �����, ������ ��� ��� ����������.</entry> + ������������ �����, ������ ��� ��� ����������. + �����, ��� <command>jikes</command> ������������� + ������������ ������ <command>javac</command>, ������������ + ���������� <makevar>HAVE_JIKES</makevar> ���������� + <filename>bsd.java.mk</filename>.</entry> </row> </tbody> </tgroup> @@ -4335,14 +6366,12 @@ LDCONFIG_DIRS= %%PREFIX%%/lib/foo %%PREFIX%%/lib/bar</programlisting> <tbody> <row> <entry><makevar>JAVA_PORT</makevar></entry> - <entry>�������� ����� JDK (� �������, <literal>'java/jdk14'</literal>).</entry> </row> <row> <entry><makevar>JAVA_PORT_VERSION</makevar></entry> - <entry>������ ������������ ������ ����� JDK (� �������, <literal>'1.4.2'</literal>). ���� ��� ����� ������ ������ ��� ����� ������ ������, ����������� ����������� @@ -4351,67 +6380,58 @@ LDCONFIG_DIRS= %%PREFIX%%/lib/foo %%PREFIX%%/lib/bar</programlisting> <row> <entry><makevar>JAVA_PORT_OS</makevar></entry> - <entry>������������ �������, ������������ ������ JDK (� �������, <literal>'linux'</literal>).</entry> </row> <row> <entry><makevar>JAVA_PORT_VENDOR</makevar></entry> - <entry>����������� ����� JDK (� �������, <literal>'sun'</literal>).</entry> </row> <row> <entry><makevar>JAVA_PORT_OS_DESCRIPTION</makevar></entry> - <entry>�������� ������������ �������, ������������ ������ JDK (� �������, <literal>'Linux'</literal>).</entry> </row> <row> <entry><makevar>JAVA_PORT_VENDOR_DESCRIPTION</makevar></entry> - <entry>�������� ������������ ����� JDK (� �������, <literal>'FreeBSD Foundation'</literal>).</entry> </row> <row> <entry><makevar>JAVA_HOME</makevar></entry> - <entry>������� � ������������� �������� JDK (� �������, <filename>'/usr/local/jdk1.3.1'</filename>).</entry> </row> <row> <entry><makevar>JAVAC</makevar></entry> - <entry>������� � ������������� ����������� Java (� �������, - <filename>'/usr/local/jdk1.1.8/bin/javac'</filename> ��� + <filename>'/usr/local/jdk1.3.1/bin/javac'</filename> ��� <filename>'/usr/local/bin/jikes'</filename>).</entry> </row> <row> <entry><makevar>JAR</makevar></entry> - <entry>������� � ������������ ������� <command>jar</command> (� - �������, <filename>'/usr/local/jdk1.2.2/bin/jar'</filename> + �������, <filename>'/usr/local/jdk1.3.1/bin/jar'</filename> ��� <filename>'/usr/local/bin/fastjar'</filename>).</entry> </row> <row> <entry><makevar>APPLETVIEWER</makevar></entry> - <entry>������� � ������� <command>appletviewer</command> (� �������, - <filename>'/usr/local/linux-jdk1.2.2/bin/appletviewer'</filename>). + <filename>'/usr/local/linux-jdk1.3.1/bin/appletviewer'</filename>). </entry> </row> <row> <entry><makevar>JAVA</makevar></entry> - <entry>������� � ������������ ����� <command>java</command>. ����������� ��� ��� ������� Java-�������� (� �������, <filename>'/usr/local/jdk1.3.1/bin/java'</filename>).</entry> @@ -4419,84 +6439,72 @@ LDCONFIG_DIRS= %%PREFIX%%/lib/foo %%PREFIX%%/lib/bar</programlisting> <row> <entry><makevar>JAVADOC</makevar></entry> - <entry>������� � ��������������� ��������� <command>javadoc</command>.</entry> </row> <row> <entry><makevar>JAVAH</makevar></entry> - <entry>������� � ��������� <command>javah</command>.</entry> </row> <row> <entry><makevar>JAVAP</makevar></entry> - <entry>������� � ��������� <command>javap</command>.</entry> </row> <row> <entry><makevar>JAVA_KEYTOOL</makevar></entry> - <entry>������� � ��������������� ��������� - <command>keytool</command>. ��� ���������� ����������, - ������ ���� JDK ������������� Java 1.2 ��� ����� ������� - ������.</entry> + <command>keytool</command>.</entry> </row> <row> <entry><makevar>JAVA_N2A</makevar></entry> - <entry>������� � ������� <command>native2ascii</command>.</entry> </row> <row> <entry><makevar>JAVA_POLICYTOOL</makevar></entry> - - <entry>������� � ��������� <command>policytool</command>. ��� - ���������� ����������, ������ ���� JDK ������������� Java 1.2 - ��� ����� ������� ������.</entry> + <entry>������� � ��������� <command>policytool</command>.</entry> </row> <row> <entry><makevar>JAVA_SERIALVER</makevar></entry> - <entry>������� � ��������������� ��������� <command>serialver</command>.</entry> </row> <row> <entry><makevar>RMIC</makevar></entry> - <entry>������� � ���������� ������� �������� RMI, ������� <command>rmic</command>.</entry> </row> <row> <entry><makevar>RMIREGISTRY</makevar></entry> - <entry>������� � ��������� ����������� RMI, <command>rmiregistry</command>.</entry> </row> <row> <entry><makevar>RMID</makevar></entry> - - <entry>������� � ���������-������� RMI <command>rmid</command>. - ��� ���������� ����������, ������ ���� JDK ������������� Java - 1.2 ��� ����� ������� ������.</entry> + <entry>������� � ���������-������� RMI + <command>rmid</command>.</entry> </row> <row> <entry><makevar>JAVA_CLASSES</makevar></entry> + <entry>������� � ������, ������� �������� ����� ������� JDK, + <filename>${JAVA_HOME}/jre/lib/rt.jar</filename>.</entry> + </row> - <entry>������� � ������, ������� �������� ����� ������� JDK. - ��� JDK 1.2 � ����� ������� ������ ţ �������� ������������� - <filename>${JAVA_HOME}/jre/lib/rt.jar</filename>. JDK - ���������� ������ ������������ - <filename>${JAVA_HOME}/lib/classes.zip</filename>.</entry> + <row> + <entry><makevar>HAVE_JIKES</makevar></entry> + <entry>������ ����������, ���� ������ ������������ + ������� <command>jikes</command> + (<makevar>USE_JIKES</makevar> �������� ����).</entry> </row> </tbody> </tgroup> @@ -4525,7 +6533,6 @@ LDCONFIG_DIRS= %%PREFIX%%/lib/foo %%PREFIX%%/lib/bar</programlisting> <tbody> <row> <entry><makevar>JAVASHAREDIR</makevar></entry> - <entry>�������� ������� ��� �����, ��� ������� � Java. �� ���������: <filename>${PREFIX}/share/java</filename>. </entry> @@ -4533,14 +6540,45 @@ LDCONFIG_DIRS= %%PREFIX%%/lib/foo %%PREFIX%%/lib/bar</programlisting> <row> <entry><makevar>JAVAJARDIR</makevar></entry> - <entry>�������, � ������� ������ ��������������� JAR-�����. �� ���������: <filename>${JAVASHAREDIR}/classes</filename>.</entry> </row> + + <row> + <entry><makevar>JAVALIBDIR</makevar></entry> + <entry>�������, � ������� ��������������� JAR-����� �� + ������ ������. �� ���������: + <filename>${LOCALBASE}/share/java/classes</filename>.</entry> + </row> </tbody> </tgroup> </table> + + <para>��������������� ������ ������������ � ����� ���������� + <makevar>PLIST_SUB</makevar> (������� � <xref + linkend="plist-sub">) � <makevar>SUB_LIST</makevar>.</para> + + </sect2> + + <sect2 id="java-building-with-ant"> + <title>���������� � Ant</title> + + <para>���� ���������� ����� ������������ � �������������� Apache Ant, + �� ���������� ���������� <makevar>USE_ANT</makevar>. ����� ������� + Ant ���������� ����������� make. ���� � ����� �� ���������� ���� + <literal>do-build</literal>, �� ����� ����������� ���� �� ���������, + ������� ������ ��������� Ant � ������������ �� ��������� + <makevar>MAKE_ENV</makevar>, <makevar>MAKE_ARGS</makevar> � + <makevar>ALL_TARGET</makevar>. ��� ������ �� �������� + <makevar>USE_GMAKE</makevar>, ������� ������ � + <xref linkend="building">.</para> + + <para>���� ������ <command>javac</command> ������������ + <command>jikes</command> (�������� <makevar>USE_JIKES</makevar> + � <xref linkend="java-variables">), � ���� ������ Ant + ����������� ��� ��� ���������� ����� �������������.</para> + </sect2> <sect2 id="java-best-practices"> @@ -4556,7 +6594,7 @@ LDCONFIG_DIRS= %%PREFIX%%/lib/foo %%PREFIX%%/lib/bar</programlisting> ��������� ���������� (� ������� <filename>myport.jar</filename> �������� ������ JAR-�����, ���������������� ��� ����� �����):</para> - <programlisting>PLIST_FILES+= ${JAVAJARDIR:S,^${PREFIX}/,,}/myport.jar</programlisting> + <programlisting>PLIST_FILES+= %%JAVAJARDIR%%/myport.jar</programlisting> <para>��� ������������ Java-���������� ���� ������ ������������� �ӣ � ���� ������� (� ��� ����� ��� ���� JAR-�����������). � ���� @@ -4569,8 +6607,8 @@ LDCONFIG_DIRS= %%PREFIX%%/lib/foo %%PREFIX%%/lib/bar</programlisting> <para>��� ����������� �� ���� ������ ����� (���������� ��� ��� ����������), �������������� ������������ ������ ���� ��������������� - <link linkend="dads-documentation">� ���� ����� �����</link>, ��� � - ��� ������ ������. ��������, ��� � ����������� �� ������������ + <link linkend="install-documentation">� ���� ����� �����</link>, ��� + � ��� ������ ������. ��������, ��� � ����������� �� ������������ ������ JDK ������� JavaDoc ���������� ��������� ������ ������. ��� ������, ������� �� ��������� � ������������� ������̣���� ������ JDK, ����� ������� ���������� �������������� ���������� ������ ������ @@ -4588,8 +6626,8 @@ LDCONFIG_DIRS= %%PREFIX%%/lib/foo %%PREFIX%%/lib/bar</programlisting> <makevar>DATADIR</makevar> ��� <filename>${JAVASHAREDIR}/${PORTNAME}</filename>. �� ����� ���� <makevar>DATADIR</makevar> ������������� ����������� � - <makevar>PLIST_SUB</makevar> (��� ������� <link - linkend="porting-plist">�����</link>), ��� ��� �� ������� + <makevar>PLIST_SUB</makevar> (��� ������� � <xref + linkend="plist-sub">), ��� ��� �� ������� ������������ <literal>%%DATADIR%%</literal> ��������������� � <filename>pkg-plist</filename>.</para> @@ -4618,13 +6656,554 @@ LDCONFIG_DIRS= %%PREFIX%%/lib/foo %%PREFIX%%/lib/bar</programlisting> �� ������ �������� ���� Java-����, ��� � ����� ������, � ��������� <literal>ports</literal>, ���� �������� ���� ������ �� ��������� �� � ���������� JDK, �� � <filename>bsd.java.mk</filename>.</para> + + <para>������� ������� ���������� �������� �� ��������� � + <makevar>CATEGORIES</makevar> ����� Java, ������� �������� ������� + � <xref linkend="makefile-categories">.</para> + </sect2> </sect1> + <sect1 id="using-php"> + <title>���-����������, Apache � PHP</title> + + <sect2 id="using-apache"> + <title>Apache</title> + + <table frame="none"> + <title>���������� ��� ������, ������������ Apache</title> + + <tgroup cols="2"> + <tbody> + + <row> + <entry><makevar>USE_APACHE</makevar></entry> + + <entry>���� ������� Apache. ��������� ��������: + <literal>yes</literal> (��ң� ����� ������), + <literal>1.3</literal>, <literal>2.0</literal>, + <literal>2.2</literal>, <literal>2.0+</literal> + � ��� �����. �� ��������� ����������� �� + <literal>1.3</literal>.</entry> + </row> + + <row> + <entry><makevar>WITH_APACHE2</makevar></entry> + + <entry>���� ������� Apache 2.0. ��� ���� ���������� ���� + ����� �������� �� Apache 1.3. ��� ���������� �������� + ���������� � �� ������ ������ ��������������.</entry> + </row> + + <row> + <entry><makevar>APXS</makevar></entry> + + <entry>������ ���� � ������������ ����� <command>apxs</command>. + ����� ���� ������������� � ����� �����.</entry> + </row> + + <row> + <entry><makevar>HTTPD</makevar></entry> + + <entry>������ ���� � ������������ ����� <command>httpd</command>. + ����� ���� ������������� � ����� �����.</entry> + </row> + + <row> + <entry><makevar>APACHE_VERSION</makevar></entry> + + <entry>������ �������������� Apache (���������� ������ ��� + ������). ��� ���������� �������� ������ ����� ����������� + <filename>bsd.port.pre.mk</filename>. ��������� ��������: + <literal>13</literal>, <literal>20</literal>, + <literal>22</literal>.</entry> + </row> + + <row> + <entry><makevar>APACHEMODDIR</makevar></entry> + + <entry>������� ��� ������� Apache. �������� ���������� + ������������� ������������� � pkg-plist.</entry> + </row> + + <row> + <entry><makevar>APACHEINCLUDEDIR</makevar></entry> + + <entry>������� ��� ���������� Apache. �������� ���������� + ������������� ������������� � pkg-plist.</entry> + </row> + + <row> + <entry><makevar>APACHEETCDIR</makevar></entry> + + <entry>������� ��� ���������������� ������ Apache. �������� + ���������� ������������� ������������� � pkg-plist.</entry> + </row> + + </tbody> + </tgroup> + </table> + + <table frame="none"> + <title>������������ ���������� ��� ������������ ������� + Apache</title> + + <tgroup cols="2"> + <tbody> + + <row> + <entry><makevar>MODULENAME</makevar></entry> + + <entry>�������� ������. ��������� �� ��������� �������� + <makevar>PORTNAME</makevar>. ������: + <literal>mod_hello</literal></entry> + </row> + + <row> + <entry><makevar>SHORTMODNAME</makevar></entry> + + <entry>������� �������� ������. ����������� ������������� + �� <makevar>MODULENAME</makevar>, �� ����� ���� + ��������������. ������: <literal>hello</literal></entry> + </row> + + <row> + <entry><makevar>AP_FAST_BUILD</makevar></entry> + + <entry>������������ <command>apxs</command> ��� ���������� + � ��������� ������.</entry> + </row> + + <row> + <entry><makevar>AP_GENPLIST</makevar></entry> + + <entry>����� ������������� ������� + <filename>pkg-plist</filename>.</entry> + </row> + + <row> + <entry><makevar>AP_INC</makevar></entry> + + <entry>��������� ������� � ���� ������ ���������� + �� ����� ����������.</entry> + </row> + + <row> + <entry><makevar>AP_LIB</makevar></entry> + + <entry>��������� ������� � ���� ������ ��������� + �� ����� ����������.</entry> + </row> + + <row> + <entry><makevar>AP_EXTRAS</makevar></entry> + + <entry>�������������� �����, ������������ + <command>apxs</command>.</entry> + </row> + + </tbody> + </tgroup> + </table> + </sect2> + + <sect2 id="web-apps"> + <title>���-����������</title> + + <para>���-���������� ������� ������������� � + <filename><makevar>PREFIX</makevar>/www/<replaceable>appname</replaceable></filename>. + ��� ������ �������� ���� ���� ��������� �������� � + <filename>Makefile</filename> � <filename>pkg-plist</filename> + ��� ���������� <makevar>WWWDIR</makevar>, � ���� ������������ + <makevar>PREFIX</makevar> �������� � <filename>Makefile</filename> + ��� <makevar>WWWDIR_REL</makevar>.</para> + + <para>������������ � ������ �������� ���-������� �������� ��� + <makevar>WWWOWN</makevar> � <makevar>WWWGRP</makevar>, � ������ + ���� ��� ����� �������� ��������� ��� ��������� ������. ��������� + �� ��������� � ��� ���������, � ��� ������ �������� + <literal>www</literal>. ���� �� ������ ������������ � ����� + ����� ������ ��������, �������������� ��� ����� �������� + <literal>WWWOWN?= myuser</literal>, ����� ��������� + ������������ ����� �������������� ��.</para> + + <para>�� ���������� ����������� �� Apache, ���� ���-���������� + ����� ������� �� ��������� � Apache. ����������, ��� ������������ + ����� �������� ��������� ���� ���-���������� �� ������ ���-������� + ������ Apache.</para> + + </sect2> + + <sect2 id="php-variables"> + <title>PHP</title> + + <table frame="none"> + <title>���������� ��� ������, ������������ PHP</title> + + <tgroup cols="2"> + <tbody> + <row> + <entry><makevar>USE_PHP</makevar></entry> + + <entry>���� ������� PHP. �������� <literal>yes</literal> + ��������� ����������� �� PHP. ������ ����� ����� ���� + ������ �������� ��������� ���������� PHP. ������: + <literal>pcre xml gettext</literal></entry> + </row> + + <row> + <entry><makevar>DEFAULT_PHP_VER</makevar></entry> + + <entry>�������� ������� ����� ������, � ������� ����� + ���������� PHP ��� ����������� � ������, ����� PHP ��� + �� ����������. �� ��������� <literal>4</literal>. + ��������� ��������: <literal>4</literal>, + <literal>5</literal></entry> + </row> + + <row> + <entry><makevar>IGNORE_WITH_PHP</makevar></entry> + + <entry>���� �� �������� � PHP ������ ������. ��������� + ��������: <literal>4</literal>, <literal>5</literal></entry> + </row> + + <row> + <entry><makevar>USE_PHPIZE</makevar></entry> + + <entry>���� ����� �������� ��� ���������� PHP.</entry> + </row> + + <row> + <entry><makevar>USE_PHPEXT</makevar></entry> + + <entry>���� ����� ��������� ����������� PHP, ������� ��������� + � ����������� � ������� ����������.</entry> + </row> + + <row> + <entry><makevar>USE_PHP_BUILD</makevar></entry> + + <entry>���������� PHP ��� ����������� ������� ����������.</entry> + </row> + + <row> + <entry><makevar>WANT_PHP_CLI</makevar></entry> + + <entry>����� CLI (��������� ������) ������ PHP.</entry> + </row> + + <row> + <entry><makevar>WANT_PHP_CGI</makevar></entry> + + <entry>����� CGI ������ PHP.</entry> + </row> + + <row> + <entry><makevar>WANT_PHP_MOD</makevar></entry> + + <entry>����� PHP ��� ������ Apache.</entry> + </row> + + <row> + <entry><makevar>WANT_PHP_SCR</makevar></entry> + + <entry>����� CLI ��� CGI ������� PHP.</entry> + </row> + + <row> + <entry><makevar>WANT_PHP_WEB</makevar></entry> + + <entry>����� ������ Apache ��� CGI ������ PHP.</entry> + </row> + </tbody> + </tgroup> + </table> + + </sect2> + + <sect2> + <title>������ PEAR</title> + + <para>������������ ������� PEAR �������� ����� ������� + ���������.</para> + + <para>����������� ���������� <makevar>FILES</makevar>, + <makevar>TESTS</makevar>, <makevar>DATA</makevar>, + <makevar>SQLS</makevar>, <makevar>SCRIPTFILES</makevar>, + <makevar>DOCS</makevar> and <makevar>EXAMPLES</makevar> ��� + ������������ ������, ������� �� ������ ����������. ��� + ������������� ����� ����� ������������� ����������� � ���������� + ����� � ��������� � <filename>pkg-plist</filename>.</para> + + <para>���������� + <filename>${PORTSDIR}/devel/pear/bsd.pear.mk</filename> + �� ��������� ������ <filename>Makefile</filename>.</para> + + <example id="pear-makefile"> + <title>������ Makefile ��� ������� PEAR</title> + <programlisting>PORTNAME= Date +PORTVERSION= 1.4.3 +CATEGORIES= devel www pear + +MAINTAINER= example@domain.com +COMMENT= PEAR Date and Time Zone Classes + +BUILD_DEPENDS= ${PEARDIR}/PEAR.php:${PORTSDIR}/devel/pear-PEAR +RUN_DEPENDS= ${BUILD_DEPENDS} + +FILES= Date.php Date/Calc.php Date/Human.php Date/Span.php \ + Date/TimeZone.php +TESTS= test_calc.php test_date_methods_span.php testunit.php \ + testunit_date.php testunit_date_span.php wknotest.txt \ + bug674.php bug727_1.php bug727_2.php bug727_3.php \ + bug727_4.php bug967.php weeksinmonth_4_monday.txt \ + weeksinmonth_4_sunday.txt weeksinmonth_rdm_monday.txt \ + weeksinmonth_rdm_sunday.txt +DOCS= TODO +_DOCSDIR= . + +.include <bsd.port.pre.mk> +.include "${PORTSDIR}/devel/pear/bsd.pear.mk" +.include <bsd.port.post.mk></programlisting> + + </example> + + </sect2> + + </sect1> + <sect1 id="using-python"> <title>������������� Python</title> - <para>���� ������ �ݣ ��������� ��������.</para> + <para>��������� ������ ������������ ������������ ��������� ��������� + ������ Python. ������� ���������, ��� � ������ ������������ + ���������� ������������� <command>python</command> � ������������ + � ���������� <makevar>PYTHON_VERSION</makevar>, ������������� + �������������. �� ������� ����� ��� �������� ������ ���� � + ������������ ����� <command>python</command> � ��������� �� + �������� ���������� <makevar>PYTHON_CMD</makevar>.</para> + + <para>�����, ��������������� ����� ��� ������� + <makevar>PYTHON_SITELIBDIR</makevar>, ������ ������������ ������� + ���� <literal>pyXY-</literal>, ����� ������� �������� ������� ����� + �������� � ���� ������ Python, � ������� ��� �����������.</para> + + <programlisting>PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}</programlisting> + + <table frame="none"> + <title>���������� ��� ������, ������� ���������� Python</title> + + <tgroup cols="2"> + <tbody> + <row> + <entry><makevar>USE_PYTHON</makevar></entry> + + <entry>��� ����� ����� ����� Python. ����������� ��������� + ������ ����� ���� ������� � ����� ��������� ��� + <literal>2.3+</literal>. ����� ����� ������ �������� + ������ � ����������� ���� ������ ����� ‐, ��������: + <literal>2.1-2.3</literal></entry> + </row> + + <row> + <entry><makevar>USE_PYDISTUTILS</makevar></entry> + + <entry>������������ �������������� ������� (distutils) Python + ��� ������������, ���������� � ���������. ����������, ���� + ���� ���������� <filename>setup.py</filename>. + �������������� ���� <maketarget>do-build</maketarget> � + <maketarget>do-install</maketarget> � ����� ����� + �������������� <maketarget>do-configure</maketarget>, ���� + �� ���������� <makevar>GNU_CONFIGURE</makevar>.</entry> + </row> + + <row> + <entry><makevar>PYTHON_PKGNAMEPREFIX</makevar></entry> + + <entry>������������ ��� <makevar>PKGNAMEPREFIX</makevar> ��� + ������� �������, ������������ ������ ������ Python. ������: + <literal>py24-</literal></entry> + </row> + + <row> + <entry><makevar>PYTHON_SITELIBDIR</makevar></entry> + + <entry>��������������� ������ site-packages, ������� �������� + ���� ��������� Python (������, <makevar>LOCALBASE</makevar>). + ���������� <makevar>PYTHON_SITELIBDIR</makevar> ����� ���� + ����� �������� ��� ��������� ������� Python.</entry> + </row> + + <row> + <entry><makevar>PYTHONPREFIX_SITELIBDIR</makevar></entry> + + <entry>������� PYTHON_SITELIBDIR ��� PREFIX. + �� ����������� ������ ����������� + <literal>%%PYTHON_SITELIBDIR%%</literal> � + <filename>pkg-plist</filename>. ��������� �� ��������� ��� + <literal>%%PYTHON_SITELIBDIR%%</literal> �������� + <literal>lib/python%%PYTHON_VERSION%%/site-packages</literal> + </entry> + </row> + + <row> + <entry><makevar>PYTHON_CMD</makevar></entry> + + <entry>��������� ������ �������������� Python, ������� ����� + ������.</entry> + </row> + + <row> + <entry><makevar>PYNUMERIC</makevar></entry> + + <entry>������ ����������� ��� ���������� numeric.</entry> + </row> + + <row> + <entry><makevar>PYNUMPY</makevar></entry> + <entry>������ ����������� ��� ������ ���������� numeric, + numpy (PYNUMERIC �������� ���������� ����������� + ��������������).</entry> + </row> + + <row> + <entry><makevar>PYXML</makevar></entry> + + <entry>������ ����������� ��� ���������� XML (�� ����� ��� + Python 2.0 � ����, �.�. �������� � �������� �����������). + </entry> + </row> + + <row> + <entry><makevar>USE_TWISTED</makevar></entry> + + <entry>�������� ����������� �� twistedCore. �������� ��������� + ����������� ����� ���� ������ ��� �������� ���� ����������. + ������: <literal>web lore pair flow</literal></entry> + </row> + + <row> + <entry><makevar>USE_ZOPE</makevar></entry> + + <entry>�������� ����������� �� Zope, ��������� ��� ����������. + �������� ����������� �� Python �� Python 2.3. ���������� + <makevar>ZOPEBASEDIR</makevar> �������� ���������� � + ������������� Zope.</entry> + </row> + + </tbody> + </tgroup> + </table> + + <para>������ �������� ��������� ���������� ����� ����� � + <filename>/usr/ports/Mk/bsd.python.mk</filename>.</para> + + </sect1> + + <sect1 id="using-tcl"> + <title>������������� <application>Tcl/Tk</application></title> + + <para>� ��������� ������ �������������� ������������� ��������� + ������������� ������ <application>Tcl/Tk</application>. ����� + ������ �������� ������������ �� ������� ���� ������ + <application>Tcl/Tk</application>, ������������ �� ���������, � + ���� � ������� ���������� <makevar>USE_TCL</makevar> � + <makevar>USE_TK</makevar>. �������� ������ <command>tcl</command> + ����� ������� � ���������� <makevar>WITH_TCL_VER</makevar>.</para> + + <table frame="none"> + <title>�������� �������������� ���������� ��� ������, ������� + ���������� <application>Tcl/Tk</application></title> + + <tgroup cols="2"> + <tbody> + <row> + <entry><makevar>USE_TCL</makevar></entry> + + <entry>���� ������� �� ���������� + <application>Tcl</application> (�� ��������). + ����������� ��������� ������ ����� ������� � �������������� + ����� ��������, ��� 84+. ��������� ���������������� ������ + ����������� � ���������� + <makevar>INVALID_TCL_VER</makevar>.</entry> + </row> + + <row> + <entry><makevar>USE_TCL_BUILD</makevar></entry> + + <entry><application>Tcl</application> ����� ��� ����� ������ + �� ����� ������.</entry> + </row> + + <row> + <entry><makevar>USE_TCL_WRAPPER</makevar></entry> + + <entry>��� ����� ���������� ������� ������������ ��� ������, + ��� ������� ��������� �������� <application>Tcl</application> + � �� ��������� ���������� ������ <literal>tclsh</literal>. + ������� <literal>tclsh</literal> ��������������� � �������. + ������������ ����� ������� �������� �������� + <command>tcl</command> ��� �������������.</entry> + </row> + + <row> + <entry><makevar>WITH_TCL_VER</makevar></entry> + + <entry>������������ ������������� ����������, ������� + ������������� �������� ������ + <application>Tcl</application>.</entry> + </row> + + <row> + <entry><makevar><replaceable>UNIQUENAME</replaceable>_WITH_TCL_VER</makevar></entry> + + <entry>������� <makevar>WITH_TCL_VER</makevar>, �� ��� + ������� �����.</entry> + </row> + + <row> + <entry><makevar>USE_TCL_THREADS</makevar></entry> + + <entry>������� ������������� ������ + <application>Tcl/Tk</application>.</entry> + </row> + + <row> + <entry><makevar>USE_TK</makevar></entry> + + <entry>���� ������� �� ���������� <application>Tk</application> + (�� �� �������������� ��������). ������������� + <makevar>USE_TCL</makevar> � ��� �� ���������. ��� + ������� ���������� �������� �������� ���������� + <makevar>USE_TCL</makevar>.</entry> + </row> + + <row> + <entry><makevar>USE_TK_BUILD</makevar></entry> + + <entry>���������� <makevar>USE_TCL_BUILD</makevar>.</entry> + </row> + + <row> + <entry><makevar>USE_TK_WRAPPER</makevar></entry> + + <entry>���������� <makevar>USE_TCL_WRAPPER</makevar>.</entry> + </row> + + <row> + <entry><makevar>WITH_TK_VER</makevar></entry> + + <entry>���������� <makevar>WITH_TCL_VER</makevar>, + ������������� <makevar>WITH_TCL_VER</makevar> ��� �� + ������.</entry> + </row> + </tbody> + </tgroup> + </table> + + <para>������ �������� ��������� ���������� ��������� � + <filename>/usr/ports/Mk/bsd.tcl.mk</filename>.</para> </sect1> <sect1 id="using-emacs"> @@ -4636,7 +7215,125 @@ LDCONFIG_DIRS= %%PREFIX%%/lib/foo %%PREFIX%%/lib/bar</programlisting> <sect1 id="using-ruby"> <title>������������� Ruby</title> - <para>���� ������ �ݣ ��������� ��������.</para> + <table frame="none"> + <title>�������� ���������� ��� ������, ������������ Ruby</title> + + <tgroup cols="2"> + <thead> + <row> + <entry>����������</entry> + <entry>��������</entry> + </row> + </thead> + <tbody> + <row> + <entry><makevar>USE_RUBY</makevar></entry> + + <entry>���� ������� Ruby.</entry> + </row> + + <row> + <entry><makevar>USE_RUBY_EXTCONF</makevar></entry> + + <entry>���� ���������� ��� ������������ + <filename>extconf.rb</filename>.</entry> + </row> + + <row> + <entry><makevar>USE_RUBY_SETUP</makevar></entry> + + <entry>���� ���������� ��� ������������ + <filename>setup.rb</filename>.</entry> + </row> + + <row> + <entry><makevar>RUBY_SETUP</makevar></entry> + + <entry>������������� �������������� ��� ��� + <filename>setup.rb</filename>. ���������������� ��������� + �������� <filename>install.rb</filename>.</entry> + </row> + + </tbody> + </tgroup> + </table> + + <para>��������� ������� �������� ��������� ����������, ��������� + ������� ������ ����� �������������� ������. ��� ���������� ������ + �������������� ��� ��������� ������ � ���������� �����������������. + ����������� �� � <filename>pkg-plist</filename> ��� ����� ������. + ��� ���������� �� ������ ���������������� � ����� �����.</para> + + <table frame="none"> + <title>���������� ���������� ������ ��� ������ ��� ������, + ������������ Ruby</title> + + <tgroup cols="3"> + <thead> + <row> + <entry>����������</entry> + <entry>��������</entry> + <entry>��������� ��������</entry> + </row> + </thead> + <tbody> + + <row> + <entry><makevar>RUBY_PKGNAMEPREFIX</makevar></entry> + + <entry>������������ ��� <makevar>PKGNAMEPREFIX</makevar> + ��� �������� ������� �� ������ ������ Ruby.</entry> + + <entry><literal>ruby18-</literal></entry> + </row> + + <row> + <entry><makevar>RUBY_VERSION</makevar></entry> + + <entry>������ ������ Ruby � ����� <literal>x.y.z</literal>.</entry> + + <entry><literal>1.8.2</literal></entry> + </row> + + <row> + <entry><makevar>RUBY_SITELIBDIR</makevar></entry> + + <entry>���� ��� ��������� ���������������������� ���������.</entry> + + <entry><literal>/usr/local/lib/ruby/site_ruby/1.8</literal></entry> + </row> + + <row> + <entry><makevar>RUBY_SITEARCHLIBDIR</makevar></entry> + + <entry>���� ��� ��������� �������������������� ���������.</entry> + + <entry><literal>/usr/local/lib/ruby/site_ruby/1.8/amd64-freebsd6</literal></entry> + </row> + + <row> + <entry><makevar>RUBY_MODDOCDIR</makevar></entry> + + <entry>���� ��� ��������� ������������ ������.</entry> + + <entry><literal>/usr/local/share/doc/ruby18/patsy</literal></entry> + </row> + + <row> + <entry><makevar>RUBY_MODEXAMPLESDIR</makevar></entry> + + <entry>���� ��� ��������� �������� ������.</entry> + + <entry><literal>/usr/local/share/examples/ruby18/patsy</literal></entry> + </row> + + </tbody> + </tgroup> + </table> + + <para>������ �������� ��������� ���������� ��������� � + <filename>/usr/ports/Mk/bsd.ruby.mk</filename>.</para> + </sect1> <sect1 id="using-sdl"> @@ -4704,7 +7401,7 @@ LDCONFIG_DIRS= %%PREFIX%%/lib/foo %%PREFIX%%/lib/bar</programlisting> <filename role="package">audio/sdl_mixer</filename>, �� ������ ����� ���������:</para> - <programlisting>USE_SDL= net mixer</programlisting> + <programlisting>USE_SDL= net mixer</programlisting> <para>����������� �� ����� <filename role="package">devel/sdl12</filename>, ������� ��������� ��� <filename @@ -4746,464 +7443,1897 @@ USE_SDL+= mixer .include <bsd.port.post.mk></programlisting> </sect1> - </chapter> -<!-- + <sect1 id="using-wx"> + <title>������������� <application>wxWidgets</application></title> - <chapter> - <title>��������� ELF</title> + <para>��� ����� ��������� ������ ��������� + <application>wxWidgets</application> � ������ ������ � �� ���������� + � �������� ������.</para> - <para>��� ��� ������ ����� ������ 3.0-RELEASE �� FreeBSD �������� ������ - ���������� ������ �� ������ ELF, �� �� ������ �� ��������� - ������, ������� ������ ��������� ������������ ����������, ���������� - ��������� ����� �������. ��� ������ ��������� ��� ����, ��� 3.0 ����� - �������� ��� � ������� ELF, ��� � a.out, � � ���� �� �� ����� - ������������ ������������ ����� 2.2, ��������� ��� �������� �����. - ���� ������ �������� �� �������������� ������, �������������� ������ - a.aout, ��� ���������� ��� � ������� a.aout, ��� � ELF.</para> + <sect2 id="wx-introduction"> + <title>��������</title> - <para>��������� ����� ���� �������� �������� ������ �� ����� - ��������������, �� ���� ��� ����� ��� ������� � ������, ���� �� ������ - �������� �� ������� �������, ������� ����� ����������.</para> + <para>���������� ��������� ������ ��������� + <application>wxWidgets</application>, ������������� ����� ����� + (������������� ����� ��� ��� �� ������). � ������ ������ ��� + �������� ������ ����� ��������� ������ ������ ��� ����������� + ��������� � �������������� ������ ������ � �������� + ��������.</para> - <sect1> - <title>���������� �� ��������� � ������� a.out</title> + <para>��������� ����������� ����� �������� ������������� ��������� + ������� ���������� ��� ���������� ������� ������. � �������, + ����������� ���������� ��� ����������� ������� ����������� � ������ + ���������� �������� �������� <command>wx-config</command>. ��� + ������ ��������� ������ ���� �������� ����� ��ϣ ���. ����������� + ���������� ��������� ���������� ��������� ��� ��������� + �������� configure ��� ��������, ����� �������� + <command>wx-config</command> ������� ��������. �� ��� ��������� + ���������� ����������� ����.</para> + </sect2> - <para>��� ���������� � ������� a.out �� �������� - <filename>/usr/local/lib</filename> � ������ ������� ��������� ������ - ���� ������ � ���������� <filename>aout</filename>. (���� �� �� �� - ����������, �� ����� � ������� ELF ����� �������������� ���������� - � ������� a.out.) ���� <maketarget>move-aout-libs</maketarget> � - <filename>src/Makefile</filename> �� 3.0-CURRENT (������� ���������� - �� <maketarget>aout-to-elf</maketarget>) ������� ��� �� ���. ��� - ���������� ������ ���������� � ������� a.out, ��� ��� ��� ����� - ��� ������ ������� �� ������� � ������������ � �������� ELF � a.out, - ������������ � ����������� ���������.</para> + <sect2 id="wx-version"> + <title>����� ������</title> + + <para>��� ����, ����� ��������� ��� ���� ������������ ���������� + ������ <application>wxWidgets</application>, ���������� ��� + ��������� ��� ����������� ���������� (���� ���������� ������ ����, + �� ������ ������ �������� �� ���������):</para> + + <table id="wx-ver-sel-table" frame="none"> + <title>���������� ��� ������ ������ + <application>wxWidgets</application></title> + + <tgroup cols="3"> + <thead> + <row> + <entry>����������</entry> + + <entry>��������</entry> + + <entry>�������� �� ���������</entry> + </row> + </thead> + + <tbody> + <row> + <entry><makevar>USE_WX</makevar></entry> + + <entry>�������� ������, ������� ���� ����� ������������</entry> + + <entry>��� ��������� ������</entry> + </row> + + <row> + <entry><makevar>USE_WX_NOT</makevar></entry> + + <entry>�������� ������, ������� ���� �� ����� ������������</entry> + + <entry>���</entry> + </row> + </tbody> + </tgroup> + </table> + + <para>�������� ��������� ������ <application>wxWidgets</application> + � ��������������� �� ������ � ������:</para> + + <table frame="none"> + <title>��������� ������ <application>wxWidgets</application></title> + + <tgroup cols="2"> + <thead> + <row> + <entry>������</entry> + + <entry>����</entry> + </row> + </thead> + + <tbody> + <row> + <entry><literal>2.4</literal></entry> + + <entry><filename + role="package">x11-toolkits/wxgtk24</filename></entry> + </row> + + <row> + <entry><literal>2.6</literal></entry> + + <entry><filename + role="package">x11-toolkits/wxgtk26</filename></entry> + </row> + + <row> + <entry><literal>2.8</literal></entry> + + <entry><filename + role="package">x11-toolkits/wxgtk28</filename></entry> + </row> + </tbody> + </tgroup> + </table> + + <note> + <para>������ ������� � <literal>2.5</literal> ����� ������������ + � Unicode � ��������������� ����������� ������ � ��������� ��� + ��� � ��������, �� � ��������� <literal>-unicode</literal>, �� + ���� ����� ��������� ��� ������ ���������� (�������� <xref + linkend="wx-unicode">).</para> + </note> + + <para>���������� � <xref linkend="wx-ver-sel-table"> ����� ���������� + � ���� ��� ����� ��������� ����������, ����������� ���������:</para> + + <table frame="none"> + <title>����������� ������ ��� + <application>wxWidgets</application></title> + + <tgroup cols="2"> + <thead> + <row> + <entry>��������</entry> + + <entry>������</entry> + </row> + </thead> + + <tbody> + <row> + <entry>��������� ������</entry> + + <entry><literal>2.4</literal></entry> + </row> + + <row> + <entry>���������� ��������</entry> + + <entry><literal>2.4+</literal></entry> + </row> + + <row> + <entry>���������� ��������</entry> + + <entry><literal>2.6-</literal></entry> + </row> + + <row> + <entry>������ �������� (������ ���� ����������)</entry> + + <entry><literal>2.4-2.6</literal></entry> + </row> + </tbody> + </tgroup> + </table> + + <para>����� ����, ���������� ��������� ���������� ��� ������ + �������������� ������ �� ������� ���������. ��� ����� ���� + ����������� � ��������� ������, ������ �� ������� ����� ����� + ���������� ���������.</para> + + <table frame="none"> + <title>���������� ��� ������ �������������� ������ + <application>wxWidgets</application></title> + + <tgroup cols="2"> + <thead> + <row> + <entry>��������</entry> + + <entry>��������������</entry> + </row> + </thead> + + <tbody> + <row> + <entry><makevar>WANT_WX_VER</makevar></entry> + + <entry>����</entry> + </row> + + <row> + <entry><makevar>WITH_WX_VER</makevar></entry> + + <entry>������������</entry> + </row> + </tbody> + </tgroup> + </table> + </sect2> + + <sect2 id="wx-components"> + <title>����� �����������</title> + + <para>���������� ������ ����������, �������, ���� � �� �������� + ������������ <application>wxWidgets</application>, �� � ���� ����� + ��������� � ���. ��� ���������� ����� ������� � ���������� + <makevar>WX_COMPS</makevar>. �������� ��������� ����������:</para> + + <table frame="none"> + <title>��������� ���������� <application>wxWidgets</application></title> + + <tgroup cols="3"> + <thead> + <row> + <entry>��������</entry> + + <entry>��������</entry> + + + <entry>����������� ������</entry> + </row> + </thead> + + <tbody> + <row> + <entry><literal>wx</literal></entry> + + <entry>�������� ����������</entry> + + <entry>���</entry> + </row> + + <row> + <entry><literal>contrib</literal></entry> + + <entry>��������� ����������</entry> + + <entry><literal>���</literal></entry> + </row> + + <row> + <entry><literal>python</literal></entry> + + <entry><application>wxPython</application> + (�������� � <application>Python</application>)</entry> + + <entry><literal>2.4-2.6</literal></entry> + </row> + + <row> + <entry><literal>mozilla</literal></entry> + + <entry><application>wxMozilla</application></entry> + + <entry><literal>2.4</literal></entry> + </row> + <row> + <entry><literal>svg</literal></entry> + + <entry><application>wxSVG</application></entry> + + <entry><literal>2.6</literal></entry> + </row> + </tbody> + </tgroup> + </table> + + <para>��� ����������� ����������� ��� ������ ������� ���������� + ����� ���� ������ ������� ����� ���������� ��������, ����������� + ������ � �������. ���� ������� �����������, �� ����� ������������ + �������� �� ��������� (�������� <xref linkend="wx-def-dep-types">). + ��������� ���� �����������:</para> + + <table frame="none"> + <title>��������� ���� ����������� + <application>wxWidgets</application></title> + + <tgroup cols="2"> + <thead> + <row> + <entry>��������</entry> + + <entry>��������</entry> + </row> + </thead> + + <tbody> + <row> + <entry><literal>build</literal></entry> + + <entry>��������� ��������� ��� ����������, ������������ + <makevar>BUILD_DEPENDS</makevar></entry> + </row> + + <row> + <entry><literal>run</literal></entry> + + <entry>��������� ��������� ��� �������, ������������ + <makevar>RUN_DEPENDS</makevar></entry> + </row> + + <row> + <entry><literal>lib</literal></entry> + + <entry>��������� ��������� ��� ���������� � �������, + ������������ <makevar>LIB_DEPENDS</makevar></entry> + </row> + </tbody> + </tgroup> + </table> + + <para>�������� �� ��������� ��� ����������� �������� ��������������� + � ��������� �������:</para> + + <table id="wx-def-dep-types" frame="none"> + <title>���� ����������� <application>wxWidgets</application>, + ������������ �� ���������</title> + + <tgroup cols="2"> + <thead> + <row> + <entry>���������</entry> + + <entry>��� �����������</entry> + </row> + </thead> + + <tbody> + <row> + <entry><literal>wx</literal></entry> + + <entry><literal>lib</literal></entry> + </row> + + <row> + <entry><literal>contrib</literal></entry> + + <entry><literal>lib</literal></entry> + </row> + + <row> + <entry><literal>python</literal></entry> + + <entry><literal>run</literal></entry> + </row> + + <row> + <entry><literal>mozilla</literal></entry> + + <entry><literal>lib</literal></entry> + </row> + + <row> + <entry><literal>svg</literal></entry> + + <entry><literal>lib</literal></entry> + </row> + </tbody> + </tgroup> + </table> + + <example id="wx-components-example"> + <title>����� ����������� + <application>wxWidgets</application></title> + + <para>��������� �������� ��������� � �����, � ������� ������������ + <application>wxWidgets</application> ������ 2.4 � ��� ���������� + ������������.</para> + + <programlisting>USE_WX= 2.4 +WX_COMPS= wx contrib</programlisting> + </example> + </sect2> + <sect2 id="wx-unicode"> + <title>Unicode</title> + + <para>���������� <application>wxWidgets</application> ������������ + Unicode ������� � ������ <literal>2.5</literal>. � ������ ������ + �������� ��� ������ � ����� ���� ������� � �������������� + ��������� ����������:</para> + + <table id="wx-unicode-var-table" frame="none"> + <title>���������� ��� ������ ������ + <application>wxWidgets</application> � Unicode</title> + + <tgroup cols="3"> + <thead> + <row> + <entry>����������</entry> + + <entry>��������</entry> + + <entry>��������������</entry> + </row> + </thead> + + <tbody> + <row> + <entry><makevar>WX_UNICODE</makevar></entry> + + <entry>���� �������� <emphasis>������</emphasis> � ������� + Unicode</entry> + + <entry>����</entry> + </row> + + <row> + <entry><makevar>WANT_UNICODE</makevar></entry> + + <entry>���� �������� � ������ ��������, �� ������������ + ������ � Unicode</entry> + + <entry>����</entry> + </row> + <row> + <entry><makevar>WITH_UNICODE</makevar></entry> + + <entry>���� ����� ������������ ������ Unicode</entry> + + <entry>������������</entry> + </row> + <row> + <entry><makevar>WITHOUT_UNICODE</makevar></entry> + + <entry>���� ����� ������������ ������� ������, ���� ��� + �������������� (����� <makevar>WX_UNICODE</makevar> + �� ����������)</entry> + + <entry>������������</entry> + </row> + </tbody> + </tgroup> + </table> + + <warning> + <para>�� ����������� <makevar>WX_UNICODE</makevar> ��� ������, + ������� ����� ������������ ��� ������. ���� �� ������, ����� + ���� �� ��������� ����������� Unicode, ���������� ������ ����� + <makevar>WANT_UNICODE</makevar>.</para> + </warning> + </sect2> + + <sect2 id="wx-version-detection"> + <title>����������� ������������� ������</title> + + <para>��� ����������� ������������� ������ ��� ���������� ������ + ���������� <makevar>WANT_WX</makevar>. ���� �� �� ��������� �� + ������������ ������, �� ���������� ������� ������� ������. + ���������� <makevar>HAVE_WX</makevar> ����� ��������� ����� + �����������.</para> + + <example id="wx-ver-det-example"> + <title>����������� ������������� ������ � ����������� + <application>wxWidgets</application></title> + + <para>��������� �������� ����� ���� ����������� � �����, ������� + ���������� <application>wxWidgets</application>, � ������ ���� + �� ���������� ��� ������ ��������������� ��������.</para> + + <programlisting>WANT_WX= yes + +.include <bsd.port.pre.mk> + +.if defined(WITH_WX) || ${HAVE_WX:Mwx-2.4} != "" +USE_WX= 2.4 +CONFIGURE_ARGS+=--enable-wx +.endif</programlisting> + + <para>��������� �������� ����� ���� ����������� � �����, ������� + ����������� ��������� <application>wxPython</application>, + � ������ ���� �� ���������� ��� ������ ��������������� ��������, + � ���������� � <application>wxWidgets</application>, ��� ������ + <literal>2.6</literal>.</para> + + <programlisting>USE_WX= 2.6 +WX_COMPS= wx +WANT_WX= 2.6 + +.include <bsd.port.pre.mk> + +.if defined(WITH_WXPYTHON) || ${HAVE_WX:Mpython} != "" +WX_COMPS+= python +CONFIGURE_ARGS+=--enable-wxpython +.endif</programlisting> + </example> + </sect2> + + <sect2 id="wx-defined-variables"> + <title>���������� ��� �����������</title> + + <para>��������� ���������� �������� � ����� (����� ����������� ����� + �� ���������� �� <xref linkend="wx-ver-sel-table">).</para> + + <table frame="none"> + <title>����������, ������������ ��� ������, ������������ + <application>wxWidgets</application></title> + + <tgroup cols="2"> + <thead> + <row> + <entry>��������</entry> + + <entry>��������</entry> + </row> + </thead> + + <tbody> + <row> + <entry><makevar>WX_CONFIG</makevar></entry> + + <entry>���� � �������� <application>wxWidgets</application> + <command>wx-config</command> (� ������ ������)</entry> + </row> + + <row> + <entry><makevar>WXRC_CMD</makevar></entry> + + <entry>���� � ��������� <application>wxWidgets</application> + <command>wxrc</command> (� ������ ������)</entry> + </row> + + <row> + <entry><makevar>WX_VERSION</makevar></entry> + + <entry>������ <application>wxWidgets</application>, ������� + ����� �������������� (��������, + <literal>2.6</literal>)</entry> + </row> + + <row> + <entry><makevar>WX_UNICODE</makevar></entry> + + <entry>���� �� ����������, �� Unicode ����� ��������������, + �� ��� ����� ����������</entry> + </row> + </tbody> + </tgroup> + </table> + </sect2> + + <sect2 id="wx-premk"> + <title>��������� � <filename>bsd.port.pre.mk</filename></title> + + <para>���� ��� ����� ������������ ���������� ��� ������� ������ + ����� ����� ����������� <filename>bsd.port.pre.mk</filename>, �� + ��� ����� ���������� <makevar>WX_PREMK</makevar>.</para> + + <important> + <para>���� �� ���������� <makevar>WX_PREMK</makevar>, �� ������, + �����������, ���������� � �������� ���������� �� ����������, � + ������ �� �������� ���������� ����� + <application>wxWidgets</application> <emphasis>�����</emphasis> + ����������� <filename>bsd.port.pre.mk</filename>.</para> + </important> + + <example id="wx-premk-example"> + <title>������������� ���������� <application>wxWidgets</application> + � ��������</title> + + <para>��������� �������� ������������ ������������� ���������� + <makevar>WX_PREMK</makevar> ����������� ������� �������� + <command>wx-config</command> ��� ��������� ������ � ������ ������� + � ����������� �� ���������� � ��������� � ���������.</para> + + <programlisting>USE_WX= 2.4 +WX_PREMK= yes + +.include <bsd.port.pre.mk> + +.if exists(${WX_CONFIG}) +VER_STR!= ${WX_CONFIG} --release + +PLIST_SUB+= VERSION="${VER_STR}" +.endif</programlisting> + </example> + + <note> + <para>���������� <application>wxWidgets</application> ����� + ��������� ������������ � �������� ������ ����� ��� ������������� + � ������������� <makevar>WX_PREMK</makevar>.</para> + </note> + </sect2> + + <sect2 id="wx-additional-config-args"> + <title>�������������� ��������� <command>configure</command></title> + + <para>��������� �������� GNU <command>configure</command> �� ����� + ����� <application>wxWidgets</application> ������ � ������������� + ���������� ��������� <literal>WX_CONFIG</literal>, ������ + �������������� ���������. ��� �� �������� ����� ������������ + ���������� <makevar>WX_CONF_ARGS</makevar>.</para> + + <table frame="none"> + <title>���������� �������� <makevar>WX_CONF_ARGS</makevar></title> + + <tgroup cols="2"> + <thead> + <row> + <entry>��������� ��������</entry> + + <entry>���������� ��������</entry> + </row> + </thead> + + <tbody> + <row> + <entry><literal>absolute</literal></entry> + + <entry><literal>--with-wx-config=${WX_CONFIG}</literal></entry> + </row> + + <row> + <entry><literal>relative</literal></entry> + + <entry><literal>--with-wx=${LOCALBASE} + --with-wx-config=${WX_CONFIG:T}</literal></entry> + </row> + </tbody> + </tgroup> + </table> + </sect2> </sect1> - <sect1> - <title>������</title> + <sect1 id="using-lua"> + <title>������������� <application>Lua</application></title> - <para>������ � ������ ������ ����� ��������� � ��� �������, � ������� - �������� ������. ��� �������� ������ a.out ��� 2.2 � a.out ��� ELF - ��� 3.0 � ����������� �� ���������� ������ ������� - <command>`objformat`</command>. ����� ����, ��� ������ ������������ - ���������� ���������� ������� a.out � ��������������� ����������, - ���������� ��������� � ������� a.out �������������� �� �����. - (������� �������, ��� ����� ���������� ��������, ���� �� ������, ��� - ��� ��������, �� �������� ��� � ���� ����� �� �����.)</para> + <para>��� ����� ��������� ������ ��������� <application>Lua</application> + � ������ ������ � �� ���������� � ������� ������.</para> + + <sect2 id="lua-introduction"> + <title>��������</title> + + <para>���������� ��������� ������ ��������� + <application>Lua</application> � ��������������� ���������������, + ������������� ����� ����� (������������� ����� ��� ��� �� ������). + � ������ ������ ��� �������� ������ ����� ��������� ������ ������ + � ����������� ����� � �������������� ������ ������ � �������� + ��������.</para> + + <para>��������� ����������� ����� �������� ������������� ��������� + ������� ���������� ��� ���������� ������� ������. �� ��� �������� + ����������� ��������� �������������� ������ ��� ����������� � + ������������.</para> + </sect2> + + <sect2 id="lua-version"> + <title>����� ������</title> + + <para>��� ����, ����� ��������� ��� ���� ������������ ���������� + ������ <application>Lua</application>, ���������� ��� ��������� + ��� ����������� ���������� (���� ���������� ������ ����, �� + ������ ������ �������� �� ���������):</para> + + <table id="lua-ver-sel-table" frame="none"> + <title>���������� ��� ������ ������ + <application>Lua</application></title> + + <tgroup cols="3"> + <thead> + <row> + <entry>����������</entry> + + <entry>��������</entry> + + <entry>�������� �� ���������</entry> + </row> + </thead> + + <tbody> + <row> + <entry><makevar>USE_LUA</makevar></entry> + + <entry>�������� ������, ������� ���� ����� ������������</entry> + + <entry>��� ��������� ������</entry> + </row> + + <row> + <entry><makevar>USE_LUA_NOT</makevar></entry> + + <entry>�������� ������, ������� ���� �� ����� + ������������</entry> + + <entry>�����</entry> + </row> + </tbody> + </tgroup> + </table> + + <para>�������� ��������� ������ <application>Lua</application> � + ��������������� ������ � ������:</para> + + <table frame="none"> + <title>��������� ������ <application>Lua</application></title> + + <tgroup cols="2"> + <thead> + <row> + <entry>������</entry> + + <entry>����</entry> + </row> + </thead> + + <tbody> + <row> + <entry><literal>4.0</literal></entry> + + <entry><filename role="package">lang/lua4</filename></entry> + </row> + + <row> + <entry><literal>5.0</literal></entry> + + <entry><filename role="package">lang/lua50</filename></entry> + </row> + + <row> + <entry><literal>5.1</literal></entry> + + <entry><filename role="package">lang/lua</filename></entry> + </row> + </tbody> + </tgroup> + </table> + + <para>���������� �� <xref linkend="lua-ver-sel-table"> ����� ����� + ���������� �� ������ ��� ���������� ��������, ����������� + ��������:</para> + + <table frame="none"> + <title>����������� ������ <application>Lua</application></title> + + <tgroup cols="2"> + <thead> + <row> + <entry>��������</entry> + + <entry>������</entry> + </row> + </thead> + + <tbody> + <row> + <entry>��������� ������</entry> + + <entry><literal>4.0</literal></entry> + </row> + + <row> + <entry>���������� ��������</entry> + + <entry><literal>5.0+</literal></entry> + </row> + + + <row> + <entry>���������� ��������</entry> + + <entry><literal>5.0-</literal></entry> + </row> + + <row> + <entry>������ �������� (������ ���� ����������)</entry> + + <entry><literal>5.0-5.1</literal></entry> + </row> + </tbody> + </tgroup> + </table> + + <para>����� ����, ���������� ��������� ���������� ��� ������ + �������������� ������ �� ������� ���������. ��� ����� ���� + ����������� � ��������� ������, ������ �� ������� ����� ����� + ���������� ���������.</para> + + <table frame="none"> + <title>���������� ��� ������ �������������� ������ + <application>Lua</application></title> + + <tgroup cols="2"> + <thead> + <row> + <entry>��������</entry> + + <entry>��������������</entry> + </row> + </thead> + + <tbody> + <row> + <entry><makevar>WANT_LUA_VER</makevar></entry> + + <entry>����</entry> + </row> + + <row> + <entry><makevar>WITH_LUA_VER</makevar></entry> + + <entry>������������</entry> + </row> + </tbody> + </tgroup> + </table> + + <example id="lua-version-example"> + <title>����� ������ <application>Lua</application></title> + + <para>��������� �������� ���� �� �����, ������� ���������� + <application>Lua</application> ������ <literal>5.0</literal> + ��� <literal>5.1</literal>, �� ��������� <literal>5.0</literal>. + �������� ����� ���� �������������� ������������� � �������������� + ���������� <makevar>WITH_LUA_VER</makevar>.</para> + + <programlisting>USE_LUA= 5.0-5.1 +WANT_LUA_VER= 5.0</programlisting> + </example> + </sect2> + + <sect2 id="lua-components"> + <title>����� �����������</title> + + <para>���������� ������ ����������, ������� ���� � �� �������� + ������������ <application>Lua</application>, �� ��������� � ���. + ��� ���������� ����� ������� � ���������� + <makevar>LUA_COMPS</makevar>. �������� ��������� ����������:</para> + + <table frame="none"> + <title>��������� ���������� <application>Lua</application></title> + + <tgroup cols="3"> + <thead> + <row> + <entry>��������</entry> + + <entry>��������</entry> + + + <entry>����������� ������</entry> + </row> + </thead> + + <tbody> + <row> + <entry><literal>lua</literal></entry> + + <entry>�������� ����������</entry> + + <entry>���</entry> + </row> + + <row> + <entry><literal>tolua</literal></entry> + + <entry>���������� ������� � ���� C/C++</entry> + + <entry>4.0-5.0</entry> + </row> + + <row> + <entry><literal>ruby</literal></entry> + + <entry>�������� � Ruby</entry> + + <entry>4.0-5.0</entry> + </row> + </tbody> + </tgroup> + </table> + + <note> + <para>���� � ������ ����������, �� ��� ��������� � ������� ��� + �������������� � �� ������������ ������������ (������ ������� + ��������).</para> + </note> + + <para>��� ����������� ����� ������� ��� ������� ���������� ����� + ���������� ��������, ����������� ������ � �������. � ������ + ���������� ����� ����������� ��� �� ��������� (�������� + <xref linkend="lua-def-dep-types">). ��������� ��������� + ����:</para> + + <table frame="none"> + <title>��������� ���� ����������� + <application>Lua</application></title> + + <tgroup cols="2"> + <thead> + <row> + <entry>��������</entry> + + <entry>��������</entry> + </row> + </thead> + + <tbody> + <row> + <entry><literal>build</literal></entry> + + <entry>��������� ��������� ��� ����������, ������������ + <makevar>BUILD_DEPENDS</makevar></entry> + </row> + + <row> + <entry><literal>run</literal></entry> + + <entry>��������� ��������� ��� �������, ������������ + <makevar>RUN_DEPENDS</makevar></entry> + </row> + + <row> + <entry><literal>lib</literal></entry> + + <entry>��������� ��������� ��� ���������� � �������, + ������������ <makevar>LIB_DEPENDS</makevar></entry> + </row> + </tbody> + </tgroup> + </table> + + <para>�������� �� ��������� ��� ����������� �������� ��������������� + � ��������� �������:</para> + + <table id="lua-def-dep-types" frame="none"> + <title>���� ����������� <application>Lua</application>, + ������������ �� ���������</title> + + <tgroup cols="2"> + <thead> + <row> + <entry>���������</entry> + + <entry>��� �����������</entry> + </row> + </thead> + + <tbody> + <row> + <entry><literal>lua</literal></entry> + + <entry><literal>lib</literal> ��� <literal>4.0-5.0</literal> + (������������) � <literal>build</literal> ��� + <literal>5.1</literal> (�����������)</entry> + </row> + + <row> + <entry><literal>tolua</literal></entry> + + <entry><literal>build</literal> (�����������)</entry> + </row> + + <row> + <entry><literal>ruby</literal></entry> + + <entry><literal>lib</literal> (������������)</entry> + </row> + </tbody> + </tgroup> + </table> + + <example id="lua-components-example"> + <title>����� ����������� <application>Lua</application></title> + + <para>��������� �������� ������������� �����, ������������� + <application>Lua</application> ������ <literal>4.0</literal> + � �������� � <application>Ruby</application>.</para> + + <programlisting>USE_LUA= 4.0 +LUA_COMPS= lua ruby</programlisting> + </example> + </sect2> + + <sect2 id="lua-version-detection"> + <title>����������� ������������� ������</title> + + <para>��� ����������� ������������� ������ ��� ���������� ������ + ���������� <makevar>WANT_LUA</makevar>. ���� �� �� ��������� �� + ������������ ������, �� ���������� ������� ������� ������. + ���������� <makevar>HAVE_LUA</makevar> ����� ��������� ����� + �����������.</para> + + <example id="lua-ver-det-example"> + <title>����������� ������������� ������ � ����������� + <application>Lua</application></title> + + <para>��������� �������� ����� ������������ ��� �����, ������������� + <application>Lua</application>, ���� ��� �����������, ��� ��� + ������ ��������������� ��������.</para> + + <programlisting>WANT_LUA= yes + +.include <bsd.port.pre.mk> + +.if defined(WITH_LUA5) || ${HAVE_LUA:Mlua-5.[01]} != "" +USE_LUA= 5.0-5.1 +CONFIGURE_ARGS+=--enable-lua5 +.endif</programlisting> + + <para>��������� �������� ����� ������������ ��� �����, ������� + �������� ��������� <application>tolua</application>, ���� + ����� ��������� ����������, ��� ��� ������ ��������������� + �������� � ���������� � <application>Lua</application>, ��� + ����� ������ <literal>4.0</literal>.</para> + + <programlisting>USE_LUA= 4.0 +LUA_COMPS= lua +WANT_LUA= 4.0 + +.include <bsd.port.pre.mk> + +.if defined(WITH_TOLUA) || ${HAVE_LUA:Mtolua} != "" +LUA_COMPS+= tolua +CONFIGURE_ARGS+=--enable-tolua +.endif</programlisting> + </example> + </sect2> + + <sect2 id="lua-defined-variables"> + <title>���������� ��� �����������</title> + + <para>��������� ���������� �������� � ����� (����� ����������� ����� + �� ���������� �� <xref linkend="lua-ver-sel-table">).</para> + + <table frame="none"> + <title>����������, ������������ ��� ������, ������������ + <application>Lua</application></title> + + <tgroup cols="2"> + <thead> + <row> + <entry>��������</entry> + + <entry>��������</entry> + </row> + </thead> + + <tbody> + <row> + <entry><makevar>LUA_VER</makevar></entry> + + <entry>������ <application>Lua</application>, ������� ����� + �������������� (��������, <literal>5.1</literal>)</entry> + </row> + + <row> + <entry><makevar>LUA_VER_SH</makevar></entry> + + <entry>������� ����� ������ ������������ ���������� + <application>Lua</application> (��������, + <literal>1</literal>)</entry> + </row> + + <row> + <entry><makevar>LUA_VER_STR</makevar></entry> + + <entry>������ <application>Lua</application> ��� ����� + (��������, <literal>51</literal>)</entry> + </row> + + <row> + <entry><makevar>LUA_PREFIX</makevar></entry> + + <entry>�������, � ������� ����������� + <application>Lua</application> (� ����������)</entry> + </row> + + <row> + <entry><makevar>LUA_SUBDIR</makevar></entry> + + <entry>������� ��� <filename>${PREFIX}/bin</filename>, + <filename>${PREFIX}/share</filename> � + <filename>${PREFIX}/lib</filename>, � ������� ����������� + <application>Lua</application></entry> + </row> + + <row> + <entry><makevar>LUA_INCDIR</makevar></entry> + + <entry>�������, � ������� ����������� ������������ ����� + <application>Lua</application> � + <application>tolua</application></entry> + </row> + + <row> + <entry><makevar>LUA_LIBDIR</makevar></entry> + + <entry>�������, � ������� ����������� ���������� + <application>Lua</application> � + <application>tolua</application></entry> + </row> + + <row> + <entry><makevar>LUA_MODLIBDIR</makevar></entry> + + <entry>�������, � ������� ����������� ������ ���������� + <application>Lua</application> + (<filename>.so</filename>)</entry> + </row> + + <row> + <entry><makevar>LUA_MODSHAREDIR</makevar></entry> + + <entry>�������, � ������� ����������� ������ + <application>Lua</application> + (<filename>.lua</filename>)</entry> + </row> + + <row> + <entry><makevar>LUA_PKGNAMEPREFIX</makevar></entry> + + <entry>������� � ������ ������, ������������ �������� + <application>Lua</application></entry> + </row> + + <row> + <entry><makevar>LUA_CMD</makevar></entry> + + <entry>���� � �������������� + <application>Lua</application></entry> + </row> + + <row> + <entry><makevar>LUAC_CMD</makevar></entry> + + <entry>���� � ����������� + <application>Lua</application></entry> + </row> + + <row> + <entry><makevar>TOLUA_CMD</makevar></entry> + + <entry>���� � ��������� + <application>tolua</application></entry> + </row> + </tbody> + </tgroup> + </table> + + <example id="lua-variables-example"> + <title>�������� ��� �����, ��� ������ + <application>Lua</application></title> + + <para>��������� �������� ����������, ��� �������� �����, ������� + ���������� �������� configure, ��� ����������� ������������ + ����� � ���������� <application>Lua</application>.</para> + + <programlisting> +USE_LUA= 4.0 +GNU_CONFIGURE= yes +CONFIGURE_ENV= CPPFLAGS="-I${LUA_INCDIR}" LDFLAGS="-L${LUA_LIBDIR}"</programlisting> + </example> + </sect2> + + <sect2 id="lua-premk"> + <title>��������� � <filename>bsd.port.pre.mk</filename></title> + + <para>���� ��� ����� ������������ ���������� ��� ������� ������ ����� + ����� ����������� <filename>bsd.port.pre.mk</filename>, ��� ����� + ��� ����� ���������� ���������� <makevar>LUA_PREMK</makevar>.</para> + + <important> + <para>���� �� ������� <makevar>LUA_PREMK</makevar>, �� ������, + �����������, ���������� � ��� �������� ���������� �� ����� + ��������, � ������ ���� �� �������� ���������� ����� + <application>Lua</application> <emphasis>�����</emphasis> + ����������� <filename>bsd.port.pre.mk</filename>.</para> + </important> + + <example id="lua-premk-example"> + <title>������������� ���������� <application>Lua</application> + � ��������</title> + + <para>��������� �������� ������������ ������������� + <makevar>LUA_PREMK</makevar> ����������� ������� + �������������� <application>Lua</application> ��� ����, ����� + �������� ������ � ������ �������, ��������� �� � ���������� + � �������� ���������.</para> + + <programlisting>USE_LUA= 5.0 +LUA_PREMK= yes + +.include <bsd.port.pre.mk> + +.if exists(${LUA_CMD}) +VER_STR!= ${LUA_CMD} -v + +CFLAGS+= -DLUA_VERSION_STRING="${VER_STR}" +.endif</programlisting> + </example> + + <note> + <para>���������� <application>Lua</application> ����� ��������� + ������������ � �������� ������ ����� ��� ������������� � + ������������� <makevar>LUA_PREMK</makevar>.</para> + </note> + </sect2> + </sect1> + + <sect1 id="using-xfce"> + <title>������������� Xfce</title> + + <para>���������� <makevar>USE_XFCE</makevar> ������������ ��� + �������������� ������������ ������������ ��� ������, ������������ + ���������� ��� ���������� �� ������ Xfce, ����� ��� + <filename role="package">x11-toolkits/libxfce4gui</filename> � + <filename role="package">x11-wm/xfce4-panel</filename>.</para> + + <para>� ��������� ����� ������������ ��������� ���������� � ���������� + Xfce:</para> + + <itemizedlist> + <listitem> + <para>libexo: <filename role="package">x11/libexo</filename></para> + </listitem> + + <listitem> + <para>libgui: <filename role="package">x11-toolkits/libxfce4gui</filename></para> + </listitem> + + <listitem> + <para>libutil: <filename role="package">x11/libxfce4util</filename></para> + </listitem> + + <listitem> + <para>libmcs: <filename role="package">x11/libxfce4mcs</filename></para> + </listitem> + + <listitem> + <para>mcsmanager: <filename role="package">sysutils/xfce4-mcs-manager</filename></para> + </listitem> + + <listitem> + <para>panel: <filename role="package">x11-wm/xfce4-panel</filename></para> + </listitem> + + <listitem> + <para>thunar: <filename role="package">x11-fm/thunar</filename></para> + </listitem> + + <listitem> + <para>wm: <filename role="package">x11-wm/xfce4-wm</filename></para> + </listitem> + + <listitem> + <para>xfdev: <filename role="package">dev/xfce4-dev-tools</filename></para> + </listitem> + + </itemizedlist> + + <para>������������ ��������� �������������� ���������:</para> + + <itemizedlist> + <listitem> + <para>configenv: �����������, ���� ��� ���� ������� ���������� + ����������� �������� <makevar>CONFIGURE_ENV</makevar> ��� ������ + ��������� ��� ����� ���������. + <programlisting>-I${LOCALBASE}/include -L${LOCALBASE}/lib</programlisting> + ����������� � CPPFLAGS � <makevar>CONFIGURE_ENV</makevar>.</para> + </listitem> + </itemizedlist> + + <para>�������������, ���� � ����� ������� ����������� �� + <filename role="package">sysutils/xfce4-mcs-manager</filename>, � + ���� ������� ����������� CPPFLAGS � ����� ��������� configure, + �� ��������� ����� ���������:</para> + + <programlisting>USE_XFCE= mcsmanager configenv</programlisting> + </sect1> + + <sect1 id="using-mozilla"> + <title>������������� Mozilla</title> + + <table frame="none"> + <title>���������� ��� ������, ������������ Mozilla</title> + + <tgroup cols="2"> + <tbody> + + <row> + <entry><makevar>USE_GECKO</makevar></entry> + + <entry>���� �� �������� Gecko, � ������� ����� �������� + ����. ��������� ��������: + <literal>libxul</literal> (<filename>libxul.so</filename>), + <literal>seamonkey</literal> (<filename>libgtkembedmoz.so</filename>, + ����������, ������ �� ������ ��������������).</entry> + </row> + <row> + <entry><makevar>USE_FIREFOX</makevar></entry> + + <entry>��� ������� ����� ��������� Firefox. + ��������� ��������: + <literal>yes</literal> (������� ������ �� ���������), + <literal>40</literal>, <literal>36</literal>, + <literal>35</literal>. + �� ��������� ������������� ����������� �� ������ + <literal>40</literal>.</entry> + </row> + <row> + <entry><makevar>USE_FIREFOX_BUILD</makevar></entry> + + <entry>��� ���������� ����� ��������� Firefox. + ��������� ��������: �������� USE_FIREFOX. + ������������� ������������� USE_FIREFOX � ����������� + ���� �� ��������.</entry> + </row> + <row> + <entry><makevar>USE_SEAMONKEY</makevar></entry> + + <entry>��� ������� ����� ��������� SeaMonkey. + ��������� ��������: + <literal>yes</literal> (������� ������ �� ���������), + <literal>20</literal>, <literal>11</literal> + (��������, ������ �� ������ ��������������). + �� ��������� ������������� ����������� �� ������ + <literal>20</literal>.</entry> + </row> + <row> + <entry><makevar>USE_SEAMONKEY_BUILD</makevar></entry> + + <entry>��� ���������� ����� ��������� SeaMonkey. + ��������� ��������: �������� USE_SEAMONKEY. + ������������� ������������� USE_SEAMONKEY � ����������� + ���� �� ��������.</entry> + </row> + <row> + <entry><makevar>USE_THUNDERBIRD</makevar></entry> + + <entry>��� ������� ����� ��������� Thunderbird. + ��������� ��������: + <literal>yes</literal> (������� ������ �� ���������), + <literal>31</literal>, <literal>30</literal> + (��������, ������ �� ������ ��������������). + �� ��������� ������������� ����������� �� ������ + <literal>31</literal>.</entry> + </row> + <row> + <entry><makevar>USE_THUNDERBIRD_BUILD</makevar></entry> + + <entry>��� ���������� ����� ��������� Thunderbird. + ��������� ��������: �������� USE_THUNDERBIRD. + ������������� ������������ USE_THUNDERBIRD � ����������� + ���� �� ��������.</entry> + </row> + + </tbody> + </tgroup> + </table> + <para>������ �������� ��������� ���������� ����� �������� � ����� + <filename>/usr/ports/Mk/bsd.gecko.mk</filename>.</para> + </sect1> + + <sect1 id="using-databases"> + <title>������������� ��� ������</title> + + <table frame="none"> + <title>���������� ��� ������, ������������ ���� ������</title> + + <tgroup cols="2"> + <thead> + <row> + <entry>����������</entry> + + <entry>��������</entry> + </row> + </thead> + + <tbody> + <row> + <entry><makevar>USE_BDB</makevar></entry> + + <entry>���� ���������� ����������� � <literal>yes</literal>, + ��������� ����������� �� ����� + <filename role="package">databases/db41</filename>. + ����� ���������� ����� ��������� ��������: 2, 3, 40, 41, + 42, 43, 44, 46, 47, 48 ��� 51. �� ������ �������� �������� + ����������� ��������, <makevar>USE_BDB</makevar>=42+ + ����� ������ ������������� ������ � ���������� �������, + �, ���� ������ �� �����������, �������� � 42.</entry> + </row> + + <row> + <entry><makevar>USE_MYSQL</makevar></entry> + + <entry>���� ���������� ����������� � <literal>yes</literal>, + ��������� ����������� �� ����� + <filename role="package">databases/mysql55-server</filename>. + ��� ��������� ����������, + <makevar>WANT_MYSQL_VER</makevar> ����� ���� ����������� + � �������� 323, 40, 41, 50, 51, 52, 55 ��� 60.</entry> + </row> + + <row> + <entry><makevar>USE_PGSQL</makevar></entry> + + <entry>���� ����������� � <literal>yes</literal>, ��������� + ����������� �� ����� + <filename role="package">databases/postgresql84</filename>. + ��� ��������� ����������, + <makevar>WANT_PGSQL_VER</makevar> ����� ���� ����������� + � �������� 73, 74, 80, 81, 82, 83 ��� 90.</entry> + </row> + + </tbody> + </tgroup> + </table> + + <para>��������� �������� � + <ulink url="http://www.freebsd.org/cgi/cvsweb.cgi/ports/Mk/bsd.database.mk"> + bsd.database.mk</ulink>. + + </sect1> + + <sect1 id="rc-scripts"> + <title>������ � ��������� ����� (�������� rc)</title> + + <para>�������� <filename>rc.d</filename> ������������ ��� ������� ����� + ��� ������� ������� � ���� �������������� ����������� ������ + ���������, ������� � ����������� ������. ����� ������������� � + ��������� �������������� <filename>rc.d</filename>. ����������� + �� ţ ������������� ����� ����� � <ulink + url="&url.books.handbook;/configtuning-rcd.html">����� rc.d + �����������</ulink>. ��������� ���������� ��������� ������ + ��������� � &man.rc.8; � &man.rc.subr.8;. �������, ���� <ulink + url="&url.articles.rc-scripting">������</ulink>� ������������ + �������� ��������� ��������� <filename>rc.d</filename>.</para> + + <para>���������� ����� ���� ��� ����� ��������� + <filename>rc.d</filename>:</para> + + <programlisting>USE_RC_SUBR= doormand</programlisting> + + <para>�������� ������� ����������� � ����������� + <filename>files</filename> � ������������ ����������� �������� + <literal>.in</literal> � ����� �����. ��� ����� ����� ����� + �������������� ����������� ���������� <makevar>SUB_LIST</makevar>. + ����� �������� �������������� ������������� ���������� + <literal>%%PREFIX%%</literal> � <literal>%%LOCALBASE%%</literal>. + ��������� � <makevar>SUB_LIST</makevar> � <link + linkend="using-sub-files">��������������� �����</link>.</para> + + <para>�� &os; 6.1-RELEASE ���������� � &man.rcorder.8; �������� + ����� ������������� <makevar>USE_RCORDER</makevar> ������ + <makevar>USE_RC_SUBR</makevar>. ������, ������������ ���� ����� + �� �����, ���� ��� ���� �� �������� ����� �� ����� ��������� � + �������� ������� ��� ������ �� ����� ����������� �� ���������� + �������� <filename>FILESYSTEMS</filename> �� <filename>rc.d</filename> + �������� �������.</para> + + <para>������� � &os; 6.1-RELEASE ��������� �������� + <filename>rc.d</filename> (������� ������������� �� ������) �������� + � ����� &man.rcorder.8; �������� �������.</para> + + <para>������ �������� �������� <filename>rc.d</filename>:</para> + + <programlisting>#!/bin/sh + +# $FreeBSD$ +# +# PROVIDE: doormand +# REQUIRE: LOGIN +# KEYWORD: shutdown +# +# +# Add the following lines to /etc/rc.conf.local or /etc/rc.conf to enable doorman: +# doorman_enable (bool): Set to "NO" by default. +# Set it to "YES" to enable doorman +# doorman_config (path): Set to "%%PREFIX%%/etc/doormand/doormand.cf" by default. +# Add the following lines to /etc/rc.conf.local or /etc/rc.conf +# to enable this service: +# +# doormand_enable (bool): Set to NO by default. +# Set it to YES to enable doormand. +# doormand_config (path): Set to %%PREFIX%%/etc/doormand/doormand.cf +# by default. +# + +. /etc/rc.subr + +name="doormand" +rcvar=${name}_enable + +command=%%PREFIX%%/sbin/${name} +pidfile=/var/run/${name}.pid + +load_rc_config $name + +: ${doormand_enable="NO"} +: ${doormand_config="%%PREFIX%%/etc/doormand/doormand.cf"} + +command_args="-p $pidfile -f $doormand_config" + +run_rc_command "$1"</programlisting> + + <para>���� ��� ������� ������� ��������� ������ ������ ���� ������, + �������� ������ ������������ + <programlisting>REQUIRE: LOGIN</programlisting>. ���� ������ + �������� ��� ������������ ������������� (�������� �� root), �� + ��� �������� �������������. � �������� ���� �������� ����������� + <programlisting>KEYWORD: shutdown</programlisting>, ������ ��� + ����������� ����, ������� �� ���������� � �������� �������, ��������� + ������, � ��� ������ ��������� ����������� ��� ���������� �������. + ���� �������� �� ��������� ���������� ������, �� ��� �� �������� + �����������.</para> + + <para>���������� ���������� �� ��������� � ����� "=" + �������� ����� ���������������� �� ��������� �� ������ ":=", + ������������ �����, ��������� ������ ������������� �������� �� + ��������� ������ ���� ���������� �� �����������, � ��������� + ������������� ţ, ���� ���������� �� ����������� + <emphasis>���</emphasis> ��������. ������������ ������ ����� + �������� � ����� ����� <filename>rc.conf.local</filename> + ���-������ ���� + <programlisting>doormand_flags=""</programlisting> � ����� ���������� + ���������� ����������� ���������� � �������������� ":=", + ��� ������������� ��������� ������������.</para> <note> - <para>���� ���� �������� ������ � ������� a.out, ������� � ���������� - <makevar>BROKEN_ELF</makevar> � �������� �������� �������, - ����������� ������� �����. ����� ����� �� ����� ���������� �� - ELF-������� ����� ���������.</para> + <para>����� �������� �� ������� ��������� � ��������� + <filename>.sh</filename>. � ������������ ������ ����� ����������� + �������� ������������ ����������� ���� ���������, ��� ��� + ������� ���� �������.</para> </note> + + <sect2> + <title>��������� ����� ��� ��������</title> + + <para>���������� ����������� ������� �������������� ��������� ������ + ������ ��������� ��������. �� �������� ������������ ��� ������� + ������ ��� ���������� ������������� ��������� ������ ����� ��� + ��� ����� ����� �������. ��� �������, ������� �� ��������� ������ + ��� �������� �������� �� ���������������. ����� ����������, ��� + ��� � ��� ����� �������� ����������.</para> + + <para>� <filename>pkg-plist</filename> ����������� �������� ����� + ������:</para> + + <programlisting>@stopdaemon doormand</programlisting> + + <para>�������� ����������� ������ ��������� � ���������� ���������� + <makevar>USE_RC_SUBR</makevar>.</para> + </sect2> + </sect1> + + <sect1 id="users-and-groups"> + <title>���������� ������������� � �����</title> + + <para>��������� ����� ������� � ������������� ������� ������� + ������������� ������������. �������� ��������� UID � ��������� �� 50 + �� 999 � ��������������� ��� � <filename>ports/UIDs</filename> + (��� �������������) �/��� � <filename>ports/GIDs</filename> (��� + �����). ��������������, ��� �� ����������� UID, ��� ������������ + �������� ��� ������� �������.</para> + + <para>����������, �������� � ���� ��������� ��� ���� ���� ������, + ���� ��� ��������� ������� ������ ������������ ��� ������ ��� + ������ �����.</para> + + <para>����� �� ������� ������������ � ����� <filename>Makefile</filename> + ���������� <makevar>USERS</makevar> � <makevar>GROUPS</makevar>, + � ������������ �������������� ��������� ��� ��������� �����.</para> + + <para>������� �������� ����������������� UID � GID ��������� � + <filename>ports/UIDs</filename> � <filename>ports/GIDs</filename>. + </para> + </sect1> <sect1> - <title><makevar>PORTOBJFORMAT</makevar></title> + <title>�����, ��������� ������� �������� ������� ����</title> - <para>� ����� <filename>bsd.port.mk</filename> ���������� - <makevar>PORTOBJFORMAT</makevar> ����� ����������� � �������� - <literal>aout</literal> ��� <literal>elf</literal> � ����� �������� - � ���������� ��������� <envar>CONFIGURE_ENV</envar>, - <envar>SCRIPTS_ENV</envar> � <envar>MAKE_ENV</envar>. (��� ������ - ����� ������ <literal>aout</literal> ��� 2.2-STABLE). ��� ����� - ����� �������� � <maketarget>PLIST_SUB</maketarget> ��� - <literal>PORTOBJFORMAT=${PORTOBJFORMAT}</literal>. (������ - ��������� �� ������ ����� <literal>ldconfig</literal> ����.)</para> + <para>��������� ������ (����� ��� ����������� ������ ����) ��� + ���������� ����� ����� � ��������� �������� ����. ���� ������ + ���������� ������ �����������, ����������� �� ��� �������������:</para> - <para>�������� ���������� ��������������� � ������� ����� ������ �� - <filename>bsd.port.mk</filename>:</para> + <programlisting>SRC_BASE?= /usr/src - <programlisting> -PORTOBJFORMAT!= test -x /usr/bin/objformat && /usr/bin/objformat || echo aout - </programlisting> - - <para>�������� ���������� ������ ������ ������������ ��� ���������� ��� - ����, ����� ������, ��� ������. ������, ���� ������ - <filename>configure</filename> ����� ������������� ���������� - ELF-�������, �� � ���������� <makevar>PORTOBJFORMAT</makevar> - ���������� �������������.</para> +.if !exists(${SRC_BASE}/sys/Makefile) +IGNORE= requires kernel sources to be installed +.endif</programlisting> </sect1> - <sect1> - <title>���������� ������������ ���������</title> - - <para>����� ����������� ������� ��� ������ � ��������� ������������� - ������������ � �������� a.out � ELF.</para> - - <itemizedlist> - <listitem> - <para>������ ��������� ������������ ����������</para> - - <para>��������� ������������ ���������� � ������� ELF ������ - ���������� - <filename>libfoo.so.<replaceable>M</replaceable></filename>, - ��� <replaceable>M</replaceable> - ��� ���� �����, �������� ����� - ������, � ���������� � ������� a.out ������ ���������� - <filename>libfoo.so.<replaceable>M</replaceable>.<replaceable>N</replaceable></filename>, - ��� <replaceable>M</replaceable> - ��� ������� ����� ������, � - <replaceable>N</replaceable> - ������� ����� ������. - �� ���������� ��� ����; <emphasis>�������</emphasis> �� - �������������� ��������� ������������ ���������� � ������� - ELF ��� ������ <filename>libfoo.so.<replaceable>N</replaceable>.<replaceable>M</replaceable></filename> - ��� a.out-���������� (��� ������������� ������ �� ���) � ������ - <filename>libfoo.so.<replaceable>N</replaceable></filename>.</para> - </listitem> - - <listitem> - <para>��������� ������ ��� ������������</para> - - <para>���� ������������, ��� ������������ ������� - <command>cc -shared</command>, � �� ��������������� ����������� - <command>ld</command>, �� ������������ ������� ����������� � ���, - ��� � ������ ������� ELF ��� ����� �������� - <option>-Wl,-<replaceable>soname,libfoo.so.M</replaceable></option> - � ��������� ������.</para> - </listitem> - </itemizedlist> - - <para>��� ����� ������� ������������� ������ - <filename>libfoo.so</filename>, ����������� �� - <filename>libfoo.so.<replaceable>N</replaceable></filename>, ��� - ����, ����� ������������ ELF ���� �������������. ��� ��� ��� ������ - ���� ����� ������� � ����� <filename>pkg-plist</filename>, � ��� �� - ������ ������ � ������ a.out (��������� ����� ���� ������� ������� - ����� ������ ��� ������������ ��������), �� �� ������ ������ ������� - ��� ������ ��� ����������� �� �������� ���������� - <makevar>PORTOBJFORMAT</makevar>.</para> - </sect1> - - <sect1> - <title><makevar>LIB_DEPENDS</makevar></title> - - <para>�� ���� ������ ����� <filename>Makefile</filename> ���� ���������� - ���, ����� ������ ������� ����� �� <makevar>LIB_DEPENDS</makevar> � - ���������� �� ��������� regexp. (��������, - <literal>foo\\.1\\.\\(33|40\\)</literal> ����� - <literal>foo.2</literal>.) ��� ����� �������� � ������� ������� - <command>grep -wF</command>.</para> - </sect1> - - <sect1> - <title><filename>pkg-plist</filename></title> - - <para>���� <filename>pkg-plist</filename> ������ ��������� ������� (ELF) - ����� ��������� ������������ ���������, ���� ������� ����� ������� - a.out ����� ����, � ������� (a.out) ����� � ��������� ������. � - <filename>bsd.port.mk</filename> � ����� ������� ������ ����� - ������������� �������� <literal>.0</literal>, ���� - <makevar>PORTOBJFORMAT</makevar> ����� <literal>aout</literal>, - � ����� ������� ������� ����� �� �������� �����, ���� - <makevar>PORTOBJFORMAT</makevar> ����������� � - <literal>elf</literal>.</para> - - <para>� �������, ����� ��� ������������� ����� ���������� ������ - ���������� � ����� �������� �� ELF-������� ��� � ����� ������� �� - ������� a.out (��������, �����, ������� ������������� ���������� - ����������� ������������� � ������� ������������� ���������), �� - ������� ���������� <makevar>NO_FILTER_SHLIBS</makevar>. ��� �������� - �������������� ����� <filename>pkg-plist</filename> ���, ��� ��� ������� - � ���������� ���������.</para> - </sect1> - - <sect1> - <title><literal>ldconfig</literal></title> - - <para>������ <literal>ldconfig</literal> � ������ - <filename>Makefile</filename> ������ ����� ���:</para> - - <programlisting>${SETENV} OBJFORMAT=${PORTOBJFORMAT} ${LDCONFIG} -m ....</programlisting> - - <para>� ����� <filename>pkg-plist</filename> ��� ������ ���� �����:</para> - - <programlisting> -@exec /usr/bin/env OBJFORMAT=%%PORTOBJFORMAT%% /sbin/ldconfig -m ... -@unexec /usr/bin/env OBJFORMAT=%%PORTOBJFORMAT%% /sbin/ldconfig -R - </programlisting> - - <para>��� ����� ��� ����, ����� ������� <command>ldconfig</command> - ���� ������� ��������� � ����������� �� ������� ������, � �� - �������, ������������� � ������� �� ���������.</para> - </sect1> </chapter> ---> + <chapter id="plist"> + <title>����������� �������� <filename>pkg-plist</filename></title> + <sect1 id="plist-sub"> + <title>��������� ����������� <filename>pkg-plist</filename> � ����������� + �� make-����������</title> - <chapter id="porting-masterdir"> - <title><makevar>MASTERDIR</makevar></title> + <para>��������� �����, � ���������, ����� <literal>p5-</literal>, ������ + ������ ���������� ����� ������ <filename>pkg-plist</filename> � + ����������� �� ����, � ������ ����������� ��� ���� ����������������� + (��� � ����������� �� ������ ����� <literal>perl</literal> � ������ + ������ <literal>p5-</literal>). ����� ��������� ���� + �������, ����� ��������� �������� ���� <literal>%%OSREL%%</literal>, + <literal>%%PERL_VER%%</literal> � <literal>%%PERL_VERSION%%</literal> + � ����� <filename>pkg-plist</filename> ����� ���������� ���������������� + ����������. ��������� <literal>%%OSREL%%</literal> �������� ����� + ������ ������������ ������� (��������, <literal>4.9</literal>). + <literal>%%PERL_VERSION%%</literal> � <literal>%%PERL_VER%%</literal> + ���������� ������ ����� ������ <command>perl</command> (��������, + <literal>5.8.9</literal>). ��������� + ������ <literal>%%<replaceable>VARS</replaceable>%%</literal>, ������� + ��������� � ������ ������������ �����, ������� � <link + linkend="install-documentation">��������������� �������</link>.</para> - <para>���� ������ ����� ��������� ���������� �������� ������������� - ������ ������� ����� ���������� (��������, ��������, ����������, - ��� ������ ������), ������� ��������� ��������� ��������, �������� ��� - ������� ������ ��������� ����������, ����� ������������� ���� ����� - ����������, ����� ������� ���������������, �� ���������� ������������ - ��������� ����� ������� ��� ����� ������ ������. � �������� ������ ��� - ����������� ������ ����� �������� ����� <filename>Makefile</filename> - �� ���� ���������, ����� ������, ���� �� ������ ������������ ���������� - � ����. � ��������� ������ <filename>Makefile</filename> �� ������ - ������������ ���������� <makevar>MASTERDIR</makevar> ��� �������� - ��������, � ������� ��������� ��� ��������� �����. ����� ����������� - ���������� ��� ����� <link - linkend="porting-pkgname"><makevar>PKGNAMESUFFIX</makevar></link>, ����� - ������ ����� ������ �����.</para> + <para>���� ��� ����� ������� ������ �����������, �� ������ ������� � + ���������� <makevar>PLIST_SUB</makevar> ������ ��� + <literal><replaceable>VAR</replaceable>=<replaceable>VALUE</replaceable></literal>, + � ��� ��������� <literal>%%<replaceable>VAR</replaceable>%%</literal> + � ����� <filename>pkg-plist</filename> ����� ���������� �� �������� + <replaceable>VALUE</replaceable>.</para> - <para>���������������� ��� �� �������. ��� ����� ����� - <filename>japanese/xdvi300/Makefile</filename>:</para> + <para>��������, ���� � ��� ������� ����, ������� ������������� ����� + ������ � �������, ��������� �� ������, �� ������ ������ ����� + ����</para> - <programlisting> -PORTNAME= xdvi -PORTVERSION= 17 -PKGNAMEPREFIX= ja- -PKGNAMESUFFIX= ${RESOLUTION} + <programlisting>OCTAVE_VERSION= 2.0.13 +PLIST_SUB= OCTAVE_VERSION=${OCTAVE_VERSION}</programlisting> + + <para>� ����� <filename>Makefile</filename> � ������������ + <literal>%%OCTAVE_VERSION%%</literal> �����, ��� ����� ������� + ����� ������ � ����� <filename>pkg-plist</filename>. ����� �������, + ��� ���������� ����� ��� �� ����� ����� ������ ������� (� � ��������� + ������� � �����) ����� � ����� <filename>pkg-plist</filename>.</para> + + <para>���� ��� ���� ������������� ����� � ������������ � �������������� + � ����� �������, �� ������� �������� ���������� �������� ���������� + ��������� <literal>%%TAG%%</literal> ��� ����� + <filename>pkg-plist</filename> � ����������� ����� + <literal>TAG</literal> � ���������� <makevar>PLIST_SUB</makevar> + ������ <filename>Makefile</filename> �� ����������� ��������� + <literal>@comment</literal>, ������� ��������� �������� ������������ + ������������ ��� ������:</para> + + <programlisting>.if defined(WITH_X11) +PLIST_SUB+= X11="" +.else +PLIST_SUB+= X11="@comment " +.endif</programlisting> + + <para>� � ����� <filename>pkg-plist</filename>:</para> + + <programlisting>%%X11%%bin/foo-gui</programlisting> + + <para>��� ����������� (�����, ��� � ���������� ����� <link + linkend="makefile-manpages">���������� �������</link>) ����� ������� + ����� ����������� ����� <maketarget>pre-install</maketarget> � + <maketarget>do-install</maketarget>, ����������� ������ ����� + <filename><makevar>PLIST</makevar></filename> � ������� � ���� + <filename><makevar>TMPPLIST</makevar></filename> + (�� ��������� ��� ���� + <filename><makevar>WRKDIR</makevar>/.PLIST.mktmp</filename>). ��� + ��� ���� ��� ���� ������ <filename><makevar>PLIST</makevar></filename> �� ����, ������� + ��� �� ����� ��� �� ���������� ���� + <maketarget>pre-install</maketarget>. ����� ����, ���� ������ ����� + ��������� ��������������� ������������ ����, ������� ��� � ���� + <maketarget>post-install</maketarget> ���������� ����� + <filename><makevar>TMPPLIST</makevar></filename>.</para> + + <para>������ ������ ��������� ������ ������ ����� ������� �� + ����������� �������� ���������� <makevar>PLIST_FILES</makevar> � + <makevar>PLIST_DIRS</makevar>. ������ �� ��� ��������������� ��� + �������� ����� ��� ������ � + <filename><makevar>TMPPLIST</makevar></filename> ����������� + <filename><makevar>PLIST</makevar></filename>. �����, ������������� + � <makevar>PLIST_FILES</makevar> � <makevar>PLIST_DIRS</makevar>, + ������������ ����������� + <literal>%%<replaceable>VAR</replaceable>%%</literal>, ��� ������� + ����. �� ����������� �����, ����� �� <makevar>PLIST_FILES</makevar> + ����� ���������� � ������������� �������� ������� ������ ��� + ���������, ����� ��� <literal>@dirrm</literal> ����� �������������� + ������ �� <makevar>PLIST_DIRS</makevar>. ��� ����, ����� �������� + ��������, <makevar>PLIST_FILES</makevar> � + <makevar>PLIST_DIRS</makevar> ������ ���������� �� ����, ��� ����� + ������������ <filename><makevar>TMPPLIST</makevar></filename>, �� + ���� � ���� <maketarget>pre-install</maketarget> ��� �ݣ + ������.</para> + </sect1> + + <sect1 id="plist-cleaning"> + <title>������ ��������</title> + + <sect2 id="plist-dir-cleaning"> + <title>������� ������ ���������</title> + + <para>��������� ��� ����� ������� ������ �������� ��� ��������. ������ ��� + ����������� ����������� ����� <literal>@dirrm</literal> ��� ���� + ���������, ������� ��������� ���� ������. ��� ����� ������� + ����������� �� ����, ��� �� ������� ������� ������������ + ��������.</para> + + <programlisting> : -# default -RESOLUTION?= 300 -.if ${RESOLUTION} != 118 && ${RESOLUTION} != 240 && \ - ${RESOLUTION} != 300 && ${RESOLUTION} != 400 - @${ECHO} "Error: invalid value for RESOLUTION: \"${RESOLUTION}\"" - @${ECHO} "Possible values are: 118, 240, 300 (default) and 400." - @${FALSE} -.endif - </programlisting> +lib/X11/oneko/pixmaps/cat.xpm +lib/X11/oneko/sounds/cat.au + : +@dirrm lib/X11/oneko/pixmaps +@dirrm lib/X11/oneko/sounds +@dirrm lib/X11/oneko + </programlisting> - <para>���� <filename role="package">japanese/xdvi300</filename> �������� - ����� ��� ������� �����, ����� ��� ������ � ��� �����. ���� �� ������� - ����� ������� <command>make</command>, ��� ������� � �������� ���������� - �������� �� ��������� (300) � �������� ���� ������� �������.</para> + <para>������, ������ <literal>@dirrm</literal> ����� �������� ������, + ������ ��� ������ ����� ���������� ��� �� ����� ����������. �� + ������ ������������ <literal>@dirrmtry</literal> ��� �������� + ������ ������ ��������� ��� ������ ��������������.</para> - <para>��� ������� ���������� �������� <emphasis>������</emphasis> - <filename>xdvi118/Makefile</filename>:</para> + <programlisting>@dirrmtry share/doc/gimp</programlisting> - <programlisting>RESOLUTION= 118 -MASTERDIR= ${.CURDIR}/../xdvi300 + <para>��� ������� �� ������� ������� ��������� �� ������� � �� ������� + ���������� ���������� ������ &man.pkg.delete.1;, ���� ���� + ������� <filename><makevar>${PREFIX}</makevar>/share/doc/gimp</filename> + �� ���� ��-�� ����, ��� ������ ����� ���������� ���� �����-�� + �����.</para> + </sect2> -.include "${MASTERDIR}/Makefile"</programlisting> + <sect2 id="plist-dir-empty"> + <title>�������� ������ ���������</title> - <para>(<filename>xdvi240/Makefile</filename> � - <filename>xdvi400/Makefile</filename> ������). ������� - <makevar>MASTERDIR</makevar> ������� <filename>bsd.port.mk</filename>, - ��� ������� ����� ������������ ���� <makevar>FILESDIR</makevar> � - <makevar>SCRIPTDIR</makevar> ��������� � �������� - <filename>xdvi300</filename>. ������� - <literal>RESOLUTION=118</literal> ������������� ������ - <literal>RESOLUTION=300</literal> � ����� - <filename>xdvi300/Makefile</filename> � ���� ����� �������� � - ����������� 118.</para> - </chapter> + <para>������ ���������, ����������� �� ����� ��������� �����, ����� + ������ ��������. ��� �� ����� ������� ��� ��������� ������, ������ + ��� ������ �������� ������ �����, � &man.pkg.add.1; ������� ��� ��� + �������� �� ���� ����������. ����� ���������, ��� ������ ������� + ��������� ��� ��������� ������, �������� ��� ������ � + <filename>pkg-plist</filename> ����� ��������������� ������� + <literal>@dirrm</literal>:</para> - <chapter id="shared"> - <title>������ ������������ ���������</title> + <programlisting>@exec mkdir -p %D/share/foo/templates</programlisting> + </sect2> - <para>������ ����� ��������, ����������, ���� <ulink - url="../developers-handbook/policies-shlib.html">������� ��������� ������ - ������������ ���������</ulink> ��� ��������� ����, ��� ������ � �������� - ��������� ������������ ��������� ������. �� ����������� ����� �� ��, - ��� ������ - ������������ ����������� �����, ��� ������; ������ ��� �� ��������. - ����� ����� � ��������� ��������� ���� ���� ��������, ��� ��� �� - �������� ���������� ���������� ��������, ����� �������� ����� ��������� - ������� ������������ ������������� ����������� �������. �������������� - ��������� ������ �������� ������� �������� ������������ ��������� - ������������ ��������� � ������� (�� ����� ���� ������������, ������ - ���� <filename>jpeg-6b</filename> ����� ���������� ������ 9?). ���� - �� �������, ������� ��������� �� ������ &a.ports;. � ����������� - ������� ���� ������ ������������� ������������ ����������� ������ - ������������ ���������� � ��������� ��������������� ������ ��� - ���������� �����.</para> - -<!-- - <para>������ ���� � ������ ������ ������� ����, ������� ������������ - ����� ������ ������ ��� �� ����� ���������, �� �������� ������� ����� - ������. �������, ���������� �� FreeBSD �� ��������� ������������ - ������� ������������, � ����� ������� ��������� ������������ - ���������� ����� ��������� ���������� (����������� ������ ����� - �������� ������ � ������������ �������). ��� ��������, ��� ���� � - ������� ������������ ���������� <filename>libfoo.so.3.2</filename> � - <filename>libfoo.so.4.0</filename>, �� ��� ������� ������� - ������������ ����������� �������� ������ ���������� � - <filename>libfoo.so.3.2</filename>. ��� ������ ������ ��� ���������� - �� ����� ����������. � ���� ������ ������������ �������� �������� - �������������� <emphasis>�����</emphasis> ����������. ��������, - ������������ <filename>libfoo.so.4.0</filename> � - <filename>libfoo4.so.1.0</filename>, ����� ��� ������, � 3.2, � 4.0, - ����� ���� ������������ � ������� �������.</para> ---> - </chapter> - - <chapter id="porting-manpages"> - <title>�������� �����������</title> - - <para>���������� <makevar>MAN[1-9LN]</makevar> ������������� ������� ����� - �������� ����������� � ����� <filename>pkg-plist</filename> (��� - ��������, ��� ��� <emphasis>�� �����</emphasis> ��������� �������� - ����������� � ����� <filename>pkg-plist</filename>—���������� � - ����� � <link linkend="porting-plist">��������� ����� PLIST</link> ��� - ��������� ����� ��������� ����������). ��� ����� ��������� �� ����� - ��������� ������������� ����������� � ������������� �������� - ����������� � ����������� �� �������� ���������� - <makevar>NOMANCOMPRESS</makevar> � ����� - <filename>/etc/make.conf</filename>.</para> - - <para>���� ��� ���� �������� ������ ��������� ���� ��� ������� - ����������� ��� ������ ������������� ��� ������� ������, �� �� ������ - ������������ ���������� <makevar>MLINKS</makevar>, ����� ������� �� - ���. ������, ������������� ����� ������, ����� ���������� � ������� - ������ ��������� <filename>bsd.port.mk</filename> ��� �������� ����, - ��� ��� ��������� �� ���������� ����. ����� �������� �����������, - ������������� � ���������� MLINKS, �� ������ ������������ � ����� - <filename>pkg-plist</filename>.</para> - - <para>��� �������� ����, ��� �������� ����������� ����� ������� �� - ����� ���������, ����������� ���������� - <makevar>MANCOMPRESSED</makevar>. ��� ���������� ����� ��������� ��� - �������� - <literal>yes</literal>, <literal>no</literal> � - <literal>maybe</literal>. <literal>yes</literal> ��������, ��� - �������� ����������� ��������������� ��� �������, <literal>no</literal> - ��������, ��� ��� �� ��������� � <literal>maybe</literal> ��������, ��� - ����������� ����������� ��������� �� �������� �������� ���������� - <makevar>NOMANCOMPRESS</makevar>, ��� ��� �������� - <filename>bsd.port.mk</filename> ������ ������������� ������ �� - �����.</para> - - <para>�������� ���������� <makevar>MANCOMPRESSED</makevar> ������������� - ��������������� � <literal>yes</literal>, ���� ���������� - <makevar>USE_IMAKE</makevar> ������, � - <makevar>NO_INSTALL_MANPAGES</makevar> ���, � � �������� - <literal>no</literal> � ��������� ������. ��� �� ����� �������� �� - ����, ���� �������� �� ��������� �������� ������ �����.</para> - - <para>���� ��� ���� ���������� ������ ��� ������ ����������� �������, - �������� �� <makevar>PREFIX</makevar>, �� ������ ������������ - ���������� <makevar>MANPREFIX</makevar>, ����� ������ ��� ����. ����� - ����, ���� �������� ������ ��������� �������� ���������� � - ������������� �����, ��������, � ������ ������ ������� ����� - <literal>perl</literal> Perl, �� ������ ���������� �������� � ���������� - ��������� �������������, ��� ������ - <makevar>MAN<replaceable>sect</replaceable>PREFIX</makevar> (��� - <replaceable>sect</replaceable> ��������� �������� - <literal>1-9</literal>, <literal>L</literal> ��� - <literal>N</literal>).</para> - - <para>���� �������� ����������� ���������� � �����������, ��������������� - ���������� �����, �� ������� �������� ����� ����� � ���������� - <makevar>MANLANG</makevar>. �������� ���� ���������� �� ��������� - ����� <literal>""</literal> (�� ���� ������ ���������� ����).</para> - - <para>��� ������, � ������� ���������� ��� ������.</para> - - <programlisting> -MAN1= foo.1 -MAN3= bar.3 -MAN4= baz.4 -MLINKS= foo.1 alt-name.8 -MANLANG= "" ja -MAN3PREFIX= ${PREFIX}/share/foobar -MANCOMPRESSED= yes - </programlisting> - - <para>����� �������, ��� ���� ���� ������������� 6 ������:</para> - - <programlisting> -${PREFIX}/man/man1/foo.1.gz -${PREFIX}/man/ja/man1/foo.1.gz -${PREFIX}/share/foobar/man/man3/bar.3.gz -${PREFIX}/share/foobar/man/ja/man3/bar.3.gz -${PREFIX}/man/man4/baz.4.gz -${PREFIX}/man/ja/man4/baz.4.gz - </programlisting> - - <para>����� ����, ���� - <filename>${PREFIX}/man/man8/alt-name.8.gz</filename> ����� ����, � - ����� � �� ���� ���������� ����� ������. � ����� ������ ����� ������� - ������������� ������ ��� ����������� ������� ����������� foo(1) � - alt-name(8).</para> - </chapter> - - <chapter id="porting-motif"> - <title>�����, ������� ��������� Motif</title> - - <para>���������� ����� ����������, ������� ��� ���������� ��������� - ���������� Motif (������� ����� ���������� � ���������� �����������, - ���� ���� � ���������� ���� � - <filename role="package">x11-toolkits/lesstif</filename>, � ������� - ���������, ��� � - ��� �������� ��������� ����������). ��� ��� ��� ���������������� ����� - � ��� ������������ ���������� ������ ��������� ��������������� - ���������� �������������� �������� ������, �� �������� ������ �������� - �� ������ � �������, ������� ��������� Motif, ��� ����� �� ����� - ����� ��������� �������� �����, �������������� ��� ����������� (��� - ���, ��� ������ ���������� �� �����), ��� � ���������� (��� ���, ��� - ����� �������������� ���������� � ���� �������).</para> - - <sect1 id="motif-use"> - <title><makevar>USE_MOTIF</makevar></title> - - <para>���� ������ ����� ��������� Motif, ������� ��� ���������� � - ����� <filename>Makefile</filename>. ��� �� �������� �����, � ������� - ��� ����������� ����� Motif, ���� ���������� ��������� ����.</para> </sect1> - <sect1 id="motif-lib"> - <title><makevar>MOTIFLIB</makevar></title> + <sect1 id="plist-config"> + <title>���������������� �����</title> - <para>��� ���������� ����� ����������� ��������� - <filename>bsd.port.mk</filename> � ��������������� ��������, - ��������������� ���������� Motif. ����������, �������� �������� - ������ ������ ����� �� ������������� ���� ���������� ���, ��� - ����������� ���������� Motif, � <filename>Makefile</filename> ��� - <filename>Imakefile</filename>.</para> + <para>���� ��� ������ ����� ��������� ������� ��������� + ���������������� ������ � �������� + <filename><makevar>PREFIX</makevar>/etc</filename>, + <emphasis>��</emphasis> ������ ���������� �� � ����������� � ����� + <filename>pkg-plist</filename>. ��� �����ģ� � ����, ��� �� ������� + &man.pkg.delete.1; ��� ��� ����� ��������� �����, + ��������� ����������������� � ����������� �������������, ����� + ����������.</para> - <para>����� ���� ��� ������:</para> + <para>������ ����� ���������� ����� � ��������� � ����� ����������� + (<filename><replaceable>filename</replaceable>.sample</filename> + ��������). ���������� ���� � �������� ��� ��������� ���� ������������, + ���� ������� �� ����������. ��� �������������, ������� ���� + ������������, �� ������ ���� �� �� ��� ������� �������������. ��� + ����� ��������� ���� � <filename>Makefile</filename> � � + <filename>pkg-plist</filename> (��� ��������� �� ������).</para> - <itemizedlist> - <listitem> - <para>��� ���� ���������� � ���������� Motif ��� - <literal>-lXm</literal> � ����� ������ - <filename>Makefile</filename> ��� <filename>Imakefile</filename>, - ������ ���������� ������ ���� ��������� - <literal>${MOTIFLIB}</literal>.</para> - </listitem> + <para>������ ����� <filename>Makefile</filename>:</para> - <listitem> - <para>���� ���� ���������� <literal>XmClientLibs</literal> � ����� - ����� <filename>Imakefile</filename>, �������� ��� ��������� �� - <literal>${MOTIFLIB} ${XTOOLLIB} - ${XLIB}</literal>.</para> - </listitem> - </itemizedlist> + <programlisting>post-install: + @if [ ! -f ${PREFIX}/etc/orbit.conf ]; then \ + ${CP} -p ${PREFIX}/etc/orbit.conf.sample ${PREFIX}/etc/orbit.conf ; \ + fi</programlisting> - <para>��������, ��� ���������� <makevar>MOTIFLIB</makevar> (��� - �������) ������������ � <literal>-L/usr/X11R6/lib -lXm</literal> ��� - <literal>/usr/X11R6/lib/libXm.a</literal>, ��� ��� ��� ����� ������� - ��������� <literal>-L</literal> ��� <literal>-l</literal>.</para> + <para>������ ����� <filename>pkg-plist</filename>:</para> + + <programlisting>@unexec if cmp -s %D/etc/orbit.conf.sample %D/etc/orbit.conf; then rm -f %D/etc/orbit.conf; fi +etc/orbit.conf.sample +@exec if [ ! -f %D/etc/orbit.conf ] ; then cp -p %D/%F %B/orbit.conf; fi</programlisting> + + <para>�����, �������� <link + linkend="porting-message">���������</link>, ����������� �� ��, ����� + ������������ ���������� � �������������� ���� ����� ���, ��� �������� + � ����������� ������������.</para> </sect1> - </chapter> - <chapter id="x11-fonts"> - <title>������ ��� X11</title> + <sect1 id="plist-dynamic"> + <title>������������ ��� ����������� ������ ��������</title> - <para>���� ��� ���� ������������� ������ ��� X Window System, ��������� - �� � ������� - <filename><makevar>X11BASE</makevar>/lib/X11/fonts/local</filename>. - ���� ������� ������� �������� � <application>XFree86 3.3.3</application>. - ���� �� �� ����������, ��, ������ �����, �������� ��� � �������� - ���������, ���������� �������� ������������ �� ������������� �������� - <application>XFree86</application> �� ������ 3.3.3 ��� ����� �����, ��� - �� ������� ���� �������� ���� ������� � �������� ������ ������� � ����� - <filename>/etc/XF86Config</filename>.</para> - </chapter> + <para><emphasis>����������� ������ ��������</emphasis> ��� ������ + ��������, ������� �������� � ��������� ������ ��� ��� ���� + <filename>pkg-plist</filename> (� ������������ ���������� ��� ��� + �ţ), ��� ��� ���������� � <filename>Makefile</filename> ����������� + <makevar>PLIST_FILES</makevar> � <makevar>PLIST_DIRS</makevar>. + ���� ���� ���������� �������� ������������� ����������� ��� ������ + ����������� ��� � ���������� ���������� ���� � Makefile + <emphasis>��</emphasis> ��������� � ��������� ������ �����������, + �� ������ �ӣ �ݣ ����� ��������� �����������, ��������� ��� + ����� ������ ��� ������������� ���������� ��� ���������� + ������������.</para> - <chapter id="porting-info"> - <title>����� � ������� info</title> + <para><emphasis>������������ ������ ��������</emphasis> ��� ������ + ��������, ������� ���������� �� ����� ���������� ����� � �������� + �� ������ ��������������� ������ � ���������. ������ ����� ������ + ���������� �� ����, ��� �������� ��� ������������ ���������� + ����� ������ � �������������, ��� ����� ������� + <literal>make clean</literal>.</para> + + <para>���� ������������� ������������ ������ �������� �� ���������, + �������������� ������ ������������ ����������� ������ �������� + �����, ��� ��� ��������, ��������� ��� ��������� ������������� + ��������� &man.grep.1; �� ��������� ������ ��� �����������, ��������, + ������� ���� ������������� ������������ ����. ������������ ������ + ������ ���� ������������ � �������� ��� ������� ������, ��� ������� + ��������� � ������ �������� ������������ ������� �������� �� + �������������� ������������ ����� (�, ����� �������, ����� + ������������� ����������� ������� �������� �����������), ��� ������, + ������� �������� ������ �������� �� ������ ������ ������������� + �� ������������ ����������� (��������, �����, ������� ��������� + ��������� ��� ������ <application>Javadoc</application>).</para> + + <para>��������������, ������� ������������ ������������ ������ + ��������, ������������� ��������� � ���� ����� ����� ����, + ������� ���������� ���� <filename>pkg-plist</filename>, ����� + ������������ ����� ������� ����������.</para> + + </sect1> + + <sect1 id="plist-autoplist"> + <title>�������������� �������� ������ ��������</title> + + <para>������ ����� ���������, ��� ��� ���� ����������� ��������� + �����ۣ� � �������� ������� ������ <filename>pkg-plist</filename>.</para> + + <para>����� �������� ��������� ������ ���������, ���� ����� ���� + ���������� ��� ����, � ���������� ��� �����������.</para> + + <screen>&prompt.root; <userinput>mkdir /var/tmp/`make -V PORTNAME`</userinput> +&prompt.root; <userinput>mtree -U -f `make -V MTREE_FILE` -d -e -p /var/tmp/`make -V PORTNAME`</userinput> +&prompt.root; <userinput>make depends PREFIX=/var/tmp/`make -V PORTNAME`</userinput></screen> + + <para>��������� ��������� ��������� � ����� �����.</para> + + <screen>&prompt.root; <userinput>(cd /var/tmp/`make -V PORTNAME` && find -d * -type d) | sort > OLD-DIRS</userinput></screen> + + <para>�������� ������ ���� <filename>pkg-plist</filename>:</para> + + <screen>&prompt.root; <userinput>:>pkg-plist</userinput></screen> + + <para>���� ��� ���� ��������� �� �������� <makevar>PREFIX</makevar> (� �� + ������ ��� ������), �� ����� �� ������ ���������� ���� � ������� ������ + ��������.</para> + + <screen>&prompt.root; <userinput>make install PREFIX=/var/tmp/`make -V PORTNAME`</userinput> +&prompt.root; <userinput>(cd /var/tmp/`make -V PORTNAME` && find -d * \! -type d) | sort > pkg-plist</userinput></screen> + + <para>����� ����, � ������ �������� �� ������ �������� ��� ����� + ��������� ��������.</para> + + <screen>&prompt.root; <userinput>(cd /var/tmp/`make -V PORTNAME` && find -d * -type d) | sort | comm -13 OLD-DIRS - | sort -r | sed -e 's#^#@dirrm #' >> pkg-plist</userinput></screen> + + <para>� �������, ��� ����� ������� ����������� ������ ��������; ��� + �������� ���������������� <emphasis>�� ���������</emphasis>. �������� + ���������� ������� ������ ���� ����������� � ����� + <filename>Makefile</filename> ����� � ���������� + <makevar>MAN<replaceable>n</replaceable></makevar>, � �� � ������ + ��������. ���������������� ���������������� ����� ������ ���� ������� + ��� ���� ����������� ��� + <filename><replaceable>filename</replaceable>.sample</filename>. + ���� <filename>info/dir</filename> �������� � ������ �� �����, �� + ������ ���� ��������� ��������������� ������� + <filename>install-info</filename>, ���, ��� ��� ������� � ������� � <link + linkend="makefile-info">������ � ������� info</link>. ��� + ����������, ��������������� ������, ������ ���� ����������� ���, ��� + ��� ������� � ������� � <link + linkend="porting-shlibs">������������ �����������</link>.</para> + + <para>��� ������������, ����� ������������ ������ <command>plist</command> + �� <filename>/usr/ports/Tools/scripts/</filename> ��� ��������������� + ���������� ������ ��������. ������ <filename>plist</filename> - ��� + �������� �� <application>Ruby</application>, ������� �������������� + ����������� ������ ��������, ���������� � ���������� ���������.</para> + + <para>������ ��� ����� �� ��� ����: ����� + ������ ��� ������, + <command>mkdir</command>, <command>mtree</command> � + <command>make depends</command>. ����� ������� � ���������� + ����:</para> + + <screen>&prompt.root; <userinput>make install PREFIX=/var/tmp/`make -V PORTNAME`</userinput></screen> + + <para>� ��������� <command>plist</command> ������� ���� + <filename>pkg-plist</filename>:</para> + + <screen>&prompt.root; <userinput>/usr/ports/Tools/scripts/plist -Md -m `make -V MTREE_FILE` /var/tmp/`make -V PORTNAME` > pkg-plist</userinput></screen> + + <para>������ �������� �ӣ �ݣ ������ ���� �������� ������� ��� ������� + ����.</para> + + <para>��� ��������������� �������� <filename>pkg-plist</filename> ����� + ������������ ������ ���������� <filename + role="package">ports-mgmt/genplist</filename>. ��� � � ������� + ������������������� �������������, ���������� <filename>pkg-plist</filename> + ������� ��������� � ��� ������������� ��������������� �������.</para> + </sect1> - <para>���� � ����� ������ ����� ��������� ������ GNU info, ��� ������ - ���� ����������� � ���������� <makevar>INFO</makevar> (��� ��������� - <literal>.info</literal>), � ����� ����� ����������� ������ �� - ��������� ���� <filename>pkg-plist</filename> ����� ������������� - �������� ��������������� ��� ���������/��������.</para> </chapter> <chapter id="pkg-files"> @@ -5223,6 +9353,23 @@ ${PREFIX}/man/ja/man4/baz.4.gz ����������� ����� ���������� ������� &man.pkg.add.1;, ��� ��� ������ ���������� � ��������������.</para> + <para>���� ������ ���������� ��������� ������ � knobs ������� ���������� + ��� ��������������, ����������� <makevar>ECHO_MSG</makevar>. ���� + <filename>pkg-message</filename> ������ ��� ����������������� �����. + ����� ������� ����� � ���� �������� ����� <makevar>ECHO_MSG</makevar> + � <makevar>ECHO_CMD</makevar>. ������ ������������� ��� ������ �� + ����� ��������������� ������, � ������ ��� ��������� ������.</para> + + <para>������� ������ ��� ����� ����� ����� � + <filename>shells/bash2/Makefile</filename>:</para> + + <programlisting>update-etc-shells: + @${ECHO_MSG} "updating /etc/shells" + @${CP} /etc/shells /etc/shells.bak + @( ${GREP} -v ${PREFIX}/bin/bash /etc/shells.bak; \ + ${ECHO_CMD} ${PREFIX}/bin/bash) >/etc/shells + @${RM} /etc/shells.bak</programlisting> + <note> <para>���� <filename>pkg-message</filename> �� ����� ��������� � <filename>pkg-plist</filename>. � �� �� ����� ������������� @@ -5255,7 +9402,9 @@ ${PREFIX}/man/ja/man4/baz.4.gz <para>���� ������ �� ����������� �������������, ���� �� �������������� ���� �������� <command>make install</command>. ���� �� ��� ������������� ���������� ��� ���������, �� ��������� - ��� ���� �� ����� <filename>Makefile</filename> �����.</para> + ��� ���� �� ����� <filename>Makefile</filename> ����� ������� + ���� <literal>PKG_PREFIX=${PREFIX} ${SH} $ + {PKGINSTALL}${PKGNAME} PRE-INSTALL</literal>.</para> </note> </sect1> @@ -5265,9 +9414,9 @@ ${PREFIX}/man/ja/man4/baz.4.gz <para>���� ������ ���������� ��� �������� ������.</para> <para>���� ������ �������� &man.pkg.delete.1; ����� ����������� - ������. ������ ��� ��� <literal>${SH} pkg-install + ������. ������ ��� ��� <literal>${SH} pkg-deinstall ${PKGNAME} DEINSTALL</literal>, � ������ ��� ��� - <literal>${SH} pkg-install ${PKGNAME} + <literal>${SH} pkg-deinstall ${PKGNAME} POST-DEINSTALL</literal>.</para> </sect1> @@ -5287,77 +9436,6 @@ ${PREFIX}/man/ja/man4/baz.4.gz <literal>pkg-req ${PKGNAME} DEINSTALL</literal>.</para> </sect1> - <sect1 id="porting-plist"> - <title>��������� ����������� <filename>pkg-plist</filename> � ����������� - �� make-����������</title> - - <para>��������� �����, � ���������, ����� <literal>p5-</literal>, ������ - ������ ���������� ����� ������ <filename>pkg-plist</filename> � - ����������� �� ����, � ������ ����������� ��� ���� ����������������� - (��� � ����������� �� ������ ����� <literal>perl</literal> � ������ - ������ <literal>p5-</literal>). ����� ��������� ���� - �������, ����� ��������� �������� ���� <literal>%%OSREL%%</literal>, - <literal>%%PERL_VER%%</literal> � <literal>%%PERL_VERSION%%</literal> - � ����� <filename>pkg-plist</filename> ����� ���������� ���������������� - ����������. ��������� <literal>%%OSREL%%</literal> �������� ����� - ������ ������������ ������� (��������, <literal>4.9</literal>). - <literal>%%PERL_VERSION%%</literal> ���������� ������ ����� ������ - <command>perl</command> (��������, <literal>5.00502</literal>), � - <literal>%%PERL_VER%%</literal> - ����� ������ <command>perl</command> - ��� ������ ����� (��������, <literal>5.005</literal>).</para> - - <para>���� ��� ����� ������� ������ �����������, �� ������ ������� � - ���������� <makevar>PLIST_SUB</makevar> ������ ��� - <literal><replaceable>VAR</replaceable>=<replaceable>VALUE</replaceable></literal>, - � ��� ��������� <literal>%%<replaceable>VAR</replaceable>%%</literal> - � ����� <filename>pkg-plist</filename> ����� ���������� �� �������� - <replaceable>VALUE</replaceable>.</para> - - <para>��������, ���� � ��� ������� ����, ������� ������������� ����� - ������ � �������, ��������� �� ������, �� ������ ������ ����� ���� - - <programlisting>OCTAVE_VERSION= 2.0.13 -PLIST_SUB= OCTAVE_VERSION=${OCTAVE_VERSION}</programlisting> - - � ����� <filename>Makefile</filename> � ������������ - <literal>%%OCTAVE_VERSION%%</literal> �����, ��� ����� ������� - ����� ������ � ����� <filename>pkg-plist</filename>. ����� �������, - ��� ���������� ����� ��� �� ����� ����� ������ ������� (� � ��������� - ������� � �����) ����� � ����� <filename>pkg-plist</filename>.</para> - - <para>��� ����������� (�����, ��� � ���������� ����� <link - linkend="porting-manpages">���������� �������</link>) ����� ������� - ����� ����������� ����� <maketarget>pre-install</maketarget> � - <maketarget>do-install</maketarget>, ����������� ������ ����� - <filename><makevar>PLIST</makevar></filename> � ������� � ���� - <filename><makevar>TMPPLIST</makevar></filename> - (�� ��������� ��� ���� - <filename><makevar>WRKDIR</makevar>/.PLIST.mktmp</filename>). ��� - ��� ���� ��� ���� ������ <filename><makevar>PLIST</makevar></filename> �� ����, ������� - ��� �� ����� ��� �� ���������� ���� - <maketarget>pre-install</maketarget>. ����� ����, ���� ������ ����� - ��������� ��������������� ������������ ����, ������� ��� � ���� - <maketarget>post-install</maketarget> ���������� ����� - <filename><makevar>TMPPLIST</makevar></filename>.</para> - - <para>������ ������ ��������� ������ ������ ����� ������� �� - ����������� �������� ���������� <makevar>PLIST_FILES</makevar> � - <makevar>PLIST_DIRS</makevar>. ������ �� ��� ��������������� ��� - �������� ����� ��� ������ � - <filename><makevar>TMPPLIST</makevar></filename> ����������� - <filename><makevar>PLIST</makevar></filename>. �����, ������������� - � <makevar>PLIST_FILES</makevar> � <makevar>PLIST_DIRS</makevar>, - ������������ ����������� <literal>%%VAR%%</literal>, ��� ������� - ����. �� ����������� �����, ����� �� <makevar>PLIST_FILES</makevar> - ����� ���������� � ������������� �������� ������� ������ ��� - ���������, ����� ��� <literal>@dirrm</literal> ����� �������������� - ������ �� <makevar>PLIST_DIRS</makevar>. ��� ����, ����� �������� - ��������, <makevar>PLIST_FILES</makevar> � - <makevar>PLIST_DIRS</makevar> ������ ���������� �� ����, ��� ����� - ������������ <filename><makevar>TMPPLIST</makevar></filename>, �� - ���� � ���� <maketarget>pre-install</maketarget> ��� �ݣ - ������.</para> - </sect1> <sect1 id="pkg-names"> <title id="porting-pkgfiles">��������� �ͣ� ������ @@ -5380,7 +9458,7 @@ PLIST_SUB= OCTAVE_VERSION=${OCTAVE_VERSION}</programlisting> <makevar>PKGDIR</makevar> �� ��������� ����� <makevar>${MASTERDIR}</makevar>.)</para> - <informaltable frame="none"> + <informaltable frame="none" pgwide="1"> <tgroup cols="2"> <thead> <row> @@ -5425,6 +9503,60 @@ PLIST_SUB= OCTAVE_VERSION=${OCTAVE_VERSION}</programlisting> ��������� �� ����� ����� ����������� � ������� <filename>/var/db/pkg</filename> �����������.</para> </sect1> + + <sect1 id="using-sub-files"> + <title>������������� <makevar>SUB_FILES</makevar> � + <makevar>SUB_LIST</makevar></title> + + <para>���������� <makevar>SUB_FILES</makevar> � + <makevar>SUB_LIST</makevar> �������� ��� ������� � ������ ����� + ������������ ��������, ����� ��� <makevar>PREFIX</makevar> ��������� + � <filename>pkg-message</filename>.</para> + + <para>� ���������� <makevar>SUB_FILES</makevar> ����������� �������� + ������ ��� ��������������� ���������. ������ + <replaceable>file</replaceable> �� ������� <makevar>SUB_FILES</makevar> + ������ ����� ��������������� + <filename><replaceable>file</replaceable>.in</filename>, + �������������� � <makevar>FILESDIR</makevar>. ���������� ������ + ����� ������� � <makevar>WRKDIR</makevar>. �����, ������������ � + �������� �������� <makevar>USE_RC_SUBR</makevar> (��� ����������� + <makevar>USE_RCORDER</makevar>), ������������� ����������� � + <makevar>SUB_FILES</makevar>. ��� ������ + <filename>pkg-message</filename>, <filename>pkg-install</filename>, + <filename>pkg-deinstall</filename> � <filename>pkg-req</filename> + ��������������� ��������������� ���������� Makefile, ����������� �� + ������������ ������.</para> + + <para>���������� <makevar>SUB_LIST</makevar> �������� �������� ��� + <literal>VAR=VALUE</literal>. � ������ ����� �� + <makevar>SUB_FILES</makevar> ��� ������ ���� ����� ����������� + ������ <literal>%%VAR%%</literal> �� <literal>VALUE</literal>. + ��������� ����� ���� ������������ �������������: + <makevar>PREFIX</makevar>, <makevar>LOCALBASE</makevar>, + <makevar>DATADIR</makevar>, + <makevar>DOCSDIR</makevar>, <makevar>EXAMPLESDIR</makevar>. + ����� ������, ������������ � <literal>@comment</literal>, ����� + ������� �� ��������� ����� ����� ����������� ���������� .</para> + + <para>� ��������� ������� � <filename>pkg-message</filename> + ����� ������� ������ <literal>%%ARCH%%</literal> �� ��������� + �����������:</para> + + <programlisting>SUB_FILES= pkg-message +SUB_LIST= ARCH=${ARCH}</programlisting> + + <para>�������� ��������, ��� � ���� ������� � <makevar>FILESDIR</makevar> + ����������� ������������� ����� <filename>pkg-message.in</filename>. + </para> + + <para>������ �������� <filename>pkg-message.in</filename>:</para> + + <programlisting>Now it's time to configure this package. +Copy %%PREFIX%%/share/examples/putsy/%%ARCH%%.conf into your home directory +as .putsy.conf and edit it.</programlisting> + + </sect1> </chapter> <chapter id="testing"> @@ -5452,26 +9584,10 @@ PLIST_SUB= OCTAVE_VERSION=${OCTAVE_VERSION}</programlisting> <filename>make.conf</filename>, �������, ����������, ���������, ����� �����, ��� ������������� ���������� <literal>.error</literal>, ����� (� �������) ���������� � - ����������� �� ���� �������������.</para> + ����������� �� ���� �������������. (�������� + <xref linkend="dads-dot-error">.)</para> </note> - <example id="dot-error-breaks-index"> - <title>��� �������� ������������� <literal>.error</literal></title> - <para>�����������, ��� ���-�� �������� ������ - <programlisting>USE_POINTYHAT=yes</programlisting> � - <filename>make.conf</filename>. ������ �� ����������� ���� - ��������� ����� ����� <filename>Makefile</filename> �����ģ� � - ���������� ���������� ������ <command>make index</command>, � - ������ - ���: - <programlisting>.if USE_POINTYHAT -.error "POINTYHAT is not supported" -.endif</programlisting> - <programlisting>.if USE_POINTYHAT -IGNORE=POINTYHAT is not supported -.endif</programlisting> - </para> - </example> - <para>���� ������� <command>make describe</command> ������ �������, � �� ������, �� ��� ��� ��� ����ģ� �������������. ���������� � ����� <filename>bsd.port.mk</filename>, ����� �������� �������� ���������� @@ -5504,17 +9620,49 @@ IGNORE=POINTYHAT is not supported �������� � &a.ports;.</para> </sect1> - <sect1 id="porting-prefix"> - <title><makevar>PREFIX</makevar></title> + <sect1 id="testing-porttools"> + <title>Port Tools</title> - <para>����������� ������� ���, ����� ��������� ������ ����� - �������������� ������������ �������� <makevar>PREFIX</makevar>. - (�������� ���� ���������� ����� ����������� � - <makevar>LOCALBASE</makevar> (�� ��������� - <filename>/usr/local</filename>), ���� ������ �� ������ ���������� - <makevar>USE_X_PREFIX</makevar> ��� <makevar>USE_IMAKE</makevar>, - � ������ ���� �� ����� ������ ������ <makevar>X11BASE</makevar> - (�� ��������� <filename>/usr/X11R6</filename>).</para> + <para>��������� <filename role="package">ports-mgmt/porttools</filename> + ������ � ������ ��������� ������.</para> + + <para><command>port</command> �������� ��������� ��������� �����, + ������� ����� ��������� ��� ������ ������������. ���� �� ������ + ��������� ����� ���� ��� �������� ������������, �� �� ������ + ������������ <command>port test</command> ��� �������� ������ �����, + ������� �������� <link + linkend="testing-portlint"><command>portlint</command></link>. ��� + ������� ����� ������� � ���������� ����� �����, ������� ������������ + � <filename>pkg-plist</filename>. �������� ��������� ������:</para> + + <screen>&prompt.root; <userinput>port test /usr/ports/net/csup</userinput></screen> + </sect1> + + <sect1 id="porting-prefix"> + <title><makevar>PREFIX</makevar> � <makevar>DESTDIR</makevar></title> + + <para>���������� <makevar>PREFIX</makevar> ���������� ����, �� �������� + ����� ���������� ����. ������ ��� <filename>/usr/local</filename> + ��� <filename>/opt</filename>, �� ����� ��������� � ����������� ����. + � ����� ����� ��� ���������� ������� �����������.</para> + + <para>���� ������������ ��������� ���������� <makevar>DESTDIR</makevar>, + �� ��� ���������� ������ �������������� ���������, ������, ��� jail + ��� ������������� �������, �������������� � �����, �������� �� + <filename>/</filename>. �� ����� ���� ���� ��������������� � + <makevar>DESTDIR</makevar>/<makevar>PREFIX</makevar> � �������������� + � ���� ������ ������� � <makevar>DESTDIR</makevar>/var/db/pkg. + ��������� ���������� <makevar>DESTDIR</makevar> ������������ + ������������� ��������������� ������ ����� ����� &man.chroot.8;, ��� + �� ����� ������� ��������� ��� ���������� ������ ������������ + ��� ��������� <makevar>DESTDIR</makevar>-����������� ������.</para> + + <para>�������� ���������� <makevar>PREFIX</makevar> ����� ����������� + � <makevar>LOCALBASE</makevar> (�� ��������� + <filename>/usr/local</filename>). ���� + ������ ���������� <makevar>USE_LINUX_PREFIX</makevar>, �� + <makevar>PREFIX</makevar> ������ �������� <makevar>LINUXBASE</makevar> + (�� ��������� <filename>/compat/linux</filename>).</para> <para>��������� ������ �������� <filename>/usr/local</filename> ��� <filename>/usr/X11R6</filename> � �������� ���� ������� ���� @@ -5523,7 +9671,7 @@ IGNORE=POINTYHAT is not supported �������������; � ��������� ������ �������� ��� ����� ���� ������� ������� ������� ����� <filename>/usr/local</filename> (��� <filename>/usr/X11R6</filename> ��� ������ X, �� ������������ imake) - � ��������� ������ <filename>scripts/Makefile</filename> ����� �� + � ��������� ������ <filename>Makefile</filename> ������ ����� �� ������������� <makevar>${PREFIX}</makevar>, ��� ��� ��� ���������� ������������� ���������� ����� �� ������ ����� ���������� � ���������.</para> @@ -5533,7 +9681,7 @@ IGNORE=POINTYHAT is not supported <makevar>PREFIX</makevar>. ��� ����� ������ ��������� ��������� �������:</para> - <screen>&prompt.root; <userinput>make clean; make package PREFIX=/var/tmp/<replaceable>port-name</replaceable></userinput></screen> + <screen>&prompt.root; <userinput>make clean; make package PREFIX=/var/tmp/`make -V PORTNAME`</userinput></screen> <para>���� ���-�� ���� ����������� �� ��������� <makevar>PREFIX</makevar>, �� ������� �������� ������ ������� �� @@ -5543,14 +9691,9 @@ IGNORE=POINTYHAT is not supported <para>����� �� ����������� �� ������� ������� ������, �� ������������ ������������� <makevar>LOCALBASE</makevar> � �������� ������ �� ����� �� ������ ������. �������� ��������� � ������� - <filename>/var/tmp/<replaceable>port-name</replaceable></filename> + <filename>/var/tmp/`make -V PORTNAME`</filename> ������ ���.</para> - <para>�� ��������� ���������� <makevar>USE_X_PREFIX</makevar> �� ��� - ���, ���� ��� �� ����� ���� �� ����������� ��� ����� (�� ���� �� - ����� ����������� � ������������ X ��� ����� ����� ���������� � - ������ �� <makevar>X11BASE</makevar>).</para> - <para>���������� <makevar>PREFIX</makevar> ����� ���� ������������� � ����� ����� <filename>Makefile</filename> ��� � ��������� ������������. ������ ������ �� ������������� ��������� ������ @@ -5559,7 +9702,7 @@ IGNORE=POINTYHAT is not supported <para>����� ����, ���������� � ����������/������ �� ������ ������ � �����������, �������������� ����, ��� �������� ����� ���������. - ��������, ���� ��� ���� �������, ����� ����� <literal>PAGER</literal> + ��������, ���� ��� ���� �������, ����� ������ <literal>PAGER</literal> ������� ������ ����� ������� <command>less</command>, ����������� ���� �����������: @@ -5579,10 +9722,27 @@ IGNORE=POINTYHAT is not supported ���������� �ӣ ������ <filename>/usr/local</filename> ����-�� � ������ �����.</para> </sect1> + + <sect1 id="testing-tinderbox"> + <title>Tinderbox</title> + + <para>���� �� ������ ����������� ������, �� �� ������ �������� + ��������� �� <application>Tinderbox</application>. ��� ������ + ������� ���������� � ������������ ������, ���������� �� ���������, + ������������ � <link linkend="build-cluster">Pointyhat</link>. + <application>Tinderbox</application> ����� ����������, ��������� + ���� <filename role="package">ports-mgmt/tinderbox</filename>. + ����������� ���������� ������������ ������������, ��������� + ������������ �� �������� �����������.</para> + + <para>��� ��������� ������������ �������� <ulink + url="http://tinderbox.marcuscom.com/">������� Tinderbox</ulink>.</para> + + </sect1> </chapter> <chapter id="port-upgrading"> - <title>����������</title> + <title>���������� ���������� �����</title> <para>���� �� ��������, ��� ��� ���� ������� �� ��������� � ��������� ��������� �������, ������ ����� �� ������ �������� ����� @@ -5598,7 +9758,7 @@ IGNORE=POINTYHAT is not supported <para>�� ��������� ���� ���������� ��������, ��� ������� �� ��� ��� ���������� ����� �������. ��� ����� � ��� ���� ��� �����������. ���������� ��������� � <ulink - URL="http://www.FreeBSD.org/cgi/query-pr-summary.cgi?query">���� + url="http://www.FreeBSD.org/cgi/query-pr-summary.cgi?query">���� ������ ��������� � ��������� FreeBSD (PR)</ulink> (��������� ����� ��� <literal>GNATS</literal>) � ���������� �������������. �������� �� ����������� ������ <literal>ports</literal> � ������� �������� @@ -5606,12 +9766,12 @@ IGNORE=POINTYHAT is not supported <para>������ ������ ���� �������� ��������� �������� ����� � ���� Synopsis � ������ ����. � ����� ������ �� ������ ��������������� - <ulink URL="http://portsmon.firepipe.net">�������� ����������� ������ - FreeBSD</ulink> (������� �������� ����� ��� + <link linkend="portsmon">�������� ����������� ������ + FreeBSD</link> (������� �������� ����� ��� <literal>portsmon</literal>). � ������ ���� ������� �������� ������� ���������������� PR, ���������� ������, �� ����� �����. ��� ������ PR, ����������� � ������̣����� �����, ����������� �������� <ulink - URL="http://portsmon.firepipe.net/portoverview.py"> + url="http://portsmon.FreeBSD.org/portoverview.py"> ��������� �� ������ �����</ulink>.</para> <para>���� ����� ���������� PR �� ����������, �� �� ��������� ����� @@ -5621,15 +9781,29 @@ IGNORE=POINTYHAT is not supported ������� �� ��������� ���� ����� ������ (��������, ��-�� ������� �� ������������� ���������������� ����� ������); ��� ��� ����� ����������� �� ������. ��������, ��� ���������������� - ����� ������������� � ������� ����������� + ����� ������������� � ������� ��������������� <literal>ports@FreeBSD.org</literal>, ������� �������� ����� ���� ������� ������ ������ ��������, ��� ��� �������� ���� ���������, ������ �����, � ������ ������ �� �������.</para> - <para>���� ���������� ������ ��� ��������� ����������, ���� - ��� ���������� �����������, �� � ��� ���������� ���� ������ &os;, - ���������� ���������� �����! ����������, ������� ��������� � ��������� - ��������� ������������ <command>diff</command> + <para>���� �������������� ������ ��� ��������� ����������, ���� + �������������� �����������, �� � ��� ���������� ���� ������ &os;, + ���������� ���������� �����! ����������, ������� ��� � �������������� + ������� &man.diff.1; � �������� �������.</para> + + <para>����� ������� ���������� <command>diff</command> ��� ������ �����, + ���������� ����, ������� ����� ����������, � + <replaceable>something.orig</replaceable>, ��������� ���� ��������� � + <replaceable>something</replaceable>, � ����� �������� ���� ����:</para> + + <informalexample> + <screen>&prompt.user; <userinput>/usr/bin/diff something.orig something > something.diff</userinput></screen> + </informalexample> + + <para>� ��������� ������, ��� ������� ��������������� ������� + <command>cvs diff</command> (<xref linkend="cvs-diff">), ���� + ����������� ���������� ����� � ������ + ��������� ������� � ��������� ��������� ����������� ������� &man.diff.1; ����� ����� � ������ ���������� ����� (��������, ���� ������� � ���������������� ������ ���������� <filename>superedit</filename>, � ������������, ����������� � ����������� � ����� ������ ������, @@ -5641,7 +9815,10 @@ IGNORE=POINTYHAT is not supported ��������� diff ��������� �������� � ������ ���������� ����� ������ ��� �������� ������. ����� ���, ��� �������� ��� diff-����, ����������, ��������� ���, ����� ��������� � ���������� ���� ���ӣ���� - ���������. ��� ��������� ������������� �������� � ������� �������� + ���������. (� ���������, ���������, ��� �� �������� ������� �������� + �������� <command>make clean</command>).</para> + + <para>��� ��������� ������������� �������� � ������� �������� �� ������ ��������������� �������� <filename>/usr/ports/Tools/scripts/patchtool.py</filename>. ����� ���, ��� ��� ���������, ����������, �������� @@ -5649,15 +9826,15 @@ IGNORE=POINTYHAT is not supported <para>���� ���� ����� �� ��������������, � �� ������� ��� �����������, ����������, ��������� ��� ���, ����� ����������� ����� ��� - ������������. �� &os; ������� ����� 2000 ������ ��� ���������, � ��� + ��������������. �� &os; ������� ����� 4000 ������ ��� ���������, � ��� ��� ��� �� �������, ��� ������ ����� �����������. (��������� �������� - ������������ ������������ ����� ����� � ������� <ulink - url="../developers-handbook/policies.html#POLICIES-MAINTAINER"> - MAINTAINER � Make-������</ulink>.)</para> + ������������ ��������������� ����� ����� � ������� � <ulink + url="&url.books.developers-handbook;/policies.html#POLICIES-MAINTAINER"> + ����������� ������������</ulink>.)</para> <para>����� ����� ������� ��� diff-����, ������� ��� � ������� �� ������� &man.send-pr.1; (��������� <literal>ports</literal>). ���� �� - ����������� ����������� ������������ ����, + ������������� ����, ����������� ��������� ����� <literal>[maintainer update]</literal> � ������ ������ �������� � ������� � ���� <quote>Class</quote> ������ PR ������� <literal>maintainer-update</literal>. @@ -5670,7 +9847,7 @@ IGNORE=POINTYHAT is not supported � PR.</para> <para>������ ��� ������������ &man.send-pr.1; �� ������ ����������� ������ - � <ulink url="../../articles/problem-reports/pr-writing.html">��������� + � <ulink url="&url.articles.problem-reports;/pr-writing.html">��������� ��������� � ���������</ulink> � ������ � ���������� �� �������; �� �������� ������� ������ ���������� � ���, ��� ������ �������� ��������� � ���������.</para> @@ -5687,12 +9864,633 @@ IGNORE=POINTYHAT is not supported <note> <para>��������� ��� ��� - ��� ������� ���������� ������������ ������ - ����������� ������� &man.diff.1;, � �� &man.shar.1;!</para> + ����������� ������� &man.diff.1;, � �� &man.shar.1;! ��� ������� + ������ ����������� ������, ��� ������ ���� ��������.</para> </note> <para>������, ����� �� ��������� �ӣ ���, ��� ����� ������������ �������� � ���, ��� ������������ ���������� ���������, � <xref linkend="keeping-up">.</para> + + <sect1 id="cvs-diff"> + <title>������������� CVS ��� �������� ������</title> + + <para>�� ����������� ���������� ����������� � ������� &man.cvs.1; diff; + � ����� ���� �� ����� ������������ �� ��������� � �������� ����� + <quote>������ � �����</quote> ����������. � ���� ��, ��� ����� + ������� ���� ��������� � �������� �� � ������, ���� ���-������ + ���������� � ��������� ������ � ��� ���, ��� �� ������ ������, ���� �� + �� ��������� ���� ���������, ���� ���� ��������� �������� ��� + ��������� ���-�� ���.</para> + + <screen>&prompt.user; <userinput>cd ~/my_wrkdir</userinput> <co id="my-wrkdir"> +&prompt.user; <userinput>cvs -d R_CVSROOT co pdnsd</userinput> <co id="R-CVSROOT"> <co id="module-name"> +&prompt.user; <userinput>cd ~/my_wrkdir/pdnsd</userinput></screen> + + <calloutlist> + <callout arearefs="my-wrkdir"> + <para>��� ����� ���� ��� ������; �����, � ������� ������������ + ���������� ������, �� ��������� � + <filename class="directory">/usr/ports/</filename>.</para> + </callout> + + <callout arearefs="R-CVSROOT"> + <para>R_CVSROOT - ��� ������������� cvs ������, �������� ������ �� + ������ �������� <ulink + url="&url.books.handbook;/cvsup.html">����������� &os;</ulink>.</para> + </callout> + + + <callout arearefs="module-name"> + <para>pdnsd - ��� �������� ������ ��� ������� �����; ��� �������, + ��� ������������� �������� �����, ���� ���� � ��������� ����������, + � ��������� ��� �������� ��������� (��� <filename + role="package">german/selfhtml</filename> ��� ������ � ��������� + de-selfhtml); �� ������ ������ �������� ������ ����� <ulink + url="&url.base;/cgi/cvsweb.cgi/ports">��������� cvsweb</ulink>, + ���� ��������� ���� �������, � ������ ������ ��� + <filename class="directory">ports/dns/pdnsd</filename>.</para> + </callout> + </calloutlist> + + <para>�������� � ������� ��������, ������� ����� ���������, ������� + ������ ������ ��� �����. ��� ���������� ��� �������� ����� + ����������� <command>cvs</command>, ��� ���� ����� ����������� ��� + ���������:</para> + + <screen>&prompt.user; <userinput>cvs add new_file</userinput> +&prompt.user; <userinput>cvs remove deleted_file</userinput></screen> + + <para>���������, ��� �� ���������� ���� � ������������ � ������������� + �������� ��������, ��������� � <xref linkend="porting-testing"> � + <xref linkend="porting-portlint">.</para> + + <screen>&prompt.user; <userinput>cvs status</userinput> +&prompt.user; <userinput>cvs update</userinput> <co id="cvs-update"></screen> + + <calloutlist> + <callout arearefs="cvs-update"> + <para>��� ������� ���������� ��������� ������� �������� ����� + ����� ������ � ������� ���������� � CVS; ����������� ��������� + ���������� �����. ����� ����� ��������� ������� ����� �������� + ��� ���������, ���������� � ���� ������. ��� ��������� ������� + ������ �������� <xref linkend="table-cvs-up">.</para> + </callout> + </calloutlist> + + <table pgwide="1" frame="none" id="table-cvs-up"> + <title>�������� ������ ��� cvs update</title> + + <tgroup cols="2"> + <tbody> + <row> + <entry>U</entry> + + <entry>���� �������� ��� �������.</entry> + </row> + + <row> + <entry>P</entry> + + <entry>���� �������� ��� ������� (�� ������� ��� ������ + ��� ������ � ��������� ������������).</entry> + </row> + + <row> + <entry>M</entry> + + <entry>���� � ���������� �����������, ������� ��������� + ��� ����������.</entry> + </row> + + <row> + <entry>C</entry> + + <entry>���� � ���������� �����������, ������� ��������� + � �����������.</entry> + </row> + </tbody> + </tgroup> + </table> + + <para>���� � ���������� ���������� <literal>cvs update</literal> �� + �������� <literal>C</literal>, �� ��� ��������, ��� ���-�� ���������� + � CVS � &man.cvs.1; �� ������ ��������� ������� ����� ��������� + ��������� � ����������� �� CVS. ��� ������ ������� ���� - � ����� + ������ ������������� ���������, ��������� ������� <command>cvs</command> + ������ �� ����� � ���, ����� ������ ���� ����, ������� ��� ����� + (�, ��������, �����) ������ ������� ��� ���������, ������� �� ����� + ������.</para> + + <para>��������� ����� �������� �������� ���������������� &man.diff.1; + ��� ������ ������������ CVS:</para> + + <screen>&prompt.user; <userinput>cvs diff -uN > ../`basename ${PWD}`.diff</userinput></screen> + + <note> + <para>����� ������������ <option>-N</option>, ����� ���������, ��� + ����������� ��� ��������� ���� ����� �������� � ����. ���� ����� + �������� � ���� ����� ��������� �����, �� ����� ��������� ����� �� + ���������� ����� ������, ������� �� ��������� �������� ��� � PR, + ��� ����� ��������� ���� � ���, ��� �� ���� �������.</para> + </note> + + <para>���������� ���� ����� � ������������ � ������������, ��������� � + <xref linkend="port-upgrading">.</para> + </sect1> + + <sect1 id="moved-and-updating-files"> + <title>����� UPDATING � MOVED</title> + + <para>���� ��� ���������� ����� ��������� ����������� ����, ����� ��� + ��������� ������ ������������ ��� ������ ����������� ���������, + �� ��� ������� ��� ����������������� � ����� + <filename>/usr/ports/UPDATING</filename>. ������ ������ � ���� ����� + ��� �������� ����:</para> + + <programlisting>YYYYMMDD: + AFFECTS: users of portcategory/portname + AUTHOR: Your name <Your email address> + + Special instructions</programlisting> + + <para>���� �� ��������� ������ ���������� portmaster ��� portupgrading, + ����������, ��������� � ���������� ������������� �������� ������ + ��������� ��������.</para> + + <para>���� ��� ���� ������ ��� ������������, �� ��� ������� �������� + ������ � <filename>/usr/ports/MOVED</filename>. ������ � ���� ����� + ���������� ��������� ������:</para> + + <programlisting>old name|new name (blank for deleted)|date of move|reason</programlisting> + </sect1> + </chapter> + + <chapter id="security"> + <title>������������ ������</title> + + <sect1 id="security-intro"> + <title>������ ������������ ��� �����</title> + + <para>������ � ����������� ����������� ���������� ��������. ��������, + ����� ������� �� ��� ��, ��� ������� ���������� ������������. � + ����������� ����� ������ �������� ���������� ������ ���� ������� + ����� ����������� ���������� �� ������. ��� �� �����, �������� + ��������� �������������� ������ � ����������� ����� �����������. + </para> + + <para>������� ��������� ������ ����������� ������ ��� �������������, + ������� ����������� ��������� ���������� ��������, ������������ ��� + ������. ����������� � �������� ����� �������� ����, � ������ ����� + ������ ������������ �����������, ���������� �� ������, �� ����������� + ������������� �� ��������� ������ ����� �� ���������� ����������, + ��������� ��� ������ ������� � ��� �� �����������. ����������� + ������, ������� ����� ��������� � ������ ������, ������������ + ��������� ��������. ��� �� �����, ������������������ ������������ + �����, ��� ����������� ��������� ������������, � ����� ��� ����������� + ������, ������ ����� �������� � ������ ������, ������� ��� ��������� + ��������� ����������� ������ ������; �������������, ����������� + ������ ����� ���������� ����� �����.</para> + + <para>� ����������� ������������ �ӣ �����. ��-������, ��� ����� + ����������� �������������� ����� ����, ������ ��� ���� ����� �� + �������� ������ � ������. ��-������, �������� ��������������� + ����� ������������ �� ��� ��������� ����������������� ������� � + �������� �������, ���������� ��� ��������� ������ ������; � ������ + ������ ������������ ���� �� ������� ���������� ����. �-�������, + ����� �������� ������� ����� �������� ������ ������������� ��������� + � ������ �������, ������� �� ����� ���� ����������������� �����. + ����� �������, ���������� ���������� ��� ������� ������������: + ������� ��������� ���� ���������������� ����������� � �������� + �������� � ������������� �����, ��� �������� ������� ���� � + ����������� ���������� ����.</para> + </sect1> + + <sect1 id="security-fix"> + <title>����������� ����������� ������������</title> + + <para>��� �������� ������ � �������, ���������� ������������ + ���������� ����� ��������� � �������� ������������ ��� ������ + �����. � ������ ������, ����������� ��������� ������������ + ����������� ������ ����� ����� �� �������� ���� ��� ����� ������, + � ��� ���� ����������� ����� �������� ���� � ������������ � + ������������ ������. ���� ����������� �� �����-�� ������� + �������������, ��� ������� ���� <link linkend="dads-noinstall">�������� + ���� ��� <makevar>FORBIDDEN</makevar></link>, ���� �������� � ���� + ��� ����������� ����. � ������ ���������� ����� ������ ��������� + ���� ���� ��� ����� ������. � ����� ������ ����� ��������� + <link linkend="port-upgrading">����������� ��������� �������� ������ + ���������</link>, ���� �� �� ��������� ������� �� ������ ��������� + ��������������� � ������ ������.</para> + + <important> + <para>���� ����������� ������ ������������ ��� ������� ������������� + �����. �������, ��� ������ � ������ ���� ��������������, ������ + ������� �� ������ ���������.</para> + </important> + + <para>����������, ���������, ��� ������� ����� ����� �������� + ���������� ���������. ��� ��� ������������, ����������� + ������������� ������ �� ���������� ������, ������, ��� �� ����� + ��������� ����������. ����� ����, ����� ����� ����� ������ � + ������������� ����� FTP � WWW �������, ������� ��������. + ���� � �������� ����������� ���������� �� ���� �������� �������� + <makevar>PORTVERSION</makevar>, �� ������ ���� ��������� �������� + <makevar>PORTREVISION</makevar>. ��� ������� ��������� �������� + <makevar>PORTREVISION</makevar> ����� ���������� � ���� ����� � + ������, �� �� ����� �� �������� ���� �� ��������� ������ + ������������ �����������, ������� �������� ��� ���� + <makevar>PORTVERSION</makevar>. �� ���������� ����������� + ����������� � + <link linkend="makefile-naming-revepoch">���������������� + �������</link>.</para> + </sect1> + + <sect1 id="security-notify"> + <title>����������� ���������� �����������</title> + + <sect2 id="security-notify-vuxml-db"> + <title>���� ������ VuXML</title> + + <para>����� ������ � �������������� ����� ��� �������� ��� ����� + ������ ����� ��������� ���������� �������� ����������� ���������� + ������������� ����� �� ���������. ����� ����������� ������ ���� + �����. ��-������, � ������ ������������� ��������� ������, ����� + ������������ ��������� ���������� �����������, ��������, ��������� + �������������� �������� ������� ��� ���� �������� ����� �������, + ���� ���������� �� ����� ���������. ��-������, ����� + ������������� ����� ��������� ��������� ������������� ������ �� + ������ � ������. �� ����������� ��� ������, ��� + <emphasis>������</emphasis> �������� ����� ��� ����������� ����� + �� ����� ��������� ������������ ������.</para> + + <para>�������� �������� ����� ������ � ������, ���������� �� + ������� ������ ��������� ��������� ������������ ��� �������� + ����� � ������ �������� ���������� � ������� ��������� + ������������� ��������� ������. ������� ���������� ������������, + ������������ � ������, ������������ � <ulink + url="http://vuxml.freebsd.org/">���� ������ FreeBSD VuXML</ulink>. + ����� ������� �������� ������������ �������� �� ���������� �� + ������� ��������� ��������, ��������� �� �������������.</para> + + <para>���� �� ��������� ������� ����������, �� ������ ��� �������� + ���� ������ VuXML. ��� �� �������� ������� �������� ������������ + � ������������ ������� ������ ���������� ����������. ��� �� + �����, ���� �� �� ��������� ����������� ��� ������, ��� ����� + ������������� ��������� ����������, ��� ���-�� ���, �� �� + ����������� ��������� � �������� �������� ������������ �������� + ��� ��� ������� �� �������� <ulink + url="http://www.freebsd.org/security/#how">�������������� + ������������ FreeBSD</ulink>.</para> + + <para>������, �� ������� ������� ����. ��� ��� ����� ���� �������� + �� ������ ��������, ���� ������ VuXML �� �������� �������� + ���������� XML. ��� �������� ���� <filename>vuln.xml</filename> + ���������� ����� ������ ����� <filename + role="package">security/vuxml</filename>. ������� ������ ��� + ���� � ����� ����� + <filename><envar>PORTSDIR</envar>/security/vuxml/vuln.xml</filename>. + ������ ���, ��� ����������� ���� � ����� ���������� ������������ + �������� �� ���� ������ � ���� ����. ���� �� �� ������� � VuXML, + ������, ��� �� ������ �������, ��� ����� ������������ ������, + ����������� ��� ��� ������, ����� ����������� �� � ������������ + � �������� �������.</para> + </sect2> + + <sect2 id="security-notify-vuxml-intro"> + <title>�������� ���������� � VuXML</title> + + <para>��������������� XML ����� ������ � ������� ������ �� ����� + ���� �����. ��� �� �����, ��� ���������� ��������� ��������� + ��������� ������ VuXML, ��� ����������� ������ ������� �����. + ����� ����� XML ����������� � ������� ������. ������ ����������� + <���> ������ ����� ����������� ����������� </tag>. + ���� ����� ���� ����������. ��� ����������� ���������� ���� + ������ ���� ������� �� �������� �������. ���������� �������� + �����, �.�. ����� ������� ������� ����������� �����. ����� + ������ �� HTML, ������? �������� ������� � ������������� XML, + �.�. ����������� ����������� �����. ��-�� ����� ����������� + ���������, XML ������� ����� ������������ ������. � ���������, + XML �������� ��� �������� �������� ����������� ������������.</para> + + <para>������ ������� ������� ��������� ������ VuXML:</para> + + <programlisting><vuln vid="f4bc80f4-da62-11d8-90ea-0004ac98a7b9"> <co id="co-vx-vid"> + <topic>Several vulnerabilities found in Foo</topic> <co id="co-vx-top"> + <affects> + <package> + <name>foo</name> <co id="co-vx-nam"> + <name>foo-devel</name> + <name>ja-foo</name> + <range><ge>1.6</ge><lt>1.9</lt></range> <co id="co-vx-rng"> + <range><ge>2.*</ge><lt>2.4_1</lt></range> + <range><eq>3.0b1</eq></range> + </package> + <package> + <name>openfoo</name> <co id="co-vx-nm2"> + <range><lt>1.10_7</lt></range> <co id="co-vx-epo"> + <range><ge>1.2,1</ge><lt>1.3_1,1</lt></range> + </package> + </affects> + <description> + <body xmlns="http://www.w3.org/1999/xhtml"> + <p>J. Random Hacker reports:</p> <co id="co-vx-bdy"> + <blockquote + cite="http://j.r.hacker.com/advisories/1"> + <p>Several issues in the Foo software may be exploited + via carefully crafted QUUX requests. These requests will + permit the injection of Bar code, mumble theft, and the + readability of the Foo administrator account.</p> + </blockquote> + </body> + </description> + <references> <co id="co-vx-ref"> + <freebsdsa>SA-10:75.foo</freebsdsa> <co id="co-vx-fsa"> + <freebsdpr>ports/987654</freebsdpr> <co id="co-vx-fpr"> + <cvename>CAN-2010-0201</cvename> <co id="co-vx-cve"> + <cvename>CAN-2010-0466</cvename> + <bid>96298</bid> <co id="co-vx-bid"> + <certsa>CA-2010-99</certsa> <co id="co-vx-cts"> + <certvu>740169</certvu> <co id="co-vx-ctv"> + <uscertsa>SA10-99A</uscertsa> <co id="co-vx-ucs"> + <uscertta>SA10-99A</uscertta> <co id="co-vx-uct"> + <mlist msgid="201075606@hacker.com">http://marc.theaimsgroup.com/?l=bugtraq&amp;m=203886607825605</mlist> <co id="co-vx-mls"> + <url>http://j.r.hacker.com/advisories/1</url> <co id="co-vx-url"> + </references> + <dates> + <discovery>2010-05-25</discovery> <co id="co-vx-dsc"> + <entry>2010-07-13</entry> <co id="co-vx-ent"> + <modified>2010-09-17</modified> <co id="co-vx-mod"> + </dates> +</vuln></programlisting> + + <para>����� ����� ������ ���� ��������������������, ����� �� + ��������������� ������ �� �����, ������ ��� ��� ����������:</para> + + <calloutlist> + <callout arearefs="co-vx-vid"> + <para>��� ��� �������� ������ ������ VuXML. � ���� ���� + ������������ ������� <literal>vid</literal>, ����������� �� + ������������� ���������� ������������� (UUID) ��� ���� ������ + (� ��������). �� ������ ����������� UUID ��� ������ ����� + ������ VuXML (� �� �������� �������� �� ��� ������� UUID, + ���� �� �� ������ ������ � ����). ��� ��������� VuXML UUID + �� ������ ������������ &man.uuidgen.1;; �����, ���� �� + ����������� FreeBSD 4.x, �� ������ ���������� ���� <filename + role="package">devel/p5-Data-UUID</filename> � ��������� + ��������� �������:</para> + + <programlisting>perl -MData::UUID -le 'print lc new Data::UUID->create_str'</programlisting> + </callout> + + <callout arearefs="co-vx-top"> + <para>������������ �������� ��������� ��������.</para> + </callout> + + <callout arearefs="co-vx-nam"> + <para>����� ����������� ����� ���������� �������. + ����� ���� ���� ��������� ����, ��������� ��������� ������ + ����� ���� �������� �� ����� ������� ����� ��� ����������� + ��������. ���� ����� �������� ���������� ����� � ����� + ����������, �������������� ������ � ����������� �����, + ��������� �� ���������� ������ ������ ��������� ������������, + ��������� �� ����� ����������.</para> + + <important> + <para>����� ���� �������� ������� ��� ��������� ������ VuXML + ������ � ���� ����� ���������������. ������ � ����, ��� + <literal>make search name=foo</literal> ��� ��� ����. + ��������� ����� ��� ������ ���������:</para> + + <itemizedlist> + <listitem> + <para>������� <filename>foo-devel</filename> ��� ����� + <filename>foo</filename>;</para> + </listitem> + + <listitem> + <para>������ �������� � ���������� ���� + <literal>-a4</literal> (��� �������, ��������� � �������), + <literal>-without-gui</literal> (��� ������� � + ����������� ���������� X), ��� ��������;</para> + </listitem> + + <listitem> + <para><literal>jp-</literal>, <literal>ru-</literal>, + <literal>zh-</literal> � ������ ��������� �������������� + �������� � ��������������� ������������ ���������� + ��������� ������.</para> + </listitem> + </itemizedlist> + </important> + </callout> + + <callout arearefs="co-vx-rng"> + <para>����� ������� ���������� ������ ������(-��) ��� ���� ��� + ����� ���������� � �������������� ���������� ��������� + <literal><lt></literal>, <literal><le></literal>, + <literal><eq></literal>, <literal><ge></literal>, + � <literal><gt></literal>. ��������� ���ӣ���� ������ + �� ������ ������������.</para> + + <para>� ������������ ���������� <literal>*</literal> (�ף������) + �������� ���������� ����� ������. � ���������, + <literal>2.*</literal> ������, ��� <literal>2.a</literal>. + ������� ��������� ����� ���� ������������ � ��������� ��� + ���������� �� ����� ���������� <literal>alpha</literal>, + <literal>beta</literal> � <literal>RC</literal> ��������. + ��� �������, + <literal><ge>2.*</ge><lt>3.*</lt></literal> + ��������� �������� � ������� <literal>2.x</literal>, � + <literal><ge>2.0</ge><lt>3.0</lt></literal> + - �������� ���, ��������� ��������� �� �������� + <literal>2.r3</literal> � ��������� � <literal>3.b</literal>. + </para> + + <para>������ ���� ���������, ��� � ���������� ��������� ������ � + <literal>1.6</literal> �� <literal>1.9</literal> ������������, + ������ <literal>2.x</literal> �� <literal>2.4_1</literal> � + ������ <literal>3.0b1</literal>.</para> + </callout> + + <callout arearefs="co-vx-nm2"> + <para>��������� ��������� ������ ������� (� �������� �����, �����) + ����� ���� ������� � ������� <literal><affected></literal>. + ��� ����� ������������, ���� ��������� ����������� �������� + (������, FooBar, FreeBar and OpenBar) �������� ������������ + �� ����� ������� ���� � �ӣ ��� ��������� ���������� ţ ������ + � ����������. ������ � ���� ������� �� ������������ + ������������� �ͣ� � ����� ������� <package>.</para> + </callout> + + <callout arearefs="co-vx-epo"> + <para>��������� ������ ������ ��������� + <makevar>PORTEPOCH</makevar> � <makevar>PORTREVISION</makevar>, + ���� ��� ���������. ����������, �������, ��� � ������������ + � ��������� ��������� ����� ������ � ��������� ��������� + <makevar>PORTEPOCH</makevar> ����, ��� ����� ������ ��� + <makevar>PORTEPOCH</makevar>, ��������, <literal>3.0,1</literal> + ����, ��� <literal>3.1</literal> ��� ���� <literal>8.9</literal>. + </para> + </callout> + + <callout arearefs="co-vx-bdy"> + <para>������� ���������� � ��������. � ���� ���� + ������������ XHTML. �� ������� ����, ������ ���� ����������� + <literal><p></literal> � <literal></p></literal>. + ����� ���� ������������ ����� ������� ��������, �� ������ � + ����� ������������ � �������: ��� ���������, ����������. + </para> + + <callout arearefs="co-vx-ref"> + <para>���� ������ �������� ������ �� ������� ��������� ���������. + �������������� ��� ����� ������� ���������� ������.</para> + </callout> + + <callout arearefs="co-vx-fsa"> + <para>��� + <ulink url="http://www.freebsd.org/security/#adv">��������� + ������������ FreeBSD</ulink>.</para> + </callout> + + <callout arearefs="co-vx-fpr"> + <para>��� + <ulink url="http://www.freebsd.org/support.html#gnats">��������� + �� ������ FreeBSD</ulink>.</para> + </callout> + + <callout arearefs="co-vx-cve"> + <para>������������� + <ulink url="http://www.cve.mitre.org/">Mitre + CVE</ulink>.</para> + </callout> + + <callout arearefs="co-vx-bid"> + <para>��� + <ulink url="http://www.securityfocus.com/bid">SecurityFocus + Bug ID</ulink>.</para> + </callout> + + <callout arearefs="co-vx-cts"> + <para>��������� ������������ + <ulink url="http://www.cert.org/">US-CERT</ulink>.</para> + </callout> + + <callout arearefs="co-vx-ctv"> + <para>���������� � ���������� + <ulink url="http://www.cert.org/">US-CERT</ulink>.</para> + </callout> + + <callout arearefs="co-vx-ucs"> + <para>����������� ������� Cyber Security Alert + <ulink url="http://www.cert.org/">US-CERT</ulink>.</para> + </callout> + + <callout arearefs="co-vx-uct"> + <para>����������� ������� Technical Cyber Security Alert + <ulink url="http://www.cert.org/">US-CERT</ulink>.</para> + </callout> + + <callout arearefs="co-vx-mls"> + <para>URL � ��������� ��������� � ������ ��������. + ������� <literal>msgid</literal> �������� �������������� + � ����� ��������� �� message ID ���������.</para> + </callout> + + <callout arearefs="co-vx-url"> + <para>�������� URL. ������ ���� ����������� � ������, ���� + �� �������� �� ���� �� ��������� ���������.</para> + </callout> + + <callout arearefs="co-vx-dsc"> + <para>���� ���������� ��������� ����� ���������� ������ ������ + (<replaceable>YYYY-MM-DD</replaceable>). ����� ������ �� + ������ �������� ��� ����. ���� ������ ���� ��������� ����� + �������������� ������������ ������.</para> + </callout> + </calloutlist> + </sect2> + + <sect2 id="security-notify-vuxml-testing"> + <title>������������ ����� ��������� � ���� ������ VuXML</title> + + <para>�����������, ��� �� ������ ��� �������� ��� ��������� ������ + �� ���������� � ������ <literal>clamav</literal>, ������� ���� + ���������� � ������ <literal>0.65_7</literal>.</para> + + <para>������ �����, ��� ����� ���������� ������ ������ ������ + <filename role="package">ports-mgmt/portaudit</filename> � + <filename role="package">ports-mgmt/portaudit-db</filename>.</para> + + <para>��-������, ���������, ��� �� ��� ������ �� ���� ����������. + ���� ����� ������ ����, ��� ����� ��������� � ���������� ������� + ������ <literal>0.65_6</literal>:</para> + + <screen>&prompt.user; <userinput>packaudit</userinput> +&prompt.user; <userinput>portaudit clamav-0.65_6</userinput></screen> + + <note> + <para>��� ������� <command>packaudit</command> �� ������ �������� + ������� �� ������ � + <filename><makevar>DATABASEDIR</makevar></filename>; ��� �������, + ��� <filename>/var/db/portaudit</filename>.</para> + </note> + + <para>���� ������ �� �������, ������ �� �������� ������� ���� ��� + ���������� ����� ������ ��� ���� ����������. ������ �� ������ + ������������� ��������� UUID (�����������, ��� ��� ����� + <literal>74a9541d-5d6c-11d8-80e3-0020ed76ef5a</literal>) � + �������� ���� ����� ������ � ���� ������ VuXML. ����������, + ��������� ����� ����� ��������� ������ ��������� �������:</para> + + <screen>&prompt.user; <userinput>cd ${PORTSDIR}/security/vuxml && make validate</userinput></screen> + + <note> + <para>��� ����������� ���������� �� ������� ���� ���� �� ��������� + �������: <filename role="package">textproc/libxml2</filename>, + <filename role="package">textproc/jade</filename>.</para> + </note> + + <para>������ ��������� �������������� ���� ������ + <command>portaudit</command> �� ����� VuXML:</para> + + <screen>&prompt.user; <userinput>packaudit</userinput></screen> + + <para>����� ���������, ��� ������ <literal><affected></literal> + � ����� ������ ��������� � ����������� ��������, ��������� + ��������� �������:</para> + + <screen>&prompt.user; <userinput>portaudit -f /usr/ports/INDEX -r 74a9541d-5d6c-11d8-80e3-0020ed76ef5a</userinput></screen> + + <note> + <para>��� ������� ��������� ���������� ���� ������� ����������� + � &man.portaudit.1;.</para> + </note> + + <para>���������, ��� ���� ������ �� ���������� ������ ���������� + � ������.</para> + + <para>������ ���������, ��������� �� ���� ������ � ������� �������� + ������:</para> + + <screen>&prompt.user; <userinput>portaudit clamav-0.65_6 clamav-0.65_7</userinput> +Affected package: clamav-0.65_6 (matched by clamav<0.65_7) +Type of problem: clamav remote denial-of-service. +Reference: <http://www.freebsd.org/ports/portaudit/74a9541d-5d6c-11d8-80e3-0020ed76ef5a.html> + +1 problem(s) found.</screen> + + <para>��������, ��� ������ ������ ������ ��������, � ��������� + ���.</para> + + <para>� ���������� ���������, ��� ���-��������, �������������� �� + ���� ������ VuXML, �������� ��� ��������:</para> + + <screen>&prompt.user; <userinput>mkdir -p ~/public_html/portaudit</userinput> +&prompt.user; <userinput>packaudit</userinput> +&prompt.user; <userinput>lynx ~/public_html/portaudit/74a9541d-5d6c-11d8-80e3-0020ed76ef5a.html</userinput></screen> + </sect2> + </sect1> </chapter> <chapter id="porting-dads"> @@ -5708,74 +10506,12 @@ IGNORE=POINTYHAT is not supported ��������� PR</ulink>, ������� �������� ������� ������. ���������� ����� ����������� � ������, ������� �� ���������, ���, ��� ��� ������� � ������ � <ulink - url="../../articles/contributing/contrib-how.html#CONTRIB-GENERAL"> + url="&url.articles.contributing;/contrib-how.html#CONTRIB-GENERAL"> ���������� �� ������� � ����� ����������</ulink>. �������� ������ � ���� ��������� PR �������� ��� ������� ���������� �� � ��������������, ��� �� ������, ��� �������.</para> </sect1> - <sect1 id="dads-strip"> - <title>�������� ���������� ���������� � �������� ������</title> - - <para>�� �������� ���������� ���������� �� �������� ������ �������, ���� - �� ��� ������. �� ���� �������� ������ ���������� ���������� ������ - ���� �������, � ������ <maketarget>INSTALL_PROGRAM</maketarget> ����� - ��������� ��������� � �������� ���������� ���������� ������������ - (���������� � ���������� �������).</para> - - <para>���� ��� ����� ������� ���������� ���������� �� �����, �� ��� - ������������� ������� <makevar>INSTALL_PROGRAM</makevar>, �� ��� - ����� ������� ��� ������ <makevar>${STRIP_CMD}</makevar>. ������ ��� - �������� ������ ���� <literal>post-install</literal>. � - �������:</para> - - <programlisting>post-install: - ${STRIP_CMD} ${PREFIX}/bin/xdl</programlisting> - - <para>��� �������� ����, ������� �� ���������� ���������� �� - �������������� ����������� �����, ��������� ������� &man.file.1;. - ���� ������� �� ������ ������ <literal>not stripped</literal>, �� - ���� ��� ���������. ����� ����, &man.strip.1; �� ����� ������������ - ���������, ���������� ���������� �� ������� ��� �������; ������ ����� - ������� ������ �������� ���� ������.</para> - </sect1> - - <sect1 id="dads-install"> - <title>������� INSTALL_*</title> - - <para>����������� �������, ������� ���� � ����� - <filename>bsd.port.mk</filename> ��� ����������� ���������� ���� - ������� � �������� ������ � ����� ����� - <maketarget>*-install</maketarget>.</para> - - <itemizedlist> - <listitem> - <para><makevar>INSTALL_PROGRAM</makevar> - ��� ������� ��� - ��������� �������� ���������� ������.</para> - </listitem> - - <listitem> - <para><makevar>INSTALL_SCRIPT</makevar> - ��� ������� ��� ��������� - ���������� ��������.</para> - </listitem> - - <listitem> - <para><makevar>INSTALL_DATA</makevar> - ��� ������� ��� ��������� - ��������� ������������ ������ ������.</para> - </listitem> - - <listitem> - <para><makevar>INSTALL_MAN</makevar> - ��� ������� ��� ��������� - ������� ����������� � ������ ������������ (������� ������ ��� �� - �������).</para> - </listitem> - </itemizedlist> - - <para>� ������ ������ ���� �������� ����� ������� - <command>install</command> �� ����� ���������������� �������. - �������� ������ �� ������������� ����.</para> - </sect1> - <sect1 id="porting-wrkdir"> <title><makevar>WRKDIR</makevar></title> @@ -5783,7 +10519,7 @@ IGNORE=POINTYHAT is not supported ������� <makevar>WRKDIR</makevar> �������� ������������ ������, ������� �������������� ����� �������� ��� ������ �� ����� ���������� ����� (���������� � ����� � <ulink - url="../handbook/ports-using.html#PORTS-CD">��������� ������ � + url="&url.books.handbook;/ports-using.html#PORTS-CD">��������� ������ � CDROM</ulink> �� �������� ���������� ������ �� ������, ���������� ������ ��� ������). ���� ��� ����� �������� �����-���� �� ������ @@ -5822,8 +10558,9 @@ IGNORE=POINTYHAT is not supported <para>���������������� �������� ��������� ���� ��� 4.3BSD/Reno (1990) � � ����� ����� ������ BSD �������� ������������� ������� - <literal>BSD</literal>, ������������� � ����� - <filename><sys/param.h></filename>. ������, ���� ���� ���� ��� + <literal>BSD</literal>, ������������� � ����� <ulink + url="http://cvsweb.freebsd.org/src/sys/sys/param.h">sys/param.h</ulink>. + ������, ���� ���� ���� ��� �������; ���� ��� �� ���, �� �������� ����� ���:</para> <programlisting> @@ -5935,1389 +10672,3801 @@ IGNORE=POINTYHAT is not supported <para>���� ��� ������� ���������� �������� �������� <literal>__FreeBSD_version</literal> � ����, ������� ������̣� � - <filename>sys/param.h</filename>:</para> + <ulink url="http://cvsweb.freebsd.org/src/sys/sys/param.h">sys/param.h</ulink>:</para> <table frame="none"> <title>�������� __FreeBSD_version</title> - <tgroup cols="2"> + <tgroup cols="3"> <thead> <row> + <entry>��������</entry> + <entry>����</entry> <entry>�����</entry> - - <entry><literal>__FreeBSD_version</literal></entry> </row> </thead> <tbody> <row> - <entry>2.0-RELEASE</entry> - <entry>119411</entry> + <entry></entry> + <entry>2.0-RELEASE</entry> </row> <row> - <entry>2.1-CURRENT</entry> - <entry>199501, 199503</entry> + <entry>19 ����� 1995</entry> + <entry>2.1-CURRENT</entry> </row> <row> - <entry>2.0.5-RELEASE</entry> - <entry>199504</entry> + <entry>9 ������ 1995</entry> + <entry>2.0.5-RELEASE</entry> </row> <row> - <entry>2.2-CURRENT �� ������ 2.1</entry> - <entry>199508</entry> + <entry>26 ������� 1995</entry> + <entry>2.2-CURRENT �� ������ 2.1</entry> </row> <row> - <entry>2.1.0-RELEASE</entry> - <entry>199511</entry> + <entry>10 ������ 1995</entry> + <entry>2.1.0-RELEASE</entry> </row> <row> - <entry>2.2-CURRENT �� ������ 2.1.5</entry> - <entry>199512</entry> + <entry>10 ������ 1995</entry> + <entry>2.2-CURRENT �� ������ 2.1.5</entry> </row> <row> - <entry>2.1.5-RELEASE</entry> - <entry>199607</entry> + <entry>10 ���� 1996</entry> + <entry>2.1.5-RELEASE</entry> </row> <row> - <entry>2.2-CURRENT �� ������ 2.1.6</entry> - <entry>199608</entry> + <entry>12 ���� 1996</entry> + <entry>2.2-CURRENT �� ������ 2.1.6</entry> </row> <row> + <entry>199612</entry> + <entry>15 ������ 1996</entry> <entry>2.1.6-RELEASE</entry> - - <entry>199612</entry> </row> <row> + <entry>199612</entry> + <entry></entry> <entry>2.1.7-RELEASE</entry> - - <entry>199612</entry> </row> <row> - <entry>2.2-RELEASE</entry> - <entry>220000</entry> + <entry>19 ������� 1997</entry> + <entry>2.2-RELEASE</entry> </row> <row> + <entry>(��� ���������)</entry> + <entry></entry> <entry>2.2.1-RELEASE</entry> - - <entry>220000 (��� ���������)</entry> </row> <row> + <entry>(��� ���������)</entry> + <entry></entry> <entry>2.2-STABLE ����� ������ 2.2.1-RELEASE</entry> - - <entry>220000 (��� ���������)</entry> </row> <row> - <entry>2.2-STABLE ����� ��������� texinfo-3.9</entry> - <entry>221001</entry> + <entry>15 ������ 1997</entry> + <entry>2.2-STABLE ����� ��������� texinfo-3.9</entry> </row> <row> - <entry>2.2-STABLE ����� ��������� top</entry> - <entry>221002</entry> + <entry>30 ������ 1997</entry> + <entry>2.2-STABLE ����� ��������� top</entry> </row> <row> - <entry>2.2.2-RELEASE</entry> - <entry>222000</entry> + <entry>16 ��� 1997</entry> + <entry>2.2.2-RELEASE</entry> </row> <row> - <entry>2.2-STABLE ����� ������ 2.2.2-RELEASE</entry> - <entry>222001</entry> + <entry>19 ��� 1997</entry> + <entry>2.2-STABLE ����� ������ 2.2.2-RELEASE</entry> </row> <row> - <entry>2.2.5-RELEASE</entry> - <entry>225000</entry> + <entry>2 ������� 1997</entry> + <entry>2.2.5-RELEASE</entry> </row> <row> - <entry>2.2-STABLE ����� ������ 2.2.5-RELEASE</entry> - <entry>225001</entry> + <entry>20 ������ 1997</entry> + <entry>2.2-STABLE ����� ������ 2.2.5-RELEASE</entry> </row> <row> - <entry>2.2-STABLE ����� ��������� ldconfig -R</entry> - <entry>225002</entry> + <entry>27 ������� 1997</entry> + <entry>2.2-STABLE ����� ��������� ldconfig -R</entry> </row> <row> - <entry>2.2.6-RELEASE</entry> - <entry>226000</entry> + <entry>24 ����� 1998</entry> + <entry>2.2.6-RELEASE</entry> </row> <row> - <entry>2.2.7-RELEASE</entry> <entry>227000</entry> + <entry>21 ���� 1998</entry> + <entry>2.2.7-RELEASE</entry> </row> <row> - <entry>2.2-STABLE ����� ������ 2.2.7-RELEASE</entry> - <entry>227001</entry> + <entry>21 ���� 1998</entry> + <entry>2.2-STABLE ����� ������ 2.2.7-RELEASE</entry> </row> <row> - <entry>2.2-STABLE ����� ��������� � &man.semctl.2;</entry> - <entry>227002</entry> + <entry>19 �������� 1998</entry> + <entry>2.2-STABLE ����� ��������� � &man.semctl.2;</entry> </row> <row> - <entry>2.2.8-RELEASE</entry> - <entry>228000</entry> + <entry>29 ������ 1998</entry> + <entry>2.2.8-RELEASE</entry> </row> <row> - <entry>2.2-STABLE ����� ������ 2.2.8-RELEASE</entry> - <entry>228001</entry> + <entry>29 ������ 1998</entry> + <entry>2.2-STABLE ����� ������ 2.2.8-RELEASE</entry> </row> <row> - <entry>3.0-CURRENT �� ��������� � &man.mount.2;</entry> - <entry>300000</entry> + <entry>19 ������� 1996</entry> + <entry>3.0-CURRENT �� ��������� � &man.mount.2;</entry> </row> <row> - <entry>3.0-CURRENT ����� ��������� � &man.mount.2;</entry> - <entry>300001</entry> + <entry>24 �������� 1997</entry> + <entry>3.0-CURRENT ����� ��������� � &man.mount.2;</entry> </row> <row> - <entry>3.0-CURRENT ����� ��������� � &man.semctl.2;</entry> - <entry>300002</entry> + <entry>2 ���� 1998</entry> + <entry>3.0-CURRENT ����� ��������� � &man.semctl.2;</entry> </row> <row> - <entry>3.0-CURRENT ����� ��������� � ���������� ioctl</entry> - <entry>300003</entry> + <entry>7 ���� 1998</entry> + <entry>3.0-CURRENT ����� ��������� � ���������� ioctl</entry> </row> <row> - <entry>3.0-CURRENT ����� �������� �� ������ ELF</entry> - <entry>300004</entry> + <entry>3 �������� 1998</entry> + <entry>3.0-CURRENT ����� �������� �� ������ ELF</entry> </row> <row> - <entry>3.0-RELEASE</entry> - <entry>300005</entry> + <entry>16 ������� 1998</entry> + <entry>3.0-RELEASE</entry> </row> <row> - <entry>3.0-CURRENT ����� ������ 3.0-RELEASE</entry> - <entry>300006</entry> + <entry>16 ������� 1998</entry> + <entry>3.0-CURRENT ����� ������ 3.0-RELEASE</entry> </row> <row> - <entry>3.0-STABLE ����� ��������� �� ����� 3/4</entry> - <entry>300007</entry> + <entry>22 ������ 1999</entry> + <entry>3.0-STABLE ����� ��������� �� ����� 3/4</entry> </row> <row> - <entry>3.1-RELEASE</entry> - <entry>310000</entry> + <entry>9 ������� 1999</entry> + <entry>3.1-RELEASE</entry> </row> <row> - <entry>3.1-STABLE ����� ������ 3.1-RELEASE</entry> - <entry>310001</entry> + <entry>27 ����� 1999</entry> + <entry>3.1-STABLE ����� ������ 3.1-RELEASE</entry> </row> <row> + <entry>310002</entry> + <entry>14 ������ 1999</entry> <entry>3.1-STABLE ����� ��������� � ������� ���������� �������������/������������ � C++</entry> - - <entry>310002</entry> </row> <row> - <entry>3.2-RELEASE</entry> - <entry>320000</entry> + <entry></entry> + <entry>3.2-RELEASE</entry> </row> <row> - <entry>3.2-STABLE</entry> - <entry>320001</entry> + <entry>8 ��� 1999</entry> + <entry>3.2-STABLE</entry> </row> <row> + <entry>320002</entry> + <entry>29 ������� 1999</entry> <entry>3.2-STABLE ����� ������������� ��������� � IPFW � �������</entry> - - <entry>320002</entry> </row> <row> - <entry>3.3-RELEASE</entry> - <entry>330000</entry> + <entry>2 �������� 1999</entry> + <entry>3.3-RELEASE</entry> </row> <row> - <entry>3.3-STABLE</entry> - <entry>330001</entry> + <entry>16 �������� 1999</entry> + <entry>3.3-STABLE</entry> </row> <row> - <entry>3.3-STABLE ����� ���������� &man.mkstemp.3; � libc</entry> - <entry>330002</entry> + <entry>24 ������ 1999</entry> + <entry>3.3-STABLE ����� ���������� &man.mkstemp.3; � libc</entry> </row> <row> - <entry>3.4-RELEASE</entry> - <entry>340000</entry> + <entry>5 ������� 1999</entry> + <entry>3.4-RELEASE</entry> </row> <row> - <entry>3.4-STABLE</entry> - <entry>340001</entry> + <entry>17 ������� 1999</entry> + <entry>3.4-STABLE</entry> </row> <row> - <entry>3.5-RELEASE</entry> - <entry>350000</entry> + <entry>20 ���� 2000</entry> + <entry>3.5-RELEASE</entry> </row> <row> - <entry>3.5-STABLE</entry> - <entry>350001</entry> + <entry>12 ���� 2000</entry> + <entry>3.5-STABLE</entry> </row> <row> - <entry>4.0-CURRENT ����� ��������� ����� 3.4</entry> - <entry>400000</entry> + <entry>22 ������ 1999</entry> + <entry>4.0-CURRENT ����� ��������� ����� 3.4</entry> </row> <row> + <entry>400001</entry> + <entry>20 ������� 1999</entry> <entry>4.0-CURRENT ����� ��������� � ������ ������������� ������������</entry> - - <entry>400001</entry> </row> <row> + <entry>400002</entry> + <entry>13 ����� 1999</entry> <entry>4.0-CURRENT ����� ��������� � ������� ���������� �������������/������������ � C++</entry> - - <entry>400002</entry> </row> <row> - <entry>4.0-CURRENT ����� ��������� ������� &man.dladdr.3;</entry> - <entry>400003</entry> + <entry>27 ����� 1999</entry> + <entry>4.0-CURRENT ����� ��������� ������� &man.dladdr.3;</entry> </row> <row> + <entry>400004</entry> + <entry>5 ������ 1999</entry> <entry>4.0-CURRENT ����� ����������� ������ � ������ ������� __deregister_frame_info ������������� ������������ (� ����� 4.0-CURRENT ����� ���������� EGCS 1.1.2)</entry> - - <entry>400004</entry> </row> <row> + <entry>400005</entry> + <entry>27 ������ 1999</entry> <entry>4.0-CURRENT ����� ��������� ���������� ������� &man.suser.9; (� ����� 4.0-CURRENT ����� ��������� newbus)</entry> - - <entry>400005</entry> </row> <row> - <entry>4.0-CURRENT ����� ��������� � ����������� cdevsw</entry> - <entry>400006</entry> + <entry>31 ��� 1999</entry> + <entry>4.0-CURRENT ����� ��������� � ����������� cdevsw</entry> </row> <row> + <entry>400007</entry> + <entry>17 ���� 1999</entry> <entry>4.0-CURRENT ����� ���������� so_cred � �������� �� ������ �������</entry> - - <entry>400007</entry> </row> <row> + <entry>400008</entry> + <entry>20 ���� 1999</entry> <entry>4.0-CURRENT ����� ���������� ����������� ���������� ������ poll � libc_r</entry> - - <entry>400008</entry> </row> <row> + <entry>400009</entry> + <entry>20 ���� 1999</entry> <entry>4.0-CURRENT ����� �������� � ���� � ���� <literal>dev_t</literal> �� ��������� <literal>struct specinfo</literal></entry> - - <entry>400009</entry> </row> <row> + <entry>400010</entry> + <entry>25 �������� 1999</entry> <entry>4.0-CURRENT ����� ����������� ���� � ������������ &man.jail.2;</entry> - - <entry>400010</entry> </row> <row> + <entry>400011</entry> + <entry>29 �������� 1999</entry> <entry>4.0-CURRENT ����� ��������� � ���� ������ <literal>sigset_t</literal></entry> - - <entry>400011</entry> </row> <row> + <entry>400012</entry> + <entry>15 ������ 1999</entry> <entry>4.0-CURRENT ����� �������� �� ���������� GCC 2.95.2</entry> - - <entry>400012</entry> </row> <row> + <entry>400013</entry> + <entry>4 ������� 1999</entry> <entry>4.0-CURRENT ����� ��������� ����������� ������������ ioctl ������ linux</entry> - - <entry>400013</entry> </row> <row> - <entry>4.0-CURRENT ����� ������������� OpenSSL</entry> - <entry>400014</entry> + <entry>18 ������ 2000</entry> + <entry>4.0-CURRENT ����� ������������� OpenSSL</entry> </row> <row> + <entry>400015</entry> + <entry>27 ������ 2000</entry> <entry>4.0-CURRENT ����� ��������� � C++ ABI ����������� GCC 2.95.2 �� ��������� � -fvtable-thunks �� -fno-vtable-thunks</entry> - - <entry>400015</entry> </row> <row> - <entry>4.0-CURRENT ����� ������������� OpenSSH</entry> - <entry>400016</entry> + <entry>27 ������� 2000</entry> + <entry>4.0-CURRENT ����� ������������� OpenSSH</entry> </row> <row> - <entry>4.0-RELEASE</entry> - <entry>400017</entry> + <entry>13 ����� 2000</entry> + <entry>4.0-RELEASE</entry> </row> <row> - <entry>4.0-STABLE ����� ��������� 4.0-RELEASE</entry> - <entry>400018</entry> + <entry>17 ����� 2000</entry> + <entry>4.0-STABLE ����� ��������� 4.0-RELEASE</entry> </row> <row> + <entry>400019</entry> + <entry>5 ��� 2000</entry> <entry>4.0-STABLE ����� ��������� ���������� ����������� ����.</entry> - - <entry>400019</entry> </row> <row> + <entry>400020</entry> + <entry>4 ���� 2000</entry> <entry>4.0-STABLE ����� ���������� ���� ���������� libxpg4 � libc.</entry> - - <entry>400020</entry> </row> <row> + <entry>400021</entry> + <entry>8 ���� 2000</entry> <entry>4.0-STABLE ����� ���������� ������ Binutils �� ������ 2.10.0, ��������� � ����� ������� ���������� ������ ELF � ��������� tcsh � �������� �������� ����������.</entry> - - <entry>400021</entry> </row> <row> - <entry>4.1-RELEASE</entry> - <entry>410000</entry> + <entry>14 ���� 2000</entry> + <entry>4.1-RELEASE</entry> </row> <row> - <entry>4.1-STABLE ����� ������ 4.1-RELEASE</entry> - <entry>410001</entry> + <entry>29 ���� 2000</entry> + <entry>4.1-STABLE ����� ������ 4.1-RELEASE</entry> </row> <row> + <entry>410002</entry> + <entry>16 �������� 2000</entry> <entry>4.1-STABLE ����� �������� ������� &man.setproctitle.3; �� ���������� libutil � libc.</entry> - - <entry>410002</entry> </row> <row> - <entry>4.1.1-RELEASE</entry> - <entry>411000</entry> + <entry>25 �������� 2000</entry> + <entry>4.1.1-RELEASE</entry> </row> <row> - <entry>4.1.1-STABLE ����� ������ 4.1.1-RELEASE</entry> - <entry>411001</entry> + <entry></entry> + <entry>4.1.1-STABLE ����� ������ 4.1.1-RELEASE</entry> </row> <row> - <entry>4.2-RELEASE</entry> - <entry>420000</entry> + <entry>31 ������� 2000</entry> + <entry>4.2-RELEASE</entry> </row> <row> + <entry>420001</entry> + <entry>10 ������ 2001</entry> <entry>4.2-STABLE ����� ����������� libgcc.a � libgcc_r.a, � ����� ��������������� ��������� � ���������� GCC.</entry> - - <entry>420001</entry> </row> <row> - <entry>4.3-RELEASE</entry> - <entry>430000</entry> + <entry>6 ����� 2001</entry> + <entry>4.3-RELEASE</entry> </row> <row> - <entry>4.3-STABLE ����� ��������� wint_t.</entry> - <entry>430001</entry> + <entry>18 ��� 2001</entry> + <entry>4.3-STABLE ����� ��������� wint_t.</entry> </row> <row> + <entry>430002</entry> + <entry>22 ���� 2001</entry> <entry>4.3-STABLE ����� ���������� API ��������� �������������� PCI.</entry> - - <entry>430002</entry> </row> <row> - <entry>4.4-RELEASE</entry> - <entry>440000</entry> + <entry>1 ������� 2001</entry> + <entry>4.4-RELEASE</entry> </row> <row> - <entry>4.4-STABLE ����� ���������� d_thread_t.</entry> - <entry>440001</entry> + <entry>23 ������� 2001</entry> + <entry>4.4-STABLE ����� ���������� d_thread_t.</entry> </row> <row> + <entry>440002</entry> + <entry>4 ������ 2001</entry> <entry>4.4-STABLE ����� ��������� � ��������� ��� ������������ (��� ����������� KLD �������� ������).</entry> - - <entry>440002</entry> </row> <row> - <entry>4.4-STABLE ����� �������������� ���������������� - ��������� smbfs.</entry> - <entry>440003</entry> + <entry>18 ������� 2001</entry> + <entry>4.4-STABLE ����� ������� ���������������� + ��������� smbfs.</entry> </row> <row> - <entry>4.5-RELEASE</entry> - <entry>450000</entry> + <entry>20 ������� 2001</entry> + <entry>4.5-RELEASE</entry> </row> <row> + <entry>450001</entry> + <entry>24 ������� 2002</entry> <entry>4.5-STABLE ����� �������������� ��������� �������� usb</entry> - - <entry>450001</entry> </row> <row> + <entry>450004</entry> + <entry>16 ������ 2002</entry> <entry>4.5-STABLE ����� ����, ��� ���������� &man.rc.conf.5; <literal>sendmail_enable</literal> ����� ������������ �������� <literal>NONE</literal>.</entry> - - <entry>450004</entry> </row> <row> + <entry>450005</entry> + <entry>27 ������ 2002</entry> <entry>4.5-STABLE ����� ������������ �� ������������� �� ��������� ��� ���������� ������� XFree86 4.</entry> - - <entry>450005</entry> </row> <row> + <entry>450006</entry> + <entry>1 ��� 2002</entry> <entry>4.5-STABLE ����� ����, ��� ������� ������ ��� ����� ������������� ���������� ��� ��������� ����� �������, ��� �� ������ �� ��������� ������� DoS-������.</entry> - - <entry>450006</entry> </row> <row> - <entry>4.6-RELEASE</entry> - <entry>460000</entry> + <entry>21 ���� 2002</entry> + <entry>4.6-RELEASE</entry> </row> <row> + <entry>460001</entry> + <entry>21 ���� 2002</entry> <entry>���������� �������� �� &man.sendfile.2; � 4.6-STABLE ��������� � ������������ � �������������, ������� ��������� �� ������������ � ����������� ������, ��������� �� �����.</entry> - - <entry>460001</entry> </row> <row> - <entry>4.6.2-RELEASE</entry> - <entry>460002</entry> + <entry>19 ���� 2002</entry> + <entry>4.6.2-RELEASE</entry> </row> <row> - <entry>4.6-STABLE</entry> - <entry>460100</entry> + <entry>26 ���� 2002</entry> + <entry>4.6-STABLE</entry> </row> <row> + <entry>460101</entry> + <entry>26 ���� 2002</entry> <entry>4.6-STABLE ����� �������� �� -CURRENT ���������������� `sed -i'.</entry> - - <entry>460101</entry> </row> <row> + <entry>460102</entry> + <entry>1 �������� 2002</entry> <entry>4.6-STABLE ����� MFC ������ ����� ������������ pkg_install �� ����� HEAD.</entry> - - <entry>460102</entry> </row> <row> - <entry>4.7-RELEASE</entry> - <entry>470000</entry> + <entry>8 ������� 2002</entry> + <entry>4.7-RELEASE</entry> </row> <row> - <entry>4.7-STABLE</entry> - <entry>470100</entry> + <entry>9 ������� 2002</entry> + <entry>4.7-STABLE</entry> </row> <row> + <entry>470101</entry> + <entry>10 ������ 2002</entry> <entry>������ ��������� ������ __std{in,out,err}p ������ __sF. ��� ��������� ���������� ��������� � std{in,out,err} � ������� ���������� �� ����� ����������.</entry> - - <entry>470101</entry> </row> <row> + <entry>470102</entry> + <entry>23 ������ 2003</entry> <entry>4.7-STABLE ����� MFC ��������� � mbuf ��� ������ m_aux mbufs �� m_tag's</entry> - - <entry>470102</entry> </row> <row> - <entry>� 4.7-STABLE ���������� OpenSSL 0.9.7</entry> - <entry>470103</entry> + <entry>14 ������� 2003</entry> + <entry>� 4.7-STABLE ���������� OpenSSL 0.9.7</entry> </row> <row> - <entry>4.8-RELEASE</entry> - <entry>480000</entry> + <entry>30 ����� 2003</entry> + <entry>4.8-RELEASE</entry> </row> <row> - <entry>4.8-STABLE</entry> - <entry>480100</entry> + <entry>5 ������ 2003</entry> + <entry>4.8-STABLE</entry> </row> <row> + <entry>480101</entry> + <entry>22 ��� 2003</entry> <entry>4.8-STABLE ����� ����, ��� ������� &man.realpath.3; ���� ������� ����������� � �������� ����������</entry> - - <entry>480101</entry> </row> <row> - <entry>4.8-STABLE ����� ��������� 3ware API � twe.</entry> - <entry>480102</entry> + <entry>10 ������� 2003</entry> + <entry>4.8-STABLE ����� ��������� 3ware API � twe.</entry> </row> <row> - <entry>4.9-RELEASE</entry> - <entry>490000</entry> + <entry>27 ������� 2003</entry> + <entry>4.9-RELEASE</entry> </row> <row> - <entry>4.9-STABLE</entry> - <entry>490100</entry> + <entry>27 ������� 2003</entry> + <entry>4.9-STABLE</entry> </row> <row> + <entry>490101</entry> + <entry>8 ������ 2004</entry> <entry>4.9-STABLE ����� ���������� e_sid � ��������� kinfo_eproc.</entry> - - <entry>490101</entry> </row> <row> + <entry>490102</entry> + <entry>4 ������� 2004</entry> <entry>4.9-STABLE ����� ���������� MFC ���������������� libmap ��� rtld.</entry> - - <entry>490102</entry> </row> <row> - <entry>4.10-RELEASE</entry> - <entry>491000</entry> + <entry>25 ��� 2004</entry> + <entry>4.10-RELEASE</entry> </row> <row> - <entry>4.10-STABLE</entry> - <entry>491100</entry> + <entry>1 ���� 2004</entry> + <entry>4.10-STABLE</entry> </row> <row> - <entry>5.0-CURRENT</entry> + <entry>491101</entry> + <entry>11 ������� 2004</entry> + <entry>4.10-STABLE ����� ���������� MFC ������� 20040629 + ��������� ��������������</entry> + </row> + <row> + <entry>491102</entry> + <entry>16 ������ 2004</entry> + <entry>4.10-STABLE ����� ����������� ������ � VM ��� + ����������� (unwire) ��������� �������</entry> + </row> + + <row> + <entry>492000</entry> + <entry>17 ������� 2004</entry> + <entry>4.11-RELEASE</entry> + </row> + + <row> + <entry>492100</entry> + <entry>17 ������� 2004</entry> + <entry>4.11-STABLE</entry> + </row> + + <row> + <entry>492101</entry> + <entry>18 ������ 2006</entry> + <entry>4.11-STABLE ����� ���������� ��������� + libdata/ldconfig � ����� mtree.</entry> + </row> + + <row> <entry>500000</entry> + <entry>13 ����� 2000</entry> + <entry>5.0-CURRENT</entry> </row> <row> + <entry>500001</entry> + <entry>18 ������ 2000</entry> <entry>5.0-CURRENT ����� ���������� �������������� ����� � ��������� ELF � ��������� ������ ������� �������������� � ������̣���� ������� ��� ���������� ������ � ������� ELF.</entry> - - <entry>500001</entry> </row> <row> - <entry>5.0-CURRENT ����� ��������� � ���������� kld.</entry> - <entry>500002</entry> + <entry>2 ��� 2000</entry> + <entry>5.0-CURRENT ����� ��������� � ���������� kld.</entry> </row> <row> - <entry>5.0-CURRENT ����� ��������� buf/bio.</entry> - <entry>500003</entry> + <entry>18 ��� 2000</entry> + <entry>5.0-CURRENT ����� ��������� buf/bio.</entry> </row> <row> - <entry>5.0-CURRENT ����� ���������� binutils.</entry> - <entry>500004</entry> + <entry>26 ��� 2000</entry> + <entry>5.0-CURRENT ����� ���������� binutils.</entry> </row> <row> + <entry>500005</entry> + <entry>3 ���� 2000</entry> <entry>5.0-CURRENT ����� ���������� ���� ���������� libxpg4 � libc � ��������� ���������� TASKQ.</entry> - - <entry>500005</entry> </row> <row> - <entry>5.0-CURRENT ����� ���������� ����������� AGP.</entry> - <entry>500006</entry> + <entry>10 ���� 2000</entry> + <entry>5.0-CURRENT ����� ���������� ����������� AGP.</entry> </row> <row> - <entry>5.0-CURRENT ����� ���������� Perl �� ������ 5.6.0</entry> - <entry>500007</entry> + <entry>29 ���� 2000</entry> + <entry>5.0-CURRENT ����� ���������� Perl �� ������ 5.6.0</entry> </row> <row> + <entry>500008</entry> + <entry>7 ���� 2000</entry> <entry>5.0-CURRENT ����� ���������� ���� KAME �� ������ 2000/07.</entry> - - <entry>500008</entry> </row> <row> + <entry>500009</entry> + <entry>14 ���� 2000</entry> <entry>5.0-CURRENT ����� ��������� � ether_ifattach() � ether_ifdetach().</entry> - - <entry>500009</entry> </row> <row> + <entry>500010</entry> + <entry>16 ���� 2000</entry> <entry>5.0-CURRENT ����� �������� � ���������� ������� mtree, ����������� �� ���������, ������� � ������������ � ���������� ����� -L ��� �������� �� ������������� �������.</entry> - - <entry>500010</entry> </row> <row> - <entry>5.0-CURRENT ����� ��������� � API ��� kqueue.</entry> - <entry>500011</entry> + <entry>18 ���� 2000</entry> + <entry>5.0-CURRENT ����� ��������� � API ��� kqueue.</entry> </row> <row> + <entry>500012</entry> + <entry>2 �������� 2000</entry> <entry>5.0-CURRENT ����� ����������� &man.setproctitle.3; �� ���������� libutil � libc.</entry> - - <entry>500012</entry> </row> <row> - <entry>5.0-CURRENT ����� ������� ������� SMPng.</entry> - <entry>500013</entry> + <entry>10 �������� 2000</entry> + <entry>5.0-CURRENT ����� ������� ������� SMPng.</entry> </row> <row> + <entry>500014</entry> + <entry>4 ������ 2001</entry> <entry>5.0-CURRENT ����� �������� <sys/select.h> � <sys/selinfo.h>.</entry> - - <entry>500014</entry> </row> <row> + <entry>500015</entry> + <entry>10 ������ 2001</entry> <entry>5.0-CURRENT ����� ����������� libgcc.a � libgcc_r.a, � ����� ��������������� ��������� � ���������� GCC.</entry> - - <entry>500015</entry> </row> <row> + <entry>500016</entry> + <entry>24 ������ 2001</entry> <entry>5.0-CURRENT ����� ���������, ������������ libc � libc_r ���� ��������������� ������, ��� ������ �������� -pthread ��������.</entry> - - <entry>500016</entry> </row> <row> + <entry>500017</entry> + <entry>18 ������� 2001</entry> <entry>5.0-CURRENT ����� �������� �� ������������� struct xucred ������ struct ucred ��� ������������ ��������������� API ���� ��� mountd � �.�.</entry> - - <entry>500017</entry> </row> <row> + <entry>500018</entry> + <entry>24 ������� 2001</entry> <entry>5.0-CURRENT ����� ���������� ���������� make CPUTYPE ����������� �������������� ����������� ��� CPU �����������.</entry> - - <entry>500018</entry> </row> <row> + <entry>500019</entry> + <entry>9 ���� 2001</entry> <entry>5.0-CURRENT ����� �������� machine/ioctl_fd.h � sys/fdcio.h</entry> - - <entry>500019</entry> </row> <row> - <entry>5.0-CURRENT ����� ��������� ���� ��� �����������.</entry> - <entry>500020</entry> + <entry>15 ���� 2001</entry> + <entry>5.0-CURRENT ����� ��������� ���� ��� �����������.</entry> </row> <row> - <entry>5.0-CURRENT ����� �������������� Bzip2. ����� �������� - �������� S/Key.</entry> - <entry>500021</entry> + <entry>22 ���� 2001</entry> + <entry>5.0-CURRENT ����� ������� Bzip2. ����� �������� + �������� S/Key.</entry> </row> <row> - <entry>5.0-CURRENT � ���������� SSE.</entry> - <entry>500022</entry> + <entry>12 ���� 2001</entry> + <entry>5.0-CURRENT � ���������� SSE.</entry> </row> <row> - <entry>5.0-CURRENT ����� KSE ���� 2.</entry> - <entry>500023</entry> + <entry>14 �������� 2001</entry> + <entry>5.0-CURRENT ����� KSE ���� 2.</entry> </row> <row> + <entry>500024</entry> + <entry>1 ������� 2001</entry> <entry>5.0-CURRENT ����� d_thread_t � �������� UUCP � �����.</entry> - - <entry>500024</entry> </row> <row> + <entry>500025</entry> + <entry>4 ������� 2001</entry> <entry>5.0-CURRENT ����� ��������� ABI ��-�� �������� �������� ����������� � ���� �� 64-��������� ���������.</entry> - - <entry>500025</entry> </row> <row> + <entry>500026</entry> + <entry>9 ������� 2001</entry> <entry>5.0-CURRENT ����� �������� �� ������������� �� ��������� XFree86 4 ��� ���������� ������� � ����� ���������� � ���������� libc ����� ������� strnstr().</entry> - - <entry>500026</entry> </row> <row> + <entry>500027</entry> + <entry>10 ������� 2001</entry> <entry>5.0-CURRENT ����� ���������� � ���������� libc ����� ������� strcasestr().</entry> - - <entry>500027</entry> </row> <row> + <entry>500028</entry> + <entry>14 ������� 2001</entry> <entry>5.0-CURRENT ����� ������� ���������������� ��������� smbfs.</entry> - - <entry>500028</entry> </row> <row> + <entry>(�������� �� ��������)</entry> + <entry></entry> <entry>5.0-CURRENT ����� ���������� ����� ������������� ��� C99 ������������� �����.</entry> - - <entry>(�������� �� ��������)</entry> </row> <row> + <entry>500029</entry> + <entry>29 ������ 2002</entry> <entry>5.0-CURRENT ����� ��������� ������������� �������� &man.sendfile.2; ��������.</entry> - - <entry>500029</entry> </row> <row> + <entry>500030</entry> + <entry>15 ������� 2002</entry> <entry>5.0-CURRENT ����� ���������� ������ ���� <literal>fflags_t</literal>, ��������������� �������� ������.</entry> - - <entry>500030</entry> </row> <row> + <entry>500031</entry> + <entry>24 ������� 2002</entry> <entry>5.0-CURRENT ����� �������������� ��������� �������� usb.</entry> - - <entry>500031</entry> </row> <row> - <entry>5.0-CURRENT ����� ���������� Perl �� ������ 5.6.1</entry> - <entry>500032</entry> + <entry>16 ����� 2002</entry> + <entry>5.0-CURRENT ����� ���������� Perl �� ������ 5.6.1</entry> </row> <row> + <entry>500033</entry> + <entry>3 ������ 2002</entry> <entry>5.0-CURRENT ����� ���� ��� ���������� &man.rc.conf.5; <literal>sendmail_enable</literal> ����� ������������ �������� <literal>NONE</literal>.</entry> - - <entry>500033</entry> </row> <row> + <entry>500034</entry> + <entry>30 ������ 2002</entry> <entry>5.0-CURRENT ����� ���������� � ������� mtx_init() �������� ���������.</entry> - - <entry>500034</entry> </row> <row> - <entry>5.0-CURRENT ����� ������� Gcc 3.1</entry> - <entry>500035</entry> + <entry>13 ��� 2002</entry> + <entry>5.0-CURRENT ����� ������� Gcc 3.1</entry> </row> <row> - <entry>5.0-CURRENT ����� �������� Perl �� /usr/src</entry> - <entry>500036</entry> + <entry>17 ��� 2002</entry> + <entry>5.0-CURRENT ����� �������� Perl �� /usr/src</entry> </row> <row> + <entry>500037</entry> + <entry>29 ��� 2002</entry> <entry>5.0-CURRENT ����� ���������� ������� &man.dlfunc.3;</entry> - - <entry>500037</entry> </row> <row> + <entry>500038</entry> + <entry>24 ���� 2002</entry> <entry>5.0-CURRENT ����� ����, ��� ���� �������� ���� ��������� ������� � ��������� sockbuf, � ���� ��������� ���� ��������������.</entry> - - <entry>500038</entry> </row> <row> - <entry>5.0-CURRENT ����� ����, ��� � ������ ���������� ���� + <entry>500039</entry> + <entry>1 �������� 2002</entry> + <entry>5.0-CURRENT ����� ������� GCC 3.2.1. + ����� ����� ����, ��� � ������ ���������� ���� ���������� ������������� _BSD_FOO_T_ � ������ ������������� _FOO_T_DECLARED. ��� �������� ����� ���� ����� ������������ ��� ��������� ����� ������ ��������� ������� � ������� &man.bzip2.1;.</entry> - - <entry>500039</entry> </row> <row> + <entry>500040</entry> + <entry>20 �������� 2002</entry> <entry>5.0-CURRENT ����� ��������� ��������� � �������� ��������, ��������� ��� ���������� �� ����������� �� ����������� ���������� ��������� ����� �����.</entry> - - <entry>500040</entry> </row> <row> + <entry>500041</entry> + <entry>1 ������� 2002</entry> <entry>5.0-CURRENT ����� ���������� ������� &man.getopt.long.3; � ���������� libc.</entry> - - <entry>500041</entry> </row> <row> + <entry>500042</entry> + <entry>15 ������� 2002</entry> <entry>5.0-CURRENT ����� ���������� Binutils 2.13, ���� �������� ����� �������� FreeBSD, vec � ������ ������.</entry> - - <entry>500042</entry> </row> <row> + <entry>500043</entry> + <entry>1 ������ 2002</entry> <entry>5.0-CURRENT ����� ���������� ������� �������� pthread_XXX � ���������� libc, ��� ������� libXThrStub.so ��������. 5.0-RELEASE.</entry> - - <entry>500043</entry> </row> <row> - <entry>5.0-CURRENT ����� �������� ����� ��� RELENG_5_0</entry> - <entry>500100</entry> + <entry>17 ������ 2003</entry> + <entry>5.0-CURRENT ����� �������� ����� ��� RELENG_5_0</entry> </row> <row> + <entry>500101</entry> + <entry>19 ������� 2003</entry> <entry><sys/dkstat.h> ���� � �� ������ ��������������.</entry> - - <entry>500101</entry> </row> <row> - <entry>5.0-CURRENT ����� ��������� ���������� d_mmap_t.</entry> - <entry>500102</entry> + <entry>25 ������� 2003</entry> + <entry>5.0-CURRENT ����� ��������� ���������� d_mmap_t.</entry> </row> <row> + <entry>500103</entry> + <entry>26 ������� 2003</entry> <entry>5.0-CURRENT ����� ����, ��� ���� ������� ���������, ��� ������� taskqueue_swi �������� ��� Giant, � ���� ��������� taskqueue_swi_giant, ���������� � Giant.</entry> - - <entry>500103</entry> </row> <row> + <entry>500104</entry> + <entry>27 ������� 2003</entry> <entry>cdevsw_add() � cdevsw_remove() ������ �� ����������. ��������� ���������� ��������� MAJOR_AUTO.</entry> - - <entry>500104</entry> </row> <row> + <entry>500105</entry> + <entry>4 ����� 2003</entry> <entry>5.0-CURRENT ����� ��������� ������ ������ ������������� cdevsw.</entry> - - <entry>500105</entry> </row> <row> + <entry>500106</entry> + <entry>8 ����� 2003</entry> <entry>devstat_add_entry() �������� �� devstat_new_entry()</entry> - - <entry>500106</entry> </row> <row> + <entry>500107</entry> + <entry>15 ����� 2003</entry> <entry>��������� ���������� devstat �������� sys/sys/param.h 1.149</entry> - - <entry>500107</entry> </row> <row> - <entry>��������� � ���������� Token-Ring.</entry> - <entry>500108</entry> + <entry>15 ����� 2003</entry> + <entry>��������� � ���������� Token-Ring.</entry> </row> <row> - <entry>���������� vm_paddr_t.</entry> - <entry>500109</entry> + <entry>25 ����� 2003</entry> + <entry>���������� vm_paddr_t.</entry> </row> <row> + <entry>500110</entry> + <entry>28 ����� 2003</entry> <entry>5.0-CURRENT ����� ����, ��� ������� &man.realpath.3; ���� ������� ����������� � �������� ����������</entry> - - <entry>500110</entry> </row> <row> + <entry>500111</entry> + <entry>9 ������ 2003</entry> <entry>5.0-CURRENT ����� ����, ��� ������� &man.usbhid.3; ���� ��������� � ������������ � NetBSD</entry> - - <entry>500111</entry> </row> <row> + <entry>500112</entry> + <entry>17 ������ 2003</entry> <entry>5.0-CURRENT ����� ����� ���������� NSS � ���������� ������� POSIX.1 getpw*_r � getgr*_r</entry> - - <entry>500112</entry> </row> <row> - <entry>5.0-CURRENT ����� �������� ������ ������� rc.</entry> - <entry>500113</entry> + <entry>2 ��� 2003</entry> + <entry>5.0-CURRENT ����� �������� ������ ������� rc.</entry> </row> <row> - <entry>5.1-RELEASE.</entry> - <entry>501000</entry> + <entry>4 ���� 2004</entry> + <entry>5.1-RELEASE.</entry> </row> <row> - <entry>5.1-CURRENT ����� ��������� ����� RELENG_5_1.</entry> - <entry>501100</entry> + <entry>2 ���� 2003</entry> + <entry>5.1-CURRENT ����� ��������� ����� RELENG_5_1.</entry> </row> <row> + <entry>501101</entry> + <entry>29 ���� 2003</entry> <entry>5.1-CURRENT ����� ������������� ������ ������� sigtimedwait(2) � sigwaitinfo(2).</entry> - - <entry>501101</entry> </row> <row> + <entry>501102</entry> + <entry>3 ���� 2003</entry> <entry>5.1-CURRENT ����� ���������� ����� lockfunc � lockfuncarg � &man.bus.dma.tag.create.9;.</entry> - - <entry>501102</entry> </row> <row> + <entry>501103</entry> + <entry>31 ���� 2003</entry> <entry>5.1-CURRENT ����� ���������� �������� GCC 3.3.1-pre 20030711.</entry> - - <entry>501103</entry> </row> <row> - <entry>5.1-CURRENT ���� ��������� 3ware API � twe.</entry> - <entry>501104</entry> + <entry>5 ������� 2003</entry> + <entry>5.1-CURRENT ���� ��������� 3ware API � twe.</entry> </row> <row> + <entry>501105</entry> + <entry>17 ������� 2003</entry> <entry>��������� � 5.1-CURRENT ����������� �������������� /bin � /sbin, ����������� ��������� � /lib.</entry> - - <entry>501105</entry> </row> <row> + <entry>501106</entry> + <entry>8 �������� 2003</entry> <entry>5.1-CURRENT ����� ���������� � ���� ��������� Coda 6.x.</entry> - - <entry>501106</entry> </row> <row> + <entry>501107</entry> + <entry>17 �������� 2003</entry> <entry>5.1-CURRENT ����� ����������� �������� ��� 16550 UART �� ����� <filename><dev/sio/sioreg.h></filename> � <filename><dev/ic/ns16550.h></filename>. � ����� ������, ����� rtld ���� ������������ ���������������� libmap � ����������� ������.</entry> - - <entry>501107</entry> </row> <row> - <entry>5.1-CURRENT ����� ���������� � API PFIL_HOOKS</entry> - <entry>501108</entry> + <entry>23 �������� 2003</entry> + <entry>5.1-CURRENT ����� ���������� � API PFIL_HOOKS</entry> </row> <row> - <entry>5.1-CURRENT ����� ���������� ������� kiconv(3)</entry> - <entry>501109</entry> + <entry>27 �������� 2003</entry> + <entry>5.1-CURRENT ����� ���������� ������� kiconv(3)</entry> </row> <row> + <entry>501110</entry> + <entry>28 �������� 2003</entry> <entry>5.1-CURRENT ����� ��������� �������� �� ��������� ��� open � close � cdevsw</entry> - - <entry>501110</entry> </row> <row> - <entry>5.1-CURRENT ����� ��������� � ��������� cdevsw</entry> - <entry>501111</entry> + <entry>16 ������� 2003</entry> + <entry>5.1-CURRENT ����� ��������� � ��������� cdevsw</entry> </row> <row> + <entry>501112</entry> + <entry>16 ������� 2003</entry> <entry>5.1-CURRENT ����� ���������� �������������� ������������ ��� kobj</entry> - - <entry>501112</entry> </row> <row> + <entry>501113</entry> + <entry>31 ������� 2003</entry> <entry>5.1-CURRENT ����� ��������� if_xname � ��������� ifnet</entry> - - <entry>501113</entry> </row> <row> + <entry>501114</entry> + <entry>16 ������ 2003</entry> <entry>5.1-CURRENT ����� ���������, ��������� � ������������ ����������� /bin � /sbin</entry> - - <entry>501114</entry> </row> <row> - <entry>5.2-RELEASE</entry> - <entry>502000</entry> + <entry>7 ������� 2003</entry> + <entry>5.2-RELEASE</entry> </row> <row> - <entry>5.2.1-RELEASE</entry> - <entry>502010</entry> + <entry>23 ������� 2003</entry> + <entry>5.2.1-RELEASE</entry> </row> <row> - <entry>5.2-CURRENT ����� ��������� ����� RELENG_5_2</entry> - <entry>502100</entry> + <entry>7 ������� 2003</entry> + <entry>5.2-CURRENT ����� ��������� ����� RELENG_5_2</entry> </row> <row> + <entry>502101</entry> + <entry>19 ������� 2003</entry> <entry>5.2-CURRENT ����� ���������� � libc ������� __cxa_atexit/__cxa_finalize.</entry> - - <entry>502101</entry> </row> <row> + <entry>502102</entry> + <entry>30 ������ 2004</entry> <entry>5.2-CURRENT ����� ����� ������������ �� ��������� ���������� ������ � �������� ���������� libc_r �� libpthread.</entry> - - <entry>502102</entry> </row> <row> + <entry>502103</entry> + <entry>21 ������� 2004</entry> <entry>5.2-CURRENT ����� �������� ��������� � API ��������� ���������.</entry> - - <entry>502103</entry> </row> <row> - <entry>5.2-CURRENT ����� ���������� getopt_long_only().</entry> - <entry>502104</entry> + <entry>25 ������� 2004</entry> + <entry>5.2-CURRENT ����� ���������� getopt_long_only().</entry> </row> <row> - <entry>5.2-CURRENT ����� ����, ��� ����� ���������� NULL + <entry>502105</entry> + <entry>5 ����� 2004</entry> + <entry>5.2-CURRENT ����� ����, ��� �����-���������� NULL ���� �������������� ��� ����� C ��� ((void *)0), ��� ������� � ���������� ���������� �������������� �����������.</entry> - - <entry>502105</entry> </row> <row> + <entry>502106</entry> + <entry>8 ����� 2004</entry> <entry>5.2-CURRENT ����� ��������� � ��������� pf � ������� ���������� �������.</entry> - - <entry>502106</entry> </row> <row> + <entry>502107</entry> + <entry>10 ����� 2004</entry> <entry>5.2-CURRENT ����� ����, ��� �������� time_t �� ��������� sparc64 ����� 64-���������.</entry> - - <entry>502107</entry> </row> <row> + <entry>502108</entry> + <entry>12 ����� 2004</entry> <entry>5.2-CURRENT ����� ����, ��� ��������� ����������� Intel C/C++ � ��������� ������������ ������ � execve(2) ���� �������� �� ����� ������ ��������������� POSIX.</entry> - - <entry>502108</entry> </row> <row> + <entry>502109</entry> + <entry>22 ����� 2004</entry> <entry>5.2-CURRENT ����� �������� ������������ ���������� bus_alloc_resource_any</entry> - - <entry>502109</entry> </row> <row> + <entry>502110</entry> + <entry>27 ����� 2004</entry> <entry>5.2-CURRENT ����� ���������� ��������� ����������� UTF-8</entry> - - <entry>502110</entry> </row> <row> + <entry>502111</entry> + <entry>11 ������ 2004</entry> <entry>5.2-CURRENT ����� �������� ������������ ���������� getvfsent(3)</entry> - - <entry>502111</entry> </row> <row> + <entry>502112</entry> + <entry>13 ������ 2004</entry> <entry>5.2-CURRENT ����� ���������� ��������� .warning ��� make.</entry> - - <entry>502112</entry> </row> <row> + <entry>502113</entry> + <entry>4 ���� 2004</entry> <entry>5.2-CURRENT ����� ����, ��� ������� ttyioctl() ����� ������������ ��� ��������� ���������������� ���������.</entry> - <entry>502113</entry> </row> <row> - <entry>5.2-CURRENT ����� �������������� ALTQ ��������������. - </entry> <entry>502114</entry> + <entry>13 ���� 2004</entry> + <entry>5.2-CURRENT ����� ������� ALTQ ��������������. + </entry> </row> <row> + <entry>502115</entry> + <entry>14 ���� 2004</entry> <entry>5.2-CURRENT ����� ����, ��� sema_timedwait(9) ���� ���������� 0 � ������ ������ � �� ������� ��� ������ � ������ �������.</entry> - <entry>502115</entry> </row> <row> + <entry>502116</entry> + <entry>16 ���� 2004</entry> <entry>5.2-CURRENT ����� ����, ��� kernel ��� dev_t ���� ���������� �� struct cdev *. </entry> - <entry>502116</entry> </row> <row> + <entry>502117</entry> + <entry>17 ���� 2004</entry> <entry>5.2-CURRENT ����� ����, ��� kernel ��� udev_t ��������� �� dev_t. </entry> - <entry>502117</entry> </row> <row> + <entry>502118</entry> + <entry>17 ���� 2004</entry> <entry>5.2-CURRENT ����� ���������� ��������� CLOCK_VIRTUAL � CLOCK_PROF � clock_gettime(2) � clock_getres(2). </entry> - <entry>502118</entry> </row> <row> - <entry>5.2-CURRENT ����� ����, ��� ��� �����ģ� ����������� - ��������� �������� ����������. - </entry> <entry>502119</entry> + <entry>22 ���� 2004</entry> + <entry>5.2-CURRENT ����� ����, ��� ��� �����ģ� ��������� + ������������ �������� ����������. + </entry> </row> + + <row> + <entry>502120</entry> + <entry>2 ���� 2004</entry> + <entry>5.2-CURRENT ����� ���������� ��������� �������������� + �� ������� 20040629. + </entry> + </row> + + <row> + <entry>502121</entry> + <entry>9 ���� 2004</entry> + <entry>5.2-CURRENT ����� �������, ��� ��� Bluetooth �� + ��������� ������������ i386. + </entry> + </row> + + <row> + <entry>502122</entry> + <entry>11 ���� 2004</entry> + <entry>5.2-CURRENT ����� ��������� ���������� �������������� + KDB, �������� DDB � ������ � ��������� ������� GDB. + </entry> + </row> + + <row> + <entry>502123</entry> + <entry>12 ���� 2004</entry> + <entry>5.2-CURRENT ����� ���������� � VFS_ROOT ������ ��������� + struct thread, ��� �� ��� ��� ������ vflush. ��������� + kinfo_proc ������ ����� ��������� �� ���������������� ������. + ����� ���������� X �� ��������� �� <literal>xorg</literal> + ���� ������� � ��� �� �����. + </entry> + </row> + + <row> + <entry>502124</entry> + <entry>24 ���� 2004</entry> + <entry>5.2-CURRENT ����� ���������� �������� ������� �������� + rc.d �� ������ � ������� ������ legacy. + </entry> + </row> + + <row> + <entry>502125</entry> + <entry>28 ���� 2004</entry> + <entry>5.2-CURRENT ����� ������ ����������� + ���������. + </entry> + </row> + + <row> + <entry>502126</entry> + <entry>31 ���� 2004</entry> + <entry>5.2-CURRENT ����� �������� + kmem_alloc_pageable() � ������� gcc 3.4.2. + </entry> + </row> + + <row> + <entry>502127</entry> + <entry>2 ������� 2004</entry> + <entry>5.2-CURRENT ����� ��������� � API ���� UMA, + ������������ �������������/��������������� + (ctors/inits) ���������� �������. + </entry> + </row> + + <row> + <entry>502128</entry> + <entry>8 ������� 2004</entry> + <entry>5.2-CURRENT ����� ��������� � + ��������� vfs_mount, � ����� ����� ����� ������ + PRISON_ROOT �� SUSER_ALLOWJAIL � API suser(9). + </entry> + </row> + + <row> + <entry>503000</entry> + <entry>23 ������� 2004</entry> + <entry>5.3-BETA/RC ����� ���������� � pfil API</entry> + </row> + + <row> + <entry>503001</entry> + <entry>22 �������� 2004</entry> + <entry>5.3-RELEASE</entry> + </row> + + <row> + <entry>503100</entry> + <entry>16 ������� 2004</entry> + <entry>5.3-STABLE ����� ��������� ����� RELENG_5_3</entry> + </row> + + <row> + <entry>503101</entry> + <entry>3 ������� 2004</entry> + <entry>5.3-STABLE ����� ���������� � ������� + &man.strftime.3; ���������� ������� � ����� glibc.</entry> + </row> + + <row> + <entry>503102</entry> + <entry>13 ������� 2005</entry> + <entry>5.3-STABLE ����� ���������� MFC ������� nc(1) + �� OpenBSD.</entry> + </row> + + <row> + <entry>503103</entry> + <entry>27 ������� 2005</entry> + <entry>5.4-PRERELEASE ����� ���������� MFC ����������� � + <filename><src/include/stdbool.h></filename> � + <filename><src/sys/i386/include/_types.h></filename> + ��� ������������� ������������� GCC � ����������� + Intel C/C++.</entry> + </row> + + <row> + <entry>503104</entry> + <entry>28 ������� 2005</entry> + <entry>5.4-PRERELEASE ����� ���������� MFC ��������� ���� + ifi_epoch � ��������� if_data �� ������� ����� �� + ����� � ������� ������.</entry> + </row> + + <row> + <entry>503105</entry> + <entry>2 ����� 2005</entry> + <entry>5.4-PRERELEASE ����� ���������� MFC ����������� � + vswprintf(3) �������� �� EOVERFLOW.</entry> + </row> + + <row> + <entry>504000</entry> + <entry>3 ������ 2005</entry> + <entry>5.4-RELEASE.</entry> + </row> + + <row> + <entry>504100</entry> + <entry>3 ������ 2005</entry> + <entry>5.4-STABLE ����� ��������� ����� RELENG_5_4</entry> + </row> + + <row> + <entry>504101</entry> + <entry>11 ��� 2005</entry> + <entry>5.4-STABLE ����� ���������� �������� �� ��������� + ������� ������ ������.</entry> + </row> + + <row> + <entry>504102</entry> + <entry>24 ���� 2005</entry> + <entry>5.4-STABLE ����� ���������� sha256</entry> + </row> + + <row> + <entry>504103</entry> + <entry>3 ������� 2005</entry> + <entry>5.4-STABLE ����� ���������� MFC if_bridge</entry> + </row> + + <row> + <entry>504104</entry> + <entry>13 ������� 2005</entry> + <entry>5.4-STABLE ����� ���������� MFC bsdiff � portsnap</entry> + </row> + + <row> + <entry>504105</entry> + <entry>17 ������ 2006</entry> + <entry>5.4-STABLE ����� ���������� MFC ��������� + ldconfig_local_dirs.</entry> + </row> + + <row> + <entry>505000</entry> + <entry>12 ��� 2006</entry> + <entry>5.5-RELEASE.</entry> + </row> + + <row> + <entry>505100</entry> + <entry>12 ��� 2006</entry> + <entry>5.5-STABLE ����� ��������� ����� RELENG_5_5</entry> + </row> + + <row> + <entry>600000</entry> + <entry>18 ������� 2004</entry> + <entry>6.0-CURRENT</entry> + </row> + + <row> + <entry>600001</entry> + <entry>27 ������� 2004</entry> + <entry>6.0-CURRENT ����� ����������� ��������� + � ���� PFIL_HOOKS. + </entry> + </row> + + <row> + <entry>600002</entry> + <entry>30 ������� 2004</entry> + <entry>6.0-CURRENT ����� ��������������� ���������� + ifi_epoch � ��������� if_data. �������� ������� ����� + ���������� ����. �� ����������� ��� ��������. + </entry> + </row> + + <row> + <entry>600003</entry> + <entry>8 �������� 2004</entry> + <entry>6.0-CURRENT ����� ���������� ���������� ���� + ifi_epoch � ��������� if_data. + </entry> + </row> + + <row> + <entry>600004</entry> + <entry>29 �������� 2004</entry> + <entry>6.0-CURRENT ����� ���������� � pfil API ��������� + inpcb ��� ���������. + </entry> + </row> + + <row> + <entry>600005</entry> + <entry>5 ������� 2004</entry> + <entry>6.0-CURRENT ����� ���������� � newsyslog + ��������� "-d DESTDIR". + </entry> + </row> + + <row> + <entry>600006</entry> + <entry>4 ������ 2004</entry> + <entry>6.0-CURRENT ����� ���������� � ������� + &man.strftime.3; ���������� ������� � ����� glibc. + </entry> + </row> + + <row> + <entry>600007</entry> + <entry>12 ������� 2004</entry> + <entry>6.0-CURRENT ����� ���������� � �������������� 802.11. + </entry> + </row> + + <row> + <entry>600008</entry> + <entry>25 ������ 2005</entry> + <entry>6.0-CURRENT ����� ��������� � �������� VOP_*VOBJECT() + � ��������� ����� MNTK_MPSAFE ��� �������� ������, + ��������� �� Giant. + </entry> + </row> + + <row> + <entry>600009</entry> + <entry>4 ������� 2005</entry> + <entry>6.0-CURRENT ����� ���������� �������������� + � ��������� cpufreq. + </entry> + </row> + + <row> + <entry>600010</entry> + <entry>6 ������� 2005</entry> + <entry>6.0-CURRENT ����� ������� nc(1) �� OpenBSD.</entry> + </row> + + <row> + <entry>600011</entry> + <entry>12 ������� 2005</entry> + <entry>6.0-CURRENT ����� �������� ������� ��������� + SVID2 <literal>matherr()</literal>.</entry> + </row> + + <row> + <entry>600012</entry> + <entry>15 ������� 2005</entry> + <entry>6.0-CURRENT ����� ���������� �������� �� ��������� + ������� ������ ������.</entry> + </row> + + <row> + <entry>600013</entry> + <entry>19 ������� 2005</entry> + <entry>6.0-CURRENT ����� ����������� � + <filename><src/include/stdbool.h></filename> � + <filename><src/sys/i386/include/_types.h></filename> + ��� ������������� ������������� GCC � ����������� + Intel C/C++.</entry> + </row> + + <row> + <entry>600014</entry> + <entry>21 ������� 2005</entry> + <entry>6.0-CURRENT ����� ����������� � vswprintf(3) + �������� �� EOVERFLOW.</entry> + </row> + + <row> + <entry>600015</entry> + <entry>25 ������� 2005</entry> + <entry>6.0-CURRENT ����� ��������� ���� ifi_epoch � ��������� + if_data �� ������� ����� �� ����� � ������� ������.</entry> + </row> + + <row> + <entry>600016</entry> + <entry>26 ������� 2005</entry> + <entry>6.0-CURRENT ����� ��������� ������� LC_CTYPE, + ������������� ��� ������ �� ����.</entry> + </row> + + <row> + <entry>600017</entry> + <entry>27 ������� 2005</entry> + <entry>6.0-CURRENT ����� ��������� ������� ��������� NLS, + ������������� ��� ������ �� ����.</entry> + </row> + + <row> + <entry>600018</entry> + <entry>27 ������� 2005</entry> + <entry>6.0-CURRENT ����� ��������� ������� LC_COLLATE, + ������������� ��� ������ �� ����.</entry> + </row> + + <row> + <entry>600019</entry> + <entry>28 ������� 2005</entry> + <entry>��������� ������������ ������ acpica + � /usr/include.</entry> + </row> + + <row> + <entry>600020</entry> + <entry>9 ����� 2005</entry> + <entry>���������� ����� MSG_NOSIGNAL � API send(2).</entry> + </row> + + <row> + <entry>600021</entry> + <entry>17 ����� 2005</entry> + <entry>���������� ����� � cdevsw.</entry> + </row> + + <row> + <entry>600022</entry> + <entry>21 ����� 2005</entry> + <entry>gtar ������ �� �������� �������.</entry> + </row> + + <row> + <entry>600023</entry> + <entry>13 ������ 2005</entry> + <entry>� unix(4) ��������� ��������� ������ + LOCAL_CREDS, LOCAL_CONNWAIT.</entry> + </row> + + <row> + <entry>600024</entry> + <entry>19 ������ 2005</entry> + <entry>� 6.0-CURRENT ��������� &man.hwpmc.4; � ��������� + �����������.</entry> + </row> + + <row> + <entry>600025</entry> + <entry>26 ������ 2005</entry> + <entry>� 6.0-CURRENT ��������� ��������� icmphdr.</entry> + </row> + + <row> + <entry>600026</entry> + <entry>3 ��� 2005</entry> + <entry>pf �������� �� 3.7.</entry> + </row> + + <row> + <entry>600027</entry> + <entry>6 ��� 2005</entry> + <entry>������������ libalias � ng_nat ������ ����.</entry> + </row> + + <row> + <entry>600028</entry> + <entry>13 ��� 2005</entry> + <entry>POSIX ttyname_r(3) ������ ��������� ����� + unistd.h � libc.</entry> + </row> + + <row> + <entry>600029</entry> + <entry>29 ��� 2005</entry> + <entry>6.0-CURRENT ����� ���������� libpcap + �� v0.9.1 alpha 096.</entry> + </row> + + <row> + <entry>600030</entry> + <entry>5 ���� 2005</entry> + <entry>6.0-CURRENT ����� ������� if_bridge(4) �� NetBSD.</entry> + </row> + + <row> + <entry>600031</entry> + <entry>10 ���� 2005</entry> + <entry>6.0-CURRENT ����� ����������� ��������� ifnet �� + ��������� ��������� softc.</entry> + </row> + + <row> + <entry>600032</entry> + <entry>11 ���� 2005</entry> + <entry>6.0-CURRENT ����� ������� libpcap v0.9.1.</entry> + </row> + + <row> + <entry>600033</entry> + <entry>25 ���� 2005</entry> + <entry>6.0-STABLE ����� ���������� ������ ������ ���� + ������������ ���������, ��� ������� �� �� ��� ������� + � RELENG_5.</entry> + </row> + + <row> + <entry>600034</entry> + <entry>13 ������� 2005</entry> + <entry>6.0-STABLE ����� ���������� ��������� ������� + ������ � ���������� ������� dev_clone. 6.0-RELEASE.</entry> + </row> + + <row> + <entry>600100</entry> + <entry>1 ������ 2005</entry> + <entry>6.0-STABLE ����� 6.0-RELEASE</entry> + </row> + + <row> + <entry>600101</entry> + <entry>21 ������� 2005</entry> + <entry>6.0-STABLE ����� ��������� ��������� �� ��������� + local_startup � ������� &man.rcorder.8;.</entry> + </row> + + <row> + <entry>600102</entry> + <entry>30 ������� 2005</entry> + <entry>6.0-STABLE ����� ���������� ����� � �������� ELF.</entry> + </row> + + <row> + <entry>600103</entry> + <entry>15 ������ 2006</entry> + <entry>6.0-STABLE ����� ���������� MFC API pidfile(3).</entry> + </row> + + <row> + <entry>600104</entry> + <entry>17 ������ 2006</entry> + <entry>6.0-STABLE ����� ���������� MFC ��������� + ldconfig_local_dirs.</entry> + </row> + + <row> + <entry>600105</entry> + <entry>26 ������� 2006</entry> + <entry>6.0-STABLE ����� ���������� ��������� �������� NLS + ��� csh(1).</entry> + </row> + + <row> + <entry>601000</entry> + <entry>6 ��� 2006</entry> + <entry>6.1-RELEASE</entry> + </row> + + <row> + <entry>601100</entry> + <entry>6 ��� 2006</entry> + <entry>6.1-STABLE ����� 6.1-RELEASE.</entry> + </row> + + <row> + <entry>601101</entry> + <entry>22 ���� 2006</entry> + <entry>6.1-STABLE ����� ������� csup.</entry> + </row> + + <row> + <entry>601102</entry> + <entry>11 ���� 2006</entry> + <entry>6.1-STABLE ����� ���������� iwi(4).</entry> + </row> + + <row> + <entry>601103</entry> + <entry>17 ���� 2006</entry> + <entry>6.1-STABLE ����� ���������� ��������� �� BIND9 + � ���������� ��������������� ������ ������� netdb.</entry> + </row> + + <row> + <entry>601104</entry> + <entry>8 ������� 2006</entry> + <entry>6.1-STABLE ����� ��������� ��������� DSO (������������ + ��������� ������������ ��������) � OpenSSL.</entry> + </row> + + <row> + <entry>601105</entry> + <entry>2 �������� 2006</entry> + <entry>6.1-STABLE ����� ����������� � 802.11, ���������� API + ��� ioctl IEEE80211_IOC_STA_INFO.</entry> + </row> + + <row> + <entry>602000</entry> + <entry>15 ������ 2006</entry> + <entry>6.2-RELEASE</entry> + </row> + + <row> + <entry>602100</entry> + <entry>15 �������� 2006</entry> + <entry>6.2-STABLE ����� 6.2-RELEASE</entry> + </row> + + <row> + <entry>602101</entry> + <entry>12 ������� 2006</entry> + <entry>6.2-STABLE ����� ���������� ������ Wi-Spy.</entry> + </row> + + <row> + <entry>602102</entry> + <entry>28 ������� 2006</entry> + <entry>6.2-STABLE ����� ���������� pci_find_extcap().</entry> + </row> + + <row> + <entry>602103</entry> + <entry>16 ������ 2007</entry> + <entry>6.2-STABLE ����� ���������� MFC ��������� dlsym ��� + ������ ������������ ������� � ��������� dso � + ��� ������� �����������.</entry> + </row> + + <row> + <entry>602104</entry> + <entry>28 ������ 2007</entry> + <entry>6.2-STABLE ����� ���������� MFC ����� netgraph + ng_deflate(4) � ng_pred1(4) � ������ ���� ng_ppp(4) �� + ������� � �����������.</entry> + </row> + + <row> + <entry>602105</entry> + <entry>20 ������� 2007</entry> + <entry>6.2-STABLE ����� ���������� MFC ������������� �� NetBSD + ������ &man.gzip.1; � ��������� BSD.</entry> + </row> + + <row> + <entry>602106</entry> + <entry>31 ����� 2007</entry> + <entry>6.2-STABLE ����� ���������� MFC ��������� + PCI MSI � MSI-X.</entry> + </row> + + <row> + <entry>602107</entry> + <entry>6 ������ 2007</entry> + <entry>6.2-STABLE ����� ���������� MFC ncurses 5.6 � ��������� + ������������ ��������.</entry> + </row> + + <row> + <entry>602108</entry> + <entry>11 ������ 2007</entry> + <entry>6.2-STABLE ����� ���������� MFC ���������� ������������� + ���������� CAM 'SG', ������� ��������� ������������ API + �������� (passthrough) ��������� Linux SCSI SG.</entry> + </row> + + <row> + <entry>602109</entry> + <entry>17 ������ 2007</entry> + <entry>6.2-STABLE ����� ���������� MFC readline 5.2 + patchset 002.</entry> + </row> + + <row> + <entry>602110</entry> + <entry>2 ��� 2007</entry> + <entry>6.2-STABLE ����� ���������� MFC pmap_invalidate_cache(), + pmap_change_attr(), pmap_mapbios(), pmap_mapdev_attr() + � pmap_unmapbios() ��� mad64 � i386.</entry> + </row> + + <row> + <entry>602111</entry> + <entry>11 ���� 2007</entry> + <entry>6.2-STABLE ����� ���������� MFC BOP_BDFLUSH � ��������� + ���� ������� � KBI ��� ������� �������� ������.</entry> + </row> + + <row> + <entry>602112</entry> + <entry>21 �������� 2007</entry> + <entry>6.2-STABLE ����� ���������� ����� MFC libutil(3).</entry> + </row> + + <row> + <entry>602113</entry> + <entry>25 ������� 2007</entry> + <entry>6.2-STABLE ����� ���������� MFC ���������� ������������ + � ������������ ctype. ������ ���������������� �������� + �����, ����������� �� ctype.h, ����� ����������� ����� ������ + __mb_sb_limit, ����������� �� ����� ������ ��������.</entry> + </row> + + <row> + <entry>602114</entry> + <entry>30 ������� 2007</entry> + <entry>6.2-STABLE ����� �������������� �������� ������������� + ctype ABI.</entry> + </row> + + <row> + <entry>602115</entry> + <entry>21 ������ 2007</entry> + <entry>6.2-STABLE ����� ������ ���������� ������������ � + ������������ ctype.</entry> + </row> + + <row> + <entry>603000</entry> + <entry>25 ������ 2007</entry> + <entry>6.3-RELEASE</entry> + </row> + + <row> + <entry>603100</entry> + <entry>25 ������ 2007</entry> + <entry>6.3-STABLE ����� 6.3-RELEASE.</entry> + </row> + + <row> + <entry>603101</entry> + <entry>7 ������� 2007</entry> + <entry>6.3-STABLE ����� ����������� ��������� ������������� + ����� � ������� �������.</entry> + </row> + + <row> + <entry>603102</entry> + <entry>24 ������ 2008</entry> + <entry>6.3-STABLE ����� ���������� l_sysid � ��������� + flock.</entry> + </row> + + <row> + <entry>603103</entry> + <entry>27 ��� 2008</entry> + <entry>6.3-STABLE ����� ���������� MFC ������� + <function>memrchr</function>.</entry> + </row> + + <row> + <entry>603104</entry> + <entry>15 ���� 2008</entry> + <entry>6.3-STABLE ����� ���������� MFC ��������� ������������ + ���������� <literal>:u</literal> � make(1).</entry> + </row> + + <row> + <entry>604000</entry> + <entry>4 ������� 2008</entry> + <entry>6.4-RELEASE</entry> + </row> + + <row> + <entry>604100</entry> + <entry>4 ������� 2008</entry> + <entry>6.4-STABLE ����� 6.4-RELEASE.</entry> + </row> + + <row> + <entry>700000</entry> + <entry>11 ���� 2005</entry> + <entry>7.0-CURRENT.</entry> + </row> + + <row> + <entry>700001</entry> + <entry>23 ���� 2005</entry> + <entry>7.0-CURRENT ����� ���������� ������ ������ ���� + ������������ ���������, ��� ������� �� �� ��� ������� + � RELENG_5.</entry> + </row> + + <row> + <entry>700002</entry> + <entry>13 ������� 2005</entry> + <entry>7.0-CURRENT ����� ���������� ��������� ������� + ������ � ���������� ������� dev_clone.</entry> + </row> + + <row> + <entry>700003</entry> + <entry>25 ������� 2005</entry> + <entry>7.0-CURRENT ����� ���������� memmem(3) � libc.</entry> + </row> + + <row> + <entry>700004</entry> + <entry>30 ������� 2005</entry> + <entry>7.0-CURRENT ����� ��������� ���������� ������� ���� + solisten(9) ��� ��������� ��������� backlog.</entry> + </row> + + <row> + <entry>700005</entry> + <entry>11 ������ 2005</entry> + <entry>7.0-CURRENT ����� ��������� IFP2ENADDR(), ������� ������ + ���������� ��������� �� IF_LLADDR().</entry> + </row> + + <row> + <entry>700006</entry> + <entry>11 ������ 2005</entry> + <entry>7.0-CURRENT ����� ���������� ���� + <literal>if_addr</literal> � <literal>struct ifnet</literal> + � �������� IFP2ENADDR().</entry> + </row> + + <row> + <entry>700007</entry> + <entry>2 ������� 2005</entry> + <entry>7.0-CURRENT ����� ��������� ��������� �� + ��������� local_startup � ������� &man.rcorder.8;.</entry> + </row> + + <row> + <entry>700008</entry> + <entry>5 ������� 2005</entry> + <entry>7.0-CURRENT ����� �������� ��������� ������������ + MNT_NODEV.</entry> + </row> + + <row> + <entry>700009</entry> + <entry>19 ������� 2005</entry> + <entry>7.0-CURRENT ����� ��������� ���� ELF-64 � + ����������� ���������������.</entry> + </row> + + <row> + <entry>700010</entry> + <entry>20 ������� 2005</entry> + <entry>7.0-CURRENT ����� ���������� ��������� hostb � vgapci, + ���������� pci_find_extcap() � ��������� � ��������� AGP, + ����� ������ �� ���������� � ������ aperture.</entry> + </row> + + <row> + <entry>700011</entry> + <entry>31 ������� 2005</entry> + <entry>7.0-CURRENT ����� ������ tv_sec �� time_t �� ���� + ����������, ����� Alpha.</entry> + </row> + + <row> + <entry>700012</entry> + <entry>8 ������ 2006</entry> + <entry>7.0-CURRENT ����� ��������� ldconfig_local_dirs.</entry> + </row> + + <row> + <entry>700013</entry> + <entry>12 ������ 2006</entry> + <entry>7.0-CURRENT ����� ��������� � + <filename>/etc/rc.d/abi</filename> ��� ��������� + <filename>/compat/linux/etc/ld.so.cache</filename> + � �������� ������������� ������ �� �������� ������� � + ������ ������ ��� ������.</entry> + </row> + + <row> + <entry>700014</entry> + <entry>26 ������ 2006</entry> + <entry>7.0-CURRENT ����� ������� pts.</entry> + </row> + + <row> + <entry>700015</entry> + <entry>26 ����� 2006</entry> + <entry>7.0-CURRENT ����� ��������� ������ ������ ABI + &man.hwpmc.4;</entry> + </row> + + <row> + <entry>700016</entry> + <entry>22 ������ 2006</entry> + <entry>7.0-CURRENT ����� ���������� &man.fcloseall.3 + � libc.</entry> + </row> + + <row> + <entry>700017</entry> + <entry>13 ��� 2006</entry> + <entry>7.0-CURRENT ����� �������� ip6fw.</entry> + </row> + + <row> + <entry>700018</entry> + <entry>15 ���� 2006</entry> + <entry>7.0-CURRENT ����� ������� snd_emu10kx.</entry> + </row> + + <row> + <entry>700019</entry> + <entry>29 ���� 2006</entry> + <entry>7.0-CURRENT ����� ������� OpenSSL 0.9.8b.</entry> + </row> + + <row> + <entry>700020</entry> + <entry>3 �������� 2006</entry> + <entry>7.0-CURRENT ����� ���������� ������� + bus_dma_get_tag</entry> + </row> + + <row> + <entry>700021</entry> + <entry>4 �������� 2006</entry> + <entry>7.0-CURRENT ����� ������� libpcap 0.9.4 � + tcpdump 3.9.4.</entry> + </row> + + <row> + <entry>700022</entry> + <entry>9 �������� 2006</entry> + <entry>7.0-CURRENT ����� ��������� dlsym ��� ������ + ������������ ������� � ��������� dso � + ��� ������� ������������.</entry> + </row> + + <row> + <entry>700023</entry> + <entry>23 �������� 2006</entry> + <entry>7.0-CURRENT ����� ���������� ����� �������� IOCTL + ��� API ������� OSSv4.</entry> + </row> + + <row> + <entry>700024</entry> + <entry>28 �������� 2006</entry> + <entry>7.0-CURRENT ����� ������� OpenSSL 0.9.8d.</entry> + </row> + + <row> + <entry>700025</entry> + <entry>11 ������ 2006</entry> + <entry>7.0-CURRENT ����� ���������� libelf.</entry> + </row> + + <row> + <entry>700026</entry> + <entry>26 ������ 2006</entry> + <entry>7.0-CURRENT ����� ������������ ��������� � sysctl + �������� ����������.</entry> + </row> + + <row> + <entry>700027</entry> + <entry>30 ������ 2006</entry> + <entry>7.0-CURRENT ����� ���������� ������ Wi-Spy.</entry> + </row> + + <row> + <entry>700028</entry> + <entry>15 ������� 2006</entry> + <entry>7.0-CURRENT ����� ���������� ������� sctp � libc.</entry> + </row> + + <row> + <entry>700029</entry> + <entry>26 ������ 2007</entry> + <entry>7.0-CURRENT ����� �������� ������������ ������� IPIP + (VIFF_TUNNEL) �� ���� IPv4 multicast forwarding.</entry> + </row> + + <row> + <entry>700030</entry> + <entry>7 ������� 2007</entry> + <entry>7.0-CURRENT ����� ������ ���������� GNU &man.gzip.1; + �� ������������� �� NetBSD ������ � ��������� BSD.</entry> + </row> + + <row> + <entry>700031</entry> + <entry>23 ������� 2007</entry> + <entry>7.0-CURRENT ����� ��������� � bus_setup_intr() (newbus). + </entry> + </row> + + <row> + <entry>700032</entry> + <entry>2 ����� 2007</entry> + <entry>7.0-CURRENT ����� �������� ��������� ipw(4) � iwi(4). + </entry> + </row> + + <row> + <entry>700033</entry> + <entry>9 ����� 2007</entry> + <entry>7.0-CURRENT ����� �������� ��������� ������������ + �������� ncurses. + </entry> + </row> + + <row> + <entry>700034</entry> + <entry>19 ����� 2007</entry> + <entry>7.0-CURRENT ����� ��������� � ������ insmntque(), + getnewvnode() � vfs_hash_insert(). + </entry> + </row> + + <row> + <entry>700035</entry> + <entry>26 ����� 2007</entry> + <entry>7.0-CURRENT ����� ���������� ��������� ����������� + ��� ��������� ������� CPU. + </entry> + </row> + + <row> + <entry>700036</entry> + <entry>6 ������ 2007</entry> + <entry>7.0-CURRENT ����� ������� �������� ������� ZFS.</entry> + </row> + + <row> + <entry>700037</entry> + <entry>8 ������ 2007</entry> + <entry>7.0-CURRENT ����� ���������� ������������� ���������� + CAM 'SG', ������� ��������� ������������ API �������� + (passthrough) ��������� Linux SCSI SG.</entry> + </row> + + <row> + <entry>700038</entry> + <entry>30 ������ 2007</entry> + <entry>7.0-CURRENT ����� ��������� &man.getenv.3;, + &man.putenv.3;, &man.setenv.3; � &man.unsetenv.3; ��� + ������������� � POSIX.</entry> + </row> + + <row> + <entry>700039</entry> + <entry>1 ��� 2007</entry> + <entry>7.0-CURRENT ����� ������ ��������� � 700038.</entry> + </row> + + <row> + <entry>700040</entry> + <entry>10 ��� 2007</entry> + <entry>7.0-CURRENT ����� ���������� &man.flopen.3; + � libutil.</entry> + </row> + + <row> + <entry>700041</entry> + <entry>13 ��� 2007</entry> + <entry>7.0-CURRENT ����� ��������� ��������������� �������� + � ��������� ��������� ����������, ������������ �� ���������, + �� libthr.</entry> + </row> + + <row> + <entry>700042</entry> + <entry>19 ��� 2007</entry> + <entry>7.0-CURRENT ����� ������� gcc 4.2.0.</entry> + </row> + + <row> + <entry>700043</entry> + <entry>21 ��� 2007</entry> + <entry>7.0-CURRENT ����� ���������� �������� ������ ������ + ��� ���� ������������ ���������, ��� ������� ��� �� ���� + ������� � ������� RELENG_6.</entry> + </row> + + <row> + <entry>700044</entry> + <entry>7 ���� 2007</entry> + <entry>7.0-CURRENT ����� ��������� ��������� ��� + vn_open()/VOP_OPEN() ������ ��������� ����������� �� + struct file *.</entry> + </row> + + <row> + <entry>700045</entry> + <entry>10 ���� 2007</entry> + <entry>7.0-CURRENT ����� ��������� &man.pam.nologin.8; + ��� ����������� ������� ���������� �������� �������� + ������ ������� �������������� ��� �������������� PAM.</entry> + </row> + + <row> + <entry>700046</entry> + <entry>11 ���� 2007</entry> + <entry>7.0-CURRENT ����� ���������� ��������� ������������ + ����� 802.11.</entry> + </row> + + <row> + <entry>700047</entry> + <entry>11 ���� 2007</entry> + <entry>7.0-CURRENT ����� ���������� ������������ + TCP LRO ����������.</entry> + </row> + + <row> + <entry>700048</entry> + <entry>12 ���� 2007</entry> + <entry>7.0-CURRENT ����� ���������� � ���� IPv4 ��������� + API RFC 3678. �������������� �� RFC 1724 ��������� + ioctl IP_MULTICAST_IF ������ �������; 0.0.0.0/8 ������ �� + ����� ���� ����������� ��� �������� ������� ����������. + ������ ����� ������� ������������ ��������� ipmreqn.</entry> + </row> + + <row> + <entry>700049</entry> + <entry>3 ���� 2007</entry> + <entry>7.0-CURRENT ����� ������� pf �� OpenBSD 4.1</entry> + </row> + + <row> + <entry>(�� ��������)</entry> + <entry></entry> + <entry>7.0-CURRENT ����� ���������� ��������� IPv6 ��� + FAST_IPSEC, �������� KAME IPSEC � �������������� + FAST_IPSEC � IPSEC.</entry> + </row> + + <row> + <entry>700050</entry> + <entry>4 ���� 2007</entry> + <entry>7.0-CURRENT ����� ����������� ������� setenv/putenv/etc + �� ������������ BSD � POSIX.</entry> + </row> + + <row> + <entry>700051</entry> + <entry>4 ���� 2007</entry> + <entry>7.0-CURRENT ����� ���������� ����� ��������� ������� + mmap/lseek/etc.</entry> + </row> + + <row> + <entry>700052</entry> + <entry>6 ���� 2007</entry> + <entry>7.0-CURRENT ����� ����������� ���������� I4B + � include/i4b.</entry> + </row> + + <row> + <entry>700053</entry> + <entry>30 �������� 2007</entry> + <entry>7.0-CURRENT ����� ���������� ��������� + ��� ������� PCI.</entry> + </row> + + <row> + <entry>700054</entry> + <entry>25 ������� 2007</entry> + <entry>7.0-CURRENT ����� ���������� MFC ���������� ������������ + � ������������ ctype.</entry> + </row> + + <row> + <entry>700055</entry> + <entry>28 ������� 2007</entry> + <entry>7.0-RELEASE, � 7.0-CURRENT ����� ���������� MFC �������� + ������������� ABI ��� IOCTL'�� PCIOCGETCONF, PCIOCREAD � + PCIOCWRITE � �������� FreeBSD 4/5/6, ��� ������� ��������� + ������� ABI ��� PCIOCGETCONF IOCTL</entry> + </row> + + <row> + <entry>700100</entry> + <entry>22 ������� 2007</entry> + <entry>7.0-STABLE ����� 7.0-RELEASE</entry> + </row> + + <row> + <entry>700101</entry> + <entry>8 ������� 2008</entry> + <entry>7.0-STABLE ����� ���������� MFC m_collapse().</entry> + </row> + + <row> + <entry>700102</entry> + <entry>30 ����� 2008</entry> + <entry>7.0-STABLE ����� ���������� MFC kdb_enter_why().</entry> + </row> + + <row> + <entry>700103</entry> + <entry>10 ������ 2008</entry> + <entry>7.0-STABLE ����� ���������� l_sysid � ��������� + flock.</entry> + </row> + + <row> + <entry>700104</entry> + <entry>11 ������ 2008</entry> + <entry>7.0-STABLE ����� ���������� MFC procstat(1).</entry> + </row> + + <row> + <entry>700105</entry> + <entry>11 ������ 2008</entry> + <entry>7.0-STABLE ����� ���������� MFC ������������ umtx.</entry> + </row> + + <row> + <entry>700106</entry> + <entry>15 ������ 2008</entry> + <entry>7.0-STABLE ����� ���������� MFC ��������� &man.write.2; + ��� &man.psm.4;.</entry> + </row> + + <row> + <entry>700107</entry> + <entry>20 ������ 2008</entry> + <entry>7.0-STABLE ����� ���������� MFC ������� F_DUP2FD + ��� &man.fcntl.2;</entry> + </row> + + <row> + <entry>700108</entry> + <entry>5 ��� 2008</entry> + <entry>7.0-STABLE ����� ��������� ��������� � &man.lockmgr.9;, + ������� ��� ������������� &man.lockmgr.9; ������� + ����������� <filename>sys/lock.h</filename>.</entry> + </row> + + <row> + <entry>700109</entry> + <entry>27 ��� 2008</entry> + <entry>7.0-STABLE ����� ���������� MFC ������� + <function>memrchr</function>.</entry> + </row> + + <row> + <entry>700110</entry> + <entry>5 ������� 2008</entry> + <entry>7.0-STABLE ����� ���������� MFC NFS-������� lockd. + </entry> + </row> + + <row> + <entry>700111</entry> + <entry>20 ������� 2008</entry> + <entry>7.0-STABLE ����� ���������� ��������� + ��������� ����������� jumbo-�������.</entry> + </row> + + <row> + <entry>700112</entry> + <entry>27 ������� 2008</entry> + <entry>7.0-STABLE ����� ���������� MFC ��������� + DTrace � ����.</entry> + </row> + + <row> + <entry>701000</entry> + <entry>25 ������ 2008</entry> + <entry>7.1-RELEASE</entry> + </row> + + <row> + <entry>701100</entry> + <entry>25 ������ 2008</entry> + <entry>7.1-STABLE ����� 7.1-RELEASE.</entry> + </row> + + <row> + <entry>701101</entry> + <entry>10 ������ 2009</entry> + <entry>7.1-STABLE ����� �������� + <function>strndup</function>.</entry> + </row> + + <row> + <entry>701102</entry> + <entry>17 ������ 2009</entry> + <entry>7.1-STABLE ����� ���������� ��������� + cpuctl(4).</entry> + </row> + + <row> + <entry>701103</entry> + <entry>7 ������� 2009</entry> + <entry>7.1-STABLE ����� �������� jail + � ����������� IP / ��� �������� IP / � IPv6.</entry> + </row> + + <row> + <entry>701104</entry> + <entry>14 ������� 2009</entry> + <entry>7.1-STABLE ����� ���������� ��������� ������������ + � ��������� mount � ��������� ������ vfs_susp_clean + � ��������� vfsops.</entry> + </row> + + <row> + <entry>701105</entry> + <entry>12 ����� 2009</entry> + <entry>7.1-STABLE ����� ������������� ��������� � sysctl + kern.ipc.shmsegs ��� ����������� ��������� ��������� + ����������� ������ SysV �������� ������� �� 64-������ + ������������.</entry> + </row> + + <row> + <entry>701106</entry> + <entry>14 ����� 2009</entry> + <entry>7.1-STABLE ����� �������� ����������� �������� + �������� ��� ��������� POSIX.</entry> + </row> + + <row> + <entry>702000</entry> + <entry>15 ������ 2009</entry> + <entry>7.2-RELEASE</entry> + </row> + + <row> + <entry>702100</entry> + <entry>15 ������ 2009</entry> + <entry>7.2-STABLE ����� 7.2-RELEASE.</entry> + </row> + + <row> + <entry>702101</entry> + <entry>15 ��� 2009</entry> + <entry>7.2-STABLE ����� ��������� ichsmb(4) ��� ������������� + ��������������� ��������� � ������������� �� ����� �������, + ��� � � ������ ��������� ����������� SMBus.</entry> + </row> + + <row> + <entry>702102</entry> + <entry>28 ��� 2009</entry> + <entry>7.2-STABLE ����� ���������� MFC ������� + <function>fdopendir</function>.</entry> + </row> + + <row> + <entry>702103</entry> + <entry>6 ���� 2009</entry> + <entry>7.2-STABLE ����� ���������� MFC PmcTools.</entry> + </row> + + <row> + <entry>702104</entry> + <entry>14 ���� 2009</entry> + <entry>7.2-STABLE ����� ���������� MFC ���������� + ������ <function>closefrom</function>.</entry> + </row> + + <row> + <entry>702105</entry> + <entry>31 ���� 2009</entry> + <entry>7.2-STABLE ����� ���������� MFC ��������� ABI + ��� SYSVIPC.</entry> + </row> + + <row> + <entry>702106</entry> + <entry>14 �������� 2009</entry> + <entry>7.2-STABLE ����� ���������� MFC ��������� � x86 PAT + � ���������� d_mmap_single() � ������� VM ���� + "������ scatter/gather".</entry> + </row> + + <row> + <entry>703000</entry> + <entry>9 ������� 2010</entry> + <entry>7.3-RELEASE</entry> + </row> + + <row> + <entry>703100</entry> + <entry>9 ������� 2010</entry> + <entry>7.3-STABLE ����� 7.3-RELEASE.</entry> + </row> + + <row> + <entry>704000</entry> + <entry>22 ������� 2010</entry> + <entry>7.4-RELEASE</entry> + </row> + + <row> + <entry>704100</entry> + <entry>22 ������� 2010</entry> + <entry>7.4-STABLE ����� 7.4-RELEASE.</entry> + </row> + + <row> + <entry>800000</entry> + <entry>11 ������� 2007</entry> + <entry>8.0-CURRENT. ���������� ������������ � ������������ + ctype.</entry> + </row> + + <row> + <entry>800001</entry> + <entry>16 ������� 2007</entry> + <entry>8.0-CURRENT ����� ������� libpcap 0.9.8 � + tcpdump 3.9.8.</entry> + </row> + + <row> + <entry>800002</entry> + <entry>21 ������� 2007</entry> + <entry>8.0-CURRENT ����� �������������� kthread_create() � + ������������� ������� � kproc_create() � �.�.</entry> + </row> + + <row> + <entry>800003</entry> + <entry>24 ������� 2007</entry> + <entry>8.0-CURRENT ����� ���������� �������� ������������� + ABI ��� IOCTL'�� PCIOCGETCONF, PCIOCREAD � PCIOCWRITE � + �������� FreeBSD 4/5/6, ��� ������� ��������� ������� ABI + ��� PCIOCGETCONF IOCTL</entry> + </row> + + <row> + <entry>800004</entry> + <entry>12 ������ 2007</entry> + <entry>8.0-CURRENT ����� ����������� �������� agp(4) �� + src/sys/pci � src/sys/dev/agp</entry> + </row> + + <row> + <entry>800005</entry> + <entry>4 ������� 2007</entry> + <entry>8.0-CURRENT ����� + <ulink url="http://www.freebsd.org/cgi/cvsweb.cgi/src/sys/kern/kern_mbuf.c#rev1.35">��������� + � �������������� jumbo-�������</ulink>.</entry> + </row> + + <row> + <entry>800006</entry> + <entry>7 ������� 2007</entry> + <entry>8.0-CURRENT ����� ���������� ���������������� ������� + ����� ������� � &man.hwpmc.4;.</entry> + </row> + + <row> + <entry>800007</entry> + <entry>25 ������� 2007</entry> + <entry>8.0-CURRENT ����� ����, ��� kdb_enter() �������� + �������� "why".</entry> + </row> + + <row> + <entry>800008</entry> + <entry>28 ������� 2007</entry> + <entry>8.0-CURRENT ����� �������� ����� LK_EXCLUPGRADE.</entry> + </row> + + <row> + <entry>800009</entry> + <entry>9 ������ 2008</entry> + <entry>8.0-CURRENT ����� ��������� + &man.lockmgr.disown.9;</entry> + </row> + + <row> + <entry>800010</entry> + <entry>10 ������ 2008</entry> + <entry>8.0-CURRENT ����� ��������� ��������� + &man.vn.lock.9;.</entry> + </row> + + <row> + <entry>800011</entry> + <entry>13 ������ 2008</entry> + <entry>8.0-CURRENT ����� ��������� ���������� + &man.VOP.LOCK.9; � &man.VOP.UNLOCK.9;.</entry> + </row> + + <row> + <entry>800012</entry> + <entry>19 ������ 2008</entry> + <entry>8.0-CURRENT ����� ��������� + &man.lockmgr.recursed.9;, &man.BUF.RECURSED.9; � + &man.BUF.ISLOCKED.9; � �������� + <function>BUF_REFCNT()</function>.</entry> + </row> + + <row> + <entry>800013</entry> + <entry>23 ������ 2008</entry> + <entry>8.0-CURRENT ����� ��������� + ��������� <quote>ASCII</quote>.</entry> + </row> + + <row> + <entry>800014</entry> + <entry>24 ������ 2008</entry> + <entry>8.0-CURRENT ����� ��������� ��������� &man.lockmgr.9; + � �������� <function>lockcount()</function> � + <function>LOCKMGR_ASSERT()</function>.</entry> + </row> + + <row> + <entry>800015</entry> + <entry>26 ������ 2008</entry> + <entry>8.0-CURRENT ����� ���������� ����� ��� + �������� &man.fts.3;.</entry> + </row> + + <row> + <entry>800016</entry> + <entry>1 ������� 2008</entry> + <entry>8.0-CURRENT ����� ���������� ��������� MEXTADD(9) + </entry> + </row> + <row> + <entry>800017</entry> + <entry>6 ������� 2008</entry> + <entry>8.0-CURRENT ����� ��������� ����� LK_NODUP � + LK_NOWITNESS � ������������ &man.lockmgr.9;.</entry> + </row> + <row> + <entry>800018</entry> + <entry>8 ������� 2008</entry> + <entry>8.0-CURRENT ����� ���������� m_collapse.</entry> + </row> + <row> + <entry>800019</entry> + <entry>9 ������� 2008</entry> + <entry>8.0-CURRENT ����� ���������� ��������� �������� + �������� ��������, ��������� �������� � ��������� jail + � sysctl kern.proc.filedesc.</entry> + </row> + <row> + <entry>800020</entry> + <entry>13 ������� 2008</entry> + <entry>8.0-CURRENT ����� ��������� ������� + &man.lockmgr.assert.9; � + <function>BUF_ASSERT</function>.</entry> + </row> + <row> + <entry>800021</entry> + <entry>15 ������� 2008</entry> + <entry>8.0-CURRENT ����� ��������� &man.lockmgr.args.9; + � �������� ����� LK_INTERNAL.</entry> + </row> + <row> + <entry>800022</entry> + <entry>(��������)</entry> + <entry>8.0-CURRENT ����� ������ ������������� �� ��������� + ar �� BSD &man.ar.1;.</entry> + </row> + <row> + <entry>800023</entry> + <entry>25 ������� 2008</entry> + <entry>8.0-CURRENT ����� ��������� ���������� + &man.lockstatus.9; � &man.VOP.ISLOCKED.9;, � ������ + �������� ��������� <literal>struct thread</literal>.</entry> + </row> + <row> + <entry>800024</entry> + <entry>1 ����� 2008</entry> + <entry>8.0-CURRENT ����� ���������� ������� + <function>lockwaiters</function> � + <function>BUF_LOCKWAITERS</function>, ��������� + ������������� �������� ��� <function>brelvp</function> + � void � int � ��������� ����� ������ ��� + &man.lockinit.9;.</entry> + </row> + <row> + <entry>800025</entry> + <entry>8 ����� 2008</entry> + <entry>8.0-CURRENT ����� ���������� � &man.fcntl.2; + ������� F_DUP2FD.</entry> + </row> + <row> + <entry>800026</entry> + <entry>12 ����� 2008</entry> + <entry>8.0-CURRENT ����� ��������� ��������� ���������� + ��� cv_broadcastpri ���, ��� 0 �������� ���������� + ����������.</entry> + </row> + <row> + <entry>800027</entry> + <entry>24 ����� 2008</entry> + <entry>8.0-CURRENT ����� ��������� API ����������� bpf, + ����� ���� ��������� ������ zerocopy bpf.</entry> + </row> + <row> + <entry>800028</entry> + <entry>26 ����� 2008</entry> + <entry>8.0-CURRENT ����� ���������� l_sysid � ��������� + flock.</entry> + </row> + <row> + <entry>800029</entry> + <entry>28 ����� 2008</entry> + <entry>8.0-CURRENT ����� ������������ ������� + <function>BUF_LOCKWAITERS</function> � ���������� + &man.lockmgr.waiters.9;.</entry> + </row> + <row> + <entry>800030</entry> + <entry>1 ������ 2008</entry> + <entry>8.0-CURRENT ����� ��������� ������� + &man.rw.try.rlock.9; � &man.rw.try.wlock.9;.</entry> + </row> + <row> + <entry>800031</entry> + <entry>6 ������ 2008</entry> + <entry>8.0-CURRENT ����� ��������� ������� + <function>lockmgr_rw</function> � + <function>lockmgr_args_rw</function>.</entry> + </row> + <row> + <entry>800032</entry> + <entry>8 ������ 2008</entry> + <entry>8.0-CURRENT ����� ���������� openat � ��������� + � ��� ��������� �������, ��������� ����� O_EXEC ��� + &man.open.2; � ����������� ��������������� ��������� + ������� ��� linux-�������������.</entry> + </row> + <row> + <entry>800033</entry> + <entry>8 ������ 2008</entry> + <entry>8.0-CURRENT ����� ���������� ��������� &man.write.2; + ��� &man.psm.4; � �������� ������������ ������. ������ + � <devicename>/dev/psm%d</devicename> ����� ���������� + ������������ ������� � ��������� �� ���� ������� + ���������.</entry> + </row> + <row> + <entry>800034</entry> + <entry>10 ������ 2008</entry> + <entry>8.0-CURRENT ����� ��������� ������� + <function>memrchr</function>.</entry> + </row> + <row> + <entry>800035</entry> + <entry>16 ������ 2008</entry> + <entry>8.0-CURRENT ����� ��������� ������� + <function>fdopendir</function>.</entry> + </row> + <row> + <entry>800036</entry> + <entry>20 ������ 2008</entry> + <entry>8.0-CURRENT ����� ������������ ������������ ����� + 802.11 �� ��������� multi-bss (����� ���������� ��� + vaps).</entry> + </row> + <row> + <entry>800037</entry> + <entry>9 ��� 2008</entry> + <entry>8.0-CURRENT ����� ���������� ��������� ������-����������� + ������ (����� ��������� ��� setfib(1), setfib(2)).</entry> + </row> + <row> + <entry>800038</entry> + <entry>26 ��� 2008</entry> + <entry>8.0-CURRENT ����� �������� netatm � ISDN4BSD. �����, + ���������� �������������� Compact C Type (CTF).</entry> + </row> + <row> + <entry>800039</entry> + <entry>14 ���� 2008</entry> + <entry>8.0-CURRENT ����� �������� sgtty.</entry> + </row> + <row> + <entry>800040</entry> + <entry>26 ���� 2008</entry> + <entry>8.0-CURRENT �������� NFS lockd � ����.</entry> + </row> + <row> + <entry>800041</entry> + <entry>22 ���� 2008</entry> + <entry>8.0-CURRENT ����� ���������� arc4random_buf(3) + � arc4random_uniform(3).</entry> + </row> + <row> + <entry>800042</entry> + <entry>8 ������� 2008</entry> + <entry>8.0-CURRENT ����� ���������� cpuctl(4).</entry> + </row> + <row> + <entry>800043</entry> + <entry>13 ������� 2008</entry> + <entry>8.0-CURRENT ����� ��������� � bpf(4) ��� ������������� + ������������� ���� ���������� ������ ������������ + ���������.</entry> + </row> + <row> + <entry>800044</entry> + <entry>17 ������� 2008</entry> + <entry>8.0-CURRENT ����� ������� ������ ����� ������� vimage + � ��������������� ���������� ���������� ��� �� ������������� + � ������� � ��������� V_ ��� �� ����������� ������� �� + ���������� �����.</entry> + </row> + <row> + <entry>800045</entry> + <entry>20 ������� 2008</entry> + <entry>8.0-CURRENT ����� ���������� ��������� MPSAFE TTY, + ���������� ��������� � ���������, ����������������� � ��� + ��������� � ��������.</entry> + </row> + <row> + <entry>800046</entry> + <entry>8 �������� 2008</entry> + <entry>8.0-CURRENT ����� ���������� GDT + ��� ������� CPU � ����������� amd64.</entry> + </row> + <row> + <entry>800047</entry> + <entry>10 �������� 2008</entry> + <entry>8.0-CURRENT ����� �������� VSVTX, VSGID + � VSUID.</entry> + </row> + <row> + <entry>800048</entry> + <entry>16 �������� 2008</entry> + <entry>8.0-CURRENT ����� �������������� ���� ������������ + NFS � ���� ��� �������� �������������� ����� ������������ + � iovec nmount(), � �� ������ � ����� ������� + ��������� nfs_args.</entry> + </row> + <row> + <entry>800049</entry> + <entry>17 �������� 2008</entry> + <entry>8.0-CURRENT ����� �������� &man.suser.9; � + &man.suser.cred.9;.</entry> + </row> + <row> + <entry>800050</entry> + <entry>20 ������� 2008</entry> + <entry>8.0-CURRENT ����� ��������� � API ���� �������.</entry> + </row> + <row> + <entry>800051</entry> + <entry>23 ������� 2008</entry> + <entry>8.0-CURRENT ����� �������� �������� + &man.MALLOC.9; � &man.FREE.9;.</entry> + </row> + <row> + <entry>800052</entry> + <entry>28 ������� 2008</entry> + <entry>8.0-CURRENT ����� ��������� accmode_t + � �������������� ��������� VOP_ACCESS 'a_mode' � + 'a_accmode'.</entry> + </row> + <row> + <entry>800053</entry> + <entry>2 ������ 2008</entry> + <entry>8.0-CURRENT ����� ��������� ��������� &man.vfs.busy.9; + � ��������� ��� ������ MBF_NOWAIT � MBF_MNTLSTLOCK.</entry> + </row> + <row> + <entry>800054</entry> + <entry>22 ������ 2008</entry> + <entry>8.0-CURRENT ����� ���������� buf_ring, �������� + ������ � ������� ifnet ��� ������������� ���������� + �������� �������� ��� �������������� ��� ����, � ����� + ���������� ring-buffer ��� ������������� ������������� + ��� ����� ������������ ���������� ��������� ������� + � ���������.</entry> + </row> + <row> + <entry>800055</entry> + <entry>27 ������ 2008</entry> + <entry>8.0-CURRENT ����� ���������� ��������� &man.hwpmc.4; + ��� Intel™ Core, Core2 � Atom.</entry> + </row> + <row> + <entry>800056</entry> + <entry>29 ������ 2008</entry> + <entry>8.0-CURRENT ����� ��������� jail + � ����������� IP / ��� �������� IP / � IPv6.</entry> + </row> + <row> + <entry>800057</entry> + <entry>1 ������� 2008</entry> + <entry>8.0-CURRENT ����� ������������ �� ������������� + ��������� ���� ath hal.</entry> + </row> + <row> + <entry>800058</entry> + <entry>12 ������� 2008</entry> + <entry>8.0-CURRENT ����� ��������� �������� VOP_VPTOCNP.</entry> + </row> + <row> + <entry>800059</entry> + <entry>15 ������� 2008</entry> + <entry>8.0-CURRENT �������� � ���� ����� ������������ arp-v2.</entry> + </row> + <row> + <entry>800060</entry> + <entry>19 ������� 2008</entry> + <entry>8.0-CURRENT ����� ���������� makefs.</entry> + </row> + <row> + <entry>800061</entry> + <entry>15 ������ 2009</entry> + <entry>8.0-CURRENT ����� TCP Appropriate Byte Counting.</entry> + </row> + <row> + <entry>800062</entry> + <entry>28 ������ 2009</entry> + <entry>8.0-CURRENT ����� �������� minor(), minor2unit(), + unit2minor(), � �.�.</entry> + </row> + <row> + <entry>800063</entry> + <entry>18 ������� 2009</entry> + <entry>8.0-CURRENT ����� ��������� ������� GENERIC + ��� ������������� ����� USB2, � ����� ����� ���������� + fdevname(3).</entry> + </row> + <row> + <entry>800064</entry> + <entry>23 ������� 2009</entry> + <entry>8.0-CURRENT ����� ����, ��� ��������� ���� USB2, + � �� �������� dev/usb.</entry> + </row> + <row> + <entry>800065</entry> + <entry>26 ������� 2009</entry> + <entry>8.0-CURRENT ����� �������������� ���� ������� + � libmp(3).</entry> + </row> + <row> + <entry>800066</entry> + <entry>27 ������� 2009</entry> + <entry>8.0-CURRENT ����� ��������� ���������� � ��������� + USB � devfs.</entry> + </row> + <row> + <entry>800067</entry> + <entry>28 ������� 2009</entry> + <entry>8.0-CURRENT ����� ���������� getdelim(), getline(), + stpncpy(), strnlen(), wcsnlen(), wcscasecmp() + � wcsncasecmp().</entry> + </row> + <row> + <entry>800068</entry> + <entry>2 ����� 2009</entry> + <entry>8.0-CURRENT ����� �������������� devclass ushub + � uhub.</entry> + </row> + <row> + <entry>800069</entry> + <entry>9 ����� 2009</entry> + <entry>8.0-CURRENT ����� �������������� libusb20.so.1 + � libusb.so.1.</entry> + </row> + <row> + <entry>800070</entry> + <entry>9 ����� 2009</entry> + <entry>8.0-CURRENT ����� ����������� IGMPv3 � + Source-Specific Multicast (SSM) � ���� IPv4.</entry> + </row> + <row> + <entry>800071</entry> + <entry>14 ����� 2009</entry> + <entry>8.0-CURRENT ����� ���������� ����� � gcc ��� + ������������� inline-��������� C99 � ������ c99 � gnu99.</entry> + </row> + <row> + <entry>800072</entry> + <entry>15 ����� 2009</entry> + <entry>8.0-CURRENT ����� �������� ����� IFF_NEEDSGIANT; + ������� ��-MPSAFE �������� ��������� ����� �� + ��������������.</entry> + </row> + <row> + <entry>800073</entry> + <entry>18 ����� 2009</entry> + <entry>8.0-CURRENT ����� ���������� ������������� ��������� + ��������� ������� ��� rpath � ����������� �����.</entry> + </row> + <row> + <entry>800074</entry> + <entry>24 ����� 2009</entry> + <entry>8.0-CURRENT ����� ������� tcpdump 4.0.0 + � libpcap 1.0.0.</entry> + </row> + <row> + <entry>800075</entry> + <entry>6 ������ 2009</entry> + <entry>8.0-CURRENT ����� ��������� ��������� � ���������� + vnet_net, vnet_inet � vnet_ipfw.</entry> + </row> + <row> + <entry>800076</entry> + <entry>9 ������ 2009</entry> + <entry>8.0-CURRENT ����� ���������� �������� �������� + � dummynet.</entry> + </row> + <row> + <entry>800077</entry> + <entry>14 ������ 2009</entry> + <entry>8.0-CURRENT ����� �������� VOP_LEASE() � + vop_vector.vop_lease.</entry> + </row> + <row> + <entry>800078</entry> + <entry>15 ������ 2009</entry> + <entry>8.0-CURRENT ����� ���������� ����� ��������� rt_weight + � ��������� rt_metrics � rt_metrics_lite, ��������� + ��������� ��������� rt_metrics_lite. �������, �� ����� + �������� ���������� ������ ������ RTM_VERSION.</entry> + </row> + <row> + <entry>800079</entry> + <entry>15 ������ 2009</entry> + <entry>8.0-CURRENT ����� ���������� ���������� �� ��������� + llentry � ��������� route � route_in6.</entry> + </row> + <row> + <entry>800080</entry> + <entry>15 ������ 2009</entry> + <entry>8.0-CURRENT ����� ��������� ��������� ��������� + inpcb.</entry> + </row> + <row> + <entry>800081</entry> + <entry>19 ������ 2009</entry> + <entry>8.0-CURRENT ����� ��������� ��������� ��������� + malloc_type.</entry> + </row> + <row> + <entry>800082</entry> + <entry>21 ������ 2009</entry> + <entry>8.0-CURRENT ����� ��������� ��������� ��������� + ifnet � �������� ������ �� ifnet � if_ref() � + if_rele().</entry> + </row> + <row> + <entry>800083</entry> + <entry>22 ������ 2009</entry> + <entry>8.0-CURRENT ����� ���������� ������������� API + Bluetooth HCI.</entry> + </row> + <row> + <entry>800084</entry> + <entry>29 ������ 2009</entry> + <entry>8.0-CURRENT ��������� � IPv6 SSM � MLDv2.</entry> + </row> + <row> + <entry>800085</entry> + <entry>30 ������ 2009</entry> + <entry>8.0-CURRENT ����� ��������� ��������� ������ ���� + VIMAGE � ����� �������� �������.</entry> + </row> + <row> + <entry>800086</entry> + <entry>8 ��� 2009</entry> + <entry>8.0-CURRENT ����� ���������� � patch(1) ��������� + ����� ����� ������������ �����.</entry> + </row> + <row> + <entry>800087</entry> + <entry>11 ��� 2009</entry> + <entry>8.0-CURRENT ����� ��������� ��������� � KPI VFS. + �������� ������ ������ �� ������ FSD � VFS. �������� + <function>VFS_*</function> ���� �������� ������ �� �����, + ������ ��� �� ������ ��������� �� <varname>curthread</varname>. + � ��������� ������ ������� ��������� ������� ���������.</entry> + </row> + <row> + <entry>800088</entry> + <entry>20 ��� 2009</entry> + <entry>8.0-CURRENT ����� ��������� � ������ net80211 + monitor.</entry> + </row> + <row> + <entry>800089</entry> + <entry>23 ��� 2009</entry> + <entry>8.0-CURRENT ����� ���������� ��������� ������������ + ����� UDP.</entry> + </row> + <row> + <entry>800090</entry> + <entry>23 ��� 2009</entry> + <entry>8.0-CURRENT ����� ������������ ���������������� + �����������.</entry> + </row> + <row> + <entry>800091</entry> + <entry>27 ��� 2009</entry> + <entry>8.0-CURRENT ����� ���������� ������������� jail + � �������� ����������� securelevel.</entry> + </row> + <row> + <entry>800092</entry> + <entry>29 ��� 2009</entry> + <entry>8.0-CURRENT ����� ��������� KPI ��� + <function>sx_init_flags()</function>. ��� ��������� + ����������� ���������� ������ �������� + <constant>SX_ADAPTIVESPIN</constant> ������������ + ����� <constant>SX_NOADAPTIVE</constant>.</entry> + </row> + <row> + <entry>800093</entry> + <entry>29 ��� 2009</entry> + <entry>8.0-CURRENT ����� ���������� mnt_xflag � + ��������� mount.</entry> + </row> + <row> + <entry>800094</entry> + <entry>30 ��� 2009</entry> + <entry>8.0-CURRENT ����� ���������� + &man.VOP.ACCESSX.9;.</entry> + </row> + <row> + <entry>800095</entry> + <entry>30 ��� 2009</entry> + <entry>8.0-CURRENT ����� ��������� KPI polling. + ����������� polling ������ ���������� ���������� + ������������ �������. ����� ������������ ����� + <constant>IFCAP_POLLING_NOCOUNT</constant> ��� �������� + �� ���������� ������������� �������� � �������� + ���������.</entry> + </row> + <row> + <entry>800096</entry> + <entry>1 ���� 2009</entry> + <entry>8.0-CURRENT ����� ���������� �� ����� ���������� + netisr � ����� ��������� ������� �������� + � ������� � FIB.</entry> + </row> + <row> + <entry>800097</entry> + <entry>8 ���� 2009</entry> + <entry>8.0-CURRENT ����� ��������� ����� ��� ������������ + � �������������� vnet.</entry> + </row> + <row> + <entry>800097</entry> + <entry>11 ���� 2009</entry> + <entry>8.0-CURRENT ����� ��������� ����������� ���� ������� + �� ���������� �� �������� ��� netgraph � ������������� � + �������, ��� ����� �������� ��������� ��������� thread.</entry> + </row> + <row> + <entry>800098</entry> + <entry>14 ���� 2009</entry> + <entry>8.0-CURRENT ����� ������� OpenSSL 0.9.8k.</entry> + </row> + <row> + <entry>800099</entry> + <entry>22 ���� 2009</entry> + <entry>8.0-CURRENT ����� ���������� NGROUPS � ����������� + ������������� ��������� � ���� ����������� ������ VImage.</entry> + </row> + <row> + <entry>800100</entry> + <entry>24 ���� 2009</entry> + <entry>8.0-CURRENT ����� ��������� ABI ��� SYSVIPC.</entry> + </row> + <row> + <entry>800101</entry> + <entry>29 ���� 2009</entry> + <entry>8.0-CURRENT ����� �������� ���������� ��������� + /dev/net/*, ������������ �������� ��� ������� + ����������.</entry> + </row> + <row> + <entry>800102</entry> + <entry>12 ���� 2009</entry> + <entry>8.0-CURRENT ����� ���������� ��������� ����� � + ���������� sackhint, tcpcb � tcpstat.</entry> + </row> + <row> + <entry>800103</entry> + <entry>13 ���� 2009</entry> + <entry>8.0-CURRENT ����� ������ ��������� tcpopt �� + ��������� toeopt � ���������� �������� TOE � + TCP syncache.</entry> + </row> + <row> + <entry>800104</entry> + <entry>14 ���� 2009</entry> + <entry>8.0-CURRENT ����� ���������� ��������������, + ��������������� ��� ������� vnet, �� ������ ���������� + ���������.</entry> + </row> + <row> + <entry>800105</entry> + <entry>19 ���� 2009</entry> + <entry>8.0-CURRENT ����� ���������� ������ ������ ��� ���� + ������������ ���������, ��� ������� �� �������� ���������� + ���������������.</entry> + </row> + <row> + <entry>800106</entry> + <entry>24 ���� 2009</entry> + <entry>8.0-CURRENT ����� ��������� ���� ������� + VM OBJT_SG.</entry> + </row> + <row> + <entry>800107</entry> + <entry>2 ������� 2009</entry> + <entry>8.0-CURRENT ����� ������������ ���������� newbus + �� Giant ����� ���������� newbus sxlock.</entry> + </row> + <row> + <entry>800108</entry> + <entry>21 ������ 2009</entry> + <entry>8.0-STABLE ����� ���������� kevent-������� + EVFILT_USER.</entry> + </row> + <row> + <entry>800500</entry> + <entry>7 ������ 2010</entry> + <entry>8.0-STABLE ����� ���������� ������ + <literal>__FreeBSD_version</literal> ��� ������������� � + <command>pkg_add -r</command> packages-8-stable.</entry> + </row> + <row> + <entry>800501</entry> + <entry>24 ������ 2010</entry> + <entry>8.0-STABLE ����� ��������� ���������� + <function>scandir(3)</function> � + <function>alphasort(3)</function> ��� ������������ SUSv4.</entry> + </row> + <row> + <entry>800502</entry> + <entry>31 ������ 2010</entry> + <entry>8.0-STABLE ����� ���������� + <function>sigpause(3)</function>.</entry> + </row> + <row> + <entry>800503</entry> + <entry>25 ������� 2010</entry> + <entry>8.0-STABLE ����� ���������� ioctl SIOCGIFDESCR � + SIOCSIFDESCR � ������� �����������. ��� ioctl ����� + ������������ ��� �������� ����������� � ���� OpenBSD.</entry> + </row> + <row> + <entry>800504</entry> + <entry>1 ����� 2010</entry> + <entry>8.0-STABLE ����� ���������� MFC ������� x86emu �� + OpenBSD, ������������ ��������� ��������� ������ ��� + CPU x86.</entry> + </row> + <row> + <entry>800505</entry> + <entry>18 ��� 2010</entry> + <entry>8.0-STABLE ����� ���������� MFC ���������� liblzma, + xz, xzdec, � lzmainfo.</entry> + </row> + <row> + <entry>801000</entry> + <entry>14 ���� 2010</entry> + <entry>8.1-RELEASE</entry> + </row> + <row> + <entry>801500</entry> + <entry>14 ���� 2010</entry> + <entry>8.1-STABLE ����� 8.1-RELEASE.</entry> + </row> + <row> + <entry>801501</entry> + <entry>3 ������ 2010</entry> + <entry>8.1-STABLE ����� ��������� KBI � ��������� sysentvec + � ���������� PL_FLAG_SCE/SCX/EXEC/SI � pl_siginfo ��� + ptrace(PT_LWPINFO).</entry> + </row> + <row> + <entry>802000</entry> + <entry>22 ������� 2010</entry> + <entry>8.2-RELEASE</entry> + </row> + <row> + <entry>802500</entry> + <entry>22 ������� 2010</entry> + <entry>8.2-STABLE ����� 8.2-RELEASE.</entry> + </row> + <row> + <entry>802501</entry> + <entry>28 ������� 2011</entry> + <entry>8.2-STABLE ����� ��������� ������������ ��������� + DTrace, ���������� ��������� ����������� ���������������� + ��������.</entry> + </row> + <row> + <entry>802502</entry> + <entry>6 ����� 2011</entry> + <entry>8.2-STABLE ����� ��������� ������������ log2 � + log2f � libm.</entry> + </row> + <row> + <entry>900000</entry> + <entry>22 ������� 2009</entry> + <entry>9.0-CURRENT.</entry> + </row> + <row> + <entry>900001</entry> + <entry>8 �������� 2009</entry> + <entry>9.0-CURRENT ����� ������� x86emu �� OpenBSD, ������������ + ��������� ��������� ������ ��� CPU x86.</entry> + </row> + <row> + <entry>900002</entry> + <entry>23 �������� 2009</entry> + <entry>9.0-CURRENT ����� ���������� ���������������� + kevent-������� EVFILT_USER.</entry> + </row> + <row> + <entry>900003</entry> + <entry>2 ������� 2009</entry> + <entry>9.0-CURRENT ����� ���������� + <function>sigpause(3)</function> � ��������� PIE � csu.</entry> + </row> + <row> + <entry>900004</entry> + <entry>6 ������� 2009</entry> + <entry>9.0-CURRENT ����� ���������� libulog � ��� ���������� + ������������� libutempter.</entry> + </row> + <row> + <entry>900005</entry> + <entry>12 ������� 2009</entry> + <entry>9.0-CURRENT ����� ���������� + <function>sleepq_sleepcnt()</function>, ������� ����� + ������������ ��� ������� ���������� ��������� � ��������� + ������� ��������.</entry> + </row> + <row> + <entry>900006</entry> + <entry>4 ������ 2010</entry> + <entry>9.0-CURRENT ����� ��������� ���������� + <function>scandir(3)</function> � + <function>alphasort(3)</function> ��� ������������ + SUSv4.</entry> + </row> + <row> + <entry>900007</entry> + <entry>13 ������ 2010</entry> + <entry>9.0-CURRENT ����� �������� utmp(5) � ���������� + utmpx (�������� <function>getutxent(3)</function>) ��� + ����������� ���������������� ���������������� ������ + � ��������� �������.</entry> + </row> + <row> + <entry>900008</entry> + <entry>20 ������ 2010</entry> + <entry>9.0-CURRENT ����� ������� BSDL bc/dc � ���������� + GNU bc/dc �����������.</entry> + </row> + <row> + <entry>900009</entry> + <entry>26 ������ 2010</entry> + <entry>9.0-CURRENT ����� ���������� ioctl SIOCGIFDESCR � + SIOCSIFDESCR � ������� �����������. ��� ioctl ����� + ������������ ��� �������� ����������� � ���� OpenBSD.</entry> + </row> + <row> + <entry>900010</entry> + <entry>22 ����� 2010</entry> + <entry>9.0-CURRENT ����� ������� zlib 1.2.4.</entry> + </row> + <row> + <entry>900011</entry> + <entry>24 ������ 2010</entry> + <entry>9.0-CURRENT ����� ���������� �������������� ������ + ����������.</entry> + </row> + <row> + <entry>900012</entry> + <entry>10 ��� 2010</entry> + <entry>9.0-CURRENT ����� ���������� liblzma, xz, xzdec + � lzmainfo.</entry> + </row> + <row> + <entry>900013</entry> + <entry>14 ��� 2010</entry> + <entry>9.0-CURRENT ����� ����������� ����������� USB + � linux(4).</entry> + </row> + <row> + <entry>900014</entry> + <entry>10 ���� 2010</entry> + <entry>9.0-CURRENT ����� ���������� Clang.</entry> + </row> + <row> + <entry>900015</entry> + <entry>22 ���� 2010</entry> + <entry>9.0-CURRENT ����� ������� BSD grep.</entry> + </row> + <row> + <entry>900016</entry> + <entry>28 ���� 2010</entry> + <entry>9.0-CURRENT ����� ���������� mti_zone � ��������� + malloc_type_internal.</entry> + </row> + <row> + <entry>900017</entry> + <entry>23 ������� 2010</entry> + <entry>9.0-CURRENT ����� ��������� grep �� ��������� + ������� �� GNU grep � ���������� knob WITH_BSD_GREP.</entry> + </row> + <row> + <entry>900018</entry> + <entry>24 ������� 2010</entry> + <entry>9.0-CURRENT ����� ����, ��� ������, ��������������� � + <function>pthread_kill(3)</function>, ������������ � si_code + ��� SI_LWP. ����� si_code �������� SI_USER.</entry> + </row> + <row> + <entry>900019</entry> + <entry>28 ������� 2010</entry> + <entry>9.0-CURRENT ����� ���������� � + <function>mmap(2)</function> ����� MAP_PREFAULT_READ.</entry> + </row> + <row> + <entry>900020</entry> + <entry>9 �������� 2010</entry> + <entry>9.0-CURRENT ����� ���������� � sbufs ���������������� + ��������, ��� ����� �������� ��������� � ��������� sbuf.</entry> + </row> + <row> + <entry>900021</entry> + <entry>13 �������� 2010</entry> + <entry>9.0-CURRENT ����� ���������� � DTrace ��������� + ����������� ���������������� ���������.</entry> + </row> + <row> + <entry>900022</entry> + <entry>2 ������� 2010</entry> + <entry>9.0-CURRENT ����� ���������� BSDL ������ man + � �������� GNU/GPL ������ man.</entry> + </row> + <row> + <entry>900023</entry> + <entry>11 ������� 2010</entry> + <entry>9.0-CURRENT ����� ���������� xz �� �������� + git 20101010.</entry> + </row> + <row> + <entry>900024</entry> + <entry>11 ������ 2010</entry> + <entry>9.0-CURRENT ����� ������ libgcc.a �� + libcompiler_rt.a.</entry> + </row> + <row> + <entry>900025</entry> + <entry>12 ������ 2010</entry> + <entry>9.0-CURRENT ����� ��������� ���������� �������� + ����������.</entry> + </row> + <row> + <entry>900026</entry> + <entry>30 ������ 2010</entry> + <entry>9.0-CURRENT ����� ��������� ��������� ��� ��������� + ������������ SAS (SMP, Serial Management Protocol) � + ������ ���������� (CCB) CAM XPT_SMP_IO � + XPT_GDEV_ADVINFO.</entry> + </row> + <row> + <entry>900027</entry> + <entry>5 ������� 2010</entry> + <entry>9.0-CURRENT ����� ���������� log2 � libm.</entry> + </row> + <row> + <entry>900028</entry> + <entry>21 ������� 2010</entry> + <entry>9.0-CURRENT ����� ���������� KPI Hhook (Helper + Hook), Khelp (Kernel Helpers) � Object Specific Data + (OSD).</entry> + </row> + <row> + <entry>900029</entry> + <entry>28 ������� 2010</entry> + <entry>9.0-CURRENT ����� ��������� ����� TCP ��� + �������������� � �������� Khelp ����� ��������������� + ����� ����� � �������� ������ ������ �������� ���������� + � ����������� ����� TCP.</entry> + </row> + <row> + <entry>900030</entry> + <entry>12 ������ 2011</entry> + <entry>9.0-CURRENT ����� ���������� libdialog �� ������ + 20100428.</entry> + </row> + <row> + <entry>900031</entry> + <entry>7 ������� 2011</entry> + <entry>9.0-CURRENT ����� ���������� + <function>pthread_getthreadid_np(3)</function>.</entry> + </row> + <row> + <entry>900032</entry> + <entry>8 ������� 2011</entry> + <entry>9.0-CURRENT ����� �������� ������� � ��������� + uio_yield.</entry> + </row> + <row> + <entry>900033</entry> + <entry>18 ������� 2011</entry> + <entry>9.0-CURRENT ����� ���������� binutils �� ������ + 2.17.50.</entry> + </row> + <row> + <entry>900034</entry> + <entry>8 ����� 2011</entry> + <entry>9.0-CURRENT ����� ��������� � struct sysvec + (sv_schedtail).</entry> + </row> + <row> + <entry>900035</entry> + <entry>29 ����� 2011</entry> + <entry>9.0-CURRENT ����� ���������� ������� gcc � libstdc++ + �� ��������� �������, ����������� ��� ��������� GPLv2.</entry> + </row> + <row> + <entry>900036</entry> + <entry>18 ������ 2011</entry> + <entry>9.0-CURRENT ����� �������� libobjc � ��������� + Objective-C �� ������� �������.</entry> + </row> + <row> + <entry>900037</entry> + <entry>13 ��� 2011</entry> + <entry>9.0-CURRENT ����� ������� ���������� libprocstat(3) + � ������� fuser(1) � ������� �������.</entry> + </row> + <row> + <entry>900038</entry> + <entry>22 ��� 2011</entry> + <entry>9.0-CURRENT ����� ���������� ����� � ����������� + ���������� � VFS_FHTOVP(9).</entry> + </row> + <row> + <entry>900039</entry> + <entry>28 ���� 2011</entry> + <entry>9.0-CURRENT ����� ������� pf �� OpenBSD 4.5.</entry> + </row> </tbody> </tgroup> </table> @@ -7363,7 +14512,7 @@ IGNORE=POINTYHAT is not supported ��������� ������� ������ ��������, ����������, ��� ���� <filename>bsd.port.mk</filename>).</para> - <informaltable frame="none"> + <informaltable frame="none" pgwide="1"> <tgroup cols="2"> <thead> <row> @@ -7416,12 +14565,6 @@ IGNORE=POINTYHAT is not supported <literal>/usr/local/</literal>)</entry> </row> - <row> - <entry><makevar>X11BASE</makevar></entry> - <entry>������ ������ <quote>X11</quote> (��������, - <literal>/usr/X11R6</literal>)</entry> - </row> - <row> <entry><makevar>PREFIX</makevar></entry> <entry>����, ����������, ��������������� ���� (���������� � <link @@ -7443,7 +14586,7 @@ IGNORE=POINTYHAT is not supported <filename>bsd.port.pre.mk</filename>:</para> <programlisting># no need to compile lang/perl5 if perl5 is already in system -.if ${OSVERSION} > 300003 +.if ${OSVERSION} > 300003 BROKEN= perl is in system .endif @@ -7465,271 +14608,24 @@ post-install: �� ��� ��? <!-- ������ -->:-).</para> </sect1> - <sect1 id="dads-documentation"> - <title>��������� �������������� ������������</title> + <sect1 id="dads-sh-exec"> + <title>������������� ��������� <function>exec</function> + � ��������� �£�����</title> - <para>���� � ����� ����������� ������������ ������������ ��������� - ������������, ������������ �� ����������� ������� ����������� � - ������ info, �������, ��� �� �������, ����� ������� �������������, - ���������� �� � ������� - <filename><makevar>PREFIX</makevar>/share/doc</filename>. ��� ����� - ���� �������, ��� � � ���������� �������, � ���� - <maketarget>post-install</maketarget>.</para> + <para>���� ���� ������������� �������� �� ����� shell, ������� ������ + ��� ������� ������ ���������, � ���� ������ ���� ��������� �������� + ��������� ��������� ��������, ���������, ��� ������ ��������� + ������������ � �������������� ��������� <function>exec</function>, + ��������:</para> - <para>�������� ��� ������ ����� ����� �������. ��� �������� ������ - ��������������� ����, ��� ������������ �� ���� ����. ������ ��� - �������� <makevar>PORTNAME</makevar>. ������, ���� - �� �������, ��� ������������ ������� ����� ������ ������ �����, - ������������� ������������, �� �� ������ ������������ ������ ��� - <makevar>PKGNAME</makevar>.</para> + <programlisting>#!/bin/sh +exec %%LOCALBASE%%/bin/java -jar %%DATADIR%%/foo.jar "$@"</programlisting> - <para>�������� ��������� ������������ ��������� �� ���������� - <makevar>NOPORTDOCS</makevar> ��� ����, ����� ������������ ����� - ��������� ��� � ����� <filename>/etc/make.conf</filename>, ��� - �����:</para> + <para>��������� <function>exec</function> �������� ������� �������� + �� ��������� ���������. ���� <function>exec</function> ������, + �� ������� �������� �� ����� ������ ��������� �������� � ������, + ��� ���������� ��������� ��������� �������.</para> - <programlisting>post-install: -.if !defined(NOPORTDOCS) - ${MKDIR} ${DOCSDIR} - ${INSTALL_MAN} ${WRKSRC}/docs/xvdocs.ps ${DOCSDIR} - .endif</programlisting> - - <para>��� ��������� �������� ���������� � ��, ��� ��� ������������� �� - ��������� ��� ������������� � <filename>Makefile</filename>:</para> - - <itemizedlist> - <listitem> - <para><makevar>DATADIR</makevar> ������������� � - <filename><makevar>PREFIX</makevar>/share/<makevar>PORTNAME</makevar></filename>.</para> - </listitem> - - <listitem> - <para><makevar>DOCSDIR</makevar> ������������� � - <filename><makevar>PREFIX</makevar>/share/doc/<makevar>PORTNAME</makevar></filename>.</para> - </listitem> - - <listitem> - <para><makevar>EXAMPLESDIR</makevar> ������������� � - <filename><makevar>PREFIX</makevar>/share/examples/<makevar>PORTNAME</makevar></filename>.</para> - </listitem> - </itemizedlist> - - <para>��� ���������� �������������� � <makevar>PLIST_SUB</makevar>. - �� �������� �������� ��� � ���� �ͣ� ����� ������������ - <filename><makevar>PREFIX</makevar></filename>, ���� ��� ��������. - �� ���� <filename>share/doc/<makevar>PORTNAME</makevar></filename> - � ������ ������ �� ��������� ����� ������� �� - <literal>%%DOCSDIR%%</literal>, � ��� �����. (�������������� - ���������� � ����������� � <filename>pkg-plist</filename> ����� - ����� <link linkend="porting-plist">�����</link>.)</para> - - <para>��� ��������������� ����� � ������������� � �������� ������ ���� - ����������� � ����� <filename>pkg-plist</filename> � ��������� - <literal>%%PORTDOCS%%</literal>, ��������:</para> - - <programlisting>%%PORTDOCS%%%%DOCSDIR%%/AUTHORS -%%PORTDOCS%%%%DOCSDIR%%/CONTACT -%%PORTDOCS%%@dirrm %%DOCSDIR%%</programlisting> - - <para>����� ����, �� ������ ������������ ���� - <filename>pkg-message</filename> ��� ������ ��������� �� - ����� ���������. �� ��������� ����������� ���������� � ������� - �� <link linkend="porting-message">������������� - <filename>pkg-message</filename></link>.</para> - - <note> - <para>���� <filename>pkg-message</filename> �� ����� ��������� � - <filename>pkg-plist</filename>.</para> - </note> - - <para>� �������� ������������ ������������ ������ ������������ � ����� - <filename>pkg-plist</filename>, ���� ����� ������� � ���������� - <makevar>PORTDOCS</makevar> ������ �ͣ� ������ � ���������� �������� - ���������� ���������� ��� ���������� � ������������� ������ ������. - ����� ����� ���������� ������������ <makevar>DOCSDIR</makevar>. - ����� �������, ����, ������������ <makevar>PORTDOCS</makevar> � - ������������� �������������� ������������, ������ �������� - ��������������� ������� � <makevar>DOCSDIR</makevar>. ���� ������� - ������ � <makevar>PORTDOCS</makevar> ��� ������������� ������� ��� - ���� ����������, �� ������ ��������� � ��������� � ���� ������� � - ���������� ����� ���������������� � ������������� ������ ������. - <makevar>PORTDOCS</makevar> �� ������ ����������, ���� ���������� - ���������� <makevar>NOPORTDOCS</makevar>. ��������� ������������ � - <makevar>PORTDOCS</makevar>, ��� ��� �������� ����, �������� �� - ����� ������. �������� ������ ������������� - <makevar>PORTDOCS</makevar> �������� ��������� �������:</para> - - <programlisting>.if !defined(NOPORTDOCS) - PORTDOCS= * -.endif</programlisting> - </sect1> - - <sect1 id="dads-subdirs"> - <title>�����������</title> - - <para>���������� ��������� ��� ����� ����� � ���������� ������������ - �������� <makevar>PREFIX</makevar>. ��������� ����� ���������� ��� - ��������� � �������� ��� � ���������� � ������ �����, ��� - �����������. ����� ������ ����� �������� ���, ����� �������� ������, - ������ ���������� � ������� �����������, � ���������� �������� - <filename>lib</filename>, ��� �� ����� ������ �������� � �������� - BSD. ������ ����� ������ ���� ���������� � ���� �� ��������� - ��������������: <filename>etc</filename> - (�����������/���������������� �����), <filename>libexec</filename> - (���������� �����, ����������� �� ������ ��������), - <filename>sbin</filename> (���������� ����� ��� - ���������������/���������� �������), <filename>info</filename> - (������������ � ������� info ��� ������������ info) ��� - <filename>share</filename> (����������� �� ����������� �����). - ���������� � &man.hier.7; ��� ���������� �������; �������, - ����������� <filename>/usr</filename>, ���������� ������ �������� - ����� � � <filename>/usr/local</filename>. ����������� �������� - �����, ������� ���� � <quote>���������</quote> USENET. ��� ����� - ������������ ������� - <filename><makevar>PREFIX</makevar>/news</filename> ��� ��������� - ����� ������.</para> - </sect1> - - <sect1 id="porting-cleaning"> - <title>������� ������ ���������</title> - - <para>��������� ��� ����� ������� �� ����� ��� ��������. ������ ��� - ����������� ����������� ����� <literal>@dirrm</literal> ��� ���� - ���������, ������� ��������� ���� ������. ��� ����� ������� - ����������� �� ����, ��� �� ������� ������� ������������ - ��������.</para> - - <programlisting> - : -lib/X11/oneko/pixmaps/cat.xpm -lib/X11/oneko/sounds/cat.au - : -@dirrm lib/X11/oneko/pixmaps -@dirrm lib/X11/oneko/sounds -@dirrm lib/X11/oneko - </programlisting> - - <para>������ ������ <literal>@dirrm</literal> ����� �������� ������, - ������ ��� ������ ����� ���� ���������� ��� �� ����� ����������. �� - ������ ������� ������� <command>rmdir</command> �� - <literal>@unexec</literal> ��� �������� ��� ������ �������������� - ������ ������� ��������.</para> - - <programlisting>@unexec rmdir %D/share/doc/gimp 2>/dev/null || true</programlisting> - - <para>��� ������� �� ������� ������� ��������� �� ������� � �� ������� - ���������� ���������� ������ &man.pkg.delete.1;, ���� ���� - ������� <filename><makevar>PREFIX</makevar>/share/doc/gimp</filename> - �� ���� ��-�� ����, ��� ������ ����� ���������� ���� �����-�� - �����.</para> - </sect1> - - <sect1 id="dads-uid"> - <title>�������������� UID</title> - - <para>���� ������ ����� ��������� ������� ���������� ������������ � - �������, �� ������� �� ���������������, ����� ������ - <filename>pkg-install</filename> ������� ������� - <command>pw</command> ��� ��� ��������������� ��������. ���������� - ��� ������� �� <filename role="package">net/cvsup-mirror</filename>. - </para> - - <para>���� ��� ���� ������ ������������ ��� �� ����� ������������� - ������������ ��� ������ ��� ��������� ��������� ������, ������� ��� - ��� ����������, �� �� ������ ������� ��������� UID � ��������� �� 50 - �� 999 � ���������������� ��� ����. ��������� ��� ������� �� - <filename role="package">japanese/Wnn6</filename>.</para> - - <para>��������������, ��� �� ����������� UID, ��� ����������������� - �������� ��� ������� �������.</para> - - <para>��� ������� �������� ������������ UID ����� 50 � 999.</para> - - <!-- ����������, ���������� ���� ������ �� uid --> - - <programlisting>bind:*:53:53:Bind Sandbox:/:/sbin/nologin -majordom:*:54:54:Majordomo Pseudo User:/usr/local/majordomo:/nonexistent -cyrus:*:60:60:the cyrus mail server:/nonexistent:/nonexistent -gnats:*:61:1:GNATS database owner:/usr/local/share/gnats/gnats-db:/bin/sh -proxy:*:62:62:Packet Filter pseudo-user:/nonexistent:/nonexistent -uucp:*:66:66:UUCP pseudo-user:/var/spool/uucppublic:/usr/libexec/uucp/uucico -xten:*:67:67:X-10 daemon:/usr/local/xten:/nonexistent -pop:*:68:6:Post Office Owner (popper):/nonexistent:/sbin/nologin -wnn:*:69:7:Wnn:/nonexistent:/nonexistent -pgsql:*:70:70:PostgreSQL pseudo-user:/usr/local/pgsql:/bin/sh -oracle:*:71:71::0:0:Oracle:/usr/local/oracle7:/sbin/nologin -ircd:*:72:72:IRC daemon:/nonexistent:/nonexistent -ircservices:*:73:73:IRC services:/nonexistent:/nonexistent -ifmail:*:75:66:Ifmail user:/nonexistent:/nonexistent -www:*:80:80:World Wide Web Owner:/nonexistent:/sbin/nologin -alias:*:81:81:QMail user:/var/qmail/alias:/nonexistent -qmaild:*:82:81:QMail user:/var/qmail:/nonexistent -qmaill:*:83:81:QMail user:/var/qmail:/nonexistent -qmailp:*:84:81:QMail user:/var/qmail:/nonexistent -qmailq:*:85:82:QMail user:/var/qmail:/nonexistent -qmailr:*:86:82:QMail user:/var/qmail:/nonexistent -qmails:*:87:82:QMail user:/var/qmail:/nonexistent -mysql:*:88:88:MySQL Daemon:/var/db/mysql:/sbin/nologin -vpopmail:*:89:89:VPop Mail User:/usr/local/vpopmail:/nonexistent -firebird:*:90:90:Firebird Database Administrator:/usr/local/firebird:/bin/sh -mailman:*:91:91:Mailman User:/usr/local/mailman:/sbin/nologin -gdm:*:92:92:GDM Sandbox:/:/sbin/nologin -jabber:*:93:93:Jabber Daemon:/nonexistent:/nonexistent -p4admin:*:94:94:Perforce admin:/usr/local/perforce:/sbin/nologin -interch:*:95:95:Interchange user:/usr/local/interchange:/sbin/nologin -squeuer:*:96:96:SQueuer Owner:/nonexistent:/bin/sh -mud:*:97:97:MUD Owner:/usr/local/share/dgd:/bin/sh -msql:*:98:98:mSQL-2 pseudo-user:/var/db/msqldb:/bin/sh -rscsi:*:99:99:Remote SCSI:/usr/local/rscsi:/usr/local/sbin/rscsi -squid:*:100:100:squid caching-proxy pseudo user:/usr/local/squid:/sbin/nologin -quagga:*:101:101:Quagga route daemon pseudo user:/usr/local/etc/quagga:/sbin/nologin -ganglia:*:102:102:Ganglia User:/nonexistent:/sbin/nologin -sgeadmin:*:103:103:Sun Grid Engine Admin:/nonexistent:/sbin/nologin -slimserv:*:104:104:Slim Devices SlimServer pseudo-user:/nonexistent:/sbin/nologin -dnetc:*:105:105:distributed.net client and proxy pseudo-user:/nonexistent:/sbin/nologin -clamav:*:106:106:Clamav Antivirus:/nonexistent:/sbin/nologin -cacti:*:107:107:Cacti Sandbox:/nonexistent:/sbin/nologin -fido:*:111:111:Fido System:/usr/local/fido:/bin/sh -postfix:*:125:125:Postfix Mail System:/var/spool/postfix:/sbin/nologin -rbldns:*:153:153:rbldnsd pseudo-user:/nonexistent:/sbin/nologin -sfs:*:171:171:Self-Certifying File System:/nonexistent:/sbin/nologin -agk:*:172:172:AquaGateKeeper:/nonexistent:/nonexistent -moinmoin:*:192:192:MoinMoin User:/nonexistent:/sbin/nologin -ldap:*:389:389:OpenLDAP Server:/nonexistent:/sbin/nologin -drweb:*:426:426:Dr.Web Mail Scanner:/nonexistent:/sbin/nologin -qtss:*:554:554:Darwin Streaming Server:/nonexistent:/sbin/nologin -ircdru:*:555:555:Russian hybrid IRC server:/nonexistent:/bin/sh -bacula:*:910:910:Bacula Daemon:/var/db/bacula:/sbin/nologin</programlisting> - - <para>��� ������� �������� ����������������� GID.</para> - - <!-- ����������, ���������� ���� ������ �� uid --> - - <!-- XXX ��������! --> - - <programlisting>bind:*:53: -cyrus:*:60: -proxy:*:62: -authpf:*:63: -uucp:*:66: -dialer:*:68: -network:*:69: -pgsql:*:70: -www:*:80: -qnofiles:*:81: -qmail:*:82: -mailman:*:91: -postfix:*:125: -maildrop:*:126: -rbldns:*:153: -moinmoin:*:192: -qtss:*:554: -ircdru:*:555:</programlisting> - - <para>����������, ��� ������� ������ (��� ���������� �������) ����� - �������� ���������, ��� ������������ ����� UID ��� GID � ���� - ���������. ��� �������� ��� ������� ������ ����������������� - ��������������� � ���������� ���������.</para> </sect1> <sect1 id="dads-rational"> @@ -7776,16 +14672,16 @@ ircdru:*:555:</programlisting> <makevar>CXX</makevar>. �������� �������� �� ������������� �������� <makevar>?=</makevar>:</para> - <programlisting>CC ?= gcc</programlisting> - <programlisting>CXX ?= g++</programlisting> + <programlisting>CC?= gcc</programlisting> + <programlisting>CXX?= g++</programlisting> <para>��� ������, � ������� �� ����������� �� �������� �� ���������� <makevar>CC</makevar>, �� <makevar>CXX</makevar>:</para> - <programlisting>CC = gcc</programlisting> - <programlisting>CXX = g++</programlisting> + <programlisting>CC= gcc</programlisting> + <programlisting>CXX= g++</programlisting> - <para>��� ���������� <makevar>CC</makevar> � <makevar>CFLAGS</makevar> + <para>��� ���������� <makevar>CC</makevar> � <makevar>CXX</makevar> ����� ���� ���������� � �������� FreeBSD � ����� <filename>/etc/make.conf</filename>. � ������ ������� �������� ��������, ���� ��� ����� �� ���� ���������� � @@ -7814,14 +14710,14 @@ ircdru:*:555:</programlisting> �������� ������������ �������� <makevar>+=</makevar>:</para> <programlisting> -CFLAGS += -Wall -Werror +CFLAGS+= -Wall -Werror </programlisting> <para>� ��� ������, � ������� �� ����������� �������� ���������� <makevar>CFLAGS</makevar>:</para> <programlisting> -CFLAGS = -Wall -Werror +CFLAGS= -Wall -Werror </programlisting> <para>� ������� FreeBSD ���������� <makevar>CFLAGS</makevar> ���������� @@ -7829,27 +14725,49 @@ CFLAGS = -Wall -Werror ���������� <makevar>CFLAGS</makevar> ����������� �������������� �����, ��� ���� ����������� ��� �����������, ������ ����� �� ������ �������. �� ������ ������� �ӣ, ��� ���� ������ �����, ������������.</para> + + <para>�� ��������� ������ <filename>Makefile</filename> ������� ������� + ����� �����������. ������������� ����� ����������� ��������� � + ��������� ���������� <makevar>CFLAGS</makevar>. ������ �� + ������������������� <filename>Makefile</filename>:</para> + + <programlisting>CFLAGS= -O3 -funroll-loops -DHAVE_SOUND</programlisting> + + <para>��� ������������� ��������� ������ ����������� + <filename>Makefile</filename> ������ ������� �� ��������� ������:</para> + + <programlisting>CFLAGS+= -DHAVE_SOUND</programlisting> + </sect1> - <sect1 id="dads-config"> - <title>���������������� �����</title> + <sect1 id="dads-pthread"> + <title>���������� �������</title> - <para>���� ��� ������ ����� ��������� ������� ��������� - ���������������� ������ � �������� - <filename><makevar>PREFIX</makevar>/etc</filename>, - <emphasis>��</emphasis> ������ ���������� �� � ����������� � ����� - <filename>pkg-plist</filename>. ��� �����ģ� � ����, ��� �� ������� - &man.pkg.delete.1; ��� ��� ����� ��������� �����, - ��������� ����������������� � ����������� �������������, ����� - ����������.</para> + <para>�� &os ���������� ������� ������� ���� ������������ � + ������������ ������� � �������������� ������������ ����� + ������������ <literal>-pthread</literal>. ���� ���� ���������� + �� ������ ���������� � <literal>-lpthread</literal> ��� + <literal>-lc_r</literal>, �������� ���� � �������������� + ���������� <makevar>PTHREAD_LIBS</makevar>, ��������������� + ��������������� ������. ������ ��� ���� ���������� ����������� + �������� <literal>-pthread</literal>, �� �� ������������ + ������������ � ������� &os; ��� ����� ����� ������ ��������, + ������� �� ��������� <literal>-pthread</literal> � ������ + ���������� � ������ ����������� <makevar>PTHREAD_LIBS</makevar>. + </para> - <para>������ ����� ���������� ����� � ��������� � ����� ����������� - (<filename><replaceable>filename</replaceable>.sample</filename> - ��������) � �������� <link - linkend="porting-message">���������</link>, ����������� �� ��, ����� - ������������ ���������� � �������������� ���� ����� ���, ��� �������� - � ����������� ������������.</para> - </sect1> + <note> + <para>���� ���������� ����� ������������� ������� + <literal>unrecognized option '-pthread'</literal> ��� + ������������� ���������� <makevar>PTHREAD_LIBS</makevar>, + �� ����� ���� ���������� ������������� <command>gcc</command> + � �������� ������������ ����� ��������� + <makevar>CONFIGURE_ENV</makevar> � <literal>LD=${CC}</literal>. + �������� <literal>-pthread</literal> �������� �������� + <command>ld</command> �� ��������������.</para> + </note> + + </sect1> <sect1 id="dads-freedback"> <title>���������</title> @@ -7867,39 +14785,66 @@ CFLAGS = -Wall -Werror <command>make readme</command>.</para> </sect1> - <sect1 id="dads-broken"> - <title>������� ����� ��� <makevar>BROKEN</makevar>, - <makevar>FORBIDDEN</makevar> ��� ���-�� �ݣ</title> + <sect1 id="dads-noinstall"> + <title>������� ������������������ ����� ��� <makevar>BROKEN</makevar>, + <makevar>FORBIDDEN</makevar> ��� <makevar>IGNORE</makevar></title> - <para>���� ��� ������, ��������� ������, ����� � ��������� ����� - ���������� ���������� � �������������� ������������, ���� �� - ��������� �������� � ���������� ������ ���� �� ���������� ����������� - ����� ���������, ���� �� ������ ����������, �� �� ��� ��� ���� - ������� ������ ���������� � ������ (� ������ ���� ���������, - ���������?). ��� ������� ����� ��� ������������������ ������� ��� - <command>make</command>-����������, ������� ����� ���� ������������ - � ����� <filename>Makefile</filename> �����. �������� ��������� - <command>make</command>-���������� ����� �������� ���������, �� ������� - ���� ������� ��� �����������������, � �������� �������������. + <para>� ��������� ������� ������������ �� ������ ����������� � + ��������� �����. ��� ����, ����� �������� ������������, ��� ���� + �� ������� �������������, ������� ��������� + <command>make</command>-����������, ������� ����� ���� ������������ + � ����� <filename>Makefile</filename> �����. �������� ��������� + <command>make</command>-���������� ����� ��������, ������������ + �������������, �� ������� ���� ���������� � ���������. ����������, ����������� ���������� <command>make</command>-����������, - ��� ��� ������ ���������� ���������� ����� ��������� ��������� ����� + ��� ��� ������ ���������� make �������� ��������� ��������� ����� ��� ��� �������������, ��� � ��� ������������������ ������, ������� - ������������ ����� <filename>Makefile</filename>.</para> + ���������� �� ����� <filename>Makefile</filename>, ����� ��� + <link linkend="build-cluster">������� ���������� ������</link>, + <link linkend="freshports">FreshPorts</link> � + <link linkend="portsmon">portsmon</link>.</para> + + <sect2 id="dads-noinstall-variables"> + <title>����������</title> <itemizedlist> - <listitem> - <para><makevar>BROKEN</makevar> ������������� ��� ������, ������� - �� �������� � �� ������ ��������������� ��������������. ��� - ������������ ������������� �� ��������� �����.</para> - </listitem> - <listitem> - <para><makevar>TRYBROKEN</makevar> ������������ ��� ������, ���� - �� ��������� ���������� ��������� ����, ����������, ��� - <makevar>BROKEN</makevar>. �����, ����������, ��� - <makevar>TRYBROKEN</makevar> ����� ����� ��������� <ulink - url="http://pointyhat.FreeBSD.org/">��������� - Pointyhat</ulink>.</para> + <para><makevar>BROKEN</makevar> ������������� ��� ������, ������� + � ��������� ����� �� �������������, �� ��������������� ��� �� + ��������� ���������. ������� ������������ ��� ������, + ����� �������� ��������� ���������.</para> + + <para>� ������ ������� ������� + ���������� ����� ���������� ������� ������� ��, ����� ��������, + ������ �� �������� ��������. (������, ��� �������, ������� + ����������� ��� ���� �����������.)</para> + + <para>� ���������, ����������� + <makevar>BROKEN</makevar>, ����� ����:</para> + + <itemizedlist> + <listitem> + <para>�� �������������</para> + </listitem> + + <listitem> + <para>�� ��������� ������� ����� ������������ ��� + ���������</para> + </listitem> + + <listitem> + <para>������������� ����� ����� + <filename>${LOCALBASE}</filename></para> + </listitem> + + <listitem> + <para>�� ������� ��������� ��� ���� ����� ��� ������������� + (��� �� �����, ��� ����� ���� ���������, � �������� + ��� ������, ����������� ����� ���� �����, ���������� + �������������)</para> + </listitem> + </itemizedlist> + </listitem> <listitem> @@ -7923,40 +14868,204 @@ CFLAGS = -Wall -Werror <listitem> <para><makevar>IGNORE</makevar> ������������� ��� ������, ������� - �� ��� ��� ���� ������� �� ������ ���������. ������������ � - <ulink url="http://pointyhat.FreeBSD.org/">������� Pointyhat</ulink> �� - �����, �� ��� ����� ��������, ������� �����, ���������� ��� - <makevar>IGNORE</makevar>. ���� �� ������������, ����������� - <makevar>IGNORE</makevar>, ���� ������ �������� ���������� - �����.</para> + �� ������ ��������� �� �����-���� ������ �������. ������� + ������������ ��� ������, � ������ ����� �������� ������� + ��������������. ������� ���������� + �� ��� ����� �������� �� ����� ������� �����, ���������� ��� + <makevar>IGNORE</makevar>. � ���������, ����������� + <makevar>IGNORE</makevar>, ����� ����:</para> + + <itemizedlist> + <listitem> + <para>�������������, �� �������� �����������</para> + </listitem> + + <listitem> + <para>�� �������� �� ������������� ������ &os;</para> + </listitem> + + <listitem> + <para>������� ��� ���������� �������� ������ ���� &os;, �� + � ������������ � ������������� ���� ��� �����������</para> + </listitem> + + <listitem> + <para>����� distfile, ������� �� ����� ���� ������������� + �������� ��-�� ������������ �����������</para> + </listitem> + + <listitem> + <para>�� �������� � �����-���� ������ ������, ������������� + � ��������� ����� (��������, ���� ������� �� <filename + role="package">www/apache21</filename>, �� ���������� + <filename role="package">www/apache13</filename>) + </para> + </listitem> + </itemizedlist> + + <note> + <para>���� ���� ����� ������������� � ��� ������������� ������, + (��������, ���� ��� ������������� ���� � �� �� �����, �� + � ���� �������������� �����������), �� + <link linkend="conflicts">����������� + ������ ����� <makevar>CONFLICTS</makevar></link>. + <makevar>CONFLICTS</makevar> ��� ��������� �������� + <makevar>IGNORE</makevar>.</para> + </note> </listitem> + + <listitem> + <para>���� ���� ����� �������� ��� <makevar>IGNORE</makevar> + ������ �� ��������� ������������, ��� ����� ���� ��� ������ + ������� ����������, ������� ������������� ��������� ��� ��� + ��������: <makevar>ONLY_FOR_ARCHS</makevar> � + <makevar>NOT_FOR_ARCHS</makevar>. �������:</para> + + <programlisting>ONLY_FOR_ARCHS= i386 amd64</programlisting> + + <programlisting>NOT_FOR_ARCHS= alpha ia64 sparc64</programlisting> + + <para>����������� ��������� <makevar>IGNORE</makevar> ����� ������ + � �������������� <makevar>ONLY_FOR_ARCHS_REASON</makevar> � + <makevar>NOT_FOR_ARCHS_REASON</makevar>. �������� ��� ������ + ����������� ��� �������� � �������������� + <makevar>ONLY_FOR_ARCHS_REASON_<replaceable>ARCH</replaceable></makevar> + � + <makevar>NOT_FOR_ARCHS_REASON_<replaceable>ARCH</replaceable></makevar>. + </listitem> + + <listitem> + <para>���� ���� ��������� � ������������� ����������� ����� i386, + �� ������� ���������� <makevar>IA32_BINARY_PORT</makevar>. + ���� ��� ���������� �����������, ����� ��������� �������� + ����������� �������� <filename>/usr/lib32</filename> ��� + ��������� ������ IA32 � ��������� IA32 � ����. ��� ������������ + ������ �� ���� ������� ����� ������������� ����������� + ���������� <makevar>IGNORE</makevar>.</para> + </listitem> + </itemizedlist> - <para>������ � ����, ��� ��� ���������� ������������ ��� ��������� - �������� ��� ������������� �������� ����. ��������� - ����������������� ����� ������ ��������� ��������� �� ������.</para> + </sect2> + <sect2 id="dads-noinstall-notes"> + <title>��������� �� ����������</title> + + <para>������ �� ������� ����� � �������. + ����� ���������� ������ ������ ��������� ����������� ��-�� + ������� ����������� ���������� ������������. �������:</para> + + <programlisting>BROKEN= this port is unsupported on FreeBSD 5.x</programlisting> + + <programlisting>IGNORE= is unsupported on FreeBSD 5.x</programlisting> + + <para>���������� � ���������� ���������� ������ + <command>make describe</command>:</para> + + <programlisting>===> foobar-0.1 is marked as broken: this port is unsupported on FreeBSD 5.x.</programlisting> + + <programlisting>===> foobar-0.1 is unsupported on FreeBSD 5.x.</programlisting> + </sect2> </sect1> - <sect1 id="dads-workarounds"> - <title>����������� ����������������</title> + <sect1 id="dads-deprecated"> + <title>������� ����� �� �������� � <makevar>DEPRECATED</makevar> + ��� <makevar>EXPIRATION_DATE</makevar></title> - <para>������ ������ ���������� �������� ������ � ����������� - �����������, ������� ��������������� ���������� ������ &os;.</para> + <para>�������, ��� <makevar>BROKEN</makevar> � + <makevar>FORBIDDEN</makevar> ����� ������������ ��� ��������� + ��������, ���� ���� �� �������� ����������. ��������� + ����������������� ����� ������ ��������� ��������� �� ������.</para> - <itemizedlist> - <listitem> - <para>��������� ������ &man.make.1; (�� ������� ���� � ������� 4.8 - � 5.0) ����������� ������������ ��������� �� ������ - <makevar>OSVERSION</makevar>. ��� ����� ��������� � ������� ��� - ���������� ������� <command>make describe</command> (�, � ���� - �������, � ����� ��� ���������� <command>make index</command> - ��� ������). ��� �������� ��������� ���������� �������� - �������� ��������� ���������, ��������: - <programlisting>if ( ${OSVERSION} > 500023 )</programlisting> - ������, ��� ��� �������� ��������� ����� �� 4.9 ��� 5.2 ��� - �������� <emphasis>�� ��������������</emphasis>.</para> - </listitem> - </itemizedlist> + <para>� ���������� ��������� ������������ ����� ���� ��������� � + ����������� �������� ����� ���������� <makevar>DEPRECATED</makevar> + � <makevar>EXPIRATION_DATE</makevar>. ������ - ��� ������ ������, + ���������� ������� ���������������� �������� �����; ������ �������� + ������� � ������� ISO 8601 (YYYY-MM-DD). ��� ����� �������� + ������������.</para> + + <para>���������� <makevar>DEPRECATED</makevar> ����� ���������� ��� + ������������� <makevar>EXPIRATION_DATE</makevar> (� ���������, ��� + ������������ ����� ������ �����), �� �������� ������� �� ����� + �������� ������.</para> + + <para>�� ���������� ����������� ��������, ��� ����� ������� ���������� + �����������. ������� �������� ���� ����� ������ ��� ������� ������� + ������������ � ��� ������ ��� ������� ����������. ��� ����� ���� + ������� ������� �� ����������� ������� ����� ���������������� + �����������.</para> + </sect1> + + <sect1 id="dads-dot-error"> + <title>��������� ������������� ����������� + <literal>.error</literal></title> + + <para>���������� �������� ������ ������ ��� <filename>Makefile</filename> + � ���, ��� ���� �� ����� ���� ���������� ��-�� ������-�� �������� + ������� (��������, ������������ ������ ������������ ���������� + ����� ����������), �������� ��������� ��������� �������� ��� + <makevar>IGNORE</makevar>. ��� �������� ����� �������������� � + �������� ������������ �� ����� <command>make install</command>.</para> + + <para>������������� ��� ���� ����� <literal>.error</literal> �������� + ���������������� �������. �������� � ���, ��� � ���� �������� + ����� ���������� ������ ����������� �������������, ���������� � + ������� ������. ���������� ������� ��� �������������� ��� ������� + ��������� <filename>/usr/ports/INDEX</filename> (�������� <xref + linkend="make-describe">). ��� �� �����, ���� ����� ������� �������, + ����� ��� <command>make maintainer</command>, � ���� ������ ����� + ������ ������. ��� �� �������� ����������.</para> + + <example id="dot-error-breaks-index"> + <title>��� �������� ������������� <literal>.error</literal></title> + <para>�����������, ��� ���-�� �������� ������ + <programlisting>USE_POINTYHAT=yes</programlisting> � + <filename>make.conf</filename>. ������ �� ����������� ���� + ��������� ����� ����� <filename>Makefile</filename> �����ģ� � + ���������� ���������� ������ <command>make index</command>, � + ������ - ���:</para> + <programlisting>.if USE_POINTYHAT +.error "POINTYHAT is not supported" +.endif</programlisting> + <programlisting>.if USE_POINTYHAT +IGNORE=POINTYHAT is not supported +.endif</programlisting> + </example> + + </sect1> + + <sect1 id="dads-sysctl"> + <title>������������� <filename>sysctl</filename></title> + + <para>������������� <filename>sysctl</filename> �� �������������, + ����� ��� ��� ���������� �����. ��� ������� ���, ��� ���������� + ����� <literal>makevar</literal>, ����� ��� �� ����� ������� + <command>make index</command>, � �������������� ������� ���� + �������, ��� ������ ��������� ���� �������.</para> + + <para>&man.sysctl.8; ������� ������ ������������ ����� ���������� + <makevar>SYSCTL</makevar>, ��������� ��� �������� ��������� �������� + ����, � ��� ������������� ����� ���� ��������������.</para> + </sect1> + + <sect1 id="dads-rerolling-distfiles"> + <title>���������� �������������� �����</title> + + <para>������ ������ ������������ ����������� ������ ���������� + ���������� �������������� ������ ��� ����� ��������. �� ������ + ���������, ��� ��������� �������� ������������ � ����������� + �������. � ������� ������, ��� �������������� ���� ����� ��������� + �� ������ �������� � ���������� ������� ���� ��� ����������������� + ������������ ��������� ������������.</para> + + <para>�������� ������ ���� � ������������� � �������, ��������� �����, + ���������� ��� � �������� ���������� ��� ������ &man.diff.1;. + ���� �� �� ������ ������ ���������������, �� ������ �������� ���� + <filename>distinfo</filename>. ���������, ��� �� ���������� �������� + � ����� PR ��� �������� �������, ����� ������ ���� ���� � �����, ��� + �� ������������ � ���, ��� ������ ������� �� ���������.</para> + + <para>�������� �� ����� �������� ��������� � ������� ����� ������������ + ����������� ��� ������������� ���������.</para> </sect1> <sect1 id="dads-misc"> @@ -7974,16 +15083,6 @@ CFLAGS = -Wall -Werror ����������� ����������������� ��!</para> </sect1> - <sect1 id="dads-stuck"> - <title>���� �� ����������� �����������…</title> - - <para>���������� ������������ ������� � ���� - <filename>bsd.port.mk</filename> ����� ���, ��� �������� ��� �������! - <!-- smiley --><emphasis>;-)</emphasis></para> - - <para>��������� ��� �������, ���� � ��� ��������� ��������! �� ������� - ������� �� �����! <!-- smiley --><emphasis>:-)</emphasis></para> - </sect1> </chapter> <chapter id="porting-samplem"> @@ -8041,12 +15140,11 @@ EXTRACT_SUFX= .tar.Z PATCH_SITES= ftp://ftp.sra.co.jp/pub/X11/japanese/ PATCHFILES= xdvi-18.patch1.gz xdvi-18.patch2.gz -[��������������; *������������ ����*! ��� ������� (��������������� � - ������������ �� �������� �������), � ������� ����� ��������� ������������ - ��� ��������� ������� �� ������� � ������� ��������� �� ������� - ���� - ������� ������ ���� ���������� ����� ��� ���-��, ��� ����� �������� - ������� ��������� �����. ���� �� �� ����� ���� �� ������ ��������� ����� - ���� �����, ������� ����� "ports@FreeBSD.org".] +[��������������; *������������ ����*! ��� �������, ������� ����������� + ���������� ������������ ����� � ��������������� ��� ����������, � �������� + ������������ ����� ���������� ������� � ��������� �� �������. ��� + ���������� ��� ����� ����� �������� �������� ��������� ������ �� ������ + �� ��������� ����� �����, ����������� �� "ports@FreeBSD.org".] MAINTAINER= asami@FreeBSD.org COMMENT= A DVI Previewer for the X Window System @@ -8092,64 +15190,6 @@ pre-install: </programlisting> </chapter> - <chapter id="porting-autoplist"> - <title>�������������� �������� ������ ��������</title> - - <para>������ ����� ���������, ��� ��� ���� ����������� ��������� - �����ۣ�, �������� ������ ������� <filename>pkg-plist</filename>.</para> - - <para>����� ��������� ������ ���������, ���� ����� ���� - ���������� ��� ����, � ���������� ��� �����������. - <replaceable>port-type</replaceable> ������ ���� <literal>local</literal> - ��� ��-X ������, <literal>x11-4</literal> ��� <literal>x11</literal> - ��� ������, ������� ��������������� � �������� ��������� XFree86 4 - ��� ����� ������� ������ XFree86, ��������������.</para> - - <screen>>&prompt.root; <userinput>mkdir /var/tmp/<replaceable>port-name</replaceable></userinput> -&prompt.root; <userinput>mtree -U -f /etc/mtree/BSD.<replaceable>port-type</replaceable>.dist -d -e -p /var/tmp/<replaceable>port-name</replaceable></userinput> -&prompt.root; <userinput>make depends PREFIX=/var/tmp/<replaceable>port-name</replaceable></userinput></screen> - - <para>��������� ��������� ��������� � ����� �����.</para> - - <screen>&prompt.root; <userinput>(cd /var/tmp/<replaceable>port-name</replaceable> && find -d * -type d) | sort > OLD-DIRS</userinput></screen> - - <para>�������� ������ ���� <filename>pkg-plist</filename>:</para> - - <screen>&prompt.root; <userinput>touch pkg-plist</userinput></screen> - - <para>���� ��� ���� ��������� �� �������� <makevar>PREFIX</makevar> (� �� - ������ ��� ������), �� ����� �� ������ ���������� ���� � ������� ������ - ��������.</para> - - <screen>&prompt.root; <userinput>make install PREFIX=/var/tmp/<replaceable>port-name</replaceable></userinput> -&prompt.root; <userinput>(cd /var/tmp/<replaceable>port-name</replaceable> && find -d * \! -type d) | sort > pkg-plist</userinput></screen> - - <para>����� ����, � ������ �������� �� ������ �������� ��� ����� - ��������� ��������.</para> - - <screen>&prompt.root; <userinput>(cd /var/tmp/<replaceable>port-name</replaceable> && find -d * -type d) | sort | comm -13 OLD-DIRS - | sort -r | sed -e 's#^#@dirrm #' >> pkg-plist</userinput></screen> - - <para>� �������, ��� ����� ������� ����������� ������ ��������; ��� - �������� ���������������� <emphasis>�� ���������</emphasis>. �������� - ���������� ������� ������ ���� ����������� � ����� - <filename>Makefile</filename> ����� � ���������� - <makevar>MAN<replaceable>n</replaceable></makevar>, � �� � ������ - ��������. ���������������� ���������������� ����� ������ ���� ������� - ��� ���� ����������� ��� - <filename><replaceable>filename</replaceable>.sample</filename>. - ���� <filename>info/dir</filename> �������� � ������ �� �����, �� - ������ ���� ��������� ��������������� ������� - <filename>install-info</filename>, ���, ��� ��� ������� � ������� � <link - linkend="porting-info">������ � ������� info</link>. ��� - ����������, ��������������� ������, ������ ���� ����������� ���, ��� - ��� ������� � ������� � <link - linkend="porting-shlibs">������������ �����������</link>.</para> - - <para>��� ������������, ����� ������������ ������ <command>plist</command> - �� <filename>/usr/ports/Tools/scripts/</filename> ��� ��������������� - ���������� ������ ��������.</para> - </chapter> - <chapter id="keeping-up"> <title>������������</title> @@ -8158,7 +15198,7 @@ pre-install: ��������� ���������� � ���, ��� ������������ ţ � ���������� ���������.</para> - <sect1> + <sect1 id="freshports"> <title>FreshPorts</title> <para>����� ������� �������� ����������� ��� ������������ ���������� @@ -8191,23 +15231,23 @@ pre-install: ���ӣ���� ���� ���������.</para> </sect1> - <sect1> + <sect1 id="cvsweb"> <title>Web-��������� � ��������� �������� �������</title> <para>����� � ��������� �������� ������� ����� ������������� ��� ������ Web-����������. ���������, ������� �������� � ����� ���� ������� ������, ������ ��������������� � ����� - <ulink url="http://www.FreeBSD.org/cgi/cvsweb.cgi/ports/CHANGES"> + <ulink url="http://cvsweb.FreeBSD.org/ports/CHANGES"> CHANGES</ulink>. ���������, ���������� ��������� ������, ���������� ������ � ����� <ulink - url="http://www.FreeBSD.org/cgi/cvsweb.cgi/ports/UPDATING"> + url="http://cvsweb.FreeBSD.org/ports/UPDATING"> UPDATING</ulink>. ������ ����������� ����� �� ����� ������ ����� �����, ������ �������� �������� ��� <ulink - url="http://www.FreeBSD.org/cgi/cvsweb.cgi/ports/Mk/bsd.port.mk"> + url="http://cvsweb.FreeBSD.org/ports/Mk/bsd.port.mk"> bsd.port.mk</ulink> � ��������� � ��� ������.</para> </sect1> - <sect1> + <sect1 id="ports-mailling-list"> <title>������ �������� &os;, �����ݣ���� ������</title> <para>���� �� ������������� �����, �� ������ ������� �� &a.ports;. @@ -8215,8 +15255,9 @@ pre-install: �����, � ����� ��� ����������� � <filename>CHANGES</filename>.</para> </sect1> - <sect1> - <title>������� ���������� ������ &os;</title> + <sect1 id="build-cluster"> + <title>������� ���������� ������ &os; �� + <hostid role="hostname">pointyhat.FreeBSD.org</hostid></title> <para>����� �� �������� ��������� ������� ������ &os; �������� ��� ����, ��� ��� ������������ ���������� ��������� ������ ��� ������� @@ -8224,17 +15265,25 @@ pre-install: Tier-1 ������� ����� ������� �����. �� ������ ������� ���������� ���� ���������� � <ulink url="http://pointyhat.FreeBSD.org/">���������� ���������� ������� � ������������ ������</ulink>.</para> + + <para>��������� ����� ����������, ���� ��� ���������� �� �������� ��� + <makevar>IGNORE</makevar>. ��� ������, ���������� ��� + <makevar>BROKEN</makevar>, ������� ����� ���������� ��� ����, + ����� �������, ���� �������� �������� ���� ������. (��� ������� + ����� ������������� ���������� <makevar>TRYBROKEN</makevar> ��� + <filename>Makefile</filename> �����.)</para> + </sect1> - <sect1> - <title>�������� �������������� ������ ������ &os;</title> + <sect1 id="distfile-survey"> + <title>������ �������������� ������ ������ &os;</title> <para>������� ���������� ������� ��� ���������� ������ ���������� ������ ������� �� ������, �������������� ���� ������� ��� ��� �������. ������ ��-�� ���������� ��������� � Internet, �������������� ����� ������ ��������. �������� <ulink - url="http://people.FreeBSD.org/~fenner/portsurvey/"> - ��������������� �������������� ������ FreeBSD</ulink> �������� + url="http://www.portscout.org">������������ �������������� ������ + FreeBSD</ulink> �������� �������� ������ �� ������, ��������� ��� ������� ������� �� ������ ��� ����������� ����, �������� �� �ݣ �������������� �����. ����������� ������ ������������ ������������� ���� ��������, � �� @@ -8243,11 +15292,11 @@ pre-install: �������������� ����� ����������� �� ������������ ������.</para> </sect1> - <sect1> + <sect1 id="portsmon"> <title>������� ����������� ������ &os;</title> <para>������ �������� �������� �������� <ulink - URL="http://portsmon.firepipe.net">������� ����������� ������ + url="http://portsmon.FreeBSD.org">������� ����������� ������ FreeBSD</ulink> (��������� ����� ��� <literal>portsmon</literal>). ������� ������������ ����� ���� ������, �������������� ���������� �� ���������� ���������� � ����������� ������������� �� ��� ������ @@ -8258,8 +15307,17 @@ pre-install: <para>��� ������ �� ������ ����������� ��� ���������� � ��������� ����� ��� ������ �������� <ulink - URL="http://portsmon.firepipe.net/portoverview.py">��������� - ��������� ������</ulink>.</para> + url="http://portsmon.FreeBSD.org/portoverview.py">����� + ���������� �����</ulink>.</para> + + <para>�� ������ ��������� ��� ������������ ��������� ������, ������� + ��� ����� ����� ������ � ������������ ������ PR GNATS. + (����������� PR �� ������ ��������� � �������� ��� �����, ���� + �� ������������, ����� ��� ��� ������.) ����� �������, + <literal>portsmon</literal> ��� ������� ����� ��� ������, ���� �� + ������ ����� ���������� PR �/��� ������ ���������� ��� ������������� + �����; ���� ��������, ��� �� ��� ������� ����� ����, ������� �� + ���������� ������� ����.</para> </sect1> </chapter> </book>