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