1 |
%define name smeserver-dhcpmanager |
%define name smeserver-dhcpmanager |
2 |
%define version 2.0.4 |
%define version 2.0.4 |
3 |
%define release 9 |
%define release 17 |
4 |
|
|
5 |
Summary: provide a dhcp panel in the server-manager for The SME Server |
Summary: provide a dhcp panel in the server-manager for The SME Server |
6 |
Name: %{name} |
Name: %{name} |
15 |
BuildArchitectures: noarch |
BuildArchitectures: noarch |
16 |
BuildRequires: e-smith-devtools |
BuildRequires: e-smith-devtools |
17 |
Requires: e-smith-release >= 9.0 |
Requires: e-smith-release >= 9.0 |
18 |
|
Requires: e-smith-base >= 5.8.0-93 |
19 |
Requires: net-tools |
Requires: net-tools |
20 |
Requires: nmap >= 2:6.25 |
Requires: nmap >= 2:6.25 |
21 |
AutoReqProv: no |
AutoReqProv: no |
22 |
|
|
23 |
Patch0: smeserver-dhcpmanager-2.0.4-locale-2015-09-12.patch |
Patch0: smeserver-dhcpmanager-2.0.4-locale-2015-09-12.patch |
24 |
Patch1: smeserver-dhcpmanager-2.0.4-locale-2016-03-09.patch |
Patch1: smeserver-dhcpmanager-2.0.4-locale-2016-03-09.patch |
25 |
Patch2: smeserver-dhcpmanager-2.0.4.uniq_by_mac.patch |
Patch2: smeserver-dhcpmanager-2.0.4.uniq_by_mac.patch |
26 |
Patch3: smeserver-dhcpmanager-2.0.4-locale-2017-02-02.patch |
Patch3: smeserver-dhcpmanager-2.0.4-locale-2017-02-02.patch |
27 |
Patch4: smeserver-dhcpmanager-2.0.4-locale-2017-03-25.patch |
Patch4: smeserver-dhcpmanager-2.0.4-locale-2017-03-25.patch |
28 |
Patch5: smeserver-dhcpmanager-2.0.4-locale-2017-12-02.patch |
Patch5: smeserver-dhcpmanager-2.0.4-locale-2017-12-02.patch |
29 |
|
Patch6: smeserver-dhcpmanager-2.0.4-Add-Update-event-to-createlinks.patch |
30 |
|
Patch7: smeserver-dhcpmanager-2.0.4-bz11506-noCustomTemplates.patch |
31 |
|
Patch8: smeserver-dhcpmanager-2.0.4-locale-2021-08-22.patch |
32 |
|
Patch9: smeserver-dhcpmanager-2.0.4-Add-panels-for-SM2.patch |
33 |
|
Patch10: smeserver-dhcpmanager-2.0.4-More-changes-for-sm2-panels.patch |
34 |
|
Patch11: smeserver-dhcpmanager-2.0.4-Yet-more-changes-for-SM2-panels.patch |
35 |
|
Patch12: smeserver-dhcpmanager-2.0.4-Fix-JS-Error-on-load-and-typo-in-table-class-name.patch |
36 |
|
Patch13: smeserver-dhcpmanager-2.0.4-Alter-menu-category-for-new-arrangement.patch |
37 |
|
|
38 |
%description |
%description |
39 |
Implementation of some feature arround dhcp clients like : wol, cleaning dhcpd.leases, Scan of your network etc// |
Implementation of some feature arround dhcp clients like : wol, cleaning dhcpd.leases, Scan of your network etc// |
40 |
|
|
41 |
%changelog |
%changelog |
42 |
|
* Fri Mar 01 2024 Brian Read <brianr@koozali.org> 2.0.4-17.sme |
43 |
|
- Edit Menu entry to conform to new arrangements [SME: 12493] |
44 |
|
|
45 |
|
|
46 |
|
* Wed Feb 07 2024 Brian Read <brianr@koozali.org> 2.0.4-16.sme |
47 |
|
- Fix JS error on load and typo in table class name [SME: 12468] |
48 |
|
|
49 |
|
|
50 |
|
* Sat Dec 30 2023 Brian Read <brianr@koozali.org> 2.0.4-15.sme |
51 |
|
- Add more fixes for SM2 panels [SME:11850] |
52 |
|
- Add in Network scan page |
53 |
|
|
54 |
|
* Tue Dec 19 2023 Brian Read <brianr@koozali.org> 2.0.4-14.sme |
55 |
|
- More fixes for SM2 panels [SME:11850] |
56 |
|
- Remove Winpopup facility (no longer supported by Windose) |
57 |
|
- Show Leases page |
58 |
|
|
59 |
|
* Tue Jan 18 2022 Brian Read <brianr@bjsystems.co.uk> 2.0.4-13.sme |
60 |
|
- Add panels for SM2 [SME: 11850] |
61 |
|
- Initial panel with DHCP parameters |
62 |
|
|
63 |
|
* Sun Aug 22 2021 Terry Fage <terry.fage@gmail.com> 2.0.4-12.sme |
64 |
|
- apply locale 2021-08-22 patch |
65 |
|
|
66 |
|
* Tue Mar 30 2021 Jean-Philippe Pialasse <tests@pialasse.com> 2.0.4-11.sme |
67 |
|
- removing tmeplate custom, merged with core [SME: 11506] |
68 |
|
- adding third DNS entry [SME: 11506] |
69 |
|
|
70 |
|
* Wed Mar 24 2021 Brian Read <brianr@bjsystems.co.uk> 2.0.4-10.sme |
71 |
|
- Add Update event to createlinks [SME: 11029] |
72 |
|
|
73 |
|
* Wed Mar 24 2021 BogusDateBot |
74 |
|
- Eliminated rpmbuild "bogus date" warnings due to inconsistent weekday, |
75 |
|
by assuming the date is correct and changing the weekday. |
76 |
|
|
77 |
* Mon Oct 12 2020 Brian Read <brianr@bjsystems.co.uk> 2.0.4-9.sme |
* Mon Oct 12 2020 Brian Read <brianr@bjsystems.co.uk> 2.0.4-9.sme |
78 |
- Import to SME10 tree - [SME: 11029 ] |
- Import to SME10 tree - [SME: 11029 ] |
79 |
|
|
84 |
- apply locale 2017-03-25 patch |
- apply locale 2017-03-25 patch |
85 |
|
|
86 |
* Mon Mar 13 2017 Jean-Philipe Pialasse <tests@pialasse.com> 2.0.4-6.sme |
* Mon Mar 13 2017 Jean-Philipe Pialasse <tests@pialasse.com> 2.0.4-6.sme |
87 |
- fix issue with last patch deleting pt-br file [SME: 10150] |
- Add Update event to createlinks issue with last patch deleting pt-br file [SME: 10150] |
88 |
|
|
89 |
* Wed Feb 01 2017 Jean-Philipe Pialasse <tests@pialasse.com> 2.0.4-5.sme |
* Wed Feb 01 2017 Jean-Philipe Pialasse <tests@pialasse.com> 2.0.4-5.sme |
90 |
- apply locale 2017-02-02.patch |
- apply locale 2017-02-02.patch |
148 |
%patch3 -p1 |
%patch3 -p1 |
149 |
%patch4 -p1 |
%patch4 -p1 |
150 |
%patch5 -p1 |
%patch5 -p1 |
151 |
|
%patch6 -p1 |
152 |
|
%patch7 -p1 |
153 |
|
%patch8 -p1 |
154 |
|
%patch9 -p1 |
155 |
|
%patch10 -p1 |
156 |
|
%patch11 -p1 |
157 |
|
%patch12 -p1 |
158 |
|
%patch13 -p1 |
159 |
|
|
160 |
|
rm -rf root/etc/e-smith/templates-custom |
161 |
|
|
162 |
%build |
%build |
163 |
perl createlinks |
perl createlinks |
164 |
|
|
|
|
|
165 |
%install |
%install |
166 |
rm -rf $RPM_BUILD_ROOT |
rm -rf $RPM_BUILD_ROOT |
167 |
(cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) |
(cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) |
174 |
rm -rf %{name}-%{version} |
rm -rf %{name}-%{version} |
175 |
|
|
176 |
%pre |
%pre |
177 |
|
|
178 |
%preun |
%preun |
179 |
|
|
180 |
%post |
%post |
181 |
#/etc/e-smith/events/actions/navigation-conf |
if (systemctl list-unit-files |grep smanager) then |
182 |
|
echo "Smanager restart in spec file" |
183 |
|
/sbin/e-smith/signal-event smanager-refresh; |
184 |
|
fi |
185 |
|
true |
186 |
|
|
187 |
|
|
188 |
%postun |
%postun |
|
#rm /etc/e-smith/templates-custom/etc/dhcpd.conf/25NetbiosNameServers |
|
189 |
|
|
190 |
%files -f %{name}-%{version}-filelist |
%files -f %{name}-%{version}-filelist |
191 |
%defattr(-,root,root) |
%defattr(-,root,root) |