Translation

(itstool) path: listitem/para
<filename>/usr/local/etc/poudriere.d/options</filename>
55/550
Context English Portuguese (Brazil) State
An integral part of the FreeBSD ports build infrastructure is the ability to tweak ports to personal preferences with options. These can be tested with <application>Poudriere</application> as well. Adding the <option>-c</option>: Uma parte integral da infraestrutura de compilação de ports do FreeBSD é a capacidade de ajustar os ports as preferências pessoais por meio de opções. Elas podem ser testadas com o <application>Poudriere</application> também. Adicionando a opção <option>-c</option>:
<prompt>#</prompt> <userinput>poudriere testport -c -o www/firefox</userinput> <prompt>#</prompt> <userinput>poudriere testport -c -o www/firefox</userinput>
Presents the port configuration dialog before the port is built. The ports given after <option>-o</option> in the format <literal><replaceable>category</replaceable>/<replaceable>portname</replaceable></literal> will use the specified options, all dependencies will use the default options. Testing dependent ports with non-default options can be accomplished using sets, see <xref linkend="testing-poudriere-sets"/>. Apresenta o diálogo de configuração do port antes que o port seja compilado. Os ports informados após o <option>-o</option> no formato <literal><replaceable>category</replaceable>/<replaceable>portname</replaceable></literal> usará as opções especificadas, todas as dependências usarão as opções padrão. O teste de ports dependentes com opções não padrão pode ser realizado usando conjuntos, consulte <xref linkend="testing-poudriere-sets"/>.
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>

Loading…

New source string a year ago
Browse all component changes

Glossary

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

Source information

Source string comment
(itstool) path: listitem/para
Source string location
book.translate.xml:19512
String age
a year ago
Source string age
a year ago
Translation file
books/pt_BR/porters-handbook.po, string 4070