routed-vl.spec 5.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188
  1. Summary: The routing daemon which maintains routing tables.
  2. Summary(ja): ルーティングテーブルを保持するデーモン
  3. Name: routed
  4. Version: 0.17
  5. Release: 16%{?_dist_release}
  6. License: BSD
  7. Group: System Environment/Daemons
  8. Source: ftp://ftp.uk.linux.org/pub/linux/Networking/netkit-devel/netkit-routed-%{version}.tar.bz2
  9. Source1: routed.init
  10. Patch0: netkit-routed-0.16-jbj.patch
  11. Patch1: netkit-routed-0.17-bero.patch
  12. Patch2: netkit-routed-0.17-nonstrip.patch
  13. Prereq: /sbin/chkconfig /etc/init.d
  14. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  15. %description
  16. The routed routing daemon handles incoming RIP traffic and broadcasts
  17. outgoing RIP traffic about network traffic routes, in order to
  18. maintain current routing tables. These routing tables are essential
  19. for a networked computer, so that it knows where packets need to be
  20. sent.
  21. The routed package should be installed on any networked machine.
  22. %description -l ja
  23. routed ルーティングデーモンは,マシンに入って来たり出てゆく
  24. ネットワーク経路情報である RIP トラフィックを扱い,
  25. ルーティングテーブルを保持します.
  26. ルーティングテーブルはネットワーク接続されたコンピュータにとっては
  27. パケットをどこに送信するべきかを知る上で非常に重要なものです.
  28. routed パッケージはネットワーク接続されたマシンには必ず
  29. インストールされている必要があります.
  30. %prep
  31. %setup -q -n netkit-routed-%{version}
  32. %patch0 -p1 -b .jbj
  33. %patch1 -p1 -b .bero
  34. %patch2 -p1 -b .nonstrip
  35. %build
  36. sh configure
  37. perl -pi -e '
  38. s,^CC=.*$,CC=cc,;
  39. s,-O2,\$(RPM_OPT_FLAGS),;
  40. s,^BINDIR=.*$,BINDIR=%{_bindir},;
  41. s,^MANDIR=.*$,MANDIR=%{_mandir},;
  42. s,^SBINDIR=.*$,SBINDIR=%{_sbindir},;
  43. ' MCONFIG
  44. make
  45. %install
  46. rm -rf ${RPM_BUILD_ROOT}
  47. mkdir -p ${RPM_BUILD_ROOT}%{_mandir}/man8
  48. mkdir -p ${RPM_BUILD_ROOT}%{_sbindir}
  49. mkdir -p ${RPM_BUILD_ROOT}%{_initdir}
  50. make INSTALLROOT=${RPM_BUILD_ROOT} install
  51. install -m 755 $RPM_SOURCE_DIR/routed.init ${RPM_BUILD_ROOT}%{_initdir}/routed
  52. %clean
  53. rm -rf ${RPM_BUILD_ROOT}
  54. %post
  55. /sbin/chkconfig --add routed
  56. %preun
  57. if [ $1 = 0 ]; then
  58. /sbin/chkconfig --del routed
  59. fi
  60. %files
  61. %defattr(-,root,root)
  62. %{_sbindir}/routed
  63. #%{_sbindir}/ripquery
  64. %{_mandir}/man8/routed.*
  65. #%{_mandir}/man8/ripquery.*
  66. %config %{_initdir}/routed
  67. %changelog
  68. * Fri Oct 10 2008 Shu KONNO <owa@bg.wakwak.com> 0.17-16vl5
  69. - applied new versioning policy, spec in utf-8
  70. * Sun Jul 20 2003 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.17-15vl1
  71. - rebuilt with new toolchains
  72. - s/Copyright/License/
  73. - based on 0.17-15 from Rawhide
  74. - Fri Jul 19 2002 Akira TAGOH <tagoh@redhat.com> 0.17-12
  75. - netkit-routed-0.17-nonstrip.patch: applied to fix
  76. the stripped binary issue.
  77. - Wed Aug 1 2001 Adrian Havill <havill@redhat.com>
  78. - init script gettext-friendly fix (bug 26563)
  79. - Mon Feb 5 2001 Bernhard Rosenkraenzer <bero@redhat.com>
  80. - i18nize init scripts (#26079)
  81. - bzip2 source
  82. - fix "egcs" compiler hardcode in configure script
  83. * Wed Jan 10 2001 MATSUBAYASHI 'Shaolin' Kohji <shaolin@rhythmaning.org>
  84. - 0.17-5vl1
  85. - based on 0.17-5 from Rawhide
  86. - use better macros (%%{_initdir})
  87. - added Japanese summary and description
  88. * Sat Aug 05 2000 Bill Nottingham <notting@redhat.com>
  89. - condrestart fixes
  90. * Thu Jul 20 2000 Bill Nottingham <notting@redhat.com>
  91. - move initscript back
  92. * Wed Jul 12 2000 Prospector <bugzilla@redhat.com>
  93. - automatic rebuild
  94. * Mon Jul 10 2000 Preston Brown <pbrown@redhat.com>
  95. - move initscript
  96. * Sun Jun 18 2000 Jeff Johnson <jbj@redhat.com>
  97. - FHS packaging.
  98. - update to 0.17.
  99. * Thu Feb 10 2000 Jeff Johnson <jbj@redhat.com>
  100. - remove ripquery, the gated ripquery (and gated itself) is preferred.
  101. * Wed Feb 9 2000 Jeff Johnson <jbj@redhat.com>
  102. - init script marked config.
  103. * Mon Feb 7 2000 Jeff Johnson <jbj@redhat.com>
  104. - compress man pages.
  105. * Mon Jan 3 2000 Bill Nottingham <notting@redhat.com>
  106. - fix hang on startup
  107. * Tue Dec 21 1999 Jeff Johnson <jbj@redhat.com>
  108. - update to 0.16.
  109. * Fri Sep 10 1999 Bill Nottingham <notting@redhat.com>
  110. - chkconfig --del in %preun, not %postun
  111. * Mon Aug 16 1999 Bill Nottingham <notting@redhat.com>
  112. - initscript munging
  113. * Sun Mar 21 1999 Cristian Gafton <gafton@redhat.com>
  114. - auto rebuild in the new build environment (release 14)
  115. * Tue Feb 9 1999 Jeff Johnson <jbj@redhat.com>
  116. - check for /etc/sysconfig/routed before sourcing.
  117. * Tue Dec 22 1998 Jeff Johnson <jbj@redhat.com>
  118. - use stderr if no trace file specified (#423).
  119. - use FD_ISSET not fds_bits (glibc-2.1).
  120. * Tue Jun 16 1998 Jeff Johnson <jbj@redhat.com>
  121. - add offset to get aligned ifreq's on alpha. This should be
  122. fixed in the kernel eventually.
  123. * Tue May 19 1998 Prospector System <bugs@redhat.com>
  124. - translations modified for de
  125. * Sun May 10 1998 Alan Cox <alan@redhat.com>
  126. - Fixed the trace bug. Traces must now go into /var/log/routed/*
  127. * Mon May 04 1998 Michael K. Johnson <johnsonm@redhat.com>
  128. - Added /etc/sysconfig/routed parsing to init script
  129. * Sat May 02 1998 Prospector System <bugs@redhat.com>
  130. - translations modified for de, fr, tr
  131. * Sat May 02 1998 Cristian Gafton <gafton@redhat.com>
  132. - enhanced initscripts
  133. * Tue Oct 28 1997 Erik Troan <ewt@redhat.com>
  134. - fixed init script (wasn't including function library)
  135. * Sun Oct 19 1997 Erik Troan <ewt@redhat.com>
  136. - added init script, chkconfig support
  137. * Tue Jul 15 1997 Erik Troan <ewt@redhat.com>
  138. - initial build