mirror of
https://github.com/Zeckmathederg/glfs.git
synced 2025-01-23 22:42:14 +08:00
Update to dhcp-4.2.3-P2.
Install needed dhclient script in instructions. git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@9355 af4574ff-66df-0310-9fd7-8a98e5e911e0
This commit is contained in:
parent
67106a3d61
commit
ac02266674
@ -456,7 +456,7 @@ $Date$
|
||||
<!-- Chapter 13 -->
|
||||
<!ENTITY ppp-version "2.4.5">
|
||||
<!ENTITY dhcpcd-version "5.2.12">
|
||||
<!ENTITY dhcp-version "4.2.3">
|
||||
<!ENTITY dhcp-version "4.2.3-P2">
|
||||
|
||||
<!-- Obsolete
|
||||
<!ENTITY wvdial-version "1.54.0">
|
||||
|
@ -44,6 +44,11 @@
|
||||
<listitem>
|
||||
<para>February 11th, 2012</para>
|
||||
<itemizedlist>
|
||||
<listitem>
|
||||
<para>[bdubbs] - Update to dhcp-4.2.3-P2. Fix instructions to
|
||||
install needed dhclient-script. fixes
|
||||
<ulink url="&blfs-ticket-root;3273">#3273</ulink>.</para>
|
||||
</listitem>
|
||||
<listitem>
|
||||
<para>[bdubbs] - Add a reference on maintaining a RAID system.</para>
|
||||
</listitem>
|
||||
|
@ -5,11 +5,11 @@
|
||||
%general-entities;
|
||||
<!-- isc have a weird way of offering the tarballs and without dots in version!
|
||||
FIXME - change hardcoded 423s in http url and version in ftp when upgrading -->
|
||||
<!ENTITY dhcp-download-http "http://www.isc.org/software/dhcp/423/download/dhcp-423targz?download=">
|
||||
<!ENTITY dhcp-download-ftp "ftp://ftp.isc.org/isc/dhcp/4.2.3/dhcp-&dhcp-version;.tar.gz">
|
||||
<!ENTITY dhcp-md5sum "a06649ec5336d284fc86a0232c0edd63">
|
||||
<!ENTITY dhcp-download-http " ">
|
||||
<!ENTITY dhcp-download-ftp "ftp://ftp.isc.org/isc/dhcp/&dhcp-version;/dhcp-&dhcp-version;.tar.gz">
|
||||
<!ENTITY dhcp-md5sum "14f57fd580d01633d0fad4809007a801">
|
||||
<!ENTITY dhcp-size "9.1 MB">
|
||||
<!ENTITY dhcp-buildsize "185 MB (client and server), 140MB client only, 172MB server only">
|
||||
<!ENTITY dhcp-buildsize "192 MB (client and server), 140MB client only, 172MB server only">
|
||||
<!ENTITY dhcp-time "0.7 SBU (client and server, or server), 0.6 SBU client only ">
|
||||
]>
|
||||
|
||||
@ -117,11 +117,11 @@
|
||||
|
||||
<screen><userinput>sed -i 's%\(^sbindir =\).*%\1 @prefix@@sbindir@%' server/Makefile.in &&
|
||||
./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \
|
||||
--sbindir=/sbin \
|
||||
--with-srv-lease-file=/var/state/dhcp/dhcpd.leases \
|
||||
--with-srv6-lease-file=/var/state/dhcp/dhcpd6.leases \
|
||||
--with-cli-lease-file=/var/state/dhclient.leases \
|
||||
--with-cli6-lease-file=/var/state/dhclient6.leases &&
|
||||
--sbindir=/sbin \
|
||||
--with-srv-lease-file=/var/state/dhcp/dhcpd.leases \
|
||||
--with-srv6-lease-file=/var/state/dhcp/dhcpd6.leases \
|
||||
--with-cli-lease-file=/var/state/dhclient.leases \
|
||||
--with-cli6-lease-file=/var/state/dhclient6.leases &&
|
||||
sed -i 's/-Werror//' {client,common,dst,omapip,relay,server,tests}/Makefile</userinput></screen>
|
||||
|
||||
<para>If you only wish to build the server, enter:</para>
|
||||
@ -137,7 +137,8 @@ sed -i 's/-Werror//' {client,common,dst,omapip,relay,server,tests}/Makefile</use
|
||||
|
||||
<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 &&
|
||||
install -v -m755 client/scripts/linux /sbin/dhclient-script</userinput></screen>
|
||||
|
||||
<para>The supplied <filename>/etc/dhcpd.conf</filename> (server) and
|
||||
<filename>/etc/dhclient.conf</filename> (client) are examples for a
|
||||
@ -145,7 +146,7 @@ sed -i 's/-Werror//' {client,common,dst,omapip,relay,server,tests}/Makefile</use
|
||||
to your needs, but you may wish to read them for ideas before deleting them
|
||||
or moving them to a different location.</para>
|
||||
|
||||
<para>Now create the director(y,ies) for the leases.</para>
|
||||
<para>Now create any needed directories for the leases.</para>
|
||||
|
||||
<para>For the server:</para>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user