inetd-vl.spec 6.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225
  1. Summary: The inetd networking program.
  2. Summary(ja): inetd ネットワークプログラム
  3. Name: inetd
  4. Version: 0.17
  5. Release: 0vl4
  6. License: BSD
  7. Group: System Environment/Daemons
  8. Source0: ftp://sunsite.unc.edu/pub/Linux/system/network/netkit/netkit-base-%{version}.tar.gz
  9. Source1: inetd.conf.default.vine
  10. Source2: inet.init
  11. Source3: inetd.conf.5
  12. Patch0: netkit-base-0.16-jbj.patch
  13. Patch2: netkit-base-0.16-mandir.patch
  14. Prereq: chkconfig
  15. Requires: tcp_wrappers
  16. Obsoletes: netkit-base
  17. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  18. Vendor: Project Vine
  19. Distribution: Vine Linux
  20. %description
  21. The inetd package contains the inetd networking program. Inetd listens
  22. on certain Internet sockets for connection requests, decides what
  23. program should receive each request, and starts that program.
  24. The inetd package should be installed on any machine that is on a
  25. network.
  26. %description -l ja
  27. inetd パッケージは基本的なネットワークツールである inetd を含んでいる。
  28. inetd はあるインターネットのコネクション要求のソケットを監視し、それぞれの要求に対してどのプログラムがそれを受けとるか決定し、そのプログラムを開始する。
  29. inetd パッケージはネットワークに接続するどのマシンにもインストールすべきである。
  30. %prep
  31. %setup -q -n netkit-base-%{version}
  32. %patch0 -p1 -b .jbj
  33. %patch2 -p1 -b .mandir
  34. %build
  35. sh configure
  36. perl -pi -e 's,-O2,\$(RPM_OPT_FLAGS),' MCONFIG
  37. make
  38. %install
  39. rm -rf $RPM_BUILD_ROOT
  40. mkdir -p $RPM_BUILD_ROOT%{_mandir}/man8
  41. mkdir -p $RPM_BUILD_ROOT%{_sbindir}
  42. make INSTALLROOT=$RPM_BUILD_ROOT install
  43. mkdir -p $RPM_BUILD_ROOT%{_mandir}/man5
  44. install -m 644 $RPM_SOURCE_DIR/inetd.conf.5 $RPM_BUILD_ROOT%{_mandir}/man5
  45. mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/rc.d/{init,rc0,rc1,rc2,rc3,rc4,rc5,rc6}.d
  46. install -m 644 %{SOURCE1} $RPM_BUILD_ROOT%{_sysconfdir}/inetd.conf
  47. install -m 755 %{SOURCE2} $RPM_BUILD_ROOT%{_sysconfdir}/rc.d/init.d/inet
  48. %clean
  49. rm -rf $RPM_BUILD_ROOT
  50. %post
  51. /sbin/chkconfig --add inet
  52. %preun
  53. if [ $1 = 0 ]; then
  54. /sbin/chkconfig --del inet
  55. fi
  56. %triggerpostun -- netkit-base
  57. /sbin/chkconfig --add inet
  58. %files
  59. %defattr(-,root,root)
  60. %attr(0644,root,root) %config(noreplace) %{_sysconfdir}/inetd.conf
  61. %attr(0755,root,root) %config %{_sysconfdir}/rc.d/init.d/inet
  62. %{_mandir}/man5/inetd.conf.5*
  63. %{_mandir}/man8/inetd.8*
  64. %{_sbindir}/inetd
  65. %changelog
  66. * Sun Nov 26 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 0.17-0vl4
  67. - fix dependencies ([VineSeed:11559,12368], <bts:398>)
  68. - remove Conflicts: xinetd
  69. - update inet.init (Source2) not to start inetd if xinetd is installed
  70. * Tue May 30 2006 Shu KONNO <owa@bg.wakwak.com> 0.17-0vl3
  71. - s/Copyright/License/
  72. * Sun Feb 20 2005 Daisuke SUZUKI <daisuke@linux.or.jp> 0.17-0vl2
  73. - add Conflicts: xinetd
  74. * Sat Apr 17 2004 Daisuke SUZUKI <daisuke@linux.or.jp> 0.17-0vl1
  75. - new upstream release
  76. - disable telnetd by default
  77. * Sat Oct 04 2003 KAZUKI SHIMURA <rito@pos.to> 0.16-7vl4
  78. - fix description (ja)
  79. * Sat Mar 09 2002 Daisuke SUZUKI <daisuke@linux.or.jp> 0.16-7vl3
  80. - comment out more service from inetd.conf
  81. * Thu Feb 15 2001 Satoshi MACHINO <machoino@vinelinux.org> 0.16-7vl2
  82. - added netkit-base-0.16-mandir.patch to move mandir
  83. to /usr/share/man from /usr/man
  84. * Wed Feb 14 2001 Satoshi MACHINO <machoino@vinelinux.org> 0.16-7vl1
  85. - use an improved patch for closing sockets from pekkas@netcore.fi
  86. (#11548)
  87. - used rpmmacros for Vine Linux 2.1.5
  88. * Wed Jan 24 2001 KAJIKI Yoshihiro <kajiki@ylug.org>
  89. - correct option of proftpd on %{_sysconfdir}/inetd.conf
  90. * Thu Aug 3 2000 Jun Nishii <jun@vinelinux.org>
  91. - adapt to Vine Linux 2.0
  92. * Mon Jan 31 2000 Cristian Gafton <gafton@redhat.com>
  93. - man pages are compressed
  94. - rebuild to fix dependencies
  95. * Mon Jan 17 2000 Bill Nottingham <notting@redhat.com>
  96. - remove identd from inetd.conf
  97. * Tue Jan 4 2000 Bill Nottingham <notting@redhat.com>
  98. - remove chkconfig links from file list
  99. - add trigger to fix links disappearing on upgrade from netkit-base
  100. * Fri Dec 24 1999 Jeff Johnson <jbj@redhat.com>
  101. - update to 0.16.
  102. - rename package to inetd, ANK ping can be found in new package iputils.
  103. - permit non-root builds (ping 4755 root.root has %attr in file list).
  104. * Fri Sep 10 1999 Bill Nottingham <notting@redhat.com>
  105. - chkconfig --del in %preun, not %postun
  106. * Sat Sep 4 1999 Jeff Johnson <jbj@redhat.com>
  107. - revert identd to inetd.conf startup.
  108. * Thu Aug 19 1999 Jeff Johnson <jbj@redhat.com>
  109. - correct identd inetd.conf startup to wait and comment out (#4504).
  110. * Mon Aug 16 1999 Bill Nottingham <notting@redhat.com>
  111. - initscript munging
  112. * Mon Aug 9 1999 Jeff Johnson <jbj@redhat.com>
  113. - don't compare timevals -- rtt > 1sec causes failure (#4443,#3960).
  114. - resurrect old -c 2 behavior if host is unreachable (#3959).
  115. - update ping to ANK's ss990610 with new "-w waitsecs" option.
  116. * Tue Jul 27 1999 Bill Nottingham <notting@redhat.com>
  117. - run talk/talkd as nobody.tty
  118. - run fingerd as nobody
  119. - fix description in init file
  120. * Mon May 17 1999 Jeff Johnson <jbj@redhat.com)
  121. - fix 64bit alpha problems. (#1786)
  122. * Wed May 5 1999 Jeff Johnson <jbj@redhat.com>
  123. - use ping from iputils.
  124. - fix odd-byte checksum on little-endian machines (#2281)
  125. - (re-) verify ping flood (#213).
  126. * Wed Apr 7 1999 Jeff Johnson <jbj@redhat.com>
  127. - fix inetd fd leak (#695)
  128. * Wed Mar 31 1999 Jeff Johnson <jbj@redhat.com>
  129. - ping flood can send faster than it can receive -- staunch the flow. (#213)
  130. * Tue Mar 30 1999 Bill Nottingham <notting@redhat.com>
  131. - turn off imap/pop by default
  132. - add a buffer overflow patch
  133. * Fri Mar 26 1999 Jeff Johnson <jbj@redhat.com>
  134. - make inetd.conf %config(noreplace).
  135. - fix time service config (#1725).
  136. * Fri Mar 26 1999 Preston Brown <pbrown@redhat.com>
  137. - comsat service added (commented out)
  138. * Tue Mar 23 1999 Preston Brown <pbrown@redhat.com>
  139. - man page added
  140. * Sun Mar 21 1999 Cristian Gafton <gafton@redhat.com>
  141. - auto rebuild in the new build environment (release 23)
  142. * Mon Mar 15 1999 Jeff Johnson <jbj@redhat.com>
  143. - compile for 6.0.
  144. * Wed Jun 17 1998 Jeff Johnson <jbj@redhat.com>
  145. - man page correction (problem #727)
  146. - add build root.
  147. * Fri Jun 05 1998 Prospector System <bugs@redhat.com>
  148. - translations modified for de
  149. * Thu Jun 04 1998 Mike Wangsmo <wanger@redhat.com>
  150. - made %{_sysconfdir}/inetd.conf a %config file. This is a D'oh!
  151. * Mon May 04 1998 Michael K. Johnson <johnsonm@redhat.com>
  152. - fixed iniscript enhancement
  153. * Fri Apr 24 1998 Prospector System <bugs@redhat.com>
  154. - translations modified for de, fr, tr
  155. * Thu Apr 23 1998 Michael K. Johnson
  156. - enhanced initscript
  157. * Wed Oct 29 1997 Donnie Barnes <djb@redhat.com>
  158. - added %config(missingok) to init symlinks
  159. * Sun Oct 19 1997 Erik Troan <ewt@redhat.com>
  160. - turned off in runlevel 2
  161. - added status, restart options to init script
  162. * Mon Oct 13 1997 Erik Troan <ewt@redhat.com>
  163. - added chkconfig support
  164. * Wed Aug 27 1997 Erik Troan <ewt@redhat.com>
  165. - fixed init.d symlinks
  166. - fixed permissions on /etc/rc.d/inet