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