Changeset bd80dca7


Ignore:
Timestamp:
03/06/2024 11:48:27 AM (8 weeks ago)
Author:
Xi Ruoyao <xry111@…>
Branches:
ken/TL2024, trunk, xry111/llvm18
Children:
39eac921
Parents:
a4fa495
git-author:
Xi Ruoyao <xry111@…> (03/06/2024 11:47:42 AM)
git-committer:
Xi Ruoyao <xry111@…> (03/06/2024 11:48:27 AM)
Message:

nmap: Use a patch to allow building with pcre2

BTW fix another "imp removal" error in the test suite.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • networking/netutils/nmap.xml

    ra4fa495 rbd80dca7  
    6464        <para>
    6565          Estimated build time: &nmap-time;
     66        </para>
     67      </listitem>
     68    </itemizedlist>
     69
     70    <bridgehead renderas="sect3">Additional Downloads</bridgehead>
     71    <itemizedlist spacing='compact'>
     72      <listitem>
     73        <para>
     74          Recommended patch: <ulink url=
     75            "&patch-root;/nmap-&nmap-version;-pcre_2-1.patch"/>
    6676        </para>
    6777      </listitem>
     
    8494      <xref linkend="libssh2"/>,
    8595      <xref linkend="lua"/>,
    86       <xref linkend="pcre"/>, and
     96      <xref linkend="pcre2"/>, and
    8797      <xref linkend="pygobject3"/>
    8898<!--  libdnet is not recommended, see:
     
    102112
    103113    <para>
     114      If and only if the recommended dependency
     115      <xref linkend='pcre2'/> is installed, apply a patch to allow building
     116      this package with system <xref linkend='pcre2'/> instead of an
     117      internal copy of the outdated PCRE1:
     118    </para>
     119
     120    <screen><userinput>patch -Np1 -i ../nmap-&nmap-version;-pcre_2-1.patch</userinput></screen>
     121
     122    <para>
    104123      Install <application>Nmap</application> by running the following
    105124      commands:
     
    108127<screen><userinput>./configure --prefix=/usr &amp;&amp;
    109128make</userinput></screen>
    110 <!--
     129
    111130    <para>
    112131      If you wish to run the test suite, run the following command:
    113132    </para>
    114133
    115 <screen><userinput>sed -i 's/lib./lib/' zenmap/test/run_tests.py</userinput></screen>
    116 -->
     134    <screen><userinput>sed -e '/import imp/d'                \
     135    -e 's/^ndiff = .*$/import ndiff/' \
     136    -i ndiff/ndifftest.py</userinput></screen>
     137
    117138    <para>
    118139      To test the results, issue: <command>make check</command> as the
Note: See TracChangeset for help on using the changeset viewer.