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