--- rpms/e-smith-tinydns/sme9/e-smith-tinydns.spec 2013/02/06 21:46:33 1.1 +++ rpms/e-smith-tinydns/sme9/e-smith-tinydns.spec 2014/06/17 23:11:11 1.3 @@ -1,14 +1,15 @@ -# $Id: e-smith-tinydns.spec,v 1.3 2010/07/29 14:28:58 filippocarletti Exp $ +# $Id: e-smith-tinydns.spec,v 1.2 2014/05/18 15:10:53 stephdl Exp $ Summary: e-smith module to configure tinydns %define name e-smith-tinydns Name: %{name} %define version 2.4.0 -%define release 1 +%define release 3 Version: %{version} Release: %{release}%{?dist} License: GPL Group: Networking/Daemons +Patch0: e-smith-tinydns-2.4.0_add_hostname_following_dhcpdleases_hostname.patch Source: %{name}-%{version}.tar.xz BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot BuildRequires: e-smith-devtools @@ -18,10 +19,17 @@ Requires: djbdns Requires: e-smith-lib >= 1.15.1-19 Requires: e-smith-daemontools >= 1.1.0-02 Requires: iptables +Requires: perl-Text-DHCPparse Obsoletes: tinydns-initscripts AutoReqProv: no %changelog +* Tue Jun 18 2014 stephane de Labrusse 2.4.0-3.sme +- add new feature 'Parse dhcpd.leases and feed to tinydns' +- e-smith-tinydns-2.4.0_add_hostname_following_dhcpdleases_hostname.patch +- made from the solution of Stefano Zamboni [SME:2388] +- Thanks also for all other implicated members in this bug report + * Thu Jan 31 2013 Shad L. Lords 2.4.0-1.sme - Roll new stream for sme9 @@ -326,6 +334,7 @@ components of djbdns. %prep %setup +%patch0 -p1 %build perl createlinks @@ -343,6 +352,8 @@ rm -rf $RPM_BUILD_ROOT --file /var/service/tinydns/control/2 'attr(0750,root,root)' \ --file /var/service/tinydns/log/run 'attr(0750,root,root)' \ --dir /var/log/tinydns 'attr(02755,dnslog,dnslog)' \ + --file /var/service/dhcp-dns/dhcp-dns 'attr(0750,root,root)' \ + --file /var/service/dhcp-dns/run 'attr(0750,root,root)' \ > %{name}-%{version}-%{release}-filelist echo "%doc COPYING" >> %{name}-%{version}-%{release}-filelist