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