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