pump-vl.spec 9.7 KB

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