diff --git a/dnsmasq-2.35-conf-dir.patch b/dnsmasq-2.35-conf-dir.patch new file mode 100644 index 0000000..00e754b --- /dev/null +++ b/dnsmasq-2.35-conf-dir.patch @@ -0,0 +1,9 @@ +diff -urN dnsmasq-2.35/dnsmasq.conf.example dnsmasq-2.35-patched/dnsmasq.conf.example +--- dnsmasq-2.35/dnsmasq.conf.example 2006-10-18 15:24:50.000000000 -0500 ++++ dnsmasq-2.35-patched/dnsmasq.conf.example 2006-11-06 11:46:38.000000000 -0600 +@@ -382,4 +382,4 @@ + + # Include a another lot of configuration options. + #conf-file=/etc/dnsmasq.more.conf +-#conf-dir=/etc/dnsmasq.d ++conf-dir=/etc/dnsmasq.d diff --git a/dnsmasq.spec b/dnsmasq.spec index 0fc2db5..dd2c4cb 100644 --- a/dnsmasq.spec +++ b/dnsmasq.spec @@ -1,5 +1,5 @@ Name: dnsmasq -Version: 2.34 +Version: 2.35 Release: 2%{?dist} Summary: A lightweight DHCP/caching DNS server @@ -9,6 +9,7 @@ URL: http://www.thekelleys.org.uk/dnsmasq/ Source0: http://www.thekelleys.org.uk/dnsmasq/%{name}-%{version}.tar.gz Patch0: http://beer.tclug.org/fedora-extras/dnsmasq/%{name}-2.33-initscript.patch Patch1: http://beer.tclug.org/fedora-extras/dnsmasq/%{name}-2.33-enable-dbus.patch +Patch2: http://beer.tclug.org/fedora-extras/dnsmasq/%{name}-2.35-conf-dir.patch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) %if "%fedora" > "3" || "%aurora" > "2" @@ -39,6 +40,7 @@ machines. %if "%fedora" > "3" || "%aurora" > "2" %patch1 -p1 %endif +%patch2 -p1 %build make %{?_smp_mflags} @@ -49,7 +51,7 @@ rm -rf $RPM_BUILD_ROOT # normally i'd do 'make install'...it's a bit messy, though mkdir -p $RPM_BUILD_ROOT%{_sbindir} $RPM_BUILD_ROOT%{_initrddir} \ $RPM_BUILD_ROOT%{_mandir}/man8 \ - $RPM_BUILD_ROOT%{_sysconfdir}/sysconfig \ + $RPM_BUILD_ROOT%{_sysconfdir}/dnsmasq.d \ $RPM_BUILD_ROOT%{_sysconfdir}/dbus-1/system.d install src/dnsmasq $RPM_BUILD_ROOT%{_sbindir}/dnsmasq install dnsmasq.conf.example $RPM_BUILD_ROOT%{_sysconfdir}/dnsmasq.conf @@ -78,8 +80,9 @@ fi %files %defattr(-,root,root,-) -%doc CHANGELOG COPYING FAQ doc.html setup.html UPGRADING_to_2.0 dbus/DBus-interface +%doc CHANGELOG COPYING FAQ doc.html setup.html dbus/DBus-interface %config(noreplace) %attr(644,root,root) %{_sysconfdir}/dnsmasq.conf +%dir /etc/dnsmasq.d %if "%fedora" > "3" || "%aurora" > "2" %config(noreplace) %attr(644,root,root) %{_sysconfdir}/dbus-1/system.d/dnsmasq.conf %endif @@ -89,6 +92,16 @@ fi %changelog +* Mon Nov 06 2006 Patrick "Jima" Laughton 2.35-2 +- Stop creating /etc/sysconfig on %%install +- Create /etc/dnsmasq.d on %%install + +* Mon Nov 06 2006 Patrick "Jima" Laughton 2.35-1 +- Update to 2.35 +- Removed UPGRADING_to_2.0 from %%doc as per upstream change +- Enabled conf-dir in default config as per RFE BZ#214220 (thanks Chris!) +- Added %%dir /etc/dnsmasq.d to %%files as per above RFE + * Tue Oct 24 2006 Patrick "Jima" Laughton 2.34-2 - Fixed BZ#212005 - Moved %%postun scriptlet to %%post, where it made more sense diff --git a/sources b/sources index e867b30..f5900ad 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -a40b79bec295bb4631b1c033cf0bbdf1 dnsmasq-2.34.tar.gz +57b8643dc394cf2fbd1bced64536c6df dnsmasq-2.35.tar.gz