1 |
# $Id: smeserver-tftp-server.spec,v 1.7 2018/11/12 16:03:12 jcrisp Exp $ |
# $Id: smeserver-tftp-server.spec,v 1.7 2022/06/27 01:59:34 trevorb Exp $ |
2 |
# Authority: nocvs |
# Authority: nocvs |
3 |
# Name: Trevor Batley |
# Name: Trevor Batley |
4 |
|
|
5 |
%define name smeserver-tftp-server |
%define name smeserver-tftp-server |
6 |
%define version 1.2 |
%define version 1.2 |
7 |
%define release 6 |
%define release 12 |
8 |
|
|
9 |
Summary: Wrapper for tftp-server for the Trivial File Transfer Protocol (TFTP). |
Summary: Wrapper for tftp-server for the Trivial File Transfer Protocol (TFTP). |
10 |
Name: %{name} |
Name: %{name} |
13 |
License: GPL |
License: GPL |
14 |
Group: Network |
Group: Network |
15 |
Source: %{name}-%{version}.tar.gz |
Source: %{name}-%{version}.tar.gz |
16 |
Requires: smeserver-release >= 7.0 tftp-server >= 0.39 |
Requires: smeserver-release >= 10.0 |
17 |
|
Requires: tftp-server >= 5.0 |
18 |
BuildRequires: e-smith-devtools >= 1.13.1-03 |
BuildRequires: e-smith-devtools >= 1.13.1-03 |
19 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
20 |
BuildArch: noarch |
BuildArch: noarch |
25 |
Patch4: smeserver-tftp-server-1.2-allow.patch |
Patch4: smeserver-tftp-server-1.2-allow.patch |
26 |
Patch5: smeserver-tftp-server-1.2-blksize.patch |
Patch5: smeserver-tftp-server-1.2-blksize.patch |
27 |
Patch6: smeserver-tftp-server-1.2-blksize-check.patch |
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 |
|
Patch10: smeserver-tftp-server-1.2-fix-missing-systemd-directories.patch |
32 |
|
Patch11: smeserver-tftp-server-1.2-12025-backup.patch |
33 |
|
|
34 |
%description |
%description |
35 |
smeserver wrapper for tftp-server |
smeserver wrapper for tftp-server |
47 |
%patch4 -p1 |
%patch4 -p1 |
48 |
%patch5 -p1 |
%patch5 -p1 |
49 |
%patch6 -p1 |
%patch6 -p1 |
50 |
|
%patch7 -p1 |
51 |
|
%patch8 -p1 |
52 |
|
%patch9 -p1 |
53 |
|
%patch10 -p1 |
54 |
|
%patch11 -p1 |
55 |
|
|
56 |
%build |
%build |
57 |
perl createlinks |
perl createlinks |
62 |
/bin/rm -f %{name}-%{version}-filelist |
/bin/rm -f %{name}-%{version}-filelist |
63 |
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT > %{name}-%{version}-filelist |
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT > %{name}-%{version}-filelist |
64 |
|
|
65 |
|
%post |
66 |
|
#systemctl enable tftp |
67 |
|
#systemctl start tftp |
68 |
|
|
69 |
|
|
70 |
%clean |
%clean |
71 |
rm -rf $RPM_BUILD_ROOT |
rm -rf $RPM_BUILD_ROOT |
72 |
|
|
74 |
%defattr(-,root,root) |
%defattr(-,root,root) |
75 |
|
|
76 |
%changelog |
%changelog |
77 |
|
* Mon Jun 27 2022 Trevor Batley <trevor@batley.id.au> 1.2-12.sme |
78 |
|
- Add tftp root directory (/tftpboot) to backups [SME: 12025] |
79 |
|
|
80 |
|
* Thu Apr 14 2022 John Crisp <jcrisp@safeandsoundit.co.uk> 1.2-11.sme |
81 |
|
- Fix missing systemd directories [SME: 11927] |
82 |
|
- Add default 50koozali.conf files |
83 |
|
|
84 |
|
* Mon Apr 11 2022 John Crisp <jcrisp@safeandsoundit.co.uk> 1.2-10.sme |
85 |
|
- Update systemd unit files [SME: 11927] |
86 |
|
- Migrate db from tftpd to tftp [SME: 11928] |
87 |
|
|
88 |
|
* Wed Nov 10 2021 Brian Read <brianr@bjsystems.co.uk> 1.2-9.sme |
89 |
|
- Expand-hosts-allow-in-update-event [SME: 11074 ] |
90 |
|
|
91 |
|
* Tue Nov 09 2021 Brian Read <brianr@bjsystems.co.uk> 1.2-8.sme |
92 |
|
- Add -update event and systemd files [SME: 11074] |
93 |
|
|
94 |
|
* Thu Oct 29 2020 Brian Read <brianr@bjsystems.co.uk> 1.2-7.sme |
95 |
|
- Initial import to SME10 tree [SME: 11074] |
96 |
|
|
97 |
* Mon Nov 12 2018 John Crisp <jcrisp@safeandsoundit.co.uk> 1.2-6 |
* Mon Nov 12 2018 John Crisp <jcrisp@safeandsoundit.co.uk> 1.2-6 |
98 |
- Add a blksize check [SME:10646] |
- Add a blksize check [SME:10646] |
99 |
|
|