1 |
# $Id: e-smith-tinydns.spec,v 1.3 2010/07/29 14:28:58 filippocarletti Exp $ |
# $Id: e-smith-tinydns.spec,v 1.1 2013/02/06 21:46:33 slords 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 2 |
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 |
19 |
Requires: e-smith-lib >= 1.15.1-19 |
Requires: e-smith-lib >= 1.15.1-19 |
20 |
Requires: e-smith-daemontools >= 1.1.0-02 |
Requires: e-smith-daemontools >= 1.1.0-02 |
21 |
Requires: iptables |
Requires: iptables |
22 |
|
Requires: perl-Text-DHCPparse |
23 |
Obsoletes: tinydns-initscripts |
Obsoletes: tinydns-initscripts |
24 |
AutoReqProv: no |
AutoReqProv: no |
25 |
|
|
26 |
%changelog |
%changelog |
27 |
|
* Sun May 18 2014 stephane de Labrusse <stephdl@de-labrusse.fr> 2.4.0-2 |
28 |
|
- add new feature 'Parse dhcpd.leases and feed to tinydns' |
29 |
|
- made from the solution of Stefano Zamboni [SME:2388] |
30 |
|
- Thanks also for all other implicated members in this bug report |
31 |
|
|
32 |
* 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 |
33 |
- Roll new stream for sme9 |
- Roll new stream for sme9 |
34 |
|
|
333 |
|
|
334 |
%prep |
%prep |
335 |
%setup |
%setup |
336 |
|
%patch0 -p1 |
337 |
|
|
338 |
%build |
%build |
339 |
perl createlinks |
perl createlinks |
351 |
--file /var/service/tinydns/control/2 'attr(0750,root,root)' \ |
--file /var/service/tinydns/control/2 'attr(0750,root,root)' \ |
352 |
--file /var/service/tinydns/log/run 'attr(0750,root,root)' \ |
--file /var/service/tinydns/log/run 'attr(0750,root,root)' \ |
353 |
--dir /var/log/tinydns 'attr(02755,dnslog,dnslog)' \ |
--dir /var/log/tinydns 'attr(02755,dnslog,dnslog)' \ |
354 |
|
--file /var/service/dhcp-dns/dhcp-dns 'attr(0750,root,root)' \ |
355 |
|
--file /var/service/dhcp-dns/run 'attr(0750,root,root)' \ |
356 |
> %{name}-%{version}-%{release}-filelist |
> %{name}-%{version}-%{release}-filelist |
357 |
echo "%doc COPYING" >> %{name}-%{version}-%{release}-filelist |
echo "%doc COPYING" >> %{name}-%{version}-%{release}-filelist |
358 |
|
|