1 |
trevorbatley |
1.5 |
# $Id: smeserver-tftp-server.spec,v 1.4 2016/03/17 11:17:43 trevorbatley Exp $ |
2 |
unnilennium |
1.1 |
# Authority: nocvs |
3 |
|
|
# Name: Trevor Batley |
4 |
|
|
|
5 |
|
|
%define name smeserver-tftp-server |
6 |
|
|
%define version 1.0 |
7 |
trevorbatley |
1.5 |
%define release 5 |
8 |
unnilennium |
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.0-dbdefaults.patch |
22 |
trevorbatley |
1.3 |
Patch2: smeserver-tftp-server-1.0-refuse.patch |
23 |
trevorbatley |
1.5 |
Patch3: smeserver-tftp-server-1.0-migrate.patch |
24 |
unnilennium |
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.5 |
%patch3 -p1 |
38 |
unnilennium |
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.5 |
* Sun Mar 20 2016 Trevor Batley <trevorbatley@users.sourceforge.net> 1.0-5 |
56 |
|
|
- Added migrate fragments for the fixed default values in 9043 [SME 9351] |
57 |
|
|
|
58 |
trevorbatley |
1.3 |
* Tue Mar 15 2016 Trevor Batley <trevorbatley@users.sourceforge.net> 1.0-4 |
59 |
|
|
- Added -r (--refuse) option [SME 9248] |
60 |
trevorbatley |
1.4 |
- Fixed -u option on updsvd (missing space after -u) [SME 9316] |
61 |
|
|
- Added disabled option on logging [SME 9317] |
62 |
trevorbatley |
1.3 |
|
63 |
trevorbatley |
1.2 |
* Mon Mar 07 2016 Trevor Batley <trevorbatley@users.sourceforge.net> 1.0-3 |
64 |
|
|
- Fixed default values [SME 9043] |
65 |
|
|
|
66 |
unnilennium |
1.1 |
* Sun Apr 29 2007 Shad L. Lords <slords@mail.com> |
67 |
|
|
- Clean up spec so package can be built by koji/plague |
68 |
|
|
|
69 |
|
|
* Sat Apr 28 2007 Trevor Batley <trevorbatley@users.sourceforge.net> 1.0-1 |
70 |
|
|
- Fixed incorrect createlinks for /etc/rc.d/init.d/supervise/tftpd to daemontools |
71 |
|
|
- Removed symlink from /service/tftpd to /var/service/tftpd and used createlinks instead |
72 |
|
|
- Changed %preun from config to /sbin/e-smith/db config and /etc/init.d to /etc/rc.d/init.d |
73 |
|
|
- Removed %BuildPreReq as this applied when it included tftp-server |
74 |
|
|
- Added %BuildArch: noarch as this wrapper does NOT require any specific architecture |
75 |
|
|
|
76 |
|
|
* Wed Apr 25 2007 Trevor Batley <trevorbatley@users.sourceforge.net> 1.0-1 |
77 |
|
|
- Updated Release tag to new smeserver standard |
78 |
|
|
- Changed contrib to just contain the wrapper code and require tftp-server from centos |
79 |
|
|
- As it's a wrapper, changed verion number to it's own (rather that that of tftp-server) |
80 |
|
|
|
81 |
|
|
* Sun Dec 17 2006 Charlie Brady <charlieb@e-smith.com> |
82 |
|
|
- Replace deprecated Copyright header with License. |
83 |
|
|
|
84 |
|
|
* Tue Apr 4 2006 Trevor Batley <trevorbatley@users.sourceforge.net> |
85 |
|
|
- Set tftpd to disabled and stop as part of pre-uninstall script |
86 |
|
|
- Set default user to root |
87 |
|
|
|
88 |
|
|
* Mon Mar 20 2006 Trevor Batley <trevorbatley@users.sourceforge.net> |
89 |
|
|
- Repackage for smeserver v7.x |
90 |
|
|
- Based on repackaging already done by Daniel Warnet <daniel@tw.co.nz> |
91 |
|
|
|
92 |
|
|
* Mon Sep 13 2004 Elliot Lee <sopwith@redhat.com> 0.39-1 |
93 |
|
|
- Update to new version makes tftp work, says upstream. |
94 |
|
|
- Remove malta patch |
95 |
|
|
|
96 |
|
|
* Mon Sep 13 2004 Elliot Lee <sopwith@redhat.com> 0.38-1 |
97 |
|
|
- Update to new version fixes #131736 |
98 |
|
|
|
99 |
|
|
* Tue Jun 15 2004 Elliot Lee <sopwith@redhat.com> |
100 |
|
|
- rebuilt |
101 |
|
|
|
102 |
|
|
* Thu Jun 03 2004 Elliot Lee <sopwith@redhat.com> 0.36-1 |
103 |
|
|
- Update version |
104 |
|
|
|
105 |
|
|
* Fri Feb 13 2004 Elliot Lee <sopwith@redhat.com> |
106 |
|
|
- rebuilt |
107 |
|
|
|
108 |
|
|
* Wed Jun 04 2003 Elliot Lee <sopwith@redhat.com> |
109 |
|
|
- rebuilt |
110 |
|
|
|
111 |
|
|
* Fri Apr 11 2003 Elliot Lee <sopwith@redhat.com> |
112 |
|
|
- 0.33 |
113 |
|
|
- Add /tftpboot directory (#88204) |
114 |
|
|
|
115 |
|
|
* Mon Feb 24 2003 Elliot Lee <sopwith@redhat.com> |
116 |
|
|
- rebuilt |
117 |
|
|
|
118 |
|
|
* Sun Feb 23 2003 Tim Powers <timp@redhat.com> |
119 |
|
|
- add BuildPreReq on tcp_wrappers |
120 |
|
|
|
121 |
|
|
* Wed Jan 22 2003 Tim Powers <timp@redhat.com> |
122 |
|
|
- rebuilt |
123 |
|
|
|
124 |
|
|
* Mon Nov 11 2002 Elliot Lee <sopwith@redhat.com> 0.32-1 |
125 |
|
|
- Update to 0.32 |
126 |
|
|
|
127 |
|
|
* Wed Oct 23 2002 Elliot Lee <sopwith@redhat.com> 0.30-1 |
128 |
|
|
- Fix #55789 |
129 |
|
|
- Update to 0.30 |
130 |
|
|
|
131 |
|
|
* Thu Jun 27 2002 Elliot Lee <sopwith@redhat.com> |
132 |
|
|
- Try applying HJ's patch from #65476 |
133 |
|
|
|
134 |
|
|
* Fri Jun 21 2002 Tim Powers <timp@redhat.com> |
135 |
|
|
- automated rebuild |
136 |
|
|
|
137 |
|
|
* Mon Jun 17 2002 Elliot Lee <sopwith@redhat.com> |
138 |
|
|
- Update to 0.29 |
139 |
|
|
|
140 |
|
|
* Thu May 23 2002 Tim Powers <timp@redhat.com> |
141 |
|
|
- automated rebuild |
142 |
|
|
|
143 |
|
|
* Wed Jan 09 2002 Tim Powers <timp@redhat.com> |
144 |
|
|
- automated rebuild |
145 |
|
|
|
146 |
|
|
* Tue Dec 18 2001 Elliot Lee <sopwith@redhat.com> 0.17-15 |
147 |
|
|
- Add patch4: netkit-tftp-0.17-defaultport.patch for bug #57562 |
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 |