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