pump-vl.spec 9.5 KB

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