123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220 |
- %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 <owa@bg.wakwak.com> 1.3.22pl4-1vl5
- - applied new versioning policy, spec in utf-8
- * Tue May 22 2007 Daisuke SUZUKI <daisuke@linux.or.jp> 1.3.22pl4-0vl3
- - run libtoolize/autoreconf to build on x86_64
- * Wed Sep 20 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 1.3.22pl4-0vl2
- - rebuild to add gpg sign
- * Tue Feb 4 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 1.3.22pl4-0vl1
- - new upstream release to fix security bug
- * Thu Jan 31 2002 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 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 <timp@redhat.com>
- - automated rebuild
- * Fri Jan 04 2002 Elliot Lee <sopwith@redhat.com> 1.3.21pl2-1
- - Update to pl2
- - Fix #54600
- * Mon Dec 31 2001 Elliot Lee <sopwith@redhat.com> 1.3.21pl1-3
- - dhcpcd-1.3.21-multicast.patch sets IFF_MULTICAST (fixes 48669).
- * Sun Dec 30 2001 Elliot Lee <sopwith@redhat.com> 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 <sopwith@redhat.com> 1.3.20pl0
- - Update to new version
- * Mon Jul 16 2001 Elliot Lee <sopwith@redhat.com>
- - Bug #7961 plus my own observations resulted in Patch5 to fix alignment errors.
- * Wed Jul 11 2001 Nalin Dahyabhai <nalin@redhat.com>
- - don't write two search lines to resolv.conf
- - suppress output from %%pre script
- * Sun Jun 24 2001 Elliot Lee <sopwith@redhat.com>
- - Bump release + rebuild.
- * Wed Mar 14 2001 Bill Nottingham <notting@redhat.com>
- - fix running of ifup-post on ip address change
- * Fri Feb 16 2001 Nalin Dahyabhai <nalin@redhat.com>
- - remove the circular link which was in a previous version of this package
- * Wed Feb 14 2001 Bill Nottingham <notting@redhat.com>
- - fix the symlink, for real (#27622)
- * Mon Feb 12 2001 Bill Nottingham <notting@redhat.com>
- - run ifup-post on ip address change
- * Mon Aug 21 2000 Bill Nottingham <notting@redhat.com>
- - package up /etc/dhcpcd as a symlink instead
- * Fri Jul 21 2000 Erik Troan <ewt@redhat.com>
- - package up /etc/dhcpc as a symlink
- * Wed Jul 12 2000 Prospector <bugzilla@redhat.com>
- - automatic rebuild
- * Thu Jun 22 2000 Bill Nottingham <notting@redhat.com>
- - actually update to 1.3.18pl8
- * Mon Jun 19 2000 Preston Brown <pbrown@redhat.com>
- - FHS paths
- * Thu May 11 2000 Karsten Hopp <Karsten.Hopp@redhat.de>
- - updated to dhcpcd-1.3.18pl8
- * Thu Feb 03 2000 Erik Troan <ewt@redhat.com>
- - updated to dhcpcd-1.3.18pl3
- - don't statically link the binary
- * Wed Feb 02 2000 Cristian Gafton <gafton@redhat.com>
- - rebuild to fix the descriptions and summary
- - man pages are compressed
- * Mon Oct 04 1999 Cristian Gafton <gafton@redhat.com>
- - rebuild against the latest glibc in the sparc tree
- * Wed Jun 2 1999 Jeff Johnson <jbj@redhat.com>
- - include 802.2 token ring support patch (#2061).
- * Sat May 29 1999 Jeff Johnson <jbj@redhat.com>
- - include /etc/dhcpc in package (#3097).
- - upgrade to 1.3.17-pl5.
- * Mon Apr 19 1999 Bill Nottingham <notting@redhat.com>
- - build for 6.0
- * Wed Dec 23 1998 Jeff Johnson <jbj@redhat.com>
- - mark default route up.
- * Sun Jun 7 1998 Jeff Johnson <jbj@redhat.com>
- - Fix packet alignment problems on sparc.
- - build root.
- * Mon Jun 01 1998 Prospector System <bugs@redhat.com>
- - 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 <bugs@redhat.com>
- - translations modified for de, fr, tr
- * Sun Oct 19 1997 Erik Troan <ewt@redhat.com>
- - spec file cleanups
- * Tue Jul 08 1997 Erik Troan <ewt@redhat.com>
- - built against glibc, updated to 0.65
- * Mon Apr 21 1997 Otto Hammersmith <otto@redhat.com>
- - fixed summary line... was a summary for tar.
|