1 |
%define name smeserver-dhcpmanager |
2 |
%define version 2.0.4 |
3 |
%define release 11 |
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 |
Patch0: smeserver-dhcpmanager-2.0.4-locale-2015-09-12.patch |
23 |
Patch1: smeserver-dhcpmanager-2.0.4-locale-2016-03-09.patch |
24 |
Patch2: smeserver-dhcpmanager-2.0.4.uniq_by_mac.patch |
25 |
Patch3: smeserver-dhcpmanager-2.0.4-locale-2017-02-02.patch |
26 |
Patch4: smeserver-dhcpmanager-2.0.4-locale-2017-03-25.patch |
27 |
Patch5: smeserver-dhcpmanager-2.0.4-locale-2017-12-02.patch |
28 |
Patch6: smeserver-dhcpmanager-2.0.4-Add-Update-event-to-createlinks.patch |
29 |
Patch7: smeserver-dhcpmanager-2.0.4-bz11506-noCustomTemplates.patch |
30 |
|
31 |
%description |
32 |
Implementation of some feature arround dhcp clients like : wol, cleaning dhcpd.leases, Scan of your network etc// |
33 |
|
34 |
%changelog |
35 |
* Tue Mar 30 2021 Jean-Philippe Pialasse <tests@pialasse.com> 2.0.4-11.sme |
36 |
- removing tmeplate custom, merged with core [SME: 11506] |
37 |
- adding third DNS entry [SME: 11506] |
38 |
|
39 |
* Wed Mar 24 2021 Brian Read <brianr@bjsystems.co.uk> 2.0.4-10.sme |
40 |
- Add Update event to createlinks [SME: 11029] |
41 |
|
42 |
* Wed Mar 24 2021 BogusDateBot |
43 |
- Eliminated rpmbuild "bogus date" warnings due to inconsistent weekday, |
44 |
by assuming the date is correct and changing the weekday. |
45 |
|
46 |
* Mon Oct 12 2020 Brian Read <brianr@bjsystems.co.uk> 2.0.4-9.sme |
47 |
- Import to SME10 tree - [SME: 11029 ] |
48 |
|
49 |
* Sat Dec 02 2017 SME Translation Server <translations@contribs.org> 2.0.4-8.sme |
50 |
- apply locale 2017-12-02 patch |
51 |
|
52 |
* Sat Mar 25 2017 Jean-Philipe Pialasse <tests@pialasse.com> 2.0.4-7.sme |
53 |
- apply locale 2017-03-25 patch |
54 |
|
55 |
* Mon Mar 13 2017 Jean-Philipe Pialasse <tests@pialasse.com> 2.0.4-6.sme |
56 |
- Add Update event to createlinks issue with last patch deleting pt-br file [SME: 10150] |
57 |
|
58 |
* Wed Feb 01 2017 Jean-Philipe Pialasse <tests@pialasse.com> 2.0.4-5.sme |
59 |
- apply locale 2017-02-02.patch |
60 |
|
61 |
* Tue Jun 28 2016 stephane de Labrusse <stephdl@de-labrusse.fr> 2.0.4-4.sme |
62 |
- sort the IP table by uniq mac address with the last dhcp lease |
63 |
|
64 |
* Wed Mar 09 2016 JP Pialasse <tests@pialasse.com> 2.0.4-3.sme |
65 |
- apply locale 2016-03-09 patch |
66 |
|
67 |
* Sat Sep 12 2015 stephane de Labrusse <stephdl@de-labrusse.fr> 2.0.4-2.sme |
68 |
- Added smeserver-dhcpmanager-2.0.4-locale-2015-09-12.patch |
69 |
|
70 |
* Tue Aug 18 2015 stephane de Labrusse <stephdl@de-labrusse.fr> 2.0.4-1.sme |
71 |
- new tarball 2.0.4 |
72 |
|
73 |
* Tue Aug 18 2015 stephane de Labrusse <stephdl@de-labrusse.fr> 2.0.3-1.sme |
74 |
- new tarball 2.0.3 |
75 |
|
76 |
* Mon Aug 17 2015 stephane de Labrusse <stephdl@de-labrusse.fr> 2.0.2-2.sme |
77 |
- added locale smeserver-dhcpmanager-2.0.2-locale-2015-08-17.patch |
78 |
|
79 |
* Thu Aug 13 2015 stephane de Labrusse <stephdl@de-labrusse.fr> 2.0.2-1.sme |
80 |
- new sources in cvs |
81 |
|
82 |
* Wed Aug 12 2015 stephane de Labrusse <stephdl@de-labrusse.fr> 2.0.1-1.sme |
83 |
- Initial release to contribs9 |
84 |
|
85 |
* Wed Aug 12 2015 Stephane de Labrusse <stephdl@de-labrusse.fr> smeserver-dhcpmanager-2.0-1.sme |
86 |
-Translations added |
87 |
-new WebUI |
88 |
|
89 |
* Sun May 18 2014 Stephane de Labrusse <stephdl@de-labrusse.fr> smeserver-dhcpmanager-1.5-12 |
90 |
- First release to sme9 |
91 |
|
92 |
* Wed Feb 05 2014 Stephane de Labrusse <stephdl@de-labrusse.fr> smeserver-dhcpmanager-1.5-11 |
93 |
- add default db values and change options to nmap in order to see name of computer |
94 |
|
95 |
* Mon Jan 13 2014 Stephane de Labrusse <stephdl@de-labrusse.fr> smeserver-dhcpmanager-1.5-10 |
96 |
- english wording correction [sme:8122] |
97 |
- change the nmap version to 6.25 (available in smecontribs) [sme:8120] |
98 |
- add an option to remove all leases |
99 |
- some subroutines added in the goal to save settings and stay on the same page (main page and connected IP) |
100 |
- some menu setting box redesigned. |
101 |
|
102 |
* Sun Jan 05 2014 Stephane de Labrusse <stephdl@de-labrusse.fr> smeserver-dhcpmanager-1.5-5 |
103 |
- Add a checkIP routine against wrong IP [sme:8015] |
104 |
- Add a new panel to see connected IP [sme:8113] |
105 |
- Add a counter of host up on the LAN (using nmap) [sme:8111] |
106 |
|
107 |
* Sun Dec 29 2013 Stephane de Labrusse <stephdl@de-labrusse.fr> smeserver-dhcpmanager-1.5-3 |
108 |
- adaptation for SME Server 8.0 |
109 |
* Thu Dec 23 2004 Thierry Quaak <thierry@quaak.net> |
110 |
- Last release of e-smith-dhcpmanager-1.5-1, thanks a lot for his work |
111 |
|
112 |
%prep |
113 |
%setup |
114 |
%patch0 -p1 |
115 |
%patch1 -p1 |
116 |
%patch2 -p1 |
117 |
%patch3 -p1 |
118 |
%patch4 -p1 |
119 |
%patch5 -p1 |
120 |
%patch6 -p1 |
121 |
%patch7 -p1 |
122 |
rm -rf root/etc/e-smith/templates-custom |
123 |
|
124 |
%build |
125 |
perl createlinks |
126 |
|
127 |
|
128 |
%install |
129 |
rm -rf $RPM_BUILD_ROOT |
130 |
(cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) |
131 |
rm -f %{name}-%{version}-filelist |
132 |
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT > %{name}-%{version}-filelist |
133 |
echo "%doc COPYING" >> %{name}-%{version}-filelist |
134 |
|
135 |
%clean |
136 |
cd .. |
137 |
rm -rf %{name}-%{version} |
138 |
|
139 |
%pre |
140 |
|
141 |
%preun |
142 |
|
143 |
%post |
144 |
|
145 |
%postun |
146 |
|
147 |
%files -f %{name}-%{version}-filelist |
148 |
%defattr(-,root,root) |
149 |
|