/[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.4 - (hide annotations) (download)
Wed Nov 10 12:07:54 2021 UTC (3 years ago) by brianr
Branch: MAIN
CVS Tags: smeserver-tftp-server-1_2-9_el7_sme
Changes since 1.3: +7 -2 lines
* Wed Nov 10 2021 Brian Read <brianr@bjsystems.co.uk> 1.2-9.sme
- Expand-hosts-allow-in-update-event [SME: 11074 ]

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

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