Changeset 3bdc4eb for networking


Ignore:
Timestamp:
01/10/2023 08:57:10 PM (16 months ago)
Author:
Pierre Labastie <pierre.labastie@…>
Branches:
11.3, 12.0, 12.1, kea, ken/TL2024, ken/inkscape-core-mods, ken/tuningfonts, lazarus, lxqt, plabs/newcss, plabs/python-mods, python3.11, qt5new, rahul/power-profiles-daemon, renodr/vulkan-addition, trunk, xry111/llvm18, xry111/xf86-video-removal
Children:
82c348c
Parents:
ab3ae35a (diff), c8d23c4a (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

Merge branch 'trunk' into plabs/python-mods

Location:
networking
Files:
1 added
17 edited

Legend:

Unmodified
Added
Removed
  • networking/connect/dhcpcd.xml

    rab3ae35a r3bdc4eb  
    9292  </sect2>
    9393
    94   <sect2 role="installation">
    95     <title>Installation of dhcpcd</title>
    96 
    97     <para>
    98       Recent releases of <application>dhcpcd</application> implement privilege
    99       separation. Additional installation steps are necessary to set up
    100       the proper environment, which are performed by issuing the following
    101       commands as the <systemitem class="username">root</systemitem> user:
     94  <sect2 id='dhcpcd-privsep'>
     95    <title>Privilege separation</title>
     96
     97    <para>
     98      Recent releases of <application>dhcpcd</application> optionally support
     99      privilege separation. As the practical security benefits of this are
     100      unclear for a program like <application>dhcpcd</application> and the
     101      setup is more complicated, the book currently defaults to disable it.
     102    </para>
     103    <para>
     104      If you however would like to use privilege separation, additional
     105      installation steps are necessary to set up the proper environment. Issue
     106      the following commands as the
     107      <systemitem class="username">root</systemitem> user:
    102108    </para>
    103109
     
    112118chown    -v dhcpcd:dhcpcd /var/lib/dhcpcd </userinput></screen>
    113119
     120  </sect2>
     121
     122  <sect2 role="installation">
     123    <title>Installation of dhcpcd</title>
     124
    114125    <para>Fix a runtime error caused by a change in glibc-2.36:</para>
    115126
     
    118129
    119130    <para>
    120       Install <application>dhcpcd</application> by running the following
    121       commands:
     131      Build <application>dhcpcd</application> without privilege separation
     132      by running the following command:
     133    </para>
     134
     135<screen><userinput>./configure --prefix=/usr                \
     136            --sysconfdir=/etc            \
     137            --libexecdir=/usr/lib/dhcpcd \
     138            --dbdir=/var/lib/dhcpcd      \
     139            --runstatedir=/run           \
     140            --disable-privsep         &amp;&amp;
     141make</userinput></screen>
     142
     143    <para>
     144      Build <application>dhcpcd</application> with privilege separation
     145      by running the following commands:
    122146    </para>
    123147
     
    171195      <filename class="directory">/var/run</filename> is a symbolic
    172196      link to <filename class="directory">/run</filename>.
     197    </para>
     198
     199    <para>
     200      <option>--with-hook=...</option>: You can optionally install more hooks,
     201      for example to install some configuration files such as
     202      <filename>ntp.conf</filename>. The set of hooks is in the
     203      <filename class="directory">dhcpcd-hooks</filename> directory in the
     204      build tree.
     205    </para>
     206
     207    <para>
     208      <parameter>--disable-privsep</parameter>: Do not use privileg separation,
     209      which is the default.
     210    </para>
     211
     212    <para>
     213      <parameter>--privsepuser=dhcpcd</parameter>: Use this unpriviled user
     214      in a privilege separation setup.
    173215    </para>
    174216
  • networking/netlibs/curl.xml

    rab3ae35a r3bdc4eb  
    77  <!ENTITY curl-download-http "https://curl.se/download/curl-&curl-version;.tar.xz">
    88  <!ENTITY curl-download-ftp  " ">
    9   <!ENTITY curl-md5sum        "19a2165f37941a6f412afc924e750568">
     9  <!ENTITY curl-md5sum        "0b0f5de173afd303229e5272689578d7">
    1010  <!ENTITY curl-size          "2.4 MB">
    1111  <!ENTITY curl-buildsize     "140 MB (add 23 MB for tests)">
     
    173173    <para>
    174174       To run the test suite, issue: <command>make test</command>.
    175        Four tests, 1139, 1140, 1173, and 1177, are known to fail due to
    176        missing executables from the optional dependencies.
     175       <!--Four tests, 1139, 1140, 1173, and 1177, are known to fail due to
     176       missing executables from the optional dependencies.-->
    177177       If Samba is installed, the related tests will output a message
    178178       duplicated many times complaining the Python module impacket (not a
    179        part of BLFS) is missing and be skipped.  If libssh2 is installed
    180        and the optional <option>--enable-ssh2</option> is used, test 1459
    181        will fail.
     179       part of BLFS) is missing and be skipped.<!-- If libssh2 is installed
     180       and the optional <option>- -enable-ssh2</option> is used, test 1459
     181       will fail.-->
    182182    </para>
    183183<!-- Two (of 857) tests
     
    354354TESTDONE: 1528 tests were considered during 2041 seconds.
    355355TESTDONE: 1326 tests out of 1326 reported OK: 100%
     356
     357[renodr] - Test results for 7.87.0 (2022-12-30)
     358TESTDONE: 1559 tests were considered during 2112 seconds.
     359TESTDONE: 1342 tests out of 1342 reported OK: 100%
     360libssh2 installed and enabled
    356361-->
    357362
  • networking/netlibs/glib-networking.xml

    rab3ae35a r3bdc4eb  
    1010<!--  <!ENTITY glib-networking-download-ftp
    1111    "&gnome-download-ftp;/glib-networking/2.66/glib-networking-&glib-networking-version;.tar.xz"> -->
    12   <!ENTITY glib-networking-md5sum        "e07fcbbb26977ffc36fec371a0d22371">
    13   <!ENTITY glib-networking-size          "260 KB">
    14   <!ENTITY glib-networking-buildsize     "8.0 MB (with tests)">
     12  <!ENTITY glib-networking-md5sum        "7fc6ca153af0833fdf5c65044a3f7c42">
     13  <!ENTITY glib-networking-size          "272 KB">
     14  <!ENTITY glib-networking-buildsize     "8.9 MB (with tests)">
    1515  <!ENTITY glib-networking-time          "0.1 SBU (with tests)">
    1616]>
  • networking/netlibs/libmnl.xml

    rab3ae35a r3bdc4eb  
    2828    <para>
    2929      The <application>libmnl</application> library provides a minimalistic
    30       user-space library oriented to Netlink developers. There are a lot of
    31       common tasks in parsing, validating, constructing of both the Netlink
     30      userspace library oriented to Netlink developers. There are a lot of
     31      common tasks in the parsing, validating, and constructing of both the Netlink
    3232      header and TLVs that are repetitive and easy to get wrong. This library
    33       aims to provide simple helpers that allows you to re-use code and to
     33      aims to provide simple helpers that allow you to re-use code and to
    3434      avoid re-inventing the wheel.
    3535    </para>
  • networking/netlibs/libnma.xml

    rab3ae35a r3bdc4eb  
    77  <!ENTITY libnma-download-http "&gnome-download-http;/libnma/1.10/libnma-&libnma-version;.tar.xz">
    88  <!ENTITY libnma-download-ftp  "&gnome-download-ftp;/libnma/1.10/libnma-&libnma-version;.tar.xz">
    9   <!ENTITY libnma-md5sum        "d4503a9a708b2cbd949a3335a9f10d47">
    10   <!ENTITY libnma-size          "1.3 MB">
    11   <!ENTITY libnma-buildsize     "24 MB">
    12   <!ENTITY libnma-time          "0.3 SBU (with tests)">
     9  <!ENTITY libnma-md5sum        "71c7ce674fea1fae8f1368a7fcb6ff43">
     10  <!ENTITY libnma-size          "688 KB">
     11  <!ENTITY libnma-buildsize     "15 MB">
     12  <!ENTITY libnma-time          "0.1 SBU (Using parallism=4; with test)">
    1313]>
    1414
  • networking/netlibs/libpcap.xml

    rab3ae35a r3bdc4eb  
    77  <!ENTITY libpcap-download-http "https://www.tcpdump.org/release/libpcap-&libpcap-version;.tar.gz">
    88  <!ENTITY libpcap-download-ftp  " ">
    9   <!ENTITY libpcap-md5sum        "28e17495004036567c2cc884b51eba45">
    10   <!ENTITY libpcap-size          "916 KB">
    11   <!ENTITY libpcap-buildsize     "9.7 MB">
     9  <!ENTITY libpcap-md5sum        "9f27d8e5595fb14e6bc8151ef6f5610b">
     10  <!ENTITY libpcap-size          "932 KB">
     11  <!ENTITY libpcap-buildsize     "9.9 MB">
    1212  <!ENTITY libpcap-time          "less than 0.1 SBU">
    1313]>
  • networking/netlibs/libpsl.xml

    rab3ae35a r3bdc4eb  
    77  <!ENTITY libpsl-download-http "https://github.com/rockdaboot/libpsl/releases/download/&libpsl-version;/libpsl-&libpsl-version;.tar.gz">
    88  <!ENTITY libpsl-download-ftp  " ">
    9   <!ENTITY libpsl-md5sum        "ad40b970dcb5117d559b62a1e0d8d827">
    10   <!ENTITY libpsl-size          "8.8 MB">
    11   <!ENTITY libpsl-buildsize     "54 MB">
    12   <!ENTITY libpsl-time          "0.1 SBU (including tests)">
     9  <!ENTITY libpsl-md5sum        "2864d3eb744b378d68f5c4da25603459">
     10  <!ENTITY libpsl-size          "7.2 MB">
     11  <!ENTITY libpsl-buildsize     "51 MB">
     12  <!ENTITY libpsl-time          "less than 0.1 SBU (including tests)">
    1313]>
    1414
     
    9494    </para>
    9595
    96 <screen><userinput>sed -i 's/env python/&amp;3/' src/psl-make-dafsa &amp;&amp;
    97 ./configure --prefix=/usr --disable-static       &amp;&amp;
     96<screen><userinput>sed -i 's/env python/&amp;3/' src/psl-make-dafsa              &amp;&amp;
     97./configure --prefix=/usr --disable-static PYTHON=python3 &amp;&amp;
    9898make</userinput></screen>
    9999
     
    114114    <para>
    115115      <command>sed -i ...</command>: This command forces the use of
    116       <application>Python 3</application> in an utility even if
    117       the outdated <application>Python 2</application> is installed.
     116      <application>Python 3</application> in an utility.
    118117    </para>
    119118
  • networking/netlibs/libsoup.xml

    rab3ae35a r3bdc4eb  
    133133<!--
    134134    <para>
    135       First, fix a problem in the testsuite caused by
     135      First, fix a problem in the test suite caused by
    136136      <xref role="nodep" linkend="glib-networking"/>:
    137137    </para>
  • networking/netlibs/libsoup3.xml

    rab3ae35a r3bdc4eb  
    99  <!ENTITY libsoup3-download-ftp
    1010           "&gnome-download-ftp;/libsoup/&libsoup3-minor;/libsoup-&libsoup3-version;.tar.xz">
    11   <!ENTITY libsoup3-md5sum        "312a456caf0526bcb8d8b338a3ebb2ed">
     11  <!ENTITY libsoup3-md5sum        "33902089d52f862d6b39680dd4c4e3aa">
    1212  <!ENTITY libsoup3-size          "1.5 MB">
    13   <!ENTITY libsoup3-buildsize     "19 MB (with tests)">
     13  <!ENTITY libsoup3-buildsize     "24 MB (with tests)">
    1414  <!ENTITY libsoup3-time          "0.3 SBU (Using parallelism=4; with tests)">
    1515]>
     
    9595      <xref linkend="sysprof"/> (for profiling),
    9696      <xref linkend="mitkrb"/> (required to run the test suite),
    97       <xref linkend="gtk-doc"/>,
     97      <!--<xref linkend="gtk-doc"/>,-->
    9898         <!-- It seems that XMLRPC is part of PHP 5.4.10 -->
    9999      <xref linkend="php"/> compiled with XMLRPC-EPI
    100       support (only used for the XMLRPC regression tests), and
    101       <xref linkend="samba"/> (ntlm_auth is required to run the test suite)
     100      support (only used for the XMLRPC regression tests),
     101      <xref linkend="samba"/> (ntlm_auth is required to run the test suite), and
     102      <ulink url="&gi-docgen-url;">gi-docgen</ulink>
    102103    </para>
    103104
     
    118119cd    build &amp;&amp;
    119120
    120 meson --prefix=/usr       \
    121       --buildtype=release \
    122       -Dvapi=enabled      \
    123       -Dgssapi=disabled   \
    124       -Dsysprof=disabled  \
    125       ..                  &amp;&amp;
     121meson --prefix=/usr          \
     122      --buildtype=release    \
     123      -Dvapi=enabled         \
     124      -Dgssapi=disabled      \
     125      -Dsysprof=disabled     \
     126      --wrap-mode=nofallback \
     127      ..                     &amp;&amp;
    126128ninja</userinput></screen>
    127129
     
    143145    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
    144146      href="../../xincludes/meson-buildtype-release.xml"/>
     147
     148    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
     149      href="../../xincludes/meson-wrap-nofallback.xml"/>
    145150
    146151    <para>
     
    151156
    152157    <para>
    153       <option>-Ddoc=enabled</option>: Use this option if you want to build
    154       the documentation. Note that you must have <xref linkend="gtk-doc"/> installed.
     158      <option>-Ddocs=enabled</option>: Use this option if you want to build
     159      the documentation. Note that you must have
     160      <ulink url="&gi-docgen-url;">gi-docgen</ulink> installed.
    155161    </para>
    156162
     
    185191        <seg>
    186192          /usr/include/libsoup-3.0,
    187           /usr/share/gtk-doc/html/libsoup-3.0 (only installed if -Ddoc=true is passed)
     193          /usr/share/gtk-doc/html/libsoup-3.0 (only installed if -Ddocs=enabled is passed)
    188194        </seg>
    189195      </seglistitem>
  • networking/netlibs/netlibs.xml

    rab3ae35a r3bdc4eb  
    3333  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="libpsl.xml"/>
    3434  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="libndp.xml"/>
     35  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="libslirp.xml"/>
    3536  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="libsoup.xml"/>
    3637  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="libsoup3.xml"/>
  • networking/netlibs/nghttp2.xml

    rab3ae35a r3bdc4eb  
    8484      <!--<xref linkend="python2"/>,--> <!--required for the python bindings)-->
    8585      <ulink url="http://cunit.sourceforge.net/">CUnit</ulink> (required for
    86       the testsuite),
     86      the test suite),
    8787<!--      <ulink url="http://www.digip.org/jansson/">Jansson</ulink>, <!- -required
    8888      to build the HPACK tools-->
  • networking/netlibs/serf.xml

    rab3ae35a r3bdc4eb  
    131131
    132132<!-- With Python 3, check.py is broken. It could be fixed, but since the
    133      testsuite hangs anyway...
     133     test suite hangs anyway...
    134134    <para>
    135135      To test the results, issue: <command>scons check</command>.
     
    139139
    140140    <para>
    141       This package does not come with a functional testsuite.
     141      This package does not come with a functional test suite.
    142142    </para>
    143143
  • networking/netprogs/samba.xml

    rab3ae35a r3bdc4eb  
    77  <!ENTITY samba-download-http "https://download.samba.org/pub/samba/stable/samba-&samba-version;.tar.gz">
    88  <!ENTITY samba-download-ftp  " ">
    9   <!ENTITY samba-md5sum        "1191b93d077ce40a2a48956160f07ab4">
     9  <!ENTITY samba-md5sum        "19fda231295a8c5f93ca8c75e695abbf">
    1010  <!ENTITY samba-size          "29 MB">
    11   <!ENTITY samba-buildsize     "665 MB (add 36 MB for quicktest)">
     11  <!ENTITY samba-buildsize     "627 MB (add 36 MB for quicktest)">
    1212  <!ENTITY samba-time          "2.4 SBU (using parallelism=4; add 0.6 SBU for quicktest)">
    1313]>
     
    109109      <xref linkend="gdb"/>,
    110110      <xref linkend="git"/>,
    111       <xref linkend="gnupg2"/> (required for ADS and testsuite),
     111      <xref linkend="gnupg2"/> (required for ADS and test suite),
    112112      <xref linkend="libaio"/>,
    113113      <xref linkend="libarchive"/>,
     
    186186./pyvenv/bin/pip3 install cryptography pyasn1 iso8601</userinput></screen>
    187187
    188     <!-- To editors: with the following "fix", the testsuite reports "4
     188    <!-- To editors: with the following "fix", the test suite reports "4
    189189         unexpected passes" for me.  If those tests still fail on some
    190190         systems, uncomment *and* change "knownfail" to "skip" to silence
     
    12981298        <listitem>
    12991299          <para>
    1300             is  a testsuite that runs several tests against a SMB server
     1300            is  a test suite that runs several tests against a SMB server
    13011301          </para>
    13021302          <indexterm zone="samba smbtorture">
  • networking/netprogs/wireless-tools.xml

    rab3ae35a r3bdc4eb  
    2929      The Wireless Extension (WE) is a generic API in the Linux kernel allowing
    3030      a driver to expose configuration and statistics specific to common
    31       Wireless LANs to user space. A single set of tools can support all the
    32       variations of Wireless LANs, regardless of their type as long as the
     31      Wireless LANs to userspace. A single set of tools can support all the
     32      variations of Wireless LANs, regardless of their type, as long as the
    3333      driver supports Wireless Extensions. WE parameters may also be changed on
    3434      the fly without restarting the driver (or Linux).
  • networking/netutils/bind-utils.xml

    rab3ae35a r3bdc4eb  
    77  <!ENTITY bind-download-http   "https://ftp.isc.org/isc/bind9/&bind-version;/bind-&bind-version;.tar.xz">
    88  <!ENTITY bind-download-ftp    "ftp://ftp.isc.org/isc/bind9/&bind-version;/bind-&bind-version;.tar.xz">
    9   <!ENTITY bind-md5sum          "542ba7a0ae0cb2de151186bd7de4e9cb">
     9  <!ENTITY bind-md5sum          "6586d9c376e7ee9674767e1d79d63382">
    1010  <!ENTITY bind-size            "5.0 MB">
    1111  <!ENTITY bind-utils-buildsize "102 MB">
  • networking/netutils/networkmanager.xml

    rab3ae35a r3bdc4eb  
    99  <!ENTITY NetworkManager-download-ftp
    1010"&gnome-download-ftp;/NetworkManager/&NetworkManager-minor;/NetworkManager-&NetworkManager-version;.tar.xz">
    11   <!ENTITY NetworkManager-md5sum        "4ee43fe4068b058f4c2f1f0ddbedc24f">
    12   <!ENTITY NetworkManager-size          "6.3 MB">
    13   <!ENTITY NetworkManager-buildsize     "244 MB (with tests)">
    14   <!ENTITY NetworkManager-time          "0.8 SBU (with tests, using parallelism=4)">
     11  <!ENTITY NetworkManager-md5sum        "46be005b3cae8c002339ada4c9f9f3ea">
     12  <!ENTITY NetworkManager-size          "6.2 MB">
     13  <!ENTITY NetworkManager-buildsize     "275 MB (with tests and documentation)">
     14  <!ENTITY NetworkManager-time          "0.9 SBU (with tests, using parallelism=4)">
    1515]>
    1616
     
    335335
    336336    <para>
    337   <!--<parameter>-Djson_validation=false</parameter>, no longer recognized -->
    338337      <parameter>-Dlibpsl=false</parameter> and
    339338      <parameter>-Dovs=false</parameter>: These switches disable building with the
     
    584583          /var/lib/NetworkManager
    585584        </seg>
    586         <!-- A lot of libraries were removed here. We should verify compatibility.
    587         RESTORED AT 1.18.2 -renodr -->
    588585      </seglistitem>
    589586    </segmentedlist>
  • networking/netutils/traceroute.xml

    rab3ae35a r3bdc4eb  
    77  <!ENTITY traceroute-download-http "&sourceforge-dl;/traceroute/traceroute-&traceroute-version;.tar.gz">
    88  <!ENTITY traceroute-download-ftp  " ">
    9   <!ENTITY traceroute-md5sum        "84d329d67abc3fb83fc8cb12aeaddaba">
     9  <!ENTITY traceroute-md5sum        "eac481aa4cb99453481064c01321e21c">
    1010  <!ENTITY traceroute-size          "72 KB">
    11   <!ENTITY traceroute-buildsize     "588 KB">
     11  <!ENTITY traceroute-buildsize     "580 KB">
    1212  <!ENTITY traceroute-time          "less than 0.1 SBU">
    1313]>
Note: See TracChangeset for help on using the changeset viewer.