Translation

(itstool) path: sect2/screen
<prompt>#</prompt> <userinput>poudriere options -c www/firefox -z devset</userinput>
84/840
Context English Portuguese (Brazil) State
When testing ports where <filename>pkg-plist</filename> is altered during build depending on the selected options, it is recommended to perform a test run with all options selected <emphasis>and</emphasis> one with all options deselected. Ao testar ports nos quais o <filename>pkg-plist</filename> é alterado durante a compilação, dependendo das opções selecionadas, é recomendável executar um teste com todas as opções selecionadas <emphasis>e</emphasis> um com todas as opções desmarcadas.
Using Sets Usando Conjuntos
For all actions involving builds, a so-called <emphasis>set</emphasis> can be specified using <literal>-z <replaceable>setname</replaceable></literal>. A set refers to a fully independent build. This allows, for instance, usage of <command>testport</command> with non-standard options for the dependent ports. Para todas as ações envolvendo builds, um então chamado <emphasis>conjunto</emphasis> pode ser especificado usando <literal>-z <replaceable>setname</replaceable></literal>. Um conjunto se refere a uma compilação totalmente independente. Isso permite, por exemplo, o uso de <command>testport</command> com opções não padrão para os ports dependentes.
To use sets, <application>Poudriere</application> expects an existing directory structure similar to <varname>PORT_DBDIR</varname>, defaults to <filename>/var/db/ports</filename> in its configuration directory. This directory is then <citerefentry><refentrytitle>nullfs</refentrytitle><manvolnum>5</manvolnum></citerefentry>-mounted into the jails where the ports and their dependencies are built. Usually a suitable starting point can be obtained by recursively copying the existing <varname>PORT_DBDIR</varname> to <filename>/usr/local/etc/poudriere.d/<replaceable>jailname</replaceable>-<replaceable>portname</replaceable>-<replaceable>setname</replaceable>-options</filename>. This is described in detail in <citerefentry vendor="ports"><refentrytitle>poudriere</refentrytitle><manvolnum>8</manvolnum></citerefentry>. For instance, testing <package role="port">www/firefox</package> in a specific set named <literal>devset</literal>, add the <literal>-z devset</literal> parameter to the testport command: Para usar sets, o <application>Poudriere</application> espera uma estrutura de diretórios existente semelhante a <varname>PORT_DBDIR</varname>, o padrão é <filename>/var/db/ports</filename> no seu diretório de configuração. Este diretório é então <citerefentry><refentrytitle>nullfs</refentrytitle><manvolnum>5</manvolnum></citerefentry>-montado nas jails onde os ports e suas dependências são compilados. Normalmente, um ponto de partida adequado pode ser obtido copiando de forma recursiva o <varname>PORT_DBDIR</varname> para <filename>/usr/local/etc/poudriere.d/<replaceable>jailname</replaceable>-<replaceable>portname</replaceable>-<replaceable>setname</replaceable>-options</filename>. Isso é descrito em detalhes em <citerefentry vendor="ports"><refentrytitle>poudriere</refentrytitle><manvolnum>8</manvolnum></citerefentry>. Por exemplo, para testar o <package role="port">www/firefox</package> em um conjunto específico chamado <literal>devset</literal>, adicione o parâmetro <literal>-z devset</literal> ao comando testport:
<prompt>#</prompt> <userinput>poudriere testport -j 113Ramd64 -p development -z devset -o www/firefox</userinput> <prompt>#</prompt> <userinput>poudriere testport -j 113Ramd64 -p development -z devset -o www/firefox</userinput>
This will look for the existence of these directories in this order: Isso irá procurar pela existência desses diretórios nesta ordem:
<filename>/usr/local/etc/poudriere.d/113Ramd64-development-devset-options</filename> <filename>/usr/local/etc/poudriere.d/113Ramd64-development-devset-options</filename>
<filename>/usr/local/etc/poudriere.d/113Ramd64-devset-options</filename> <filename>/usr/local/etc/poudriere.d/113Ramd64-devset-options</filename>
<filename>/usr/local/etc/poudriere.d/113Ramd64-development-options</filename> <filename>/usr/local/etc/poudriere.d/113Ramd64-development-options</filename>
<filename>/usr/local/etc/poudriere.d/devset-options</filename> <filename>/usr/local/etc/poudriere.d/devset-options</filename>
<filename>/usr/local/etc/poudriere.d/development-options</filename> <filename>/usr/local/etc/poudriere.d/development-options</filename>
<filename>/usr/local/etc/poudriere.d/113Ramd64-options</filename> <filename>/usr/local/etc/poudriere.d/113Ramd64-options</filename>
<filename>/usr/local/etc/poudriere.d/options</filename> <filename>/usr/local/etc/poudriere.d/options</filename>
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>. Desta lista, o <application>Poudriere</application> <citerefentry><refentrytitle>nullfs</refentrytitle><manvolnum>5</manvolnum></citerefentry>-monta a <emphasis>primeira árvore existente</emphasis> de diretório para o diretório <filename>/var/db/ports</filename> das jails de compilação. Portanto, todas as opções personalizadas são usadas para todos os ports durante essa execução do <command>testport</command>.
After the directory structure for a set is provided, the options for a particular port can be altered. For example: Depois que a estrutura de diretório para um conjunto é fornecida, as opções para um port específico podem ser alteradas. Por exemplo:
<prompt>#</prompt> <userinput>poudriere options -c www/firefox -z devset</userinput> <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. O diálogo de configuração para o <package role="port">www/firefox</package> é mostrado e as opções podem ser editadas. As opções selecionadas são salvas no set <literal>devset</literal>.
<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. <application>Poudriere</application> é muito flexível na configuração das opções. Elas podem ser configuradas para jails específicas, árvores de ports e para vários ports por um comando. Veja <citerefentry vendor="ports"><refentrytitle>poudriere</refentrytitle><manvolnum>8</manvolnum></citerefentry> para detalhes.
Providing a Custom <filename>make.conf</filename> File Fornecendo um Arquivo <filename>make.conf</filename> Customizado
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: Semelhante ao uso de conjuntos (sets), o <application>Poudriere</application> também usará um <filename>make.conf</filename> personalizado se for fornecido. Nenhum argumento de linha de comando especial é necessário. Em vez disso, o <application>Poudriere</application> procura por arquivos existentes que correspondam a um esquema de nomes derivado da linha de comando. Por exemplo:
causes <application>Poudriere</application> to check for the existence of these files in this order: faz o <application>Poudriere</application> verificar a existência desses arquivos nesta ordem:
<filename>/usr/local/etc/poudriere.d/make.conf</filename> <filename>/usr/local/etc/poudriere.d/make.conf</filename>
<filename>/usr/local/etc/poudriere.d/devset-make.conf</filename> <filename>/usr/local/etc/poudriere.d/devset-make.conf</filename>
<filename>/usr/local/etc/poudriere.d/development-make.conf</filename> <filename>/usr/local/etc/poudriere.d/development-make.conf</filename>
<filename>/usr/local/etc/poudriere.d/113Ramd64-make.conf</filename> <filename>/usr/local/etc/poudriere.d/113Ramd64-make.conf</filename>
<filename>/usr/local/etc/poudriere.d/113Ramd64-development-make.conf</filename> <filename>/usr/local/etc/poudriere.d/113Ramd64-development-make.conf</filename>
<filename>/usr/local/etc/poudriere.d/113Ramd64-devset-make.conf</filename> <filename>/usr/local/etc/poudriere.d/113Ramd64-devset-make.conf</filename>
<filename>/usr/local/etc/poudriere.d/113Ramd64-development-devset-make.conf</filename> <filename>/usr/local/etc/poudriere.d/113Ramd64-development-devset-make.conf</filename>
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>. Ao contrário dos conjuntos, todos os arquivos encontrados serão anexados, <emphasis>naquela ordem</emphasis>, em um <filename>make.conf</filename> dentro das jails de compilação. Assim, é possível ter variáveis gerais, destinadas a afetar todas as compilações <filename>/usr/local/etc/poudriere.d/make.conf</filename>. Variáveis especiais, destinadas a afetar apenas determinadas jails ou conjuntos, podem ser setadas em arquivos especiais como <filename>make.conf</filename>, assim como <filename>/usr/local/etc/poudriere.d/113Ramd64-development-devset-make.conf</filename>.
Using <filename>make.conf</filename> to Change Default <application>Perl</application> Usando <filename>make.conf</filename> para Alterar o <application>Perl</application> Padrão
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: Para compilar um conjunto com uma versão não padrão do <application>Perl</application>, por exemplo, <literal>5.20</literal>, usando um conjunto chamado <literal>perl5-20</literal>, crie um <filename>perl5-20-make.conf</filename> com esta entrada:

Loading…

New source string a year ago
Browse all component changes

Things to check

Unchanged translation

Source and translation are identical

Reset

Glossary

English Portuguese (Brazil)
No related strings found in the glossary.

Source information

Source string comment
(itstool) path: sect2/screen
Flags
no-wrap
Source string location
book.translate.xml:19527
String age
a year ago
Source string age
a year ago
Translation file
books/pt_BR/porters-handbook.po, string 4073