net-tools-vl.spec 6.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234
  1. Summary: The basic tools for setting up networking.
  2. Summary(ja): ネットワークをセットアップするための基本的なツール
  3. Name: net-tools
  4. Version: 1.60
  5. Release: 16%{?_dist_release}
  6. License: GPL
  7. Group: System Environment/Base
  8. Source0: http://www.tazenda.demon.co.uk/phil/net-tools/net-tools-%{version}.tar.bz2
  9. Source1: net-tools-%{version}-config.h
  10. Source2: net-tools-%{version}-config.make
  11. Source3: ether-wake.c
  12. Patch4: net-tools-1.57-bug22040.patch
  13. Patch5: net-tools-1.60-miiioctl.patch
  14. Patch6: net-tools-1.60-manydevs.patch
  15. Patch7: net-tools-1.60-virtualname.patch
  16. Patch8: net-tools-1.60-cycle.patch
  17. Patch9: net-tools-1.60-x25_sr.patch
  18. Patch10: net-tools-1.60-gcc33.patch
  19. Patch11: net-tools-1.60-label.patch
  20. Patch22: net-tools-1.60-parse.patch
  21. Patch64: net-tools-1.60-ec_hw_null.patch
  22. Patch65: net-tools-1.60-statistics_buffer.patch
  23. # source/patch for Vine
  24. Source100: net-tools-1.60-ja.po
  25. Patch100: net-tools-1.54-japo.patch
  26. BuildRoot: %{_tmppath}/%{name}-root
  27. Vendor: Project Vine
  28. Distribution: Vine Linux
  29. %description
  30. The net-tools package contains the basic tools needed for setting up
  31. networking: ethers, route and others.
  32. %description -l ja
  33. net-tools パッケージはネットワークをセットアップする基本的なツールを
  34. 含んでいます: イーサーネット, ルーティングやその他
  35. %prep
  36. %setup -q
  37. %patch4 -p 1 -b .bug22040
  38. %patch5 -p 1 -b .miiioctl
  39. %patch6 -p 0 -b .manydevs
  40. %patch7 -p 1 -b .virtualname
  41. %patch8 -p 1 -b .cycle
  42. %patch9 -p1 -b .x25
  43. %patch10 -p1 -b .gcc33
  44. %patch11 -p0 -b .label
  45. %patch22 -p1 -b .parse
  46. %patch64 -p1 -b .ex_hw_null
  47. %patch65 -p1 -b .buffer
  48. %patch100 -p1 -b .nls
  49. cp %SOURCE1 ./config.h
  50. cp %SOURCE2 ./config.make
  51. cp %SOURCE3 .
  52. cp %SOURCE100 po/ja.po
  53. %build
  54. make
  55. gcc $RPM_OPT_FLAGS -o ether-wake ether-wake.c
  56. %install
  57. rm -rf $RPM_BUILD_ROOT
  58. make BASEDIR=$RPM_BUILD_ROOT mandir=%{_mandir} install
  59. install -m 755 ether-wake %{buildroot}/sbin
  60. rm %{buildroot}/sbin/rarp
  61. rm %{buildroot}%{_mandir}/man8/rarp.8*
  62. %find_lang %{name}
  63. %clean
  64. rm -rf $RPM_BUILD_ROOT
  65. %files -f %{name}.lang
  66. %defattr(-,root,root)
  67. /bin/*
  68. /sbin/*
  69. %{_mandir}/man[158]/*
  70. %lang(de_DE) %{_mandir}/de_DE/man[158]/*
  71. %lang(fr_FR) %{_mandir}/fr_FR/man[158]/*
  72. %lang(pt_BR) %{_mandir}/pt_BR/man[158]/*
  73. %changelog
  74. * Mon Jul 21 2014 Daisuke SUZUKI <daisuke@vinelinux.org> 1.60-16
  75. - update config.{h,make}
  76. - CONFIG_HWSTRIP=0, CONFIG_HWTR=0
  77. * Sat Aug 11 2012 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 1.60-15vl6
  78. - add patch22, 65 to fix <BTS:1329>
  79. * Wed Apr 13 2011 Daisuke SUZUKI <daisuke@linux.or.jp> 1.60-14
  80. - rebuild for Vine 6
  81. * Wed Sep 10 2008 Shu KONNO <owa@bg.wakwak.com> 1.60-13vl5
  82. - applied new versioning policy, spec in utf-8
  83. - added net-tools-1.60-label.patch
  84. * Fri Aug 18 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 1.60-12vl2
  85. - add patches to build with current environment
  86. - x25_sr.patch (patch9)
  87. - gcc33.patch (patch10)
  88. - update ether-wake.c (source3)
  89. * Sat May 31 2003 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.60-12vl1
  90. - update and replaced ja.po
  91. - sync with RedHat Rawhide 1.60-12
  92. - Fri Feb 07 2003 Phil Knirsch <pknirsch@redhat.com>
  93. - Fixed -s parameter.
  94. - Fix /proc statistics for -nic operation.
  95. - Fixed -i operation in general.
  96. - Tue Dec 17 2002 Phil Knirsch <pknirsch@redhat.com> 1.60-9
  97. - Copyright -> License.
  98. - Tue Aug 06 2002 Phil Knirsch <pknirsch@redhat.com>
  99. - Added patch from Norm for a corrected output.
  100. - Fri Apr 12 2002 Jeremy Katz <katzj@redhat.com>
  101. - fix nstrcmp() to be correct in the case where there are many devices
  102. of the same type, eg, "eth10" > "eth1" (#61436)
  103. - Tue Jul 31 2001 Bill Nottingham <notting@redhat.com>
  104. - do *not* use SIOCDEVPRIVATE for MII ioctls
  105. - Fri Jun 1 2001 Preston Brown <pbrown@redhat.com>
  106. - include wake-on-lan wakeup utility, ether-wake by Donald Becker
  107. * Sat May 12 2001 <sagami@vinelinux.org>
  108. - 1.60-4vl1: follow up with RH 1.60-1
  109. * Tue May 23 2000 Yasuyuki Furukawa <furukawa@vinelinux.org>
  110. - sync with RH 6.2
  111. * Tue Mar 7 2000 Jeff Johnson <jbj@redhat.com>
  112. - rebuild for sparc baud rates > 38400.
  113. * Wed Feb 02 2000 Cristian Gafton <gafton@redhat.com>
  114. - fix description
  115. * Fri Jan 14 2000 Jeff Johnson <jbj@redhat.com>
  116. - fix "netstat -ci" (#6904).
  117. - document more netstat options (#7429).
  118. * Thu Jan 13 2000 Jeff Johnson <jbj@redhat.com>
  119. - update to 1.54.
  120. - enable "everything but DECnet" including IPv6.
  121. * Mon Oct 11 1999 Norihito Ohmori <ohmori@flatout.org>
  122. - ported from net-tools-1.51 with Japanese catalog
  123. by Yasuyuki Furukawa
  124. * Sun Aug 29 1999 Jeff Johnson <jbj@redhat.com>
  125. - update to 1.53.
  126. * Wed Jul 28 1999 Jeff Johnson <jbj@redhat.com>
  127. - plug "netstat -c" fd leak (#3620).
  128. * Thu Jun 17 1999 Jeff Johnson <jbj@redhat.com>
  129. - plug potential buffer overruns.
  130. * Sat Jun 12 1999 John Hardin <jhardin@wolfenet.com>
  131. - patch to recognize ESP and GRE protocols for VPN masquerade
  132. * Fri Apr 23 1999 Jeff Johnson <jbj@redhat.com>
  133. - update to 1.52.
  134. * Thu Mar 25 1999 Jeff Johnson <jbj@redhat.com>
  135. - update interface statistics continuously (#1323)
  136. * Sun Mar 21 1999 Cristian Gafton <gafton@redhat.com>
  137. - auto rebuild in the new build environment (release 2)
  138. * Fri Mar 19 1999 Jeff Johnson <jbj@redhat.com>
  139. - update to 1.51.
  140. - strip binaries.
  141. * Tue Feb 2 1999 Jeff Johnson <jbj@redhat.com>
  142. - update to 1.50.
  143. - added slattach/plipconfig/ipmaddr/iptunnel commands.
  144. - enabled translated man pages.
  145. * Tue Dec 15 1998 Jakub Jelinek <jj@ultra.linux.cz>
  146. - update to 1.49.
  147. * Sat Dec 5 1998 Jeff Johnson <jbj@redhat.com>
  148. - update to 1.48.
  149. * Thu Nov 12 1998 Jeff Johnson <jbj@redhat.com>
  150. - update to 1.47.
  151. * Wed Sep 2 1998 Jeff Johnson <jbj@redhat.com>
  152. - update to 1.46
  153. * Thu Jul 9 1998 Jeff Johnson <jbj@redhat.com>
  154. - build root
  155. - include ethers.5
  156. * Thu Jun 11 1998 Aron Griffis <agriffis@coat.com>
  157. - upgraded to 1.45
  158. - patched hostname.c to initialize buffer
  159. - patched ax25.c to use kernel headers
  160. * Fri May 01 1998 Prospector System <bugs@redhat.com>
  161. - translations modified for de, fr, tr
  162. * Fri Feb 27 1998 Jason Spangler <jasons@usemail.com>
  163. - added config patch
  164. * Fri Feb 27 1998 Jason Spangler <jasons@usemail.com>
  165. - changed to net-tools 1.432
  166. - removed old glibc 2.1 patch
  167. * Wed Oct 22 1997 Erik Troan <ewt@redhat.com>
  168. - added extra patches for glibc 2.1
  169. * Tue Oct 21 1997 Erik Troan <ewt@redhat.com>
  170. - included complete set of network protocols (some were removed for
  171. initial glibc work)
  172. * Wed Sep 03 1997 Erik Troan <ewt@redhat.com>
  173. - updated glibc patch for glibc 2.0.5
  174. * Thu Jun 19 1997 Erik Troan <ewt@redhat.com>
  175. - built against glibc
  176. - updated to 1.33