source: projects/specs/trunk/p/pump/pump-vl.spec @ 3401

Revision 3401, 9.4 KB checked in by daisuke, 13 years ago (diff)

pump: rebuild for Vine6

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