1 |
%define name smeserver-dhcpmanager |
2 |
%define version 2.0.4 |
3 |
%define release 18 |
4 |
|
5 |
Summary: provide a dhcp panel in the server-manager for The SME Server |
6 |
Name: %{name} |
7 |
Version: %{version} |
8 |
Release: %{release}%{?dist} |
9 |
Source: %{name}-%{version}.tar.gz |
10 |
License: GNU GPL version 2 |
11 |
URL: http://www.contribs.org |
12 |
Group: SMEserver/addon |
13 |
BuildRoot: %{_tmppath}/%{name}-buildroot |
14 |
#Prefix: %{_prefix} |
15 |
BuildArchitectures: noarch |
16 |
BuildRequires: e-smith-devtools |
17 |
Requires: e-smith-release >= 9.0 |
18 |
Requires: e-smith-base >= 5.8.0-93 |
19 |
Requires: net-tools |
20 |
Requires: nmap >= 2:6.25 |
21 |
AutoReqProv: no |
22 |
|
23 |
Patch0: smeserver-dhcpmanager-2.0.4-locale-2015-09-12.patch |
24 |
Patch1: smeserver-dhcpmanager-2.0.4-locale-2016-03-09.patch |
25 |
Patch2: smeserver-dhcpmanager-2.0.4.uniq_by_mac.patch |
26 |
Patch3: smeserver-dhcpmanager-2.0.4-locale-2017-02-02.patch |
27 |
Patch4: smeserver-dhcpmanager-2.0.4-locale-2017-03-25.patch |
28 |
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 |
Patch14: smeserver-dhcpmanager-2.0.4-locale-2024-09-05.patch |
38 |
|
39 |
%description |
40 |
Implementation of some feature arround dhcp clients like : wol, cleaning dhcpd.leases, Scan of your network etc// |
41 |
|
42 |
%changelog |
43 |
* Thu Sep 05 2024 Terry Fage <terry@fage.id.au> 2.0.4-18.sme |
44 |
- apply locale 2024-09-05.patch |
45 |
|
46 |
* Fri Mar 01 2024 Brian Read <brianr@koozali.org> 2.0.4-17.sme |
47 |
- Edit Menu entry to conform to new arrangements [SME: 12493] |
48 |
|
49 |
|
50 |
* Wed Feb 07 2024 Brian Read <brianr@koozali.org> 2.0.4-16.sme |
51 |
- Fix JS error on load and typo in table class name [SME: 12468] |
52 |
|
53 |
* Sat Dec 30 2023 Brian Read <brianr@koozali.org> 2.0.4-15.sme |
54 |
- Add more fixes for SM2 panels [SME:11850] |
55 |
- Add in Network scan page |
56 |
|
57 |
* Tue Dec 19 2023 Brian Read <brianr@koozali.org> 2.0.4-14.sme |
58 |
- More fixes for SM2 panels [SME:11850] |
59 |
- Remove Winpopup facility (no longer supported by Windose) |
60 |
- Show Leases page |
61 |
|
62 |
* Tue Jan 18 2022 Brian Read <brianr@bjsystems.co.uk> 2.0.4-13.sme |
63 |
- Add panels for SM2 [SME: 11850] |
64 |
- Initial panel with DHCP parameters |
65 |
|
66 |
* Sun Aug 22 2021 Terry Fage <terry.fage@gmail.com> 2.0.4-12.sme |
67 |
- apply locale 2021-08-22 patch |
68 |
|
69 |
* Tue Mar 30 2021 Jean-Philippe Pialasse <tests@pialasse.com> 2.0.4-11.sme |
70 |
- removing tmeplate custom, merged with core [SME: 11506] |
71 |
- adding third DNS entry [SME: 11506] |
72 |
|
73 |
* Wed Mar 24 2021 Brian Read <brianr@bjsystems.co.uk> 2.0.4-10.sme |
74 |
- Add Update event to createlinks [SME: 11029] |
75 |
|
76 |
* Wed Mar 24 2021 BogusDateBot |
77 |
- Eliminated rpmbuild "bogus date" warnings due to inconsistent weekday, |
78 |
by assuming the date is correct and changing the weekday. |
79 |
|
80 |
* Mon Oct 12 2020 Brian Read <brianr@bjsystems.co.uk> 2.0.4-9.sme |
81 |
- Import to SME10 tree - [SME: 11029 ] |
82 |
|
83 |
* Sat Dec 02 2017 SME Translation Server <translations@contribs.org> 2.0.4-8.sme |
84 |
- apply locale 2017-12-02 patch |
85 |
|
86 |
* Sat Mar 25 2017 Jean-Philipe Pialasse <tests@pialasse.com> 2.0.4-7.sme |
87 |
- apply locale 2017-03-25 patch |
88 |
|
89 |
* Mon Mar 13 2017 Jean-Philipe Pialasse <tests@pialasse.com> 2.0.4-6.sme |
90 |
- Add Update event to createlinks issue with last patch deleting pt-br file [SME: 10150] |
91 |
|
92 |
* Wed Feb 01 2017 Jean-Philipe Pialasse <tests@pialasse.com> 2.0.4-5.sme |
93 |
- apply locale 2017-02-02.patch |
94 |
|
95 |
* Tue Jun 28 2016 stephane de Labrusse <stephdl@de-labrusse.fr> 2.0.4-4.sme |
96 |
- sort the IP table by uniq mac address with the last dhcp lease |
97 |
|
98 |
* Wed Mar 09 2016 JP Pialasse <tests@pialasse.com> 2.0.4-3.sme |
99 |
- apply locale 2016-03-09 patch |
100 |
|
101 |
* Sat Sep 12 2015 stephane de Labrusse <stephdl@de-labrusse.fr> 2.0.4-2.sme |
102 |
- Added smeserver-dhcpmanager-2.0.4-locale-2015-09-12.patch |
103 |
|
104 |
* Tue Aug 18 2015 stephane de Labrusse <stephdl@de-labrusse.fr> 2.0.4-1.sme |
105 |
- new tarball 2.0.4 |
106 |
|
107 |
* Tue Aug 18 2015 stephane de Labrusse <stephdl@de-labrusse.fr> 2.0.3-1.sme |
108 |
- new tarball 2.0.3 |
109 |
|
110 |
* Mon Aug 17 2015 stephane de Labrusse <stephdl@de-labrusse.fr> 2.0.2-2.sme |
111 |
- added locale smeserver-dhcpmanager-2.0.2-locale-2015-08-17.patch |
112 |
|
113 |
* Thu Aug 13 2015 stephane de Labrusse <stephdl@de-labrusse.fr> 2.0.2-1.sme |
114 |
- new sources in cvs |
115 |
|
116 |
* Wed Aug 12 2015 stephane de Labrusse <stephdl@de-labrusse.fr> 2.0.1-1.sme |
117 |
- Initial release to contribs9 |
118 |
|
119 |
* Wed Aug 12 2015 Stephane de Labrusse <stephdl@de-labrusse.fr> smeserver-dhcpmanager-2.0-1.sme |
120 |
-Translations added |
121 |
-new WebUI |
122 |
|
123 |
* Sun May 18 2014 Stephane de Labrusse <stephdl@de-labrusse.fr> smeserver-dhcpmanager-1.5-12 |
124 |
- First release to sme9 |
125 |
|
126 |
* Wed Feb 05 2014 Stephane de Labrusse <stephdl@de-labrusse.fr> smeserver-dhcpmanager-1.5-11 |
127 |
- add default db values and change options to nmap in order to see name of computer |
128 |
|
129 |
* Mon Jan 13 2014 Stephane de Labrusse <stephdl@de-labrusse.fr> smeserver-dhcpmanager-1.5-10 |
130 |
- english wording correction [sme:8122] |
131 |
- change the nmap version to 6.25 (available in smecontribs) [sme:8120] |
132 |
- add an option to remove all leases |
133 |
- some subroutines added in the goal to save settings and stay on the same page (main page and connected IP) |
134 |
- some menu setting box redesigned. |
135 |
|
136 |
* Sun Jan 05 2014 Stephane de Labrusse <stephdl@de-labrusse.fr> smeserver-dhcpmanager-1.5-5 |
137 |
- Add a checkIP routine against wrong IP [sme:8015] |
138 |
- Add a new panel to see connected IP [sme:8113] |
139 |
- Add a counter of host up on the LAN (using nmap) [sme:8111] |
140 |
|
141 |
* Sun Dec 29 2013 Stephane de Labrusse <stephdl@de-labrusse.fr> smeserver-dhcpmanager-1.5-3 |
142 |
- adaptation for SME Server 8.0 |
143 |
* Thu Dec 23 2004 Thierry Quaak <thierry@quaak.net> |
144 |
- Last release of e-smith-dhcpmanager-1.5-1, thanks a lot for his work |
145 |
|
146 |
%prep |
147 |
%setup |
148 |
%patch0 -p1 |
149 |
%patch1 -p1 |
150 |
%patch2 -p1 |
151 |
%patch3 -p1 |
152 |
%patch4 -p1 |
153 |
%patch5 -p1 |
154 |
%patch6 -p1 |
155 |
%patch7 -p1 |
156 |
%patch8 -p1 |
157 |
%patch9 -p1 |
158 |
%patch10 -p1 |
159 |
%patch11 -p1 |
160 |
%patch12 -p1 |
161 |
%patch13 -p1 |
162 |
%patch14 -p1 |
163 |
|
164 |
rm -rf root/etc/e-smith/templates-custom |
165 |
|
166 |
%build |
167 |
perl createlinks |
168 |
|
169 |
%install |
170 |
rm -rf $RPM_BUILD_ROOT |
171 |
(cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) |
172 |
rm -f %{name}-%{version}-filelist |
173 |
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT > %{name}-%{version}-filelist |
174 |
echo "%doc COPYING" >> %{name}-%{version}-filelist |
175 |
|
176 |
%clean |
177 |
cd .. |
178 |
rm -rf %{name}-%{version} |
179 |
|
180 |
%pre |
181 |
|
182 |
%preun |
183 |
|
184 |
%post |
185 |
if (systemctl list-unit-files |grep smanager) then |
186 |
echo "Smanager restart in spec file" |
187 |
/sbin/e-smith/signal-event smanager-refresh; |
188 |
fi |
189 |
true |
190 |
|
191 |
|
192 |
%postun |
193 |
|
194 |
%files -f %{name}-%{version}-filelist |
195 |
%defattr(-,root,root) |
196 |
|