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