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