1 |
# $Id: e-smith-tinydns.spec,v 1.3 2010/07/29 14:28:58 filippocarletti Exp $ |
# $Id: e-smith-tinydns.spec,v 1.6 2015/01/17 18:17:09 stephdl Exp $ |
2 |
|
|
3 |
Summary: e-smith module to configure tinydns |
Summary: e-smith module to configure tinydns |
4 |
%define name e-smith-tinydns |
%define name e-smith-tinydns |
5 |
Name: %{name} |
Name: %{name} |
6 |
%define version 2.4.0 |
%define version 2.4.0 |
7 |
%define release 1 |
%define release 7 |
8 |
Version: %{version} |
Version: %{version} |
9 |
Release: %{release}%{?dist} |
Release: %{release}%{?dist} |
10 |
License: GPL |
License: GPL |
11 |
Group: Networking/Daemons |
Group: Networking/Daemons |
12 |
|
Patch0: e-smith-tinydns-2.4.0_add_hostname_following_dhcpdleases_hostname.patch |
13 |
Source: %{name}-%{version}.tar.xz |
Source: %{name}-%{version}.tar.xz |
14 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
15 |
BuildRequires: e-smith-devtools |
BuildRequires: e-smith-devtools |
23 |
AutoReqProv: no |
AutoReqProv: no |
24 |
|
|
25 |
%changelog |
%changelog |
26 |
|
* Sat Jan 17 2015 stephane de Labrusse <stephdl@de-labrusse.fr> 2.4.0-7.sme |
27 |
|
- Duplicate hostnames with different IP are not used, a warn in log is printed |
28 |
|
- The server hostname can not be used by a dhcp client, a warn in log is printed |
29 |
|
- [SME: 2388] |
30 |
|
|
31 |
|
* Fri Jan 9 2015 stephane de Labrusse <stephdl@de-labrusse.fr> 2.4.0-5.sme |
32 |
|
- Changed the name of /tmp/dhcpd.leases to /tmp/tmpdhcpd.leases [SME: 2388] |
33 |
|
|
34 |
|
* Fri Jan 9 2015 stephane de Labrusse <stephdl@de-labrusse.fr> 2.4.0-4.sme |
35 |
|
- When the dhcpd lease is modified |
36 |
|
- Do template-expand of /var/service/tinydns/root/data |
37 |
|
- Do sigus1 of dhcp-dns & dnscache |
38 |
|
- Forked DHCPparse for parsing the end of lease and remove old entry of dnscache |
39 |
|
- Require perl-Text-DHCPparse removed |
40 |
|
- Timestamp added in tinydns, the entry in dnscache is cleared when the lease is over |
41 |
|
- [SME: 2388] |
42 |
|
|
43 |
|
* Tue Jun 18 2014 stephane de Labrusse <stephdl@de-labrusse.fr> 2.4.0-3.sme |
44 |
|
- add new feature 'Parse dhcpd.leases and feed to tinydns' |
45 |
|
- e-smith-tinydns-2.4.0_add_hostname_following_dhcpdleases_hostname.patch |
46 |
|
- made from the solution of Stefano Zamboni [SME:2388] |
47 |
|
- Thanks also for all other implicated members in this bug report |
48 |
|
|
49 |
* Thu Jan 31 2013 Shad L. Lords <slords@mail.com> 2.4.0-1.sme |
* Thu Jan 31 2013 Shad L. Lords <slords@mail.com> 2.4.0-1.sme |
50 |
- Roll new stream for sme9 |
- Roll new stream for sme9 |
51 |
|
|
350 |
|
|
351 |
%prep |
%prep |
352 |
%setup |
%setup |
353 |
|
%patch0 -p1 |
354 |
|
|
355 |
%build |
%build |
356 |
perl createlinks |
perl createlinks |
368 |
--file /var/service/tinydns/control/2 'attr(0750,root,root)' \ |
--file /var/service/tinydns/control/2 'attr(0750,root,root)' \ |
369 |
--file /var/service/tinydns/log/run 'attr(0750,root,root)' \ |
--file /var/service/tinydns/log/run 'attr(0750,root,root)' \ |
370 |
--dir /var/log/tinydns 'attr(02755,dnslog,dnslog)' \ |
--dir /var/log/tinydns 'attr(02755,dnslog,dnslog)' \ |
371 |
|
--file /var/service/dhcp-dns/dhcp-dns 'attr(0750,root,root)' \ |
372 |
|
--file /var/service/dhcp-dns/run 'attr(0750,root,root)' \ |
373 |
> %{name}-%{version}-%{release}-filelist |
> %{name}-%{version}-%{release}-filelist |
374 |
echo "%doc COPYING" >> %{name}-%{version}-%{release}-filelist |
echo "%doc COPYING" >> %{name}-%{version}-%{release}-filelist |
375 |
|
|