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