Changeset fefa337


Ignore:
Timestamp:
12/21/2008 04:26:03 PM (15 years ago)
Author:
Thomas Trepl <thomas@…>
Branches:
10.0, 10.1, 11.0, 11.1, 11.2, 11.3, 12.0, 12.1, 7.10, 7.4, 7.5, 7.6, 7.6-blfs, 7.6-systemd, 7.7, 7.8, 7.9, 8.0, 8.1, 8.2, 8.3, 8.4, 9.0, 9.1, basic, bdubbs/svn, elogind, gnome, kde5-13430, kde5-14269, kde5-14686, kea, ken/TL2024, ken/inkscape-core-mods, ken/tuningfonts, krejzi/svn, lazarus, lxqt, nosym, perl-modules, plabs/newcss, plabs/python-mods, python3.11, qt5new, rahul/power-profiles-daemon, renodr/vulkan-addition, systemd-11177, systemd-13485, trunk, upgradedb, xry111/intltool, xry111/llvm18, xry111/soup3, xry111/test-20220226, xry111/xf86-video-removal
Children:
77a5859
Parents:
81f2343
Message:

Updated to dhcpcd-4.0.4 (#2569)

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@7658 af4574ff-66df-0310-9fd7-8a98e5e911e0

Files:
3 edited

Legend:

Unmodified
Added
Removed
  • basicnet/connect/dhcpcd.xml

    r81f2343 rfefa337  
    55  %general-entities;
    66
    7   <!ENTITY dhcpcd-download-http "http://download.berlios.de/dhcpcd/dhcpcd-&dhcpcd-version;.tar.bz2">
     7  <!ENTITY dhcpcd-download-http "http://roy.marples.name/downloads/dhcpcd/dhcpcd-&dhcpcd-version;.tar.bz2">
    88  <!ENTITY dhcpcd-download-ftp  "ftp://ftp.osuosl.org/pub/gentoo/distfiles/dhcpcd-&dhcpcd-version;.tar.bz2">
    9   <!ENTITY dhcpcd-md5sum        "90d6df62d663bdea65d5905023377b39">
    10   <!ENTITY dhcpcd-size          "32.5 KB">
     9  <!ENTITY dhcpcd-md5sum        "f57a9614e592814485c47495c53e4c30">
     10  <!ENTITY dhcpcd-size          "50 KB">
    1111  <!ENTITY dhcpcd-buildsize     "0.3 MB">
    1212  <!ENTITY dhcpcd-time          "less than 0.1 SBU">
     
    6666
    6767    <para>Install <application>dhcpcd</application> by running the following
    68     commands:</para>
    69 
    70 <screen><userinput>make</userinput></screen>
    71 
    72     <para>This package does not come with a test suite.</para>
    73 
    74     <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
    75 
    76 <screen role="root"><userinput>make install</userinput></screen>
     68    commands as the <systemitem class="username">root</systemitem> user:</para>
     69
     70<screen><userinput>make PREFIX= \
     71         LIBEXECDIR=/lib/dhcpcd \
     72         DBDIR=/var/lib \
     73         SYSCONFDIR=/etc/dhcpcd install</userinput></screen>
     74
     75    <para>By default, a plain text lease info file isn't created but the
     76      <application>dhcpcd</application> provides a hook which can be used for creating
     77      such a file. Install the hook by running the following
     78      commands as the <systemitem class="username">root</systemitem> user:</para>
     79
     80<screen><userinput>sed -i "s;/var/lib/dhcpcd-;/var/lib/dhcpcd/dhcpcd-;g" \
     81       /lib/dhcpcd/dhcpcd-hooks/50-dhcpcd-compat &amp;&amp;
     82make LIBEXECDIR=/lib/dhcpcd \
     83     HOOKSCRIPTS=50-dhcpcd-compat install</userinput></screen>
    7784
    7885  </sect2>
     
    8491      <title>Config Files</title>
    8592
    86       <para><filename>/etc/dhcpcd.sh</filename></para>
     93      <para><filename>/etc/dhcpcd/dhcpcd.conf</filename></para>
    8794
    8895      <indexterm zone="dhcpcd dhcpcd-config">
    89         <primary sortas="e-etc-dhcpcd-sh">/etc/dhcpcd.sh</primary>
     96        <primary sortas="e-etc-dhcpcd-dhcpcd-conf">/etc/dhcpcd/dhcpcd.conf</primary>
    9097      </indexterm>
    9198
     
    108115
    109116      <para>Whenever <command>dhcpcd</command> configures or shuts down
    110       a network interface, it executes the script
    111       <filename>/etc/dhcpcd.sh</filename>. This script can be
    112       customized to perform additional actions for the network interface.
    113       See the man page of <command>dhcpcd</command> for more details. An
    114       example file is shipped in the tarball which can be used to send
    115       the interface details to syslog.</para>
     117      a network interface, it executes hook scripts. For more details
     118      about those scripts, see the <command>dhcpcd-run-hooks</command> as
     119      well as the <command>dhcpcd</command> man page.</para>
    116120
    117121      <para id="dhcpcd-config2">Finally, as the <systemitem
     
    146150
    147151      <note>
    148         <para id="dhcpcd-config3">The default behavior of
    149         <command>dhcpcd</command> is to overwrite (after making backup copies)
    150         <filename>/etc/resolv.conf</filename>, <filename>/etc/yp.conf</filename> and
    151         <filename>/etc/ntp.conf</filename> with new files containing information from
    152         the DHCP server. If this is undesirable, review the
    153         <command>dhcpcd</command> man page for switches to add to the
     152        <para id="dhcpcd-config3">The default behavior of <command>dhcpcd</command>
     153        is to overwrite <filename>/etc/resolv.conf</filename>. All modifications on
     154        system configuration files like <filename>/etc/resolv.conf</filename>,
     155        <filename>/etc/yp.conf</filename> and <filename>/etc/ntp.conf</filename> are
     156        done by hooks which are stored in <filename>/lib/dhcpcd/dhcpcd-hooks</filename>.
     157        Setup <command>dhcpcd</command> by removing or adding hooks from/to that directory.
     158        The execution of hooks can be disabled by using the -C command line option.
     159        Rewiew the <command>dhcpcd</command> man page for switches to add to the
    154160        <envar>DHCP_START</envar> value.</para>
    155161      </note>
     
    158164        <primary sortas="e-etc-resolv.conf">/etc/resolv.conf</primary>
    159165      </indexterm>
    160 
     166<!--  These are not modified by default with version 4 of dhcpcd
    161167      <indexterm zone="dhcpcd dhcpcd-config3">
    162168        <primary sortas="e-etc-yp.conf">/etc/yp.conf</primary>
     
    166172        <primary sortas="e-etc-ntp.conf">/etc/ntp.conf</primary>
    167173      </indexterm>
    168 
     174-->
    169175    </sect3>
    170176
  • general.ent

    r81f2343 rfefa337  
    44-->
    55
    6 <!ENTITY day          "20">                   <!-- Always 2 digits -->
     6<!ENTITY day          "21">                   <!-- Always 2 digits -->
    77<!ENTITY month        "12">                   <!-- Always 2 digits -->
    88<!ENTITY year         "2008">
     
    322322<!-- Chapter 14 -->
    323323<!ENTITY dhcp-version                 "3.0.6">
    324 <!ENTITY dhcpcd-version               "3.0.19">
     324<!ENTITY dhcpcd-version               "4.0.4">
    325325
    326326<!-- Chapter 15 -->
  • introduction/welcome/changelog.xml

    r81f2343 rfefa337  
    4242-->
    4343    <listitem>
     44      <para>December 21th, 2008</para>
     45      <itemizedlist>
     46        <listitem>
     47          <para>[thomas] - Updated to dhcpcd-4.0.4 (#2569).</para>
     48        </listitem>
     49      </itemizedlist>
     50    </listitem>
     51
     52    <listitem>
    4453      <para>December 20th, 2008</para>
    4554      <itemizedlist>
Note: See TracChangeset for help on using the changeset viewer.