1 |
# $Id: e-smith-tinydns.spec,v 1.3 2010/07/29 14:28:58 filippocarletti Exp $ |
# $Id: e-smith-tinydns.spec,v 1.3 2014/06/17 23:11:11 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 4 |
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 |
|
* Fri Jan 9 2015 stephane de Labrusse <stephdl@de-labrusse.fr> 2.4.0-4.sme |
27 |
|
- When the dhcpd lease is modified |
28 |
|
- Do template-expand of /var/service/tinydns/root/data |
29 |
|
- Do sigus1 of dhcp-dns & dnscache |
30 |
|
- Forked DHCPparse for parsing the end of lease and remove old entry of dnscache |
31 |
|
- Require perl-Text-DHCPparse removed |
32 |
|
- Timestamp added in tinydns, the entry in dnscache is cleared when the lease is over |
33 |
|
|
34 |
|
* Tue Jun 18 2014 stephane de Labrusse <stephdl@de-labrusse.fr> 2.4.0-3.sme |
35 |
|
- add new feature 'Parse dhcpd.leases and feed to tinydns' |
36 |
|
- e-smith-tinydns-2.4.0_add_hostname_following_dhcpdleases_hostname.patch |
37 |
|
- made from the solution of Stefano Zamboni [SME:2388] |
38 |
|
- Thanks also for all other implicated members in this bug report |
39 |
|
|
40 |
* 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 |
41 |
- Roll new stream for sme9 |
- Roll new stream for sme9 |
42 |
|
|
341 |
|
|
342 |
%prep |
%prep |
343 |
%setup |
%setup |
344 |
|
%patch0 -p1 |
345 |
|
|
346 |
%build |
%build |
347 |
perl createlinks |
perl createlinks |
359 |
--file /var/service/tinydns/control/2 'attr(0750,root,root)' \ |
--file /var/service/tinydns/control/2 'attr(0750,root,root)' \ |
360 |
--file /var/service/tinydns/log/run 'attr(0750,root,root)' \ |
--file /var/service/tinydns/log/run 'attr(0750,root,root)' \ |
361 |
--dir /var/log/tinydns 'attr(02755,dnslog,dnslog)' \ |
--dir /var/log/tinydns 'attr(02755,dnslog,dnslog)' \ |
362 |
|
--file /var/service/dhcp-dns/dhcp-dns 'attr(0750,root,root)' \ |
363 |
|
--file /var/service/dhcp-dns/run 'attr(0750,root,root)' \ |
364 |
> %{name}-%{version}-%{release}-filelist |
> %{name}-%{version}-%{release}-filelist |
365 |
echo "%doc COPYING" >> %{name}-%{version}-%{release}-filelist |
echo "%doc COPYING" >> %{name}-%{version}-%{release}-filelist |
366 |
|
|