Source string Read only

(itstool) path: listitem/para
Context English State
From this list, <application>Poudriere</application> <citerefentry><refentrytitle>nullfs</refentrytitle><manvolnum>5</manvolnum></citerefentry>-mounts the <emphasis>first existing</emphasis> directory tree into the <filename>/var/db/ports</filename> directory of the build jails. Hence, all custom options are used for all the ports during this run of <command>testport</command>.
After the directory structure for a set is provided, the options for a particular port can be altered. For example:
<prompt>#</prompt> <userinput>poudriere options -c www/firefox -z devset</userinput>
The configuration dialog for <package role="port">www/firefox</package> is shown, and options can be edited. The selected options are saved to the <literal>devset</literal> set.
<application>Poudriere</application> is very flexible in the option configuration. They can be set for particular jails, ports trees, and for multiple ports by one command. Refer to <citerefentry vendor="ports"><refentrytitle>poudriere</refentrytitle><manvolnum>8</manvolnum></citerefentry> for details.
Providing a Custom <filename>make.conf</filename> File
Similar to using sets, <application>Poudriere</application> will also use a custom <filename>make.conf</filename> if it is provided. No special command line argument is necessary. Instead, <application>Poudriere</application> looks for existing files matching a name scheme derived from the command line. For instance:
causes <application>Poudriere</application> to check for the existence of these files in this order:
Unlike with sets, all of the found files will be appended, <emphasis>in that order</emphasis>, into one <filename>make.conf</filename> inside the build jails. It is hence possible to have general make variables, intended to affect all builds in <filename>/usr/local/etc/poudriere.d/make.conf</filename>. Special variables, intended to affect only certain jails or sets can be set in specialised <filename>make.conf</filename> files, such as <filename>/usr/local/etc/poudriere.d/113Ramd64-development-devset-make.conf</filename>.
Using <filename>make.conf</filename> to Change Default <application>Perl</application>
To build a set with a non default <application>Perl</application> version, for example, <literal>5.20</literal>, using a set named <literal>perl5-20</literal>, create a <filename>perl5-20-make.conf</filename> with this line:
Note the use of <literal>+=</literal> so that if the variable is already set in the default <filename>make.conf</filename> its content will not be overwritten.
Pruning no Longer Needed Distfiles
<application>Poudriere</application> comes with a built-in mechanism to remove outdated distfiles that are no longer used by any port of a given tree. The command
<prompt>#</prompt> <userinput>poudriere distclean -p <replaceable>portstree</replaceable></userinput>
will scan the distfiles folder, <varname>DISTFILES_CACHE</varname> in <filename>poudriere.conf</filename>, versus the ports tree given by the <literal>-p <replaceable>portstree</replaceable></literal> argument and prompt for removal of those distfiles. To skip the prompt and remove all unused files unconditionally, the <literal>-y</literal> argument can be added:
<prompt>#</prompt> <userinput>poudriere distclean -p <replaceable>portstree</replaceable> -y</userinput>
Upgrading a Port
When a port is not the most recent version available from the authors, update the local working copy of <filename>/usr/ports</filename>. The port might have already been updated to the new version.
When working with more than a few ports, it will probably be easier to use <application>Subversion</application> to keep the whole ports collection up-to-date, as described in the <link xlink:href="@@URL_RELPREFIX@@/doc/en_US.ISO8859-1/books/handbook/ports-using.html">Handbook</link>. This will have the added benefit of tracking all the port's dependencies.


User avatar None

New source string

FreeBSD Doc / books_porters-handbookEnglish

New source string 7 months ago
Browse all component changes


English English
No related strings found in the glossary.

Source information

Source string comment
(itstool) path: listitem/para
Source string location
String age
7 months ago
Source string age
7 months ago
Translation file
books/porters-handbook.pot, string 4083