Changeset View
Changeset View
Standalone View
Standalone View
head/en_US.ISO8859-1/books/porters-handbook/uses/chapter.xml
Show First 20 Lines • Show All 349 Lines • ▼ Show 20 Lines | <para>Include Common Platform Enumeration | ||||
<acronym>CPE</acronym> 2.3 formatted string. See the <link | <acronym>CPE</acronym> 2.3 formatted string. See the <link | ||||
xlink:href="http://scap.nist.gov/specifications/cpe/"><acronym>CPE</acronym> | xlink:href="http://scap.nist.gov/specifications/cpe/"><acronym>CPE</acronym> | ||||
specification</link> for details. To add | specification</link> for details. To add | ||||
<acronym>CPE</acronym> information to a port, follow these | <acronym>CPE</acronym> information to a port, follow these | ||||
steps:</para> | steps:</para> | ||||
<procedure> | <procedure> | ||||
<step> | <step> | ||||
<para>Search for the official CPE para for the software | <para>Search for the official CPE entry for the software | ||||
product either by using the NVD's <link | product either by using the NVD's <link | ||||
xlink:href="http://web.nvd.nist.gov/view/cpe/search"><acronym>CPE</acronym> | xlink:href="http://web.nvd.nist.gov/view/cpe/search"><acronym>CPE</acronym> | ||||
search engine</link> or in the <link | search engine</link> or in the <link | ||||
xlink:href="http://static.nvd.nist.gov/feeds/xml/cpe/dictionary/official-cpe-dictionary_v2.3.xml">official | xlink:href="http://static.nvd.nist.gov/feeds/xml/cpe/dictionary/official-cpe-dictionary_v2.3.xml">official | ||||
<acronym>CPE</acronym> dictionary</link> (warning, very | <acronym>CPE</acronym> dictionary</link> (warning, very | ||||
large <acronym>XML</acronym> file). <emphasis>Do not ever | large <acronym>XML</acronym> file). <emphasis>Do not ever | ||||
make up <acronym>CPE</acronym> data.</emphasis></para> | make up <acronym>CPE</acronym> data.</emphasis></para> | ||||
</step> | </step> | ||||
<step> | <step> | ||||
<para>Add <literal>cpe</literal> to <varname>USES</varname> | <para>Add <literal>cpe</literal> to <varname>USES</varname> | ||||
and compare the result of <command>make -V CPE_STR</command> | and compare the result of <command>make -V CPE_STR</command> | ||||
to the <acronym>CPE</acronym> dictionary para. Continue one | to the <acronym>CPE</acronym> dictionary entry. Continue one | ||||
step at a time until <command>make -V CPE_STR</command> is | step at a time until <command>make -V CPE_STR</command> is | ||||
correct.</para> | correct.</para> | ||||
</step> | </step> | ||||
<step> | <step> | ||||
<para>If the product name (second field, defaults to | <para>If the product name (second field, defaults to | ||||
<varname>PORTNAME</varname>) is incorrect, define | <varname>PORTNAME</varname>) is incorrect, define | ||||
<varname>CPE_PRODUCT</varname>.</para> | <varname>CPE_PRODUCT</varname>.</para> | ||||
▲ Show 20 Lines • Show All 2,356 Lines • ▼ Show 20 Lines | <sect1 xml:id="uses-shared-mime-info"> | ||||
<para>Possible arguments: (none)</para> | <para>Possible arguments: (none)</para> | ||||
<para>Uses <application>update-mime-database</application> from | <para>Uses <application>update-mime-database</application> from | ||||
<package role="port">misc/shared-mime-info</package>. This uses | <package role="port">misc/shared-mime-info</package>. This uses | ||||
will automatically add a post-install step in such a way that | will automatically add a post-install step in such a way that | ||||
the port itself still can specify there own post-install step if | the port itself still can specify there own post-install step if | ||||
needed. It also add an <link | needed. It also add an <link | ||||
linkend="plist-keywords-shared-mime-info"><literal>@shared-mime-info</literal></link> | linkend="plist-keywords-shared-mime-info"><literal>@shared-mime-info</literal></link> | ||||
para to the plist.</para> | entry to the plist.</para> | ||||
</sect1> | </sect1> | ||||
<sect1 xml:id="uses-shebangfix"> | <sect1 xml:id="uses-shebangfix"> | ||||
<title><literal>shebangfix</literal></title> | <title><literal>shebangfix</literal></title> | ||||
<para>Possible arguments: (none)</para> | <para>Possible arguments: (none)</para> | ||||
<para>A lot of software uses incorrect locations for script | <para>A lot of software uses incorrect locations for script | ||||
▲ Show 20 Lines • Show All 565 Lines • Show Last 20 Lines |