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

Annotation 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.6 - (hide annotations) (download)
Thu Apr 14 12:17:11 2022 UTC (2 years, 7 months ago) by jcrisp
Branch: MAIN
CVS Tags: smeserver-tftp-server-1_2-11_el7_sme
Changes since 1.5: +8 -2 lines
* Thu Apr 14 2022 John Crisp <jcrisp@safeandsoundit.co.uk> 1.2-11.sme
- Fix missing systemd directories [SME: 11927]
- Add default 50koozali.conf files

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

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