5136d3
%define testrelease 0
5136d3
%define releasecandidate 0
5136d3
%if 0%{testrelease}
5136d3
  %define extrapath test-releases/
5136d3
  %define extraversion test%{testrelease}
5136d3
%endif
5136d3
%if 0%{releasecandidate}
5136d3
  %define extrapath release-candidates/
5136d3
  %define extraversion rc%{releasecandidate}
5136d3
%endif
5136d3
5136d3
%define _hardened_build 1
5136d3
# path to upstream git repository
5136d3
%global git_upstream git://thekelleys.org.uk/dnsmasq.git
5136d3
# tag of selected version
5136d3
%global gittag v%{version}%{?extraversion}
5136d3
5136d3
# Attempt to prepare source-git with downstream repos
5136d3
%bcond_with sourcegit
5136d3
5136d3
Name:           dnsmasq
5136d3
Version:        2.85
023062
Release:        6%{?extraversion:.%{extraversion}}%{?dist}
5136d3
Summary:        A lightweight DHCP/caching DNS server
5136d3
5136d3
License:        GPLv2 or GPLv3
5136d3
URL:            http://www.thekelleys.org.uk/dnsmasq/
5136d3
Source0:        %{url}%{?extrapath}%{name}-%{version}%{?extraversion}.tar.xz
5136d3
Source1:        %{name}.service
5136d3
Source2:        dnsmasq-systemd-sysusers.conf
5136d3
Source3:        %{url}%{?extrapath}%{name}-%{version}%{?extraversion}.tar.xz.asc
5136d3
# GPG public key
5136d3
%if 0%{?testrelease} || 0%{?releasecandidate}
5136d3
Source4:        %{url}%{?extrapath}test-release-public-key
5136d3
%else
5136d3
Source4:        http://www.thekelleys.org.uk/srkgpg.txt
5136d3
%endif
5136d3
5136d3
# https://bugzilla.redhat.com/show_bug.cgi?id=1495409
5136d3
Patch1:         dnsmasq-2.77-underflow.patch
5136d3
# https://bugzilla.redhat.com/show_bug.cgi?id=1852373
5136d3
Patch2:         dnsmasq-2.81-configuration.patch
5136d3
Patch3:         dnsmasq-2.78-fips.patch
46aa79
# Downstream only patch; https://bugzilla.redhat.com/show_bug.cgi?id=1919894
46aa79
# Similar functionality is implemented since 2.86 in upstream, but introduced
46aa79
Patch4:        dnsmasq-2.79-server-domain-rh1919894.patch
46aa79
# https://lists.thekelleys.org.uk/pipermail/dnsmasq-discuss/2021q3/015640.html
46aa79
Patch5:         dnsmasq-2.86-alternative-lease.patch
46aa79
Patch6:         dnsmasq-2.86-dhcpv6-client-arch.patch
023062
# http://thekelleys.org.uk/gitweb/?p=dnsmasq.git;a=commit;h=03345ecefeb0d82e3c3a4c28f27c3554f0611b39
e7c5f6
Patch7:         dnsmasq-2.87-CVE-2022-0934.patch
023062
# Downstream only patch; fixes Patch4 change
023062
Patch8:         dnsmasq-2.79-server-domain-fixup.patch
5136d3
5136d3
# This is workaround to nettle bug #1549190
5136d3
# https://bugzilla.redhat.com/show_bug.cgi?id=1549190
5136d3
Requires:       nettle >= 3.4
5136d3
5136d3
BuildRequires:  dbus-devel
5136d3
BuildRequires:  pkgconfig
5136d3
BuildRequires:  libidn2-devel
5136d3
BuildRequires:  nettle-devel
5136d3
Buildrequires:  gcc
5136d3
BuildRequires:  gnupg2
5136d3
5136d3
BuildRequires:  systemd
5136d3
BuildRequires:  systemd-rpm-macros
5136d3
%{?systemd_requires}
5136d3
%if %{with sourcegit}
5136d3
BuildRequires:  git-core
5136d3
%endif
5136d3
BuildRequires: make
5136d3
5136d3
%description
5136d3
Dnsmasq is lightweight, easy to configure DNS forwarder and DHCP server.
5136d3
It is designed to provide DNS and, optionally, DHCP, to a small network.
5136d3
It can serve the names of local machines which are not in the global
5136d3
DNS. The DHCP server integrates with the DNS server and allows machines
5136d3
with DHCP-allocated addresses to appear in the DNS with names configured
5136d3
either in each host or in a central configuration file. Dnsmasq supports
5136d3
static and dynamic DHCP leases and BOOTP for network booting of diskless
5136d3
machines.
5136d3
5136d3
%package        utils
5136d3
Summary:        Utilities for manipulating DHCP server leases
5136d3
5136d3
%description    utils
5136d3
Utilities that use the standard DHCP protocol to query/remove a DHCP
5136d3
server's leases.
5136d3
5136d3
5136d3
%prep
5136d3
%if 0%{?fedora}
5136d3
%gpgverify -k 4 -s 3 -d 0
5136d3
%endif
5136d3
%if %{with sourcegit}
5136d3
%autosetup -n %{name}-%{version}%{?extraversion} -N -S git_am
5136d3
# If preparing with sourcegit, drop again source directory
5136d3
# and clone git repository
5136d3
# FIXME: deleting just unpacked sources is dangerous
5136d3
# But using %%setup changes used directories in %%build and %%install
5136d3
rm -rf %{_builddir}/%{name}-%{version}%{?extraversion}
5136d3
cd %{_builddir}
5136d3
git clone -b %{gittag} %{git_upstream} %{name}-%{version}%{?extraversion}
5136d3
cd %{name}-%{version}%{?extraversion}
5136d3
git checkout -b rpmbuild
5136d3
%else
5136d3
%autosetup -n %{name}-%{version}%{?extraversion} -N
5136d3
%endif
5136d3
# Apply patches on top
5136d3
%autopatch -p1
5136d3
5136d3
# use /var/lib/dnsmasq instead of /var/lib/misc
5136d3
for file in dnsmasq.conf.example man/dnsmasq.8 man/es/dnsmasq.8 src/config.h; do
5136d3
    sed -i 's|/var/lib/misc/dnsmasq.leases|/var/lib/dnsmasq/dnsmasq.leases|g' "$file"
5136d3
done
5136d3
5136d3
#set default user /group in src/config.h
5136d3
sed -i 's|#define CHUSER "nobody"|#define CHUSER "dnsmasq"|' src/config.h
5136d3
sed -i 's|#define CHGRP "dip"|#define CHGRP "dnsmasq"|' src/config.h
5136d3
sed -i "s|\(#\s*define RUNFILE\) \"/var/run/dnsmasq.pid\"|\1 \"%{_rundir}/dnsmasq.pid\"|" src/config.h
5136d3
5136d3
# optional parts
5136d3
sed -i 's|^COPTS[[:space:]]*=|\0 -DHAVE_DBUS -DHAVE_LIBIDN2 -DHAVE_DNSSEC|' Makefile
5136d3
5136d3
%build
5136d3
%make_build CFLAGS="$RPM_OPT_FLAGS" LDFLAGS="$RPM_LD_FLAGS"
5136d3
%make_build -C contrib/lease-tools CFLAGS="$RPM_OPT_FLAGS" LDFLAGS="$RPM_LD_FLAGS"
5136d3
5136d3
5136d3
%install
5136d3
# normally i'd do 'make install'...it's a bit messy, though
5136d3
mkdir -p $RPM_BUILD_ROOT%{_sbindir} \
5136d3
        $RPM_BUILD_ROOT%{_mandir}/man8 \
5136d3
        $RPM_BUILD_ROOT%{_var}/lib/dnsmasq \
5136d3
        $RPM_BUILD_ROOT%{_sysconfdir}/dnsmasq.d \
5136d3
        $RPM_BUILD_ROOT%{_sysconfdir}/dbus-1/system.d
5136d3
install src/dnsmasq $RPM_BUILD_ROOT%{_sbindir}/dnsmasq
5136d3
install dnsmasq.conf.example $RPM_BUILD_ROOT%{_sysconfdir}/dnsmasq.conf
5136d3
install dbus/dnsmasq.conf $RPM_BUILD_ROOT%{_sysconfdir}/dbus-1/system.d/
5136d3
install -m 644 man/dnsmasq.8 $RPM_BUILD_ROOT%{_mandir}/man8/
5136d3
install -D trust-anchors.conf $RPM_BUILD_ROOT%{_datadir}/%{name}/trust-anchors.conf
5136d3
5136d3
# utils sub package
5136d3
mkdir -p $RPM_BUILD_ROOT%{_bindir} \
5136d3
         $RPM_BUILD_ROOT%{_mandir}/man1
5136d3
install -m 755 contrib/lease-tools/dhcp_release $RPM_BUILD_ROOT%{_bindir}/dhcp_release
5136d3
install -m 644 contrib/lease-tools/dhcp_release.1 $RPM_BUILD_ROOT%{_mandir}/man1/dhcp_release.1
5136d3
install -m 755 contrib/lease-tools/dhcp_release6 $RPM_BUILD_ROOT%{_bindir}/dhcp_release6
5136d3
install -m 644 contrib/lease-tools/dhcp_release6.1 $RPM_BUILD_ROOT%{_mandir}/man1/dhcp_release6.1
5136d3
install -m 755 contrib/lease-tools/dhcp_lease_time $RPM_BUILD_ROOT%{_bindir}/dhcp_lease_time
5136d3
install -m 644 contrib/lease-tools/dhcp_lease_time.1 $RPM_BUILD_ROOT%{_mandir}/man1/dhcp_lease_time.1
5136d3
5136d3
# Systemd
5136d3
mkdir -p %{buildroot}%{_unitdir}
5136d3
install -m644 %{SOURCE1} %{buildroot}%{_unitdir}
5136d3
rm -rf %{buildroot}%{_initrddir}
5136d3
5136d3
#install systemd sysuser file
5136d3
install -Dpm 644 %{SOURCE2} %{buildroot}%{_sysusersdir}/%{name}.conf
5136d3
5136d3
%pre
5136d3
#precreate users so that rpm can install files owned by that user
5136d3
%sysusers_create_compat %{SOURCE2}
5136d3
5136d3
%post
5136d3
%systemd_post dnsmasq.service
5136d3
5136d3
%preun
5136d3
%systemd_preun dnsmasq.service
5136d3
5136d3
%postun
5136d3
%systemd_postun_with_restart dnsmasq.service
5136d3
5136d3
%files
5136d3
%doc CHANGELOG FAQ doc.html setup.html dbus/DBus-interface
5136d3
%license COPYING COPYING-v3
5136d3
%defattr(0644,root,dnsmasq,0755)
5136d3
%config(noreplace) %{_sysconfdir}/dnsmasq.conf
5136d3
%dir %{_sysconfdir}/dnsmasq.d
5136d3
%dir %{_var}/lib/dnsmasq
5136d3
%defattr(-,root,root,-)
5136d3
%config(noreplace) %{_sysconfdir}/dbus-1/system.d/dnsmasq.conf
5136d3
%{_unitdir}/%{name}.service
5136d3
%{_sbindir}/dnsmasq
5136d3
%{_mandir}/man8/dnsmasq*
5136d3
%dir %{_datadir}/%{name}
5136d3
%{_datadir}/%{name}/trust-anchors.conf
5136d3
%{_sysusersdir}/dnsmasq.conf
5136d3
5136d3
%files utils
5136d3
%license COPYING COPYING-v3
5136d3
%{_bindir}/dhcp_*
5136d3
%{_mandir}/man1/dhcp_*
5136d3
5136d3
%changelog
023062
* Thu Jan 26 2023 Petr Menšík <pemensik@redhat.com> - 2.85-6
023062
- Use upstream change for CVE-2022-0934 (#2126586)
023062
023062
* Mon Aug 22 2022 Petr Menšík <pemensik@redhat.com> - 2.85-5
023062
- Prevent endless loop in forward_query (#2120711)
023062
e7c5f6
* Fri Mar 25 2022 Petr Menšík <pemensik@redhat.com> - 2.85-4
e7c5f6
- Prevent use after free in dhcp6_no_relay (CVE-2022-0934)
e7c5f6
46aa79
* Thu Jan 27 2022 Petr Menšík <pemensik@redhat.com> - 2.85-3
46aa79
- Send queries only to best domain-specific server (#2047510)
46aa79
- Offer alternate DHCPv6 address if requested is already leased (#1998448)
46aa79
5136d3
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 2.85-2
5136d3
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
5136d3
  Related: rhbz#1991688
5136d3
5136d3
* Thu Apr 15 2021 Petr Menšík <pemensik@redhat.com> - 2.85-1
5136d3
- Update to 2.85 (#1978728)
5136d3
- Switch systemd unit to forking, reports error on startup (#1774028)
5136d3
5136d3
* Thu Apr 15 2021 Mohan Boddu <mboddu@redhat.com> - 2.84-2
5136d3
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
5136d3
5136d3
* Tue Jan 26 2021 Petr Menšík <pemensik@redhat.com> - 2.84-1
5136d3
- Update to 2.84
5136d3
5136d3
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 2.83-2
5136d3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
5136d3
5136d3
* Tue Jan 19 2021 Petr Menšík <pemensik@redhat.com> - 2.83-1
5136d3
- Update to 2.83, fix CVE-2020-25681-7
5136d3
5136d3
* Fri Oct 09 2020 Petr Menšík <pemensik@redhat.com> - 2.82-4
5136d3
- Remove uninitialized condition from downstream patch
5136d3
5136d3
* Wed Sep 30 2020 Petr Menšík <pemensik@redhat.com> - 2.82-3
5136d3
- Listen only on localhost interface, return port unreachable on all others
5136d3
  (#1852373)
5136d3
5136d3
* Mon Jul 27 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.82-2
5136d3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
5136d3
5136d3
* Mon Jul 20 2020 Petr Menšík <pemensik@redhat.com> - 2.82-1
5136d3
- Update to 2.82
5136d3
5136d3
* Tue Jun 30 2020 Petr Menšík <pemensik@redhat.com> - 2.81-4
5136d3
- Accept queries only from localhost (CVE-2020-14312)
5136d3
5136d3
* Mon May 11 2020 Petr Menšík <pemensik@redhat.com> - 2.81-3
5136d3
- Correct multiple entries with the same mac address (#1834454)
5136d3
5136d3
* Thu Apr 16 2020 Petr Menšík <pemensik@redhat.com> - 2.81-2
5136d3
- Update to 2.81 (#1823139)
5136d3
5136d3
* Mon Mar 23 2020 Petr Menšík <pemensik@redhat.com> - 2.81-1.rc3
5136d3
- Update to 2.81rc3
5136d3
5136d3
* Mon Mar 23 2020 Petr Menšík <pemensik@redhat.com> - 2.80-14
5136d3
- Fix last build breakage of DNS (#1814468)
5136d3
5136d3
* Tue Mar 10 2020 Petr Menšík <pemensik@redhat.com> - 2.80-13
5136d3
- Respond to any local name also withou rd bit set (#1647464)
5136d3
5136d3
* Wed Mar 04 2020 Petr Menšík <pemensik@redhat.com> - 2.80-12
5136d3
- Support multiple static leases for single mac on IPv6 (#1810172)
5136d3
5136d3
* Tue Jan 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.80-11
5136d3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
5136d3
5136d3
* Wed Aug 28 2019 Petr Menšík <pemensik@redhat.com> - 2.80-10
5136d3
- Fix CPU intensive RA flood (#1739797)
5136d3
5136d3
* Fri Aug 09 2019 Petr Menšík <pemensik@redhat.com> - 2.80-9
5136d3
- Remove SO_TIMESTAMP support, DHCP was broken (#1739081)
5136d3
5136d3
* Wed Jul 31 2019 Petr Menšík <pemensik@redhat.com> - 2.80-8
5136d3
- Compile with nettle 3.5
5136d3
- Support missing SIOCGSTAMP ioctl
5136d3
5136d3
* Wed Jul 31 2019 Petr Menšík <pemensik@redhat.com> - 2.80-7
5136d3
- Fix TCP listener after interface recreated (#1728701)
5136d3
5136d3
* Wed Jul 24 2019 Petr Menšík <pemensik@redhat.com> - 2.80-6
5136d3
- Do not return NXDOMAIN on empty non-terminals (#1674067)
5136d3
5136d3
* Wed Jul 24 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2.80-5
5136d3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
5136d3
5136d3
* Mon Apr 08 2019 Petr Menšík <pemensik@redhat.com> - 2.80-4
5136d3
- Use more recent macro to create dnsmasq user
5136d3
5136d3
* Fri Feb 15 2019 Petr Menšík <pemensik@redhat.com> - 2.80-3
5136d3
- Apply patches by autosetup
5136d3
5136d3
* Thu Jan 31 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2.80-2
5136d3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
5136d3
5136d3
* Mon Aug 20 2018 Petr Menšík <pemensik@redhat.com> - 2.80-1
5136d3
- Update to 2.80
5136d3
5136d3
* Thu Aug 09 2018 Petr Menšík <pemensik@redhat.com> - 2.79-8
5136d3
- Better randomize ports
5136d3
5136d3
* Tue Jul 31 2018 Florian Weimer <fweimer@redhat.com> - 2.79-7
5136d3
- Rebuild with fixed binutils
5136d3
5136d3
* Fri Jul 27 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 2.79-6
5136d3
- Rebuild for new binutils
5136d3
5136d3
* Thu Jul 26 2018 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 2.79-5
5136d3
- Fix %%pre scriptlet (#1548050)
5136d3
5136d3
* Thu Jul 12 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.79-4
5136d3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
5136d3
5136d3
* Mon Jul 02 2018 Petr Menšík <pemensik@redhat.com> - 2.79-3
5136d3
- Make dnsmasq leases writeable by root again (#1554390)
5136d3
5136d3
* Mon Jul 02 2018 Petr Menšík <pemensik@redhat.com> - 2.79-2
5136d3
- Fix passing of dnssec enabled queries (#1597309)
5136d3
5136d3
* Thu Mar 15 2018 Petr Menšík <pemensik@redhat.com> - 2.79-1
5136d3
- Rebase to 2.79
5136d3
- Stop using nettle_hashes directly, use access function (#1548060)
5136d3
- Do not break on cname with spaces (#1498667)
5136d3
- Require nettle 3.4+
5136d3
- Do not own sysusers.d directory, already depends on systemd providing it
5136d3
5136d3
* Fri Mar 02 2018 Petr Menšík <pemensik@redhat.com> - 2.78-7
5136d3
- Emit warning with dnssec enabled on FIPS system (#1549507)
5136d3
5136d3
* Sun Feb 25 2018 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 2.78-6
5136d3
- Create user before installing files (#1548050)
5136d3
5136d3
* Fri Feb 23 2018 Petr Menšík <pemensik@redhat.com> - 2.78-5
5136d3
- Create user first and then restart service
5136d3
5136d3
* Thu Feb 22 2018 Itamar Reis Peixoto <itamar@ispbrasil.com.br> - 2.78-4
5136d3
- add gcc into buildrequires
5136d3
- deliver an extra sysusers.d file to create dnsmasq user/group
5136d3
- set CHUSER and CHGRP to dnsmasq in src/config.h
5136d3
5136d3
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.78-3
5136d3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
5136d3
5136d3
* Mon Jan 22 2018 Petr Menšík <pemensik@redhat.com> - 2.78-2
5136d3
- DNSSEC fix for wildcard NSEC records (CVE-2017-15107)
5136d3
5136d3
* Tue Oct 03 2017 Petr Menšík <pemensik@redhat.com> - 2.78-1
5136d3
- Rebase to 2.78
5136d3
5136d3
* Tue Oct 03 2017 Petr Menšík <pemensik@redhat.com> - 2.77-9
5136d3
- More patches related to CVE-2017-14491
5136d3
5136d3
* Mon Oct 02 2017 Petr Menšík <pemensik@redhat.com> - 2.77-8
5136d3
- Security fix, CVE-2017-14491, DNS heap buffer overflow
5136d3
- Security fix, CVE-2017-14492, DHCPv6 RA heap overflow
5136d3
- Security fix, CVE-2017-14493, DHCPv6 - Stack buffer overflow
5136d3
- Security fix, CVE-2017-14494, Infoleak handling DHCPv6
5136d3
- Security fix, CVE-2017-14496, Integer underflow in DNS response creation
5136d3
- Security fix, CVE-2017-14495, OOM in DNS response creation
5136d3
- Misc code cleanups arising from Google analysis
5136d3
- Do not include stdio.h before dnsmasq.h
5136d3
5136d3
* Thu Sep 14 2017 Petr Menšík <pemensik@redhat.com> - 2.77-7
5136d3
- Fix CVE-2017-13704
5136d3
5136d3
* Mon Aug 14 2017 Petr Menšík <pemensik@redhat.com> - 2.77-6
5136d3
- Own the /usr/share/dnsmasq dir (#1480856)
5136d3
5136d3
* Wed Aug 02 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.77-5
5136d3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
5136d3
5136d3
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.77-4
5136d3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
5136d3
5136d3
* Wed Jun 07 2017 Petr Menšík <pemensik@redhat.com> - 2.77-3
5136d3
- Update to 2.77
5136d3
5136d3
* Fri May 12 2017 Petr Menšík <pemensik@redhat.com> - 2.77-2.rc2
5136d3
- Fix dhcp
5136d3
5136d3
* Thu May 11 2017 Petr Menšík <pemensik@redhat.com> - 2.77-1
5136d3
- Update to 2.77rc2
5136d3
5136d3
* Thu May 11 2017 Petr Menšík <pemensik@redhat.com>
5136d3
- Include dhcp_release6 tool and license in utils
5136d3
- Support for IDN 2008 (#1449150)
5136d3
5136d3
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.76-3
5136d3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
5136d3
5136d3
* Wed Oct 19 2016 Pavel Å imerda <psimerda@redhat.com> - 2.76-2
5136d3
- Resolves: #1373485 - dns not updated after sleep and resume laptop
5136d3
5136d3
* Fri Jul 15 2016 Pavel Å imerda <psimerda@redhat.com> - 2.76-1
5136d3
- New version 2.76
5136d3
5136d3
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 2.75-4
5136d3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
5136d3
5136d3
* Mon Jan 25 2016 Tomas Hozza <thozza@redhat.com> - 2.75-3
5136d3
- Fixed minor bug in dnsmasq.conf (#1295143)
5136d3
5136d3
* Fri Oct 02 2015 Pavel Å imerda <psimerda@redhat.com> - 2.75-2
5136d3
- Resolves: #1239256 - install trust-anchors.conf
5136d3
5136d3
* Wed Aug 05 2015 Pavel Å imerda <psimerda@redhat.com> - 2.75-1
5136d3
- new version 2.75
5136d3
5136d3
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.72-4
5136d3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
5136d3
5136d3
* Mon Oct 06 2014 Nils Philippsen <nils@redhat.com> - 2.72-3
5136d3
- don't include /etc/dnsmasq.d in triplicate, ignore RPM backup files instead
5136d3
- package is dual-licensed GPL v2 or v3
5136d3
- drop %%triggerun, we're not supposed to automatically migrate from SysV to
5136d3
  systemd anyway
5136d3
5136d3
* Mon Oct 06 2014 Tomas Hozza <thozza@redhat.com> - 2.72-2
5136d3
- Fix typo in default configuration (#1149459)
5136d3
5136d3
* Thu Sep 25 2014 Tomas Hozza <thozza@redhat.com> - 2.72-1
5136d3
- Update to 2.72 stable
5136d3
5136d3
* Sat Aug 16 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.71-3
5136d3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
5136d3
5136d3
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.71-2
5136d3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
5136d3
5136d3
* Tue May 20 2014 Tomas Hozza <thozza@redhat.com> - 2.71-1
5136d3
- Update to 2.71 stable
5136d3
5136d3
* Fri Apr 25 2014 Tomas Hozza <thozza@redhat.com> - 2.70-1
5136d3
- Update to 2.70 stable
5136d3
5136d3
* Fri Apr 11 2014 Tomas Hozza <thozza@redhat.com> - 2.69-1
5136d3
- Update to 2.69 stable
5136d3
5136d3
* Mon Mar 24 2014 Tomas Hozza <thozza@redhat.com> - 2.69-0.1.rc1
5136d3
- Update to 2.69rc1
5136d3
- enable DNSSEC implementation
5136d3
5136d3
* Mon Dec 09 2013 Tomas Hozza <thozza@redhat.com> - 2.68-1
5136d3
- Update to 2.68 stable
5136d3
5136d3
* Tue Nov 26 2013 Tomas Hozza <thozza@redhat.com> - 2.68-0.1.rc3
5136d3
- Update to 2.68rc3
5136d3
5136d3
* Fri Nov 01 2013 Tomas Hozza <thozza@redhat.com> - 2.67-1
5136d3
- Update to 2.67 stable
5136d3
- Include one post release upstream fix for CNAME
5136d3
5136d3
* Fri Oct 18 2013 Tomas Hozza <thozza@redhat.com> - 2.67-0.9.rc4
5136d3
- update to 2.67rc4
5136d3
5136d3
* Wed Oct 02 2013 Tomas Hozza <thozza@redhat.com> - 2.67-0.8.rc2
5136d3
- update to 2.67rc2
5136d3
5136d3
* Thu Sep 12 2013 Tomas Hozza <thozza@redhat.com> - 2.67-0.7.test13
5136d3
- update to 2.67test13
5136d3
- use .tar.xz upstream archives
5136d3
5136d3
* Thu Aug 15 2013 Tomas Hozza <thozza@redhat.com> - 2.67-0.6.test7
5136d3
- Use SO_REUSEPORT and SO_REUSEADDR if possible for DHCPv4/6 (#981973)
5136d3
5136d3
* Mon Aug 12 2013 Tomas Hozza <thozza@redhat.com> - 2.67-0.5.test7
5136d3
- Don't use SO_REUSEPORT on DHCPv4 socket to prevent conflicts with ISC DHCP (#981973)
5136d3
5136d3
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.67-0.4.test7
5136d3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
5136d3
5136d3
* Tue Jun 11 2013 Tomas Hozza <thozza@redhat.com> - 2.67-0.3.test7
5136d3
- update to 2.67test7
5136d3
- drop merged patch
5136d3
- use _hardened_build macro instead of hardcoded flags
5136d3
5136d3
* Fri May 17 2013 Tomas Hozza <thozza@redhat.com> - 2.67-0.2.test4
5136d3
- Fix failure to start with ENOTSOCK (#962874)
5136d3
5136d3
* Wed May 15 2013 Tomas Hozza <thozza@redhat.com> - 2.67-0.1.test4
5136d3
- update to the latest testing release 2.67test4 (#962246)
5136d3
- drop mergerd patches
5136d3
5136d3
* Tue Apr 30 2013 Tomas Hozza <thozza@redhat.com> - 2.66-5
5136d3
- dnsmasq unit file cleanup
5136d3
  - drop forking Type and PIDfile and rather start dnsmasq with "-k" option
5136d3
  - drop After syslog.target as this is by default
5136d3
5136d3
* Thu Apr 25 2013 Tomas Hozza <thozza@redhat.com> - 2.66-4
5136d3
- include several fixes from upstream repo:
5136d3
  - Send TCP DNS messages in one packet
5136d3
  - Fix crash on SERVFAIL when using --conntrack option
5136d3
  - Fix regression in dhcp_lease_time utility
5136d3
  - Man page typos fixes
5136d3
  - Note that dhcp_lease_time and dhcp_release work only for IPv4
5136d3
  - Fix for --dhcp-match option to work also with BOOTP protocol
5136d3
5136d3
* Sat Apr 20 2013 Tomas Hozza <thozza@redhat.com> - 2.66-3
5136d3
- Use Full RELRO when linking the daemon
5136d3
- compile the daemon with PIE
5136d3
- include two fixes from upstream git repo
5136d3
5136d3
* Thu Apr 18 2013 Tomas Hozza <thozza@redhat.com> - 2.66-2
5136d3
- New stable version dnsmasq-2.66
5136d3
- Drop of merged patch
5136d3
5136d3
* Fri Apr 12 2013 Tomas Hozza <thozza@redhat.com> - 2.66-1.rc5
5136d3
- Update to latest dnsmasq-2.66rc5
5136d3
- Include fix for segfault when lease limit is reached
5136d3
5136d3
* Fri Mar 22 2013 Tomas Hozza <thozza@redhat.com> - 2.66-1.rc1
5136d3
- Update to latest dnsmasq-2.66rc1
5136d3
- Dropping unneeded patches
5136d3
- Enable IDN support
5136d3
5136d3
* Fri Mar 15 2013 Tomas Hozza <thozza@redhat.com> - 2.65-5
5136d3
- Allocate dhcp_buff-ers also if daemon->ra_contexts to prevent SIGSEGV (#920300)
5136d3
5136d3
* Thu Jan 31 2013 Tomas Hozza <thozza@redhat.com> - 2.65-4
5136d3
- Handle locally-routed DNS Queries (#904940)
5136d3
5136d3
* Thu Jan 24 2013 Tomas Hozza <thozza@redhat.com> - 2.65-3
5136d3
- build dnsmasq with $RPM_OPT_FLAGS, $RPM_LD_FLAGS explicitly (#903362) 
5136d3
5136d3
* Tue Jan 22 2013 Tomas Hozza <thozza@redhat.com> - 2.65-2
5136d3
- Fix for CVE-2013-0198 (checking of TCP connection interfaces) (#901555)
5136d3
5136d3
* Sat Dec 15 2012 Tomas Hozza <thozza@redhat.com> - 2.65-1
5136d3
- new version 2.65
5136d3
5136d3
* Wed Dec 05 2012 Tomas Hozza <thozza@redhat.com> - 2.64-1
5136d3
- New version 2.64
5136d3
- Merged patches dropped
5136d3
5136d3
* Tue Nov 20 2012 Tomas Hozza <thozza@redhat.com> - 2.63-4
5136d3
- Remove EnvironmentFile from service file (#878343)
5136d3
5136d3
* Mon Nov 19 2012 Tomas Hozza <thozza@redhat.com> - 2.63-3
5136d3
- dhcp6 support fixes (#867054)
5136d3
- removed "-s $HOSTNAME" from .service file (#753656, #822797)
5136d3
5136d3
* Tue Oct 23 2012 Tomas Hozza <thozza@redhat.com> - 2.63-2
5136d3
- Introduce new systemd-rpm macros in dnsmasq spec file (#850096)
5136d3
5136d3
* Thu Aug 23 2012 Douglas Schilling Landgraf <dougsland@redhat.com> - 2.63-1
5136d3
- Use .tar.gz compression, in upstream site there is no .lzma anymore
5136d3
- New version 2.63
5136d3
5136d3
* Sat Feb 11 2012 Pádraig Brady <P@draigBrady.com> - 2.59-5
5136d3
- Compile DHCP lease management utils with RPM_OPT_FLAGS
5136d3
5136d3
* Thu Feb  9 2012 Pádraig Brady <P@draigBrady.com> - 2.59-4
5136d3
- Include DHCP lease management utils in a subpackage
5136d3
5136d3
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.59-3
5136d3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
5136d3
5136d3
* Fri Aug 26 2011 Douglas Schilling Landgraf <dougsland@redhat.com> - 2.59-2
5136d3
- do not enable service by default
5136d3
5136d3
* Fri Aug 26 2011 Douglas Schilling Landgraf <dougsland@redhat.com> - 2.59-1
5136d3
- New version 2.59
5136d3
- Fix regression in 2.58 (IPv6 issue) - bz 744814
5136d3
5136d3
* Fri Aug 26 2011 Douglas Schilling Landgraf <dougsland@redhat.com> - 2.58-1
5136d3
- Fixed License
5136d3
- New version 2.58
5136d3
5136d3
* Mon Aug 08 2011 Patrick "Jima" Laughton <jima@fedoraproject.org> - 2.52-5
5136d3
- Include systemd unit file
5136d3
5136d3
* Mon Aug 08 2011 Patrick "Jima" Laughton <jima@fedoraproject.org> - 2.52-3
5136d3
- Applied Jóhann's patch, minor cleanup
5136d3
5136d3
* Tue Jul 26 2011 Jóhann B. Guðmundsson <johannbg@gmail.com> - 2.52-3
5136d3
- Introduce systemd unit file, drop SysV support
5136d3
5136d3
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.52-2
5136d3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
5136d3
5136d3
* Tue Jan 26 2010 Itamar Reis Peixoto <itamar@ispbrasil.com.br> - 2.52-1
5136d3
- New Version 2.52
5136d3
- fix condrestart() in initscript bz 547605
5136d3
- fix sed to enable DBUS(the '*' need some escaping) bz 553161
5136d3
5136d3
* Sun Nov 22 2009 Itamar Reis Peixoto <itamar@ispbrasil.com.br> - 2.51-2
5136d3
- fix bz 512664
5136d3
5136d3
* Sat Oct 17 2009 Itamar Reis Peixoto <itamar@ispbrasil.com.br> - 2.51-1
5136d3
- move initscript from patch to a plain text file
5136d3
- drop (dnsmasq-configuration.patch) and use sed instead
5136d3
- enable /etc/dnsmasq.d fix bz 526703
5136d3
- change requires to package name instead of file
5136d3
- new version 2.51
5136d3
5136d3
* Mon Oct  5 2009 Mark McLoughlin <markmc@redhat.com> - 2.48-4
5136d3
- Fix multiple TFTP server vulnerabilities (CVE-2009-2957, CVE-2009-2958)
5136d3
5136d3
* Wed Aug 12 2009 Ville Skyttä <ville.skytta@iki.fi> - 2.48-3
5136d3
- Use lzma compressed upstream tarball.
5136d3
5136d3
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.48-2
5136d3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
5136d3
5136d3
* Wed Jun 10 2009 Patrick "Jima" Laughton <jima@beer.tclug.org> 2.48-1
5136d3
- Bugfix/feature enhancement update
5136d3
- Fixing BZ#494094
5136d3
5136d3
* Fri May 29 2009 Patrick "Jima" Laughton <jima@beer.tclug.org> 2.47-1
5136d3
- Bugfix/feature enhancement update
5136d3
5136d3
* Tue Feb 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.46-2
5136d3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
5136d3
5136d3
* Mon Dec 29 2008 Matěj Cepl <mcepl@redhat.com> - 2.45-2
5136d3
- rebuilt
5136d3
5136d3
* Mon Jul 21 2008 Patrick "Jima" Laughton <jima@beer.tclug.org> 2.45-1
5136d3
- Upstream release (bugfixes)
5136d3
5136d3
* Wed Jul 16 2008 Patrick "Jima" Laughton <jima@beer.tclug.org> 2.43-2
5136d3
- New upstream release, contains fixes for CVE-2008-1447/CERT VU#800113
5136d3
- Dropped patch for newer glibc (merged upstream)
5136d3
5136d3
* Wed Feb 13 2008 Patrick "Jima" Laughton <jima@beer.tclug.org> 2.41-0.8
5136d3
- Added upstream-authored patch for newer glibc (thanks Simon!)
5136d3
5136d3
* Wed Feb 13 2008 Patrick "Jima" Laughton <jima@beer.tclug.org> 2.41-0.7
5136d3
- New upstream release
5136d3
5136d3
* Wed Jan 30 2008 Patrick "Jima" Laughton <jima@beer.tclug.org> 2.41-0.6.rc1
5136d3
- Release candidate
5136d3
- Happy Birthday Isaac!
5136d3
5136d3
* Wed Jan 23 2008 Patrick "Jima" Laughton <jima@beer.tclug.org> 2.41-0.5.test30
5136d3
- Bugfix update
5136d3
5136d3
* Mon Dec 31 2007 Patrick "Jima" Laughton <jima@beer.tclug.org> 2.41-0.4.test26
5136d3
- Bugfix/feature enhancement update
5136d3
5136d3
* Thu Dec 13 2007 Patrick "Jima" Laughton <jima@beer.tclug.org> 2.41-0.3.test24
5136d3
- Upstream fix for fairly serious regression
5136d3
5136d3
* Tue Dec 04 2007 Patrick "Jima" Laughton <jima@beer.tclug.org> 2.41-0.2.test20
5136d3
- New upstream test release
5136d3
- Moving dnsmasq.leases to /var/lib/dnsmasq/ as per BZ#407901
5136d3
- Ignoring dangerous-command-in-%%post rpmlint warning (as per above fix)
5136d3
- Patch consolidation/cleanup
5136d3
- Removed conditionals for Fedora <= 3 and Aurora 2.0
5136d3
5136d3
* Tue Sep 18 2007 Patrick "Jima" Laughton <jima@beer.tclug.org> 2.40-1
5136d3
- Finalized upstream release
5136d3
- Removing URLs from patch lines (CVS is the authoritative source)
5136d3
- Added more magic to make spinning rc/test packages more seamless
5136d3
5136d3
* Sun Aug 26 2007 Patrick "Jima" Laughton <jima@beer.tclug.org> 2.40-0.1.rc2
5136d3
- New upstream release candidate (feature-frozen), thanks Simon!
5136d3
- License clarification
5136d3
5136d3
* Tue May 29 2007 Patrick "Jima" Laughton <jima@beer.tclug.org> 2.39-1
5136d3
- New upstream version (bugfixes, enhancements)
5136d3
5136d3
* Mon Feb 12 2007 Patrick "Jima" Laughton <jima@beer.tclug.org> 2.38-1
5136d3
- New upstream version with bugfix for potential hang
5136d3
5136d3
* Tue Feb 06 2007 Patrick "Jima" Laughton <jima@beer.tclug.org> 2.37-1
5136d3
- New upstream version
5136d3
5136d3
* Wed Jan 24 2007 Patrick "Jima" Laughton <jima@beer.tclug.org> 2.36-1
5136d3
- New upstream version
5136d3
5136d3
* Mon Nov 06 2006 Patrick "Jima" Laughton <jima@beer.tclug.org> 2.35-2
5136d3
- Stop creating /etc/sysconfig on %%install
5136d3
- Create /etc/dnsmasq.d on %%install
5136d3
5136d3
* Mon Nov 06 2006 Patrick "Jima" Laughton <jima@beer.tclug.org> 2.35-1
5136d3
- Update to 2.35
5136d3
- Removed UPGRADING_to_2.0 from %%doc as per upstream change
5136d3
- Enabled conf-dir in default config as per RFE BZ#214220 (thanks Chris!)
5136d3
- Added %%dir /etc/dnsmasq.d to %%files as per above RFE
5136d3
5136d3
* Tue Oct 24 2006 Patrick "Jima" Laughton <jima@beer.tclug.org> 2.34-2
5136d3
- Fixed BZ#212005
5136d3
- Moved %%postun scriptlet to %%post, where it made more sense
5136d3
- Render scriptlets safer
5136d3
- Minor cleanup for consistency
5136d3
5136d3
* Thu Oct 19 2006 Patrick "Jima" Laughton <jima@beer.tclug.org> 2.34-1
5136d3
- Hardcoded version in patches, as I'm getting tired of updating them
5136d3
- Update to 2.34
5136d3
5136d3
* Mon Aug 28 2006 Patrick "Jima" Laughton <jima@beer.tclug.org> 2.33-2
5136d3
- Rebuild for FC6
5136d3
5136d3
* Tue Aug 15 2006 Patrick "Jima" Laughton <jima@beer.tclug.org> 2.33-1
5136d3
- Update
5136d3
5136d3
* Sat Jul 22 2006 Patrick "Jima" Laughton <jima@beer.tclug.org> 2.32-3
5136d3
- Added pkgconfig BuildReq due to reduced buildroot
5136d3
5136d3
* Thu Jul 20 2006 Patrick "Jima" Laughton <jima@beer.tclug.org> 2.32-2
5136d3
- Forced update due to dbus version bump
5136d3
5136d3
* Mon Jun 12 2006 Patrick "Jima" Laughton <jima@beer.tclug.org> 2.32-1
5136d3
- Update from upstream
5136d3
- Patch from Dennis Gilmore fixed the conditionals to detect Aurora Linux
5136d3
5136d3
* Mon May  8 2006 Patrick "Jima" Laughton <jima@auroralinux.org> 2.31-1
5136d3
- Removed dbus config patch (now provided upstream)
5136d3
- Patched in init script (no longer provided upstream)
5136d3
- Added DBus-interface to docs
5136d3
5136d3
* Tue May  2 2006 Patrick "Jima" Laughton <jima@auroralinux.org> 2.30-4.2
5136d3
- More upstream-recommended cleanups :)
5136d3
- Killed sysconfig file (provides unneeded functionality)
5136d3
- Tweaked init script a little more
5136d3
5136d3
* Tue May  2 2006 Patrick "Jima" Laughton <jima@auroralinux.org> 2.30-4
5136d3
- Moved options out of init script and into /etc/sysconfig/dnsmasq
5136d3
- Disabled DHCP_LEASE in sysconfig file, fixing bug #190379
5136d3
- Simon Kelley provided dbus/dnsmasq.conf, soon to be part of the tarball
5136d3
5136d3
* Thu Apr 27 2006 Patrick "Jima" Laughton <jima@auroralinux.org> 2.30-3
5136d3
- Un-enabled HAVE_ISC_READER, a hack to enable a deprecated feature (request)
5136d3
- Split initscript & enable-dbus patches, conditionalized dbus for FC3
5136d3
- Tweaked name field in changelog entries (trying to be consistent)
5136d3
5136d3
* Mon Apr 24 2006 Patrick "Jima" Laughton <jima@auroralinux.org> 2.30-2
5136d3
- Disabled stripping of binary while installing (oops)
5136d3
- Enabled HAVE_ISC_READER/HAVE_DBUS via patch
5136d3
- Added BuildReq for dbus-devel
5136d3
5136d3
* Mon Apr 24 2006 Patrick "Jima" Laughton <jima@auroralinux.org> 2.30-1
5136d3
- Initial Fedora Extras RPM