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