/[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.3 - (hide annotations) (download)
Tue Nov 9 16:39:10 2021 UTC (3 years ago) by brianr
Branch: MAIN
CVS Tags: smeserver-tftp-server-1_2-8_el7_sme
Changes since 1.2: +9 -4 lines
* Tue Nov 09 2021 Brian Read <brianr@bjsystems.co.uk> 1.2-8.sme
- Add -update event and systemd files [SME: 11074]

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

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