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