1 |
slords |
1.1 |
%define name smeserver-tftp-server |
2 |
|
|
%define version 1.0 |
3 |
|
|
%define release 2 |
4 |
|
|
|
5 |
|
|
Summary: Wrapper for tftp-server for the Trivial File Transfer Protocol (TFTP). |
6 |
|
|
Name: %{name} |
7 |
|
|
Version: %{version} |
8 |
|
|
Release: %{release}%{?dist} |
9 |
|
|
License: GPL |
10 |
|
|
Group: Network |
11 |
|
|
Source: %{name}-%{version}.tar.gz |
12 |
|
|
Requires: smeserver-release >= 7.0 tftp-server >= 0.39 |
13 |
|
|
BuildRequires: e-smith-devtools >= 1.13.1-03 |
14 |
|
|
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
15 |
|
|
BuildArch: noarch |
16 |
|
|
|
17 |
|
|
%description |
18 |
|
|
smeserver wrapper for tftp-server |
19 |
|
|
The Trivial File Transfer Protocol (TFTP) is normally used only for |
20 |
|
|
booting diskless workstations. The tftp package provides the user |
21 |
|
|
interface for TFTP, which allows users to transfer files to and from a |
22 |
|
|
remote machine. This program and TFTP provide very little security, |
23 |
|
|
and should not be enabled unless it is expressly needed. |
24 |
|
|
|
25 |
|
|
%package server |
26 |
|
|
Group: System Environment/Daemons |
27 |
|
|
Summary: The server for the Trivial File Transfer Protocol (TFTP). |
28 |
|
|
Requires: ipsvd >= 0.11.1 |
29 |
|
|
|
30 |
|
|
%description server |
31 |
|
|
The Trivial File Transfer Protocol (TFTP) is normally used only for |
32 |
|
|
booting diskless workstations. The tftp-server package provides the |
33 |
|
|
server for TFTP, which allows users to transfer files to and from a |
34 |
|
|
remote machine. TFTP provides very little security, and should not be |
35 |
|
|
enabled unless it is expressly needed. smeserver-tftp-server is a |
36 |
|
|
wrapper to allow the TFTP server to be run from /var/service/tftpd, |
37 |
|
|
and to run on SME SERVER 7 via daemontools. |
38 |
|
|
|
39 |
|
|
%prep |
40 |
|
|
%setup -q -n %{name}-%{version} |
41 |
|
|
|
42 |
|
|
%build |
43 |
|
|
perl createlinks |
44 |
|
|
|
45 |
|
|
%install |
46 |
|
|
/bin/rm -rf $RPM_BUILD_ROOT |
47 |
|
|
(cd root ; /usr/bin/find . -depth -print | /bin/cpio -dump $RPM_BUILD_ROOT) |
48 |
|
|
/bin/rm -f %{name}-%{version}-filelist |
49 |
|
|
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT > %{name}-%{version}-filelist |
50 |
|
|
|
51 |
|
|
%clean |
52 |
|
|
rm -rf $RPM_BUILD_ROOT |
53 |
|
|
|
54 |
|
|
%files -f %{name}-%{version}-filelist |
55 |
|
|
|
56 |
|
|
%defattr(-,root,root) |
57 |
|
|
|
58 |
|
|
%pre |
59 |
|
|
|
60 |
|
|
%preun |
61 |
|
|
/sbin/e-smith/db config setprop tftpd status disabled |
62 |
|
|
/etc/rc.d/init.d/supervise/tftpd stop |
63 |
|
|
|
64 |
|
|
%post |
65 |
|
|
|
66 |
|
|
%postun |
67 |
|
|
|
68 |
|
|
%changelog |
69 |
|
|
* Sun Apr 29 2007 Shad L. Lords <slords@mail.com> |
70 |
|
|
- Clean up spec so package can be built by koji/plague |
71 |
|
|
|
72 |
|
|
* Sat Apr 28 2007 Trevor Batley <trevorbatley@users.sourceforge.net> 1.0-1 |
73 |
|
|
- Fixed incorrect createlinks for /etc/rc.d/init.d/supervise/tftpd to daemontools |
74 |
|
|
- Removed symlink from /service/tftpd to /var/service/tftpd and used createlinks instead |
75 |
|
|
- Changed %preun from config to /sbin/e-smith/db config and /etc/init.d to /etc/rc.d/init.d |
76 |
|
|
- Removed %BuildPreReq as this applied when it included tftp-server |
77 |
|
|
- Added %BuildArch: noarch as this wrapper does NOT require any specific architecture |
78 |
|
|
|
79 |
|
|
* Wed Apr 25 2007 Trevor Batley <trevorbatley@users.sourceforge.net> 1.0-1 |
80 |
|
|
- Updated Release tag to new smeserver standard |
81 |
|
|
- Changed contrib to just contain the wrapper code and require tftp-server from centos |
82 |
|
|
- As it's a wrapper, changed verion number to it's own (rather that that of tftp-server) |
83 |
|
|
|
84 |
|
|
* Sun Dec 17 2006 Charlie Brady <charlieb@e-smith.com> |
85 |
|
|
- Replace deprecated Copyright header with License. |
86 |
|
|
|
87 |
|
|
* Tue Apr 4 2006 Trevor Batley <trevorbatley@users.sourceforge.net> |
88 |
|
|
- Set tftpd to disabled and stop as part of pre-uninstall script |
89 |
|
|
- Set default user to root |
90 |
|
|
|
91 |
|
|
* Mon Mar 20 2006 Trevor Batley <trevorbatley@users.sourceforge.net> |
92 |
|
|
- Repackage for smeserver v7.x |
93 |
|
|
- Based on repackaging already done by Daniel Warnet <daniel@tw.co.nz> |
94 |
|
|
|
95 |
|
|
* Mon Sep 13 2004 Elliot Lee <sopwith@redhat.com> 0.39-1 |
96 |
|
|
- Update to new version makes tftp work, says upstream. |
97 |
|
|
- Remove malta patch |
98 |
|
|
|
99 |
|
|
* Mon Sep 13 2004 Elliot Lee <sopwith@redhat.com> 0.38-1 |
100 |
|
|
- Update to new version fixes #131736 |
101 |
|
|
|
102 |
|
|
* Tue Jun 15 2004 Elliot Lee <sopwith@redhat.com> |
103 |
|
|
- rebuilt |
104 |
|
|
|
105 |
|
|
* Thu Jun 03 2004 Elliot Lee <sopwith@redhat.com> 0.36-1 |
106 |
|
|
- Update version |
107 |
|
|
|
108 |
|
|
* Fri Feb 13 2004 Elliot Lee <sopwith@redhat.com> |
109 |
|
|
- rebuilt |
110 |
|
|
|
111 |
|
|
* Wed Jun 04 2003 Elliot Lee <sopwith@redhat.com> |
112 |
|
|
- rebuilt |
113 |
|
|
|
114 |
|
|
* Fri Apr 11 2003 Elliot Lee <sopwith@redhat.com> |
115 |
|
|
- 0.33 |
116 |
|
|
- Add /tftpboot directory (#88204) |
117 |
|
|
|
118 |
|
|
* Mon Feb 24 2003 Elliot Lee <sopwith@redhat.com> |
119 |
|
|
- rebuilt |
120 |
|
|
|
121 |
|
|
* Sun Feb 23 2003 Tim Powers <timp@redhat.com> |
122 |
|
|
- add BuildPreReq on tcp_wrappers |
123 |
|
|
|
124 |
|
|
* Wed Jan 22 2003 Tim Powers <timp@redhat.com> |
125 |
|
|
- rebuilt |
126 |
|
|
|
127 |
|
|
* Mon Nov 11 2002 Elliot Lee <sopwith@redhat.com> 0.32-1 |
128 |
|
|
- Update to 0.32 |
129 |
|
|
|
130 |
|
|
* Wed Oct 23 2002 Elliot Lee <sopwith@redhat.com> 0.30-1 |
131 |
|
|
- Fix #55789 |
132 |
|
|
- Update to 0.30 |
133 |
|
|
|
134 |
|
|
* Thu Jun 27 2002 Elliot Lee <sopwith@redhat.com> |
135 |
|
|
- Try applying HJ's patch from #65476 |
136 |
|
|
|
137 |
|
|
* Fri Jun 21 2002 Tim Powers <timp@redhat.com> |
138 |
|
|
- automated rebuild |
139 |
|
|
|
140 |
|
|
* Mon Jun 17 2002 Elliot Lee <sopwith@redhat.com> |
141 |
|
|
- Update to 0.29 |
142 |
|
|
|
143 |
|
|
* Thu May 23 2002 Tim Powers <timp@redhat.com> |
144 |
|
|
- automated rebuild |
145 |
|
|
|
146 |
|
|
* Wed Jan 09 2002 Tim Powers <timp@redhat.com> |
147 |
|
|
- automated rebuild |
148 |
|
|
|
149 |
|
|
* Tue Dec 18 2001 Elliot Lee <sopwith@redhat.com> 0.17-15 |
150 |
|
|
- Add patch4: netkit-tftp-0.17-defaultport.patch for bug #57562 |
151 |
|
|
- Update to tftp-hpa-0.28 (bug #56131) |
152 |
|
|
- Remove include/arpa/tftp.h to fix #57259 |
153 |
|
|
- Add resource limits in tftp-xinetd (#56722) |
154 |
|
|
|
155 |
|
|
* Sun Jun 24 2001 Elliot Lee <sopwith@redhat.com> |
156 |
|
|
- Bump release + rebuild. |
157 |
|
|
|
158 |
|
|
* Tue Jun 12 2001 Helge Deller <hdeller@redhat.de> (0.17-13) |
159 |
|
|
- updated tftp-hpa source to tftp-hpa-0.17 |
160 |
|
|
- tweaked specfile with different defines for tftp-netkit and tftp-hpa version |
161 |
|
|
- use hpa's tftpd.8 man page instead of the netkits one |
162 |
|
|
|
163 |
|
|
* Mon May 07 2001 Helge Deller <hdeller@redhat.de> |
164 |
|
|
- rebuilt in 7.1.x |
165 |
|
|
|
166 |
|
|
* Wed Apr 18 2001 Helge Deller <hdeller@redhat.de> |
167 |
|
|
- fix tftp client's put problems (#29529) |
168 |
|
|
- update to tftp-hpa-0.16 |
169 |
|
|
|
170 |
|
|
* Wed Apr 4 2001 Jakub Jelinek <jakub@redhat.com> |
171 |
|
|
- don't let configure to guess compiler, it can pick up egcs |
172 |
|
|
|
173 |
|
|
* Thu Feb 08 2001 Helge Deller <hdeller@redhat.de> |
174 |
|
|
- changed "wait" in xinetd file to "yes" (hpa-tftpd forks and exits) (#26467) |
175 |
|
|
- fixed hpa-tftpd to handle files greater than 32MB (#23725) |
176 |
|
|
- added "-l" flag to hpa-tftpd for file-logging (#26467) |
177 |
|
|
- added description for "-l" to the man-page |
178 |
|
|
|
179 |
|
|
* Thu Feb 08 2001 Helge Deller <hdeller@redhat.de> |
180 |
|
|
- updated tftp client to 0.17 stable (#19640), |
181 |
|
|
- drop dependency on xinetd for tftp client (#25051), |
182 |
|
|
|
183 |
|
|
* Wed Jan 17 2001 Jeff Johnson <jbj@redhat.com> |
184 |
|
|
- xinetd shouldn't wait on tftp (which forks) (#23923). |
185 |
|
|
|
186 |
|
|
* Sat Jan 6 2001 Jeff Johnson <jbj@redhat.com> |
187 |
|
|
- fix to permit tftp put's (#18128). |
188 |
|
|
- startup as root with chroot to /tftpboot with early reversion to nobody |
189 |
|
|
is preferable to starting as nobody w/o ability to chroot. |
190 |
|
|
- %%post is needed by server, not client. Add %%postun for erasure as well. |
191 |
|
|
|
192 |
|
|
* Wed Aug 23 2000 Nalin Dahyabhai <nalin@redhat.com> |
193 |
|
|
- default to being disabled |
194 |
|
|
|
195 |
|
|
* Thu Aug 17 2000 Jeff Johnson <jbj@redhat.com> |
196 |
|
|
- correct group. |
197 |
|
|
|
198 |
|
|
* Tue Jul 25 2000 Nalin Dahyabhai <nalin@redhat.com> |
199 |
|
|
- change user from root to nobody |
200 |
|
|
|
201 |
|
|
* Sat Jul 22 2000 Jeff Johnson <jbj@redhat.com> |
202 |
|
|
- update to tftp-hpa-0.14 (#14003). |
203 |
|
|
- add server_args (#14003). |
204 |
|
|
- remove -D_BSD_SOURCE (#14003). |
205 |
|
|
|
206 |
|
|
* Fri Jul 21 2000 Nalin Dahyabhai <nalin@redhat.com> |
207 |
|
|
- cook up an xinetd config file for tftpd |
208 |
|
|
|
209 |
|
|
* Wed Jul 12 2000 Prospector <bugzilla@redhat.com> |
210 |
|
|
- automatic rebuild |
211 |
|
|
|
212 |
|
|
* Sun Jun 18 2000 Jeff Johnson <jbj@redhat.com> |
213 |
|
|
- FHS packaging. |
214 |
|
|
- update to 0.17. |
215 |
|
|
|
216 |
|
|
* Fri May 5 2000 Matt Wilson <msw@redhat.com> |
217 |
|
|
- use _BSD_SOURCE for hpa's tftpd so we get BSD signal semantics. |
218 |
|
|
|
219 |
|
|
* Fri Feb 11 2000 Bill Nottingham <notting@redhat.com> |
220 |
|
|
- fix description |
221 |
|
|
|
222 |
|
|
* Wed Feb 9 2000 Jeff Johnson <jbj@redhat.com> |
223 |
|
|
- compress man pages (again). |
224 |
|
|
|
225 |
|
|
* Wed Feb 02 2000 Cristian Gafton <gafton@redhat.com> |
226 |
|
|
- man pages are compressed |
227 |
|
|
- fix description and summary |
228 |
|
|
|
229 |
|
|
* Tue Jan 4 2000 Bill Nottingham <notting@redhat.com> |
230 |
|
|
- split client and server |
231 |
|
|
|
232 |
|
|
* Tue Dec 21 1999 Jeff Johnson <jbj@redhat.com> |
233 |
|
|
- update to 0.16. |
234 |
|
|
|
235 |
|
|
* Sat Aug 28 1999 Jeff Johnson <jbj@redhat.com> |
236 |
|
|
- update to 0.15. |
237 |
|
|
|
238 |
|
|
* Wed Apr 7 1999 Jeff Johnson <jbj@redhat.com> |
239 |
|
|
- tftpd should truncate file when overwriting (#412) |
240 |
|
|
|
241 |
|
|
* Sun Mar 21 1999 Cristian Gafton <gafton@redhat.com> |
242 |
|
|
- auto rebuild in the new build environment (release 22) |
243 |
|
|
|
244 |
|
|
* Mon Mar 15 1999 Jeff Johnson <jbj@redhat.com> |
245 |
|
|
- compile for 6.0. |
246 |
|
|
|
247 |
|
|
* Fri Aug 7 1998 Jeff Johnson <jbj@redhat.com> |
248 |
|
|
- build root |
249 |
|
|
|
250 |
|
|
* Mon Apr 27 1998 Prospector System <bugs@redhat.com> |
251 |
|
|
- translations modified for de, fr, tr |
252 |
|
|
|
253 |
|
|
* Mon Sep 22 1997 Erik Troan <ewt@redhat.com> |
254 |
|
|
- added check for getpwnam() failure |
255 |
|
|
|
256 |
|
|
* Tue Jul 15 1997 Erik Troan <ewt@redhat.com> |
257 |
|
|
- initial build |