pump-vl.spec 9.3 KB

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