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