1 |
unnilennium |
1.1 |
%define name smeserver-dhcpmanager |
2 |
stephdl |
1.5 |
%define version 1.8.0 |
3 |
unnilennium |
1.8 |
%define release 4 |
4 |
unnilennium |
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 >= 8.0 |
18 |
|
|
Requires: net-tools |
19 |
stephdl |
1.5 |
Requires: nmap >= 2:6.25 |
20 |
unnilennium |
1.1 |
AutoReqProv: no |
21 |
stephdl |
1.6 |
Patch0: smeserver-dhcpmanager-1.8.0-locale-2015-09-12.patch |
22 |
unnilennium |
1.7 |
Patch1: smeserver-dhcpmanager-1.8.0-locale-2016-03-09.patch |
23 |
|
|
|
24 |
unnilennium |
1.1 |
%description |
25 |
unnilennium |
1.2 |
Implementation of some feature arround dhcp clients like : wol, cleaning dhcpd.leases, Scan of your network etc// |
26 |
unnilennium |
1.1 |
|
27 |
|
|
%changelog |
28 |
unnilennium |
1.8 |
* Wed Mar 09 2016 JP Pialasse <tests@pialasse.com> 1.8.0-4.sme |
29 |
unnilennium |
1.7 |
- apply locale 2016-03-09 patch |
30 |
|
|
|
31 |
stephdl |
1.6 |
* Sat Sep 12 2015 stephane de Labrusse <stephdl@de-labrusse.fr> 1.8.0-2.sme |
32 |
|
|
- Added smeserver-dhcpmanager-1.8.0-locale-2015-09-12.patch |
33 |
|
|
|
34 |
stephdl |
1.5 |
* Tue Aug 18 2015 stephane de Labrusse <stephdl@de-labrusse.fr> 1.8.0-1.sme |
35 |
|
|
-Translations added |
36 |
|
|
-new WebUI |
37 |
|
|
|
38 |
|
|
* Wed Feb 05 2014 Stephane de Labrusse <stephdl@de-labrusse.fr> smeserver-dhcpmanager-1.5-11 |
39 |
|
|
- add default db values and change options to nmap in order to see name of computer |
40 |
|
|
|
41 |
unnilennium |
1.4 |
* Mon Jan 13 2014 Stephane de Labrusse <stephdl@de-labrusse.fr> smeserver-dhcpmanager-1.5-10 |
42 |
|
|
- english wording correction [sme:8122] |
43 |
|
|
- change the nmap version to 6.25 (available in smecontribs) [sme:8120] |
44 |
|
|
- add an option to remove all leases |
45 |
|
|
- some subroutines added in the goal to save settings and stay on the same page (main page and connected IP) |
46 |
|
|
- some menu setting box redesigned. |
47 |
|
|
|
48 |
unnilennium |
1.2 |
* Sun Jan 05 2014 Stephane de Labrusse <stephdl@de-labrusse.fr> smeserver-dhcpmanager-1.5-5 |
49 |
|
|
- Add a checkIP routine against wrong IP [sme:8015] |
50 |
|
|
- Add a new panel to see connected IP [sme:8113] |
51 |
|
|
- Add a counter of host up on the LAN (using nmap) [sme:8111] |
52 |
|
|
|
53 |
unnilennium |
1.1 |
* Sun Dec 29 2013 Stephane de Labrusse <stephdl@de-labrusse.fr> smeserver-dhcpmanager-1.5-3 |
54 |
|
|
- adaptation for SME Server 8.0 |
55 |
|
|
* Thu Dec 23 2004 Thierry Quaak <thierry@quaak.net> |
56 |
|
|
- Last release of e-smith-dhcpmanager-1.5-1, thanks a lot for his work |
57 |
|
|
|
58 |
|
|
|
59 |
|
|
|
60 |
|
|
%prep |
61 |
|
|
%setup |
62 |
stephdl |
1.6 |
%patch0 -p1 |
63 |
unnilennium |
1.7 |
%patch1 -p1 |
64 |
|
|
|
65 |
unnilennium |
1.1 |
|
66 |
|
|
%build |
67 |
|
|
perl createlinks |
68 |
|
|
|
69 |
|
|
|
70 |
|
|
%install |
71 |
|
|
rm -rf $RPM_BUILD_ROOT |
72 |
|
|
(cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) |
73 |
|
|
rm -f %{name}-%{version}-filelist |
74 |
|
|
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT > %{name}-%{version}-filelist |
75 |
|
|
echo "%doc COPYING" >> %{name}-%{version}-filelist |
76 |
|
|
|
77 |
|
|
%clean |
78 |
|
|
cd .. |
79 |
|
|
rm -rf %{name}-%{version} |
80 |
|
|
|
81 |
|
|
%pre |
82 |
|
|
%preun |
83 |
|
|
|
84 |
|
|
%post |
85 |
|
|
#/etc/e-smith/events/actions/navigation-conf |
86 |
|
|
|
87 |
|
|
|
88 |
|
|
|
89 |
|
|
|
90 |
|
|
%postun |
91 |
|
|
#rm /etc/e-smith/templates-custom/etc/dhcpd.conf/25NetbiosNameServers |
92 |
|
|
|
93 |
|
|
%files -f %{name}-%{version}-filelist |
94 |
|
|
%defattr(-,root,root) |
95 |
|
|
|