/[smecontribs]/rpms/smeserver-tftp-server/contribs10/smeserver-tftp-server.spec
ViewVC logotype

Contents of /rpms/smeserver-tftp-server/contribs10/smeserver-tftp-server.spec

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.5 - (show annotations) (download)
Mon Apr 11 10:14:31 2022 UTC (2 years, 1 month ago) by jcrisp
Branch: MAIN
CVS Tags: smeserver-tftp-server-1_2-10_el7_sme
Changes since 1.4: +10 -3 lines
* Mon Apr 11 2022 John Crisp <jcrisp@safeandsoundit.co.uk> 1.2-10.sme
- Update systemd unit files [SME: 11927]
- Migrate db from tftpd to tftp [SME: 11928]

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

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed