%define mainver 1.3.22 %define patchlevel pl4 Summary: A DHCP (Dynamic Host Configuration Protocol) client. Summary(ja): DHCP (Dynamic Host Configuration Protocol) クライアント Name: dhcpcd Version: %{mainver}%{patchlevel} Release: 1%{?_dist_release} License: GPL Group: System Environment/Base Source: http://www.phystech.com/ftp/dhcpcd-%{mainver}-%{patchlevel}.tar.gz Patch: dhcpcd-1.3.21-post.patch URL: http://www.phystech.com/download/ BuildRoot: %{_tmppath}/%{name}-%{version}-root Prereq: file, fileutils, grep BuildRequires: autoconf, automake, libtool %description DHCP (Dynamic Host Configuration Protocol) is a protocol which allows individual devices on an IP network to get their own network configuration information (IP address, subnetmask, broadcast address, etc.) from a DHCP server. The overall purpose of DHCP is to make it easier to administer a large network. The dhcpcd package includes a DHCP client daemon. If you're going to use DHCP on your network, you'll need to install the server package (dhcp) on the server, and a client package on the client machines. The dhcpcd package includes a DHCP client, but we suggest that you instead install the DHCP client included in the pump package, which provides a faster and simpler DHCP client. %description -l ja DHCP (Dynamic Host Configuration Protocol) は,IP ネットワークの 各デバイスに,ネットワーク設定情報 (IP アドレス,サブネットマスク, ブロードキャストアドレス等) を割り当てる為のプロトコルです. DHCP の主な目的は,大規模なネットワークでの管理を簡単にすることです. この dhcpcd パッケージには DHCP クライアントデーモンが含まれています. あなたのネットワークで DHCP を使うためには,サーバ側に dhcp サーバ (dhcp パッケージ) を,そしてクライアント側に dhcp クライアント (dhcpcd パッケージ) をインストールする必要があります. この dhcpcd パッケージには DHCP クライアントが含まれていますが, 代わりに pump パッケージの DHCP クライアントをインストールすることを お勧めします.pump はより高速でよりシンプルな DHCP クライアントです. %prep %setup -q -n dhcpcd-%{mainver}-%{patchlevel} %patch -p1 %build libtoolize -c -f autoreconf %configure --sbindir=/sbin make CFLAGS="$RPM_OPT_FLAGS" %{?_smp_mflags} %install rm -rf $RPM_BUILD_ROOT %makeinstall sbindir=$RPM_BUILD_ROOT/sbin rm -rf $RPM_BUILD_ROOT/etc/dhcpc* mkdir -p $RPM_BUILD_ROOT/etc/dhcpc ln -s dhcpc $RPM_BUILD_ROOT/etc/dhcpcd %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root) %doc README dhcpcd-eth0.exe /etc/dhcpcd %dir /etc/dhcpc /sbin/dhcpcd %{_mandir}/man8/dhcpcd.8* %pre exec > /dev/null 2> /dev/null # We can't replace a directory with a symlink, but this directory is supposed # to be a symlink. if [ -d /etc/dhcpcd ] ; then mv /etc/dhcpcd/* /etc/dhcpc mv /etc/dhcpcd /etc/dhcpcd.rpmsave fi # Remove the circular link which was in a previous version of this package. if [ -L /etc/dhcpc/dhcpc ] ; then if file /etc/dhcpc/dhcpc | grep -q "symbolic link to dhcpc" ; then rm /etc/dhcpc/dhcpc # Leave a file for RPM to remove. touch /etc/dhcpc/dhcpc fi fi if [ -L /etc/dhcpc/dhcpcd ] && [ ! -f /etc/dhcpc/dhcpcd ]; then rm -f /etc/dhcpc/dhcpcd fi %changelog * Fri Aug 15 2008 Shu KONNO 1.3.22pl4-1vl5 - applied new versioning policy, spec in utf-8 * Tue May 22 2007 Daisuke SUZUKI 1.3.22pl4-0vl3 - run libtoolize/autoreconf to build on x86_64 * Wed Sep 20 2006 Daisuke SUZUKI 1.3.22pl4-0vl2 - rebuild to add gpg sign * Tue Feb 4 2003 Daisuke SUZUKI 1.3.22pl4-0vl1 - new upstream release to fix security bug * Thu Jan 31 2002 MATSUBAYASHI Kohji 1.3.21pl2-2vl1 - updated in sync with 1.3.21pl2-2 from Rawhide and built for Vine Linux - added Japanese summary and description * Wed Jan 09 2002 Tim Powers - automated rebuild * Fri Jan 04 2002 Elliot Lee 1.3.21pl2-1 - Update to pl2 - Fix #54600 * Mon Dec 31 2001 Elliot Lee 1.3.21pl1-3 - dhcpcd-1.3.21-multicast.patch sets IFF_MULTICAST (fixes 48669). * Sun Dec 30 2001 Elliot Lee 1.3.21pl1-2 - After updating to a new version, reincorporate the dhcpcd-post.patch and fix some other nits. * Thu Sep 20 2001 Elliot Lee 1.3.20pl0 - Update to new version * Mon Jul 16 2001 Elliot Lee - Bug #7961 plus my own observations resulted in Patch5 to fix alignment errors. * Wed Jul 11 2001 Nalin Dahyabhai - don't write two search lines to resolv.conf - suppress output from %%pre script * Sun Jun 24 2001 Elliot Lee - Bump release + rebuild. * Wed Mar 14 2001 Bill Nottingham - fix running of ifup-post on ip address change * Fri Feb 16 2001 Nalin Dahyabhai - remove the circular link which was in a previous version of this package * Wed Feb 14 2001 Bill Nottingham - fix the symlink, for real (#27622) * Mon Feb 12 2001 Bill Nottingham - run ifup-post on ip address change * Mon Aug 21 2000 Bill Nottingham - package up /etc/dhcpcd as a symlink instead * Fri Jul 21 2000 Erik Troan - package up /etc/dhcpc as a symlink * Wed Jul 12 2000 Prospector - automatic rebuild * Thu Jun 22 2000 Bill Nottingham - actually update to 1.3.18pl8 * Mon Jun 19 2000 Preston Brown - FHS paths * Thu May 11 2000 Karsten Hopp - updated to dhcpcd-1.3.18pl8 * Thu Feb 03 2000 Erik Troan - updated to dhcpcd-1.3.18pl3 - don't statically link the binary * Wed Feb 02 2000 Cristian Gafton - rebuild to fix the descriptions and summary - man pages are compressed * Mon Oct 04 1999 Cristian Gafton - rebuild against the latest glibc in the sparc tree * Wed Jun 2 1999 Jeff Johnson - include 802.2 token ring support patch (#2061). * Sat May 29 1999 Jeff Johnson - include /etc/dhcpc in package (#3097). - upgrade to 1.3.17-pl5. * Mon Apr 19 1999 Bill Nottingham - build for 6.0 * Wed Dec 23 1998 Jeff Johnson - mark default route up. * Sun Jun 7 1998 Jeff Johnson - Fix packet alignment problems on sparc. - build root. * Mon Jun 01 1998 Prospector System - translations modified for de * Wed May 6 1998 Alan Cox - fixed some potential buffer exploits reported by Chris Evans * Mon Apr 27 1998 Prospector System - translations modified for de, fr, tr * Sun Oct 19 1997 Erik Troan - spec file cleanups * Tue Jul 08 1997 Erik Troan - built against glibc, updated to 0.65 * Mon Apr 21 1997 Otto Hammersmith - fixed summary line... was a summary for tar.