net-tools-vl.spec 5.9 KB

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