Changeset f0740ab


Ignore:
Timestamp:
10/22/2011 02:24:23 PM (13 years ago)
Author:
Bruce Dubbs <bdubbs@…>
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:
77ac0f23
Parents:
692111b
Message:

Update to dhcpcd-5.2.12

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

Files:
3 edited

Legend:

Unmodified
Added
Removed
  • basicnet/connect/dhcpcd.xml

    r692111b rf0740ab  
    77  <!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        "b9f1ccdaaf23ffea7dd6fd89e932f4ed">
    10   <!ENTITY dhcpcd-size          "51 KB">
    11   <!ENTITY dhcpcd-buildsize     "0.3 MB">
     9  <!ENTITY dhcpcd-md5sum        "832e3cd6bfcaff64e9476e0ff7849e8f">
     10  <!ENTITY dhcpcd-size          "76 KB">
     11  <!ENTITY dhcpcd-buildsize     "0.9 MB">
    1212  <!ENTITY dhcpcd-time          "less than 0.1 SBU">
    1313]>
     
    6868    commands:</para>
    6969
    70 <screen><userinput>make PREFIX= \
    71       LIBEXECDIR=/lib/dhcpcd \
    72       DBDIR=/var/lib/dhcpcd \
    73       SYSCONFDIR=/etc/dhcpcd</userinput></screen>
     70<screen><userinput>./configure --libexecdir=/lib/dhcpcd \
     71            --dbdir=/run            \
     72            --sysconfdir=/etc &amp;&amp;
     73make</userinput></screen>
    7474
    7575    <para>This package does not come with a test suite.</para>
     
    7777    <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
    7878
    79 <screen><userinput>make PREFIX= \
    80       LIBEXECDIR=/lib/dhcpcd \
    81       DBDIR=/var/lib/dhcpcd \
    82       SYSCONFDIR=/etc/dhcpcd install</userinput></screen>
     79<screen><userinput>make install</userinput></screen>
    8380
    8481    <para>By default, a plain text lease info file isn't created but the
     
    8784      commands as the <systemitem class="username">root</systemitem> user:</para>
    8885
    89 <screen><userinput>sed -i "s;/var/lib/dhcpcd-;/var/lib/dhcpcd/dhcpcd-;g" \
    90        dhcpcd-hooks/50-dhcpcd-compat &amp;&amp;
     86<screen><userinput>sed -i "s;/var/lib;/run;g" dhcpcd-hooks/50-dhcpcd-compat &amp;&amp;
    9187install -v -m 644 dhcpcd-hooks/50-dhcpcd-compat /lib/dhcpcd/dhcpcd-hooks/</userinput></screen>
    9288
     
    112108      <para>To configure <command>dhcpcd</command>, you need to first install
    113109      the network service script,
    114       <filename>/etc/sysconfig/network-devices/services/dhcpcd</filename>
     110      <filename>/lib/services/dhcpcd</filename>
    115111      included in the <xref linkend="bootscripts"/> package
    116112      (as user <systemitem class="username">root</systemitem>):</para>
     
    124120      <para>Whenever <command>dhcpcd</command> configures or shuts down
    125121      a network interface, it executes hook scripts. For more details
    126       about those scripts, see the <command>dhcpcd-run-hooks</command> as
    127       well as the <command>dhcpcd</command> man page.</para>
     122      about those scripts, see the <command>dhcpcd-run-hooks</command> and
     123      <command>dhcpcd</command> man pages.</para>
    128124
    129125      <para id="dhcpcd-config2">Finally, as the <systemitem
    130126      class="username">root</systemitem> user create the
    131       <filename>/etc/sysconfig/network-devices/ifconfig.eth0/dhcpcd</filename>
     127      <filename>/etc/sysconfig/ifconfig.eth0</filename>
    132128      configuration file using the following commands.  Adjust appropriately
    133129      for additional interfaces:</para>
    134130
    135131      <indexterm zone="dhcpcd dhcpcd-config2">
    136         <primary sortas="e-etc-sysconfig-dhcpcd">/etc/sysconfig/.../dhcpcd</primary>
    137       </indexterm>
    138 
    139 <screen role='root'><userinput>install -v -d /etc/sysconfig/network-devices/ifconfig.eth0 &amp;&amp;
    140 cat &gt; /etc/sysconfig/network-devices/ifconfig.eth0/dhcpcd &lt;&lt; "EOF"
     132        <primary sortas="e-etc-sysconfig-dhcpcd">/etc/sysconfig/ifconfig.eth0 (dhcpcd)</primary>
     133      </indexterm>
     134
     135<screen role='root'><userinput>cat &gt; /etc/sysconfig/ifconfig.eth0 &lt;&lt; "EOF"
    141136<literal>ONBOOT="yes"
     137IFACE="eth0"
    142138SERVICE="dhcpcd"
    143139DHCP_START="<replaceable>&lt;insert appropriate start options here&gt;</replaceable>"
    144 DHCP_STOP="-k <replaceable>&lt;insert additional stop options here&gt;</replaceable>"
    145 
    146 # Set PRINTIP="yes" to have the script print
    147 # the DHCP assigned IP address
    148 PRINTIP="no"
    149 
    150 # Set PRINTALL="yes" to print the DHCP assigned values for
    151 # IP, SM, DG, and 1st NS. This requires PRINTIP="yes".
    152 PRINTALL="no"</literal>
     140DHCP_STOP="-k <replaceable>&lt;insert additional stop options here&gt;</replaceable>"</literal>
    153141EOF</userinput></screen>
    154142
     
    158146
    159147      <note>
    160         <para id="dhcpcd-config3">The default behavior of <command>dhcpcd</command>
    161         is to overwrite <filename>/etc/resolv.conf</filename>. All modifications on
    162         system configuration files like <filename>/etc/resolv.conf</filename>,
    163         <filename>/etc/yp.conf</filename> and <filename>/etc/ntp.conf</filename> are
    164         done by hooks which are stored in <filename class="directory">/lib/dhcpcd/dhcpcd-hooks</filename>.
    165         Setup <command>dhcpcd</command> by removing or adding hooks from/to that directory.
    166         The execution of hooks can be disabled by using the -C command line option.</para>
    167         <para>Review the <command>dhcpcd</command> man page for switches to add to the
    168         <envar>DHCP_START</envar> value.</para>
     148
     149        <para id="dhcpcd-config3">The default behavior of
     150        <command>dhcpcd</command> sets the hostname and mtu settings.  It also
     151        overwrites <filename>/etc/resolv.conf</filename> and
     152        <filename>/etc/ntp.conf</filename>.
     153       
     154        These modifications to system files and settings on system
     155        configuration files are done by hooks which are stored in <filename
     156        class="directory">/lib/dhcpcd/dhcpcd-hooks</filename>.
     157       
     158        Setup <command>dhcpcd</command> by removing or adding hooks from/to
     159        that directory.  The execution of hooks can be disabled by using the
     160        <option>--nohook</option> (<option>-C</option>) command line option or
     161        by the <option>nohook</option> option in the
     162        <filename>/etc/dhcpcd.conf</filename> file.</para>
     163       
     164        <para>Review the <command>dhcpcd</command> man page for switches to add
     165        to the <envar>DHCP_START</envar> value.</para>
     166       
    169167      </note>
    170168
     
    172170        <primary sortas="e-etc-resolv.conf">/etc/resolv.conf</primary>
    173171      </indexterm>
    174 <!--  These are not modified by default with version 4 of dhcpcd
    175       <indexterm zone="dhcpcd dhcpcd-config3">
    176         <primary sortas="e-etc-yp.conf">/etc/yp.conf</primary>
    177       </indexterm>
    178 
    179       <indexterm zone="dhcpcd dhcpcd-config3">
    180         <primary sortas="e-etc-ntp.conf">/etc/ntp.conf</primary>
    181       </indexterm>
    182 -->
    183172    </sect3>
    184173
     
    196185        <seg>dhcpcd</seg>
    197186        <seg>None</seg>
    198         <seg>/lib/dhcpcd, /etc/dhcpcd</seg>
     187        <seg>/lib/dhcpcd</seg>
    199188      </seglistitem>
    200189    </segmentedlist>
  • general.ent

    r692111b rf0740ab  
    44-->
    55
    6 <!ENTITY day          "21">                   <!-- Always 2 digits -->
     6<!ENTITY day          "22">                   <!-- Always 2 digits -->
    77<!ENTITY month        "10">                   <!-- Always 2 digits -->
    88<!ENTITY year         "2011">
     
    1010<!ENTITY copyholder   "The BLFS Development Team">
    1111<!ENTITY version      "svn-&year;&month;&day;">
    12 <!ENTITY releasedate  "September &day;st, &year;">
     12<!ENTITY releasedate  "September &day;nd, &year;">
    1313<!ENTITY pubdate      "&year;-&month;-&day;"> <!-- metadata req. by TLDP -->
    1414<!ENTITY blfs-version "svn">                  <!-- svn|[release #] -->
     
    5656<!-- End LFS versions -->
    5757
    58 <!ENTITY blfs-bootscripts-version     "20111021">
     58<!ENTITY blfs-bootscripts-version     "20111022">
    5959<!ENTITY blfs-bootscripts-download    "&downloads-root;/blfs-bootscripts-&blfs-bootscripts-version;.tar.bz2">
    6060
     
    413413<!-- Chapter 14 -->
    414414<!ENTITY dhcp-version                 "3.0.6">
    415 <!ENTITY dhcpcd-version               "4.0.11">
     415<!ENTITY dhcpcd-version               "5.2.12">
    416416
    417417<!-- Chapter 15 -->
  • introduction/welcome/changelog.xml

    r692111b rf0740ab  
    4141
    4242-->
     43
     44    <listitem>
     45      <para>October 22nd, 2011</para>
     46      <itemizedlist>
     47        <listitem>
     48          <para>[bdubbs] - Updated dhcpcd-5.2.12.</para>
     49        </listitem>
     50      </itemizedlist>
     51    </listitem>
    4352
    4453    <listitem>
Note: See TracChangeset for help on using the changeset viewer.