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