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

Revision 521, 9.3 KB checked in by daisuke, 14 years ago (diff)

import VineSeed package specs

Line 
1Summary:     A Bootp and DHCP client for automatic IP configuration.
2Summary(ja): 自動 IP 設定用 BOOTP / DHCP クライアント
3Name:        pump
4Version:     0.8.24
5Release:     2%{?_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* Tue Aug 26 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 0.8.24-2
102- rebuild with newt-0.52
103
104* Fri Aug 15 2008 Shu KONNO <owa@bg.wakwak.com> 0.8.24-1vl5
105- applied new versioning policy, spec in utf-8
106
107* Wed Sep 20 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 0.8.24-0vl2
108- add Patch40 to remove broken unneeded default route
109  (revert to old pump's behavier)
110- update ja.po
111
112* Wed Mar 22 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 0.8.24-0vl1
113- new upstream release
114- drop Patch0-3
115- add Patch10 to build failure
116- add Patch20 to reduce timeout from 30 to 10
117- add Patch30 to reduce retries from 5 to 3
118
119* Mon Jan 14 2002 Satoshi IWMAOTO <satoshi.iwamoto@nifty.ne.jp>
120- 0.8.11-1vl2
121- add patch 0 - 3 from ReaHat Rawhide
122
123* Wed May 16 2001 MATSUBAYASHI 'Shaolin' Kohji <shaolin@vinelinux.org>
124- 0.8.11-1vl1
125- rebuilt for Vine Linux
126- added Japanese summary and description
127- use better macros
128
129* Thu Mar  1 2001 Bill Nottingham <notting@redhat.com>
130- make netconfig much more sane (#30008, in essence)
131
132* Tue Feb 27 2001 Erik Troan <ewt@redhat.com>
133- applied patch to use SO_BINDTODEVICE properly (weejock@ferret.lmh.ox.ac.uk)
134
135* Mon Feb 12 2001 Bill Nottingham <notting@redhat.com>
136- run ifup-post on lease renewal
137
138* Thu Feb 01 2001 Erik Troan <ewt@redhat.com>
139- update secs field properly
140- don't reset interface flags we don't understand
141- added --win-client-id flag
142- cleaned up packet creation a bit
143- added --no-gateway
144
145* Tue Jan  9 2001 Matt Wilson <msw@redhat.com>
146- always set the src address of the broadcast to 0.0.0.0
147
148* Mon Nov 20 2000 Erik Troan <ewt@redhat.com>
149- lo device needs to have it's network route added
150
151* Fri Nov 10 2000 Bill Nottingham <notting@redhat.com>
152- don't pass a random length to accept()
153
154* Mon Oct 23 2000 Erik Troan <ewt@redhat.com>
155- up scripts called for first interface information, and called even if pump
156  failed
157
158* Wed Aug 30 2000 Bernhard Rosenkraenzer <bero@redhat.com>
159- Fix up the "search" entry scan so it works in Europe...
160
161* Wed Aug 16 2000 Matt Wilson <msw@redhat.com>
162- added a strerror(errno) to the "unable to set default route" syslog
163
164* Tue Aug 15 2000 Erik Troan <ewt@redhat.com>
165- reverted always put the dhcp option type as the first code in the vendor
166  field
167
168* Mon Aug 07 2000 Erik Troan <ewt@redhat.com>
169- added .net to list of top level domains
170- don't crash on domains w/ no .'s in them
171- syslog if adding the default route fails
172
173* Sat Aug 05 2000 Erik Troan <ewt@redhat.com>
174- net.c should use "pump.h", not <pump.h>
175
176* Fri Aug 04 2000 Erik Troan <ewt@redhat.com>
177- use BINDTODEVICE
178- support nis domain names
179- always put the dhcp option type as the first code in the vendor field
180
181* Mon Jul  3 2000 Bill Nottingham <notting@redhat.com>
182- add some sanity checks in dhcp.c
183
184* Mon Jun 26 2000 Matt Wilson <msw@redhat.com>
185- defattr root for devel subpackage
186
187* Mon Jun 19 2000 Than Ngo <than@redhat.de>
188- FHS fixes
189
190* Tue Mar 28 2000 Erik Troan <ewt@redhat.com>
191- added pump-devel package
192
193* Thu Feb 24 2000 Erik Troan <ewt@redhat.com>
194- set hw type properly (safford@watson.ibm.com)
195
196* Wed Feb 23 2000 Erik Troan <ewt@redhat.com>
197- fixed # parsing (aaron@schrab.com)
198
199* Tue Feb 15 2000 Erik Troan <ewt@redhat.com>
200- added script argument (Guy Delamarter <delamart@pas.rochester.edu>)
201- fixed bug in hostname passing (H.J. Lu)
202- fixed time displays to be in wall time, not up time (Chris Johnson)
203
204* Wed Feb  9 2000 Bill Nottingham <notting@redhat.com>
205- fix bug in netconfig - hitting 'back' causes bogus config files
206  to get written
207
208* Thu Feb 03 2000 Erik Troan <ewt@redhat.com>
209- added patch from duanev@io.com which improves debug messages and
210  uses /proc/uptime rather time time() -- this should be correct for
211  everything but systems that are suspended during their lease time, in
212  which case we'll be wrong <sigh>
213- added hostname to DISCOVER and RELEASE events; hopefully this gets us
214  working for all @HOME systems.
215- patch from dunham@cse.msu.edu fixed /etc/resolv.conf parsing
216
217* Wed Feb 02 2000 Cristian Gafton <gafton@redhat.com>
218- fix description
219- man pages are compressed
220
221* Wed Nov 10 1999 Erik Troan <ewt@redhat.com>
222- at some point a separate dhcp.c was created
223- include hostname in renewal request
224- changed default lease time to 6 hours
225- if no hostname is specified on the command line, use gethostname()
226  to request one (unless it's "localhost" or "localhost.localdomain")
227- properly handle failed renewal attempts
228- display (and request) syslog, lpr, ntp, font, and xdm servers
229
230* Tue Sep 14 1999 Michael K. Johnson <johnsonm@redhat.com>
231- pump processes cannot accumulate because of strange file
232  descriptors (bug only showed up under rp3)
233
234* Tue Sep  7 1999 Bill Nottingham <notting@redhat.com>
235- add simple network configurator
236
237* Wed Jun 23 1999 Erik Troan <ewt@redhat.com>
238- patch from Sten Drescher for syslog debugging info
239- patch from Sten Drescher to not look past end of dhcp packet for options
240- patches form Alan Cox for cleanups, malloc failures, and proper udp checksums
241- handle replies with more then 3 dns servers specified
242- resend dhcp_discover with proper options field
243- shrank dhcp_vendor_length to 312 for rfc compliance (thanks to Ben Reed)
244- added support for a config file
245- don't replace search pass in /etc/resolv.conf unless we have a better one
246- bringing down a device didn't work properly
247
248* Sat May 29 1999 Erik Troan <ewt@redhat.com>
249- bootp interfaces weren't being brought down properly
250- segv could result if no domain name was given
251
252* Sat May 08 1999 Erik Troan <ewt@redhat.com>
253- fixed some file descriptor leakage
254
255* Thu May 06 1999 Erik Troan <ewt@redhat.com>
256- set option list so we'll work with NT
257- tried to add a -h option, but I have no way of testing it :-(
258
259* Wed Apr 28 1999 Erik Troan <ewt@redhat.com>
260- closing fd 1 is important
261
262* Mon Apr 19 1999 Bill Nottingham <notting@redhat.com>
263- don't obsolete dhcpcd
264
265* Tue Apr 06 1999 Erik Troan <ewt@redhat.com>
266- retry code didn't handle failure terribly gracefully
267
268* Tue Mar 30 1999 Erik Troan <ewt@redhat.com>
269- added --lookup-hostname
270- generate a DNS search path based on full domain set
271- use raw socket for revieving reply; this lets us work properly on 2.2
272  kernels when we recieve unicast replies from the bootp server
273
274* Mon Mar 22 1999 Erik Troan <ewt@redhat.com>
275- it was always requesting a 20 second lease
276
277* Mon Mar 22 1999 Michael K. Johnson <johnsonm@redhat.com>
278- added minimal man page /usr/man/man8/pump.8
Note: See TracBrowser for help on using the repository browser.