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