Updated to dhcpcd-2.0.8. Changed install to use conf file /etc/dhcpc/dhcpcd.exe.

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@6315 af4574ff-66df-0310-9fd7-8a98e5e911e0
This commit is contained in:
Dan Nichilson 2006-09-25 01:27:22 +00:00
parent 95141b0ad2
commit 232e46a59f
3 changed files with 38 additions and 45 deletions

View File

@ -4,23 +4,11 @@
<!ENTITY % general-entities SYSTEM "../../general.ent">
%general-entities;
<!-- Inserted as a reminder to do this. The mention of a test suite
is usually right before the root user installation commands. Please
delete these 12 (including one blank) lines after you are done.-->
<!-- Use one of the two mentions below about a test suite,
delete the line that is not applicable. Of course, if the
test suite uses syntax other than "make check", revise the
line to reflect the actual syntax to run the test suite -->
<!-- <para>This package does not come with a test suite.</para> -->
<!-- <para>To test the results, issue: <command>make check</command>.</para> -->
<!ENTITY dhcpcd-download-http "http://ftp.osuosl.org/pub/gentoo/distfiles/dhcpcd-&dhcpcd-version;.tar.bz2">
<!ENTITY dhcpcd-download-ftp "ftp://ftp.fu-berlin.de/unix/linux/mirrors/gentoo/distfiles/dhcpcd-&dhcpcd-version;.tar.bz2">
<!ENTITY dhcpcd-md5sum "e2e5cd9b8824c7b1d37a7c441b83515f">
<!ENTITY dhcpcd-size "128 KB">
<!ENTITY dhcpcd-buildsize "1.3 MB">
<!ENTITY dhcpcd-download-http "http://prdownload.berlios.de/dhcpcd/dhcpcd-&dhcpcd-version;.tar.bz2">
<!ENTITY dhcpcd-download-ftp "ftp://ftp.osuosl.org/pub/gentoo/distfiles/dhcpcd-&dhcpcd-version;.tar.bz2">
<!ENTITY dhcpcd-md5sum "ec91c33b6d9cb46a42f9564e573fd249">
<!ENTITY dhcpcd-size "123 KB">
<!ENTITY dhcpcd-buildsize "1.2 MB">
<!ENTITY dhcpcd-time "less than 0.1 SBU">
]>
@ -41,9 +29,10 @@
<sect2 role="package">
<title>Introduction to Dhcpcd</title>
<para>The <application>dhcpcd</application> package contains the
<command>dhcpcd</command> client. This is useful for connecting your computer
to a network which uses DHCP to assign network addresses.</para>
<para><application>dhcpcd</application>is an implementation of the
DHCP client specified in RFC2131. This is useful for connecting
your computer to a network which uses DHCP to assign network
addresses.</para>
<bridgehead renderas="sect3">Package Information</bridgehead>
<itemizedlist spacing="compact">
@ -67,16 +56,6 @@
</listitem>
</itemizedlist>
<!--
<bridgehead renderas="sect3">Additional Downloads</bridgehead>
<itemizedlist spacing='compact'>
<listitem>
<para>Required Patch:
<ulink url="&patch-root;/dhcpcd-&dhcpcd-version;-fhs-1.patch"/></para>
</listitem>
</itemizedlist>
-->
<para condition="html" role="usernotes">User Notes:
<ulink url="&blfs-wiki;/dhcpcd"/></para>
@ -88,13 +67,15 @@
<para>Install <application>dhcpcd</application> by running the following
commands:</para>
<screen><userinput>./configure --prefix="" --sysconfdir=/var/lib \
--mandir=/usr/share/man &amp;&amp;
<screen><userinput>./configure --prefix="" --mandir=/usr/share/man &amp;&amp;
make</userinput></screen>
<para>This package does not come with a test suite.</para>
<para>Now, as the <systemitem class="username">root</systemitem> user:</para>
<screen role="root"><userinput>make install</userinput></screen>
<screen role="root"><userinput>make install &amp;&amp;
chmod -v 754 /etc/dhcpc/dhcpcd.exe</userinput></screen>
</sect2>
@ -113,10 +94,6 @@ make</userinput></screen>
<filename class="directory">/usr/sbin</filename>. This command installs to
<filename class="directory">/sbin</filename>.</para>
<para><parameter>--sysconfdir=/var/lib</parameter>: This command installs
configuration and state files in the
<filename class="directory">/var/lib</filename> directory.</para>
</sect2>
<sect2 role="configuration">
@ -125,10 +102,10 @@ make</userinput></screen>
<sect3 id="dhcpcd-config">
<title>Config Files</title>
<para><filename>/var/lib/dhcpc/*</filename></para>
<para><filename>/etc/dhcpc/dhcpcd.exe</filename></para>
<indexterm zone="dhcpcd dhcpcd-config">
<primary sortas="e-var-lib-dhcpc">/var/lib/dhcpc/*</primary>
<primary sortas="e-etc-dhcpc">/etc/dhcpc/dhcpcd.exe</primary>
</indexterm>
</sect3>
@ -148,6 +125,12 @@ make</userinput></screen>
<screen role='root'><userinput>make install-service-dhcpcd</userinput></screen>
<para>Whenever <command>dhcpcd</command> configures or shuts down
a network interface, it executes the script
<filename>/etc/dhcpc/dhcpcd.exe</filename>. This script can be
customized to perform additional actions for the network interface.
See the man page of <command>dhcpcd</command> for more details.</para>
<para id="dhcpcd-config2">Finally, as the <systemitem
class="username">root</systemitem> user create the
<filename>/etc/sysconfig/network-devices/ifconfig.eth0/dhcpcd</filename>
@ -215,7 +198,7 @@ EOF</userinput></screen>
<seglistitem>
<seg>dhcpcd</seg>
<seg>None</seg>
<seg>/var/lib/dhcpc</seg>
<seg>/etc/dhcpc and /var/lib/dhcpc</seg>
</seglistitem>
</segmentedlist>
@ -227,9 +210,9 @@ EOF</userinput></screen>
<varlistentry id="dhcpcd-prog">
<term><command>dhcpcd</command></term>
<listitem>
<para>is an implementation of the DHCP client
specified in RFC2131 and RFC1541
(depending on which options are specified).</para>
<para>is an implementation of the DHCP client specified
in RFC2131 (when -r option is not specified) and RFC1541
(when -r option is specified).</para>
<indexterm zone="dhcpcd dhcpcd-prog">
<primary sortas="b-dhcpcd">dhcpcd</primary>
</indexterm>

View File

@ -266,7 +266,7 @@
<!-- Chapter 14 -->
<!ENTITY dhcp-version "3.0.4">
<!ENTITY dhcpcd-version "2.0.5">
<!ENTITY dhcpcd-version "2.0.8">
<!-- Chapter 15 -->
<!ENTITY pppoe-version "3.8">

View File

@ -41,12 +41,22 @@
-->
<listitem>
<para>September 25th, 2006</para>
<itemizedlist>
<listitem>
<para>[dnicholson] - Updated to dhcpcd-2.0.8. Changed the build
to execute the dhcpcd.exe configuration file.</para>
</listitem>
</itemizedlist>
</listitem>
<listitem>
<para>September 24th, 2006</para>
<itemizedlist>
<listitem>
<para>[djensen] - Updated to SeaMonkey-1.0.5. Added the optional
pango patch.</para>
pango patch.</para>
</listitem>
<listitem>
<para>[randy] - Added a patch to the Heimdal instructions to fix a