source: projects/specs/branches/6/p/pump/pump-vl.spec @ 3972

Revision 3972, 9.5 KB checked in by Takemikaduchi, 13 years ago (diff)

add BR

Line 
1Summary:     A Bootp and DHCP client for automatic IP configuration.
2Summary(ja): 自動 IP 設定用 BOOTP / DHCP クライアント
3Name:        pump
4Version:     0.8.24
5Release:     4%{?_dist_release}
6Group:       System Environment/Daemons
7License:     MIT
8
9Source0:     pump-%{version}.tar.gz
10Source10:    pump-0.8.24-ja.po
11Patch10:     pump-0.8.24-nowerror.patch
12Patch20:     pump-0.8.24-reduce-timeout.patch
13Patch30:     pump-0.8.24-reduce-retries.patch
14Patch40:     pump-0.8.24-remove-unneeded-route.patch
15Patch50:     pump-0.8.24-vine.patch
16
17BuildRoot:   %{_tmppath}/%{name}-%{version}-root
18Obsoletes:   bootpc, netconfig
19Requires:    initscripts >= 3.92
20
21BuildRequires:  popt-devel
22BuildRequires:  newt-devel
23
24
25%description
26DHCP (Dynamic Host Configuration Protocol) and BOOTP (Boot Protocol)
27are protocols which allow individual devices on an IP network to get
28their own network configuration information (IP address, subnetmask,
29broadcast address, etc.) from network servers.  The overall purpose of
30DHCP and BOOTP is to make it easier to administer a large network.
31
32Pump is a combined BOOTP and DHCP client daemon, which allows your
33machine to retrieve configuration information from a server.  You
34should install this package if you are on a network which uses BOOTP
35or DHCP.
36
37%description -l ja
38DHCP (Dynamic Host Configuration Protocol) と BOOTP (Boot Protocol) は,
39ネットワークサーバから各クライアント用のネットワーク情報 (IP アドレス,
40サブネットマスク,ブロードキャストアドレス等) を取得する為に使われる
41プロトコルです.この2つのプロトコルは大規模なネットワークの管理を
42容易にする為に使われます.
43
44Pump はこの DHCP と BOOTP の2つのプロトコルに対応したクライアントデーモン
45で,これを使うことでサーバからクライアントの設定情報を取得することが
46可能になります.BOOTP あるいは DHCP を使用するネットワークの場合,
47このパッケージをインストールして下さい.
48
49
50%package devel
51Summary:     Development tools for sending dhcp requests
52Summary(ja): DHCP リクエストの為の開発ツール
53Group:       Development/Libraries
54
55
56%description devel
57The pump-devel package provides system developers the ability to send
58bootp and dhcp requests from their programs.
59
60%description devel -l ja
61pump-devel パッケージには,BOOTP や DHCP 要求をプログラム開発者が
62利用出来る様にするライブラリが収められています.
63
64
65%prep
66%setup -q
67%patch10 -p1 -b .nowerror
68%patch20 -p1 -b .reduce-timeout
69%patch30 -p1 -b .resuce-retries
70%patch40 -p1 -b .remove-unneeded-route
71%patch50 -p1 -b .vine
72
73cp -f %{SOURCE10} po/ja.po
74
75%build
76%__make %{?_smp_mflags}
77
78
79%install
80rm -rf ${RPM_BUILD_ROOT}
81
82%makeinstall RPM_BUILD_ROOT=${RPM_BUILD_ROOT}
83
84%find_lang %{name}
85
86%clean
87rm -rf ${RPM_BUILD_ROOT}
88
89
90%files -f %{name}.lang
91%defattr(-,root,root)
92%{_sbindir}/*
93%{_syssbindir}/pump
94%{_mandir}/*/*
95
96
97%files devel
98%defattr(-,root,root)
99%{_libdir}/libpump.a
100%{_includedir}/pump.h
101
102
103%changelog
104* Fri May 27 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.8.24-4
105- add BuildRequires: popt-devel, newt-devel
106
107* Mon Apr 11 2011 Daisuke SUZUKI <daisuke@linux.or.jp> 0.8.24-3
108- rebuild for Vine6
109
110* Tue Aug 26 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 0.8.24-2
111- rebuild with newt-0.52
112
113* Fri Aug 15 2008 Shu KONNO <owa@bg.wakwak.com> 0.8.24-1vl5
114- applied new versioning policy, spec in utf-8
115
116* Wed Sep 20 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 0.8.24-0vl2
117- add Patch40 to remove broken unneeded default route
118  (revert to old pump's behavier)
119- update ja.po
120
121* Wed Mar 22 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 0.8.24-0vl1
122- new upstream release
123- drop Patch0-3
124- add Patch10 to build failure
125- add Patch20 to reduce timeout from 30 to 10
126- add Patch30 to reduce retries from 5 to 3
127
128* Mon Jan 14 2002 Satoshi IWMAOTO <satoshi.iwamoto@nifty.ne.jp>
129- 0.8.11-1vl2
130- add patch 0 - 3 from ReaHat Rawhide
131
132* Wed May 16 2001 MATSUBAYASHI 'Shaolin' Kohji <shaolin@vinelinux.org>
133- 0.8.11-1vl1
134- rebuilt for Vine Linux
135- added Japanese summary and description
136- use better macros
137
138* Thu Mar  1 2001 Bill Nottingham <notting@redhat.com>
139- make netconfig much more sane (#30008, in essence)
140
141* Tue Feb 27 2001 Erik Troan <ewt@redhat.com>
142- applied patch to use SO_BINDTODEVICE properly (weejock@ferret.lmh.ox.ac.uk)
143
144* Mon Feb 12 2001 Bill Nottingham <notting@redhat.com>
145- run ifup-post on lease renewal
146
147* Thu Feb 01 2001 Erik Troan <ewt@redhat.com>
148- update secs field properly
149- don't reset interface flags we don't understand
150- added --win-client-id flag
151- cleaned up packet creation a bit
152- added --no-gateway
153
154* Tue Jan  9 2001 Matt Wilson <msw@redhat.com>
155- always set the src address of the broadcast to 0.0.0.0
156
157* Mon Nov 20 2000 Erik Troan <ewt@redhat.com>
158- lo device needs to have it's network route added
159
160* Fri Nov 10 2000 Bill Nottingham <notting@redhat.com>
161- don't pass a random length to accept()
162
163* Mon Oct 23 2000 Erik Troan <ewt@redhat.com>
164- up scripts called for first interface information, and called even if pump
165  failed
166
167* Wed Aug 30 2000 Bernhard Rosenkraenzer <bero@redhat.com>
168- Fix up the "search" entry scan so it works in Europe...
169
170* Wed Aug 16 2000 Matt Wilson <msw@redhat.com>
171- added a strerror(errno) to the "unable to set default route" syslog
172
173* Tue Aug 15 2000 Erik Troan <ewt@redhat.com>
174- reverted always put the dhcp option type as the first code in the vendor
175  field
176
177* Mon Aug 07 2000 Erik Troan <ewt@redhat.com>
178- added .net to list of top level domains
179- don't crash on domains w/ no .'s in them
180- syslog if adding the default route fails
181
182* Sat Aug 05 2000 Erik Troan <ewt@redhat.com>
183- net.c should use "pump.h", not <pump.h>
184
185* Fri Aug 04 2000 Erik Troan <ewt@redhat.com>
186- use BINDTODEVICE
187- support nis domain names
188- always put the dhcp option type as the first code in the vendor field
189
190* Mon Jul  3 2000 Bill Nottingham <notting@redhat.com>
191- add some sanity checks in dhcp.c
192
193* Mon Jun 26 2000 Matt Wilson <msw@redhat.com>
194- defattr root for devel subpackage
195
196* Mon Jun 19 2000 Than Ngo <than@redhat.de>
197- FHS fixes
198
199* Tue Mar 28 2000 Erik Troan <ewt@redhat.com>
200- added pump-devel package
201
202* Thu Feb 24 2000 Erik Troan <ewt@redhat.com>
203- set hw type properly (safford@watson.ibm.com)
204
205* Wed Feb 23 2000 Erik Troan <ewt@redhat.com>
206- fixed # parsing (aaron@schrab.com)
207
208* Tue Feb 15 2000 Erik Troan <ewt@redhat.com>
209- added script argument (Guy Delamarter <delamart@pas.rochester.edu>)
210- fixed bug in hostname passing (H.J. Lu)
211- fixed time displays to be in wall time, not up time (Chris Johnson)
212
213* Wed Feb  9 2000 Bill Nottingham <notting@redhat.com>
214- fix bug in netconfig - hitting 'back' causes bogus config files
215  to get written
216
217* Thu Feb 03 2000 Erik Troan <ewt@redhat.com>
218- added patch from duanev@io.com which improves debug messages and
219  uses /proc/uptime rather time time() -- this should be correct for
220  everything but systems that are suspended during their lease time, in
221  which case we'll be wrong <sigh>
222- added hostname to DISCOVER and RELEASE events; hopefully this gets us
223  working for all @HOME systems.
224- patch from dunham@cse.msu.edu fixed /etc/resolv.conf parsing
225
226* Wed Feb 02 2000 Cristian Gafton <gafton@redhat.com>
227- fix description
228- man pages are compressed
229
230* Wed Nov 10 1999 Erik Troan <ewt@redhat.com>
231- at some point a separate dhcp.c was created
232- include hostname in renewal request
233- changed default lease time to 6 hours
234- if no hostname is specified on the command line, use gethostname()
235  to request one (unless it's "localhost" or "localhost.localdomain")
236- properly handle failed renewal attempts
237- display (and request) syslog, lpr, ntp, font, and xdm servers
238
239* Tue Sep 14 1999 Michael K. Johnson <johnsonm@redhat.com>
240- pump processes cannot accumulate because of strange file
241  descriptors (bug only showed up under rp3)
242
243* Tue Sep  7 1999 Bill Nottingham <notting@redhat.com>
244- add simple network configurator
245
246* Wed Jun 23 1999 Erik Troan <ewt@redhat.com>
247- patch from Sten Drescher for syslog debugging info
248- patch from Sten Drescher to not look past end of dhcp packet for options
249- patches form Alan Cox for cleanups, malloc failures, and proper udp checksums
250- handle replies with more then 3 dns servers specified
251- resend dhcp_discover with proper options field
252- shrank dhcp_vendor_length to 312 for rfc compliance (thanks to Ben Reed)
253- added support for a config file
254- don't replace search pass in /etc/resolv.conf unless we have a better one
255- bringing down a device didn't work properly
256
257* Sat May 29 1999 Erik Troan <ewt@redhat.com>
258- bootp interfaces weren't being brought down properly
259- segv could result if no domain name was given
260
261* Sat May 08 1999 Erik Troan <ewt@redhat.com>
262- fixed some file descriptor leakage
263
264* Thu May 06 1999 Erik Troan <ewt@redhat.com>
265- set option list so we'll work with NT
266- tried to add a -h option, but I have no way of testing it :-(
267
268* Wed Apr 28 1999 Erik Troan <ewt@redhat.com>
269- closing fd 1 is important
270
271* Mon Apr 19 1999 Bill Nottingham <notting@redhat.com>
272- don't obsolete dhcpcd
273
274* Tue Apr 06 1999 Erik Troan <ewt@redhat.com>
275- retry code didn't handle failure terribly gracefully
276
277* Tue Mar 30 1999 Erik Troan <ewt@redhat.com>
278- added --lookup-hostname
279- generate a DNS search path based on full domain set
280- use raw socket for revieving reply; this lets us work properly on 2.2
281  kernels when we recieve unicast replies from the bootp server
282
283* Mon Mar 22 1999 Erik Troan <ewt@redhat.com>
284- it was always requesting a 20 second lease
285
286* Mon Mar 22 1999 Michael K. Johnson <johnsonm@redhat.com>
287- added minimal man page /usr/man/man8/pump.8
Note: See TracBrowser for help on using the repository browser.