tftp-vl.spec 5.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162
  1. Summary: The client for the Trivial File Transfer Protocol (TFTP).
  2. Summary(ja): TFTP (Trivial File Transfer Protocol) クライアント
  3. Name: tftp
  4. Version: 0.42
  5. Release: 4%{?_dist_release}
  6. License: BSD
  7. Group: Applications/Internet
  8. Source: http://www.kernel.org/pub/software/network/tftp/tftp-hpa-%{version}.tar.gz
  9. Patch0: tftp-0.40-remap.patch
  10. Patch1: tftp-hpa-0.42-sigjmp.patch
  11. Patch2: tftp-hpa-0.39-tzfix.patch
  12. BuildPreReq: tcp_wrappers readline-devel
  13. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  14. %description
  15. The Trivial File Transfer Protocol (TFTP) is normally used only for
  16. booting diskless workstations. The tftp package provides the user
  17. interface for TFTP, which allows users to transfer files to and from a
  18. remote machine. This program and TFTP provide very little security,
  19. and should not be enabled unless it is expressly needed.
  20. %description -l ja
  21. TFTP (Trivial File Transfer Protocol) は通常
  22. ディスクレスワークステーションの起動時にのみ使われます.
  23. tftp パッケージはこの TFTP のインタフェースを提供し,リモート機から
  24. ファイルを転送することが出来ます.このプログラムと TFTP は
  25. セキュリティ面に於いて非常に弱いので,どうしても必要な場合以外は
  26. 使わない方が良いでしょう.
  27. %package server
  28. Group: System Environment/Daemons
  29. Summary: The server for the Trivial File Transfer Protocol (TFTP).
  30. Summary(ja): TFTP (Trivial File Transfer Protocol) サーバ
  31. Requires: inetd
  32. %description server
  33. The Trivial File Transfer Protocol (TFTP) is normally used only for
  34. booting diskless workstations. The tftp-server package provides the
  35. server for TFTP, which allows users to transfer files to and from a
  36. remote machine. TFTP provides very little security, and should not be
  37. enabled unless it is expressly needed. The TFTP server is run from
  38. /etc/inetd.conf, and is disabled by default on Red Hat Linux systems.
  39. %description server -l ja
  40. TFTP (Trivial File Transfer Protocol) は通常
  41. ディスクレスワークステーションの起動時にのみ使われます.
  42. tftp-server パッケージには TFTP のサーバプログラムが収められており,
  43. リモート機間とのファイル転送を可能にします.このプログラムと TFTP は
  44. セキュリティ面に於いて非常に弱いので,どうしても必要な場合以外は
  45. 使わない方が良いでしょう.
  46. TFTP サーバは /etc/inetd.conf から起動され,Red Hat Linux システムでは
  47. デフォルトでオフにされています.
  48. %prep
  49. %setup -q -n tftp-hpa-%{version}
  50. %patch0 -p1 -b .zero
  51. %patch1 -p1 -b .sigjmp
  52. %patch2 -p1 -b .tzfix
  53. %build
  54. %configure
  55. make %{?_smp_mflags}
  56. %install
  57. rm -rf $RPM_BUILD_ROOT
  58. mkdir -p ${RPM_BUILD_ROOT}%{_bindir}
  59. mkdir -p ${RPM_BUILD_ROOT}%{_mandir}/man{1,8}
  60. mkdir -p ${RPM_BUILD_ROOT}%{_sbindir}
  61. make INSTALLROOT=${RPM_BUILD_ROOT} \
  62. SBINDIR=%{_sbindir} MANDIR=%{_mandir} \
  63. install
  64. %clean
  65. rm -rf $RPM_BUILD_ROOT
  66. %files
  67. %defattr(-,root,root)
  68. %{_bindir}/tftp
  69. %{_mandir}/man1/*
  70. %files server
  71. %defattr(-,root,root)
  72. %{_sbindir}/in.tftpd
  73. %{_mandir}/man8/*
  74. %changelog
  75. * Sun Oct 12 2008 Shu KONNO <owa@bg.wakwak.com> 0.42-4vl5
  76. - applied new versioning policy, spec in utf-8
  77. * Sat Apr 15 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.42-3vl1
  78. - rebuilt with readline 5.1
  79. - new upstream release
  80. - added patches from Fedora
  81. * Mon Apr 10 2006 Radek Vok叩l <rvokal@redhat.com> 0.42-3
  82. - show localtime instead of GMT (#172274)
  83. * Wed Mar 22 2006 Radek Vok叩l <rvokal@redhat.com> 0.42-2
  84. - fix double free error when hitting ^C (#186201)
  85. * Sat May 28 2005 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.40-6vl1
  86. - updated to 0.40 based on Fedora
  87. * Tue Apr 19 2005 Radek Vokal <rvokal@redhat.com> 0.40-6
  88. - fix remap rules convert error <pjones@redhat.com>
  89. - changed tftp Group
  90. * Thu Jul 24 2003 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.33-2vl1
  91. - updated to 0.33
  92. - rebuild with new toolchains
  93. - s/Copyright/License/
  94. - add BuildPreReq on tcp_wrappers (based on Rawhide)
  95. * Wed Jan 10 2001 MATSUBAYASHI 'Shaolin' Kohji <shaolin@rhythmaning.org>
  96. - 0.16-5vl1
  97. - use better macros (%%{_bindir},%%{_sbindir},%%{_mandir})
  98. - added Japanese summary and description
  99. * Fri Feb 11 2000 Bill Nottingham <notting@redhat.com>
  100. - fix description
  101. * Wed Feb 9 2000 Jeff Johnson <jbj@redhat.com>
  102. - compress man pages (again).
  103. * Wed Feb 02 2000 Cristian Gafton <gafton@redhat.com>
  104. - man pages are compressed
  105. - fix description and summary
  106. * Tue Jan 4 2000 Bill Nottingham <notting@redhat.com>
  107. - split client and server
  108. * Tue Dec 21 1999 Jeff Johnson <jbj@redhat.com>
  109. - update to 0.16.
  110. * Sat Aug 28 1999 Jeff Johnson <jbj@redhat.com>
  111. - update to 0.15.
  112. * Wed Apr 7 1999 Jeff Johnson <jbj@redhat.com>
  113. - tftpd should truncate file when overwriting (#412)
  114. * Sun Mar 21 1999 Cristian Gafton <gafton@redhat.com>
  115. - auto rebuild in the new build environment (release 22)
  116. * Mon Mar 15 1999 Jeff Johnson <jbj@redhat.com>
  117. - compile for 6.0.
  118. * Fri Aug 7 1998 Jeff Johnson <jbj@redhat.com>
  119. - build root
  120. * Mon Apr 27 1998 Prospector System <bugs@redhat.com>
  121. - translations modified for de, fr, tr
  122. * Mon Sep 22 1997 Erik Troan <ewt@redhat.com>
  123. - added check for getpwnam() failure
  124. * Tue Jul 15 1997 Erik Troan <ewt@redhat.com>
  125. - initial build