net-tools-vl.spec 6.1 KB

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