/[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.9 - (show annotations) (download)
Fri Mar 22 04:55:33 2024 UTC (8 months ago) by trevorb
Branch: MAIN
CVS Tags: smeserver-tftp-server-1_2-13_el7_sme, HEAD
Changes since 1.8: +5 -3 lines
remove superfluous Requires ipsvd

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

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