Blame SPECS/dnsmasq.spec

85f98a
%define testrelease 0
85f98a
%define releasecandidate 0
85f98a
%if 0%{testrelease}
85f98a
  %define extrapath test-releases/
85f98a
  %define extraversion test%{testrelease}
85f98a
%endif
85f98a
%if 0%{releasecandidate}
85f98a
  %define extrapath release-candidates/
85f98a
  %define extraversion rc%{releasecandidate}
85f98a
%endif
85f98a
85f98a
%define _hardened_build 1
85f98a
85f98a
Name:           dnsmasq
85f98a
Version:        2.79
176ecd
Release:        18%{?extraversion:.%{extraversion}}%{?dist}
85f98a
Summary:        A lightweight DHCP/caching DNS server
85f98a
85f98a
License:        GPLv2 or GPLv3
85f98a
URL:            http://www.thekelleys.org.uk/dnsmasq/
85f98a
Source0:        http://www.thekelleys.org.uk/dnsmasq/%{?extrapath}%{name}-%{version}%{?extraversion}.tar.xz
85f98a
Source1:        %{name}.service
85f98a
Source2:        dnsmasq-systemd-sysusers.conf
85f98a
85f98a
# https://bugzilla.redhat.com/show_bug.cgi?id=1495409
85f98a
Patch1:         dnsmasq-2.77-underflow.patch
85f98a
Patch3:         dnsmasq-2.78-fips.patch
85f98a
Patch4:         dnsmasq-2.80-dnssec.patch
85f98a
Patch5:         dnsmasq-2.79-rh1602477.patch
85f98a
# Few changes not yet in upstream
85f98a
Patch6:         dnsmasq-2.79-rh1602477-2.patch
85f98a
# commit 60ac10d8d86e6f95ab0f06abe6c42596adcedcb8
85f98a
Patch7:         dnsmasq-2.76-rh1752569.patch
85f98a
# Report failure when no release would be sent
85f98a
Patch8:         dnsmasq-2.79-rh1749092-fail.patch
85f98a
Patch9:         dnsmasq-2.76-rh1728698-1.patch
85f98a
Patch10:        dnsmasq-2.79-rh1728698-2.patch
85f98a
Patch11:        dnsmasq-2.76-rh1728698-3.patch
85f98a
Patch12:        dnsmasq-2.79-rh1728698-4.patch
85f98a
Patch13:        dnsmasq-2.79-rh1746411.patch
85f98a
Patch14:        dnsmasq-2.79-rh1700916.patch
85f98a
Patch15:        dnsmasq-2.80-rh1795370.patch
85f98a
# https://bugzilla.redhat.com/show_bug.cgi?id=1779187
85f98a
# http://thekelleys.org.uk/gitweb/?p=dnsmasq.git;a=commit;h=97f876b64c22b2b18412e2e3d8506ee33e42db7c
85f98a
Patch16:        dnsmasq-2.80-unaligned-addresses-in-DHCPv6-packet.patch
85f98a
# http://thekelleys.org.uk/gitweb/?p=dnsmasq.git;a=commit;h=f064188032a829efdcf3988b24ac795ff52785ec
85f98a
# http://thekelleys.org.uk/gitweb/?p=dnsmasq.git;a=commit;h=137286e9baecf6a3ba97722ef1b49c851b531810
85f98a
# http://thekelleys.org.uk/gitweb/?p=dnsmasq.git;a=commit;h=79aba0f10ad0157fb4f48afbbcb03f094caff97a
85f98a
Patch17:        dnsmasq-2.81-prefix-ranges-or-list-of-ipv6-addresses.patch
85f98a
# http://thekelleys.org.uk/gitweb/?p=dnsmasq.git;a=commit;h=52ec7836139e7a11374971905e5ac0d2d02e32c0
85f98a
Patch18:        dnsmasq-2.81-tag-filtering-of-dhcp-host-directives.patch
85f98a
Patch19:        dnsmasq-2.81-correct-range-check-of-dhcp-host-prefix.patch
f8d027
Patch20:        dnsmasq-2.81-optimize-fds-close.patch
5bc043
Patch21:        dnsmasq-2.81-rh1829448.patch
bc86c2
Patch22:        dnsmasq-2.79-CVE-2020-25681.patch
bc86c2
Patch23:        dnsmasq-2.79-CVE-2020-25684.patch
bc86c2
Patch24:        dnsmasq-2.79-CVE-2020-25685.patch
bc86c2
Patch25:        dnsmasq-2.79-CVE-2020-25686.patch
bc86c2
Patch26:        dnsmasq-2.79-CVE-2020-25686-2.patch
176ecd
# http://thekelleys.org.uk/gitweb/?p=dnsmasq.git;a=commit;h=3f535da79e7a42104543ef5c7b5fa2bed819a78b
176ecd
# http://thekelleys.org.uk/gitweb/?p=dnsmasq.git;a=commit;h=04490bf622ac84891aad6f2dd2edf83725decdee
176ecd
Patch27:        dnsmasq-2.79-mixed-family-failed.patch
176ecd
# http://thekelleys.org.uk/gitweb/?p=dnsmasq.git;a=commit;h=b2ed691eb3ca6488a8878f5f3dd950a07b14a9db
176ecd
Patch28:        dnsmasq-2.81-netlink-table.patch
176ecd
Patch29:        dnsmasq-2.84-bind-dynamic-netlink.patch
176ecd
# http://thekelleys.org.uk/gitweb/?p=dnsmasq.git;a=commit;h=74d4fcd756a85bc1823232ea74334f7ccfb9d5d2
176ecd
Patch30:        dnsmasq-2.85-CVE-2021-3448.patch
85f98a
85f98a
# This is workaround to nettle bug #1549190
85f98a
# https://bugzilla.redhat.com/show_bug.cgi?id=1549190
85f98a
Requires:       nettle >= 3.4
85f98a
85f98a
BuildRequires:  dbus-devel
85f98a
BuildRequires:  pkgconfig
85f98a
BuildRequires:  libidn2-devel
85f98a
BuildRequires:  nettle-devel
85f98a
Buildrequires:  gcc
85f98a
85f98a
BuildRequires:  systemd
85f98a
%{?systemd_requires}
85f98a
85f98a
%description
85f98a
Dnsmasq is lightweight, easy to configure DNS forwarder and DHCP server.
85f98a
It is designed to provide DNS and, optionally, DHCP, to a small network.
85f98a
It can serve the names of local machines which are not in the global
85f98a
DNS. The DHCP server integrates with the DNS server and allows machines
85f98a
with DHCP-allocated addresses to appear in the DNS with names configured
85f98a
either in each host or in a central configuration file. Dnsmasq supports
85f98a
static and dynamic DHCP leases and BOOTP for network booting of diskless
85f98a
machines.
85f98a
85f98a
%package        utils
85f98a
Summary:        Utilities for manipulating DHCP server leases
85f98a
85f98a
%description    utils
85f98a
Utilities that use the standard DHCP protocol to query/remove a DHCP
85f98a
server's leases.
85f98a
85f98a
85f98a
%prep
85f98a
%setup -q -n %{name}-%{version}%{?extraversion}
85f98a
%patch1 -p1 -b .underflow
85f98a
%patch3 -p1 -b .fips
85f98a
%patch4 -p1 -b .dnssec
85f98a
%patch5 -p1 -b .rh1602477
85f98a
%patch6 -p1 -b .rh1602477-2
85f98a
%patch7 -p1 -b .rh1752569
85f98a
%patch8 -p1 -b .rh1752569
85f98a
%patch9 -p1 -b .rh1728698-1
85f98a
%patch10 -p1 -b .rh1728698-2
85f98a
%patch11 -p1 -b .rh1728698-3
85f98a
%patch12 -p1 -b .rh1728698-4
85f98a
%patch13 -p1 -b .rh1746411
85f98a
%patch14 -p1 -b .rh1700916
85f98a
%patch15 -p1 -b .rh1795370
85f98a
%patch16 -p1 -b .rh1779187-1
85f98a
%patch17 -p1 -b .rh1779187-2
85f98a
%patch18 -p1 -b .rh1779187-3
85f98a
%patch19 -p1 -b .rh1779187-4
f8d027
%patch20 -p1 -b .rh1816613
5bc043
%patch21 -p1 -b .rh1829448
bc86c2
%patch22 -p1 -b .CVE-2020-25681
bc86c2
%patch23 -p1 -b .CVE-2020-25684
bc86c2
%patch24 -p1 -b .CVE-2020-25685
bc86c2
%patch25 -p1 -b .CVE-2020-25686
bc86c2
%patch26 -p1 -b .CVE-2020-25686-2
176ecd
%patch27 -p1 -b .rh1921153
176ecd
%patch28 -p1 -b .rh1887649-table
176ecd
%patch29 -p1 -b .rh1887649
176ecd
%patch30 -p1 -b .CVE-2021-3448
85f98a
85f98a
# use /var/lib/dnsmasq instead of /var/lib/misc
85f98a
for file in dnsmasq.conf.example man/dnsmasq.8 man/es/dnsmasq.8 src/config.h; do
85f98a
    sed -i 's|/var/lib/misc/dnsmasq.leases|/var/lib/dnsmasq/dnsmasq.leases|g' "$file"
85f98a
done
85f98a
85f98a
# fix the path to the trust anchor
85f98a
sed -i 's|%%%%PREFIX%%%%|%{_prefix}|' dnsmasq.conf.example
85f98a
85f98a
#set dnsmasq user / group
85f98a
sed -i 's|#user=|user=dnsmasq|' dnsmasq.conf.example
85f98a
sed -i 's|#group=|group=dnsmasq|' dnsmasq.conf.example
85f98a
#set default user /group in src/config.h
85f98a
sed -i 's|#define CHUSER "nobody"|#define CHUSER "dnsmasq"|' src/config.h
85f98a
sed -i 's|#define CHGRP "dip"|#define CHGRP "dnsmasq"|' src/config.h
85f98a
85f98a
# optional parts
85f98a
sed -i 's|^COPTS[[:space:]]*=|\0 -DHAVE_DBUS -DHAVE_LIBIDN2 -DHAVE_DNSSEC|' Makefile
85f98a
85f98a
#enable /etc/dnsmasq.d fix bz 526703, ignore RPM backup files
85f98a
cat << EOF >> dnsmasq.conf.example
85f98a
85f98a
# Include all files in /etc/dnsmasq.d except RPM backup files
85f98a
conf-dir=/etc/dnsmasq.d,.rpmnew,.rpmsave,.rpmorig
85f98a
EOF
85f98a
85f98a
85f98a
%build
85f98a
%make_build CFLAGS="$RPM_OPT_FLAGS" LDFLAGS="$RPM_LD_FLAGS"
85f98a
%make_build -C contrib/lease-tools CFLAGS="$RPM_OPT_FLAGS" LDFLAGS="$RPM_LD_FLAGS"
85f98a
85f98a
85f98a
%install
85f98a
# normally i'd do 'make install'...it's a bit messy, though
85f98a
mkdir -p $RPM_BUILD_ROOT%{_sbindir} \
85f98a
        $RPM_BUILD_ROOT%{_mandir}/man8 \
85f98a
        $RPM_BUILD_ROOT%{_var}/lib/dnsmasq \
85f98a
        $RPM_BUILD_ROOT%{_sysconfdir}/dnsmasq.d \
85f98a
        $RPM_BUILD_ROOT%{_sysconfdir}/dbus-1/system.d
85f98a
install src/dnsmasq $RPM_BUILD_ROOT%{_sbindir}/dnsmasq
85f98a
install dnsmasq.conf.example $RPM_BUILD_ROOT%{_sysconfdir}/dnsmasq.conf
85f98a
install dbus/dnsmasq.conf $RPM_BUILD_ROOT%{_sysconfdir}/dbus-1/system.d/
85f98a
install -m 644 man/dnsmasq.8 $RPM_BUILD_ROOT%{_mandir}/man8/
85f98a
install -D trust-anchors.conf $RPM_BUILD_ROOT%{_datadir}/%{name}/trust-anchors.conf
85f98a
85f98a
# utils sub package
85f98a
mkdir -p $RPM_BUILD_ROOT%{_bindir} \
85f98a
         $RPM_BUILD_ROOT%{_mandir}/man1
85f98a
install -m 755 contrib/lease-tools/dhcp_release $RPM_BUILD_ROOT%{_bindir}/dhcp_release
85f98a
install -m 644 contrib/lease-tools/dhcp_release.1 $RPM_BUILD_ROOT%{_mandir}/man1/dhcp_release.1
85f98a
install -m 755 contrib/lease-tools/dhcp_release6 $RPM_BUILD_ROOT%{_bindir}/dhcp_release6
85f98a
install -m 644 contrib/lease-tools/dhcp_release6.1 $RPM_BUILD_ROOT%{_mandir}/man1/dhcp_release6.1
85f98a
install -m 755 contrib/lease-tools/dhcp_lease_time $RPM_BUILD_ROOT%{_bindir}/dhcp_lease_time
85f98a
install -m 644 contrib/lease-tools/dhcp_lease_time.1 $RPM_BUILD_ROOT%{_mandir}/man1/dhcp_lease_time.1
85f98a
85f98a
# Systemd
85f98a
mkdir -p %{buildroot}%{_unitdir}
85f98a
install -m644 %{SOURCE1} %{buildroot}%{_unitdir}
85f98a
rm -rf %{buildroot}%{_initrddir}
85f98a
85f98a
#install systemd sysuser file
85f98a
install -Dpm 644 %{SOURCE2} %{buildroot}%{_sysusersdir}/dnsmasq.conf
85f98a
85f98a
%pre
85f98a
#precreate users so that rpm can install files owned by that user
b07119
%sysusers_create_package %{name} %{SOURCE2}
85f98a
85f98a
%post
85f98a
#https://fedoraproject.org/wiki/Changes/SystemdSysusers
85f98a
%systemd_post dnsmasq.service
85f98a
85f98a
%preun
85f98a
%systemd_preun dnsmasq.service
85f98a
85f98a
%postun
85f98a
%systemd_postun_with_restart dnsmasq.service
85f98a
85f98a
%files
85f98a
%doc CHANGELOG FAQ doc.html setup.html dbus/DBus-interface
85f98a
%license COPYING COPYING-v3
85f98a
%defattr(0644,root,dnsmasq,0755)
85f98a
%config(noreplace) %{_sysconfdir}/dnsmasq.conf
85f98a
%dir %{_sysconfdir}/dnsmasq.d
85f98a
%dir %{_var}/lib/dnsmasq
85f98a
%defattr(-,root,root,-)
85f98a
%config(noreplace) %{_sysconfdir}/dbus-1/system.d/dnsmasq.conf
85f98a
%{_unitdir}/%{name}.service
85f98a
%{_sbindir}/dnsmasq
85f98a
%{_mandir}/man8/dnsmasq*
85f98a
%dir %{_datadir}/%{name}
85f98a
%{_datadir}/%{name}/trust-anchors.conf
85f98a
%{_sysusersdir}/dnsmasq.conf
85f98a
85f98a
%files utils
85f98a
%license COPYING COPYING-v3
85f98a
%{_bindir}/dhcp_*
85f98a
%{_mandir}/man1/dhcp_*
85f98a
85f98a
%changelog
176ecd
* Thu Mar 18 2021 Petr Menšík <pemensik@redhat.com> - 2.79-18
176ecd
- Properly randomize outgoing ports also with bound interface (CVE-2021-3448)
176ecd
176ecd
* Fri Feb 12 2021 Petr Menšík <pemensik@redhat.com> - 2.79-17
176ecd
- Fix sporadic bind-dynamic failures (#1887649)
176ecd
176ecd
* Wed Jan 27 2021 Petr Menšík <pemensik@redhat.com> - 2.79-16
176ecd
- Fix network errors on queries both from ipv4 and ipv6 (#1921153)
176ecd
bc86c2
* Wed Nov 25 2020 Petr Menšík <pemensik@redhat.com> - 2.79-15
bc86c2
- Fix various issues in dnssec validation (CVE-2020-25681)
bc86c2
- Accept responses only on correct sockets (CVE-2020-25684)
bc86c2
- Use strong verification on queries (CVE-2020-25685)
bc86c2
b07119
* Wed Aug 26 2020 Tomas Korbar <tkorbar@redhat.com> - 2.79-14
b07119
- Honor sysusers.d during installation (#1819684)
b07119
5bc043
* Tue May 05 2020 Petr Menšík <pemensik@redhat.com> - 2.79-13
5bc043
- Fix mixed address family reservations on DHCP (#1829448)
5bc043
f8d027
* Mon Mar 30 2020 Tomas Korbar <tkorbar@redhat.com> - 2.79-12
f8d027
- Minimize count of close syscalls on startup (#1816613)
f8d027
85f98a
* Mon Mar 02 2020 Petr Menšík <pemensik@redhat.com> - 2.79-11
85f98a
- Support multiple static leases for single mac on IPv6 (#1779187)
85f98a
85f98a
* Mon Feb 17 2020 Tomas Korbar <tkorbar@redhat.com> - 2.79-10
85f98a
- Fix memory leak in helper.c (#1795370)
85f98a
85f98a
* Tue Dec 10 2019 Tomas Korbar <tkorbar@redhat.com> - 2.79-9
85f98a
- Fix replies to non-recursive queries (#1700916)
85f98a
85f98a
* Mon Dec 09 2019 Tomas Korbar <tkorbar@redhat.com> - 2.79-8
85f98a
- Fix dhcp_lease_time (#1746411)
85f98a
85f98a
* Mon Dec 09 2019 Tomas Korbar <tkorbar@redhat.com> - 2.79-7
85f98a
- Fix TCP queries after interface recreation (#1728698)
85f98a
85f98a
* Mon Sep 30 2019 Petr Menšík <pemensik@redhat.com> - 2.79-6
85f98a
- Send dhcp_release even for addresses not on local network (#1749092)
85f98a
85f98a
* Thu Jul 18 2019 Petr Menšík <pemensik@redhat.com> - 2.79-5
85f98a
- Fix Coverity detected issues (#1602477)
85f98a
85f98a
* Thu Jul 26 2018 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 2.79-4
85f98a
- Fix %%pre scriptlet (#1548050)
85f98a
85f98a
* Mon Jul 02 2018 Petr Menšík <pemensik@redhat.com> - 2.79-3
85f98a
- Make dnsmasq leases writeable by root again (#1554390)
85f98a
85f98a
* Mon Jul 02 2018 Petr Menšík <pemensik@redhat.com> - 2.79-2
85f98a
- Fix passing of dnssec enabled queries (#1597309)
85f98a
85f98a
* Thu Mar 15 2018 Petr Menšík <pemensik@redhat.com> - 2.79-1
85f98a
- Rebase to 2.79
85f98a
- Stop using nettle_hashes directly, use access function (#1548060)
85f98a
- Do not break on cname with spaces (#1498667)
85f98a
- Require nettle 3.4+
85f98a
- Do not own sysusers.d directory, already depends on systemd providing it
85f98a
85f98a
* Fri Mar 02 2018 Petr Menšík <pemensik@redhat.com> - 2.78-7
85f98a
- Emit warning with dnssec enabled on FIPS system (#1549507)
85f98a
85f98a
* Sun Feb 25 2018 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 2.78-6
85f98a
- Create user before installing files (#1548050)
85f98a
85f98a
* Fri Feb 23 2018 Petr Menšík <pemensik@redhat.com> - 2.78-5
85f98a
- Create user first and then restart service
85f98a
85f98a
* Thu Feb 22 2018 Itamar Reis Peixoto <itamar@ispbrasil.com.br> - 2.78-4
85f98a
- add gcc into buildrequires
85f98a
- deliver an extra sysusers.d file to create dnsmasq user/group
85f98a
- set CHUSER and CHGRP to dnsmasq in src/config.h
85f98a
85f98a
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.78-3
85f98a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
85f98a
85f98a
* Mon Jan 22 2018 Petr Menšík <pemensik@redhat.com> - 2.78-2
85f98a
- DNSSEC fix for wildcard NSEC records (CVE-2017-15107)
85f98a
85f98a
* Tue Oct 03 2017 Petr Menšík <pemensik@redhat.com> - 2.78-1
85f98a
- Rebase to 2.78
85f98a
85f98a
* Tue Oct 03 2017 Petr Menšík <pemensik@redhat.com> - 2.77-9
85f98a
- More patches related to CVE-2017-14491
85f98a
85f98a
* Mon Oct 02 2017 Petr Menšík <pemensik@redhat.com> - 2.77-8
85f98a
- Security fix, CVE-2017-14491, DNS heap buffer overflow
85f98a
- Security fix, CVE-2017-14492, DHCPv6 RA heap overflow
85f98a
- Security fix, CVE-2017-14493, DHCPv6 - Stack buffer overflow
85f98a
- Security fix, CVE-2017-14494, Infoleak handling DHCPv6
85f98a
- Security fix, CVE-2017-14496, Integer underflow in DNS response creation
85f98a
- Security fix, CVE-2017-14495, OOM in DNS response creation
85f98a
- Misc code cleanups arising from Google analysis
85f98a
- Do not include stdio.h before dnsmasq.h
85f98a
85f98a
* Thu Sep 14 2017 Petr Menšík <pemensik@redhat.com> - 2.77-7
85f98a
- Fix CVE-2017-13704
85f98a
85f98a
* Mon Aug 14 2017 Petr Menšík <pemensik@redhat.com> - 2.77-6
85f98a
- Own the /usr/share/dnsmasq dir (#1480856)
85f98a
85f98a
* Wed Aug 02 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.77-5
85f98a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
85f98a
85f98a
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.77-4
85f98a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
85f98a
85f98a
* Wed Jun 07 2017 Petr Menšík <pemensik@redhat.com> - 2.77-3
85f98a
- Update to 2.77
85f98a
85f98a
* Fri May 12 2017 Petr Menšík <pemensik@redhat.com> - 2.77-2.rc2
85f98a
- Fix dhcp
85f98a
85f98a
* Thu May 11 2017 Petr Menšík <pemensik@redhat.com> - 2.77-1
85f98a
- Update to 2.77rc2
85f98a
85f98a
* Thu May 11 2017 Petr Menšík <pemensik@redhat.com>
85f98a
- Include dhcp_release6 tool and license in utils
85f98a
- Support for IDN 2008 (#1449150)
85f98a
85f98a
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.76-3
85f98a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
85f98a
85f98a
* Wed Oct 19 2016 Pavel Å imerda <psimerda@redhat.com> - 2.76-2
85f98a
- Resolves: #1373485 - dns not updated after sleep and resume laptop
85f98a
85f98a
* Fri Jul 15 2016 Pavel Å imerda <psimerda@redhat.com> - 2.76-1
85f98a
- New version 2.76
85f98a
85f98a
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 2.75-4
85f98a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
85f98a
85f98a
* Mon Jan 25 2016 Tomas Hozza <thozza@redhat.com> - 2.75-3
85f98a
- Fixed minor bug in dnsmasq.conf (#1295143)
85f98a
85f98a
* Fri Oct 02 2015 Pavel Å imerda <psimerda@redhat.com> - 2.75-2
85f98a
- Resolves: #1239256 - install trust-anchors.conf
85f98a
85f98a
* Wed Aug 05 2015 Pavel Å imerda <psimerda@redhat.com> - 2.75-1
85f98a
- new version 2.75
85f98a
85f98a
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.72-4
85f98a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
85f98a
85f98a
* Mon Oct 06 2014 Nils Philippsen <nils@redhat.com> - 2.72-3
85f98a
- don't include /etc/dnsmasq.d in triplicate, ignore RPM backup files instead
85f98a
- package is dual-licensed GPL v2 or v3
85f98a
- drop %%triggerun, we're not supposed to automatically migrate from SysV to
85f98a
  systemd anyway
85f98a
85f98a
* Mon Oct 06 2014 Tomas Hozza <thozza@redhat.com> - 2.72-2
85f98a
- Fix typo in default configuration (#1149459)
85f98a
85f98a
* Thu Sep 25 2014 Tomas Hozza <thozza@redhat.com> - 2.72-1
85f98a
- Update to 2.72 stable
85f98a
85f98a
* Sat Aug 16 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.71-3
85f98a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
85f98a
85f98a
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.71-2
85f98a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
85f98a
85f98a
* Tue May 20 2014 Tomas Hozza <thozza@redhat.com> - 2.71-1
85f98a
- Update to 2.71 stable
85f98a
85f98a
* Fri Apr 25 2014 Tomas Hozza <thozza@redhat.com> - 2.70-1
85f98a
- Update to 2.70 stable
85f98a
85f98a
* Fri Apr 11 2014 Tomas Hozza <thozza@redhat.com> - 2.69-1
85f98a
- Update to 2.69 stable
85f98a
85f98a
* Mon Mar 24 2014 Tomas Hozza <thozza@redhat.com> - 2.69-0.1.rc1
85f98a
- Update to 2.69rc1
85f98a
- enable DNSSEC implementation
85f98a
85f98a
* Mon Dec 09 2013 Tomas Hozza <thozza@redhat.com> - 2.68-1
85f98a
- Update to 2.68 stable
85f98a
85f98a
* Tue Nov 26 2013 Tomas Hozza <thozza@redhat.com> - 2.68-0.1.rc3
85f98a
- Update to 2.68rc3
85f98a
85f98a
* Fri Nov 01 2013 Tomas Hozza <thozza@redhat.com> - 2.67-1
85f98a
- Update to 2.67 stable
85f98a
- Include one post release upstream fix for CNAME
85f98a
85f98a
* Fri Oct 18 2013 Tomas Hozza <thozza@redhat.com> - 2.67-0.9.rc4
85f98a
- update to 2.67rc4
85f98a
85f98a
* Wed Oct 02 2013 Tomas Hozza <thozza@redhat.com> - 2.67-0.8.rc2
85f98a
- update to 2.67rc2
85f98a
85f98a
* Thu Sep 12 2013 Tomas Hozza <thozza@redhat.com> - 2.67-0.7.test13
85f98a
- update to 2.67test13
85f98a
- use .tar.xz upstream archives
85f98a
85f98a
* Thu Aug 15 2013 Tomas Hozza <thozza@redhat.com> - 2.67-0.6.test7
85f98a
- Use SO_REUSEPORT and SO_REUSEADDR if possible for DHCPv4/6 (#981973)
85f98a
85f98a
* Mon Aug 12 2013 Tomas Hozza <thozza@redhat.com> - 2.67-0.5.test7
85f98a
- Don't use SO_REUSEPORT on DHCPv4 socket to prevent conflicts with ISC DHCP (#981973)
85f98a
85f98a
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.67-0.4.test7
85f98a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
85f98a
85f98a
* Tue Jun 11 2013 Tomas Hozza <thozza@redhat.com> - 2.67-0.3.test7
85f98a
- update to 2.67test7
85f98a
- drop merged patch
85f98a
- use _hardened_build macro instead of hardcoded flags
85f98a
85f98a
* Fri May 17 2013 Tomas Hozza <thozza@redhat.com> - 2.67-0.2.test4
85f98a
- Fix failure to start with ENOTSOCK (#962874)
85f98a
85f98a
* Wed May 15 2013 Tomas Hozza <thozza@redhat.com> - 2.67-0.1.test4
85f98a
- update to the latest testing release 2.67test4 (#962246)
85f98a
- drop mergerd patches
85f98a
85f98a
* Tue Apr 30 2013 Tomas Hozza <thozza@redhat.com> - 2.66-5
85f98a
- dnsmasq unit file cleanup
85f98a
  - drop forking Type and PIDfile and rather start dnsmasq with "-k" option
85f98a
  - drop After syslog.target as this is by default
85f98a
85f98a
* Thu Apr 25 2013 Tomas Hozza <thozza@redhat.com> - 2.66-4
85f98a
- include several fixes from upstream repo:
85f98a
  - Send TCP DNS messages in one packet
85f98a
  - Fix crash on SERVFAIL when using --conntrack option
85f98a
  - Fix regression in dhcp_lease_time utility
85f98a
  - Man page typos fixes
85f98a
  - Note that dhcp_lease_time and dhcp_release work only for IPv4
85f98a
  - Fix for --dhcp-match option to work also with BOOTP protocol
85f98a
85f98a
* Sat Apr 20 2013 Tomas Hozza <thozza@redhat.com> - 2.66-3
85f98a
- Use Full RELRO when linking the daemon
85f98a
- compile the daemon with PIE
85f98a
- include two fixes from upstream git repo
85f98a
85f98a
* Thu Apr 18 2013 Tomas Hozza <thozza@redhat.com> - 2.66-2
85f98a
- New stable version dnsmasq-2.66
85f98a
- Drop of merged patch
85f98a
85f98a
* Fri Apr 12 2013 Tomas Hozza <thozza@redhat.com> - 2.66-1.rc5
85f98a
- Update to latest dnsmasq-2.66rc5
85f98a
- Include fix for segfault when lease limit is reached
85f98a
85f98a
* Fri Mar 22 2013 Tomas Hozza <thozza@redhat.com> - 2.66-1.rc1
85f98a
- Update to latest dnsmasq-2.66rc1
85f98a
- Dropping unneeded patches
85f98a
- Enable IDN support
85f98a
85f98a
* Fri Mar 15 2013 Tomas Hozza <thozza@redhat.com> - 2.65-5
85f98a
- Allocate dhcp_buff-ers also if daemon->ra_contexts to prevent SIGSEGV (#920300)
85f98a
85f98a
* Thu Jan 31 2013 Tomas Hozza <thozza@redhat.com> - 2.65-4
85f98a
- Handle locally-routed DNS Queries (#904940)
85f98a
85f98a
* Thu Jan 24 2013 Tomas Hozza <thozza@redhat.com> - 2.65-3
85f98a
- build dnsmasq with $RPM_OPT_FLAGS, $RPM_LD_FLAGS explicitly (#903362) 
85f98a
85f98a
* Tue Jan 22 2013 Tomas Hozza <thozza@redhat.com> - 2.65-2
85f98a
- Fix for CVE-2013-0198 (checking of TCP connection interfaces) (#901555)
85f98a
85f98a
* Sat Dec 15 2012 Tomas Hozza <thozza@redhat.com> - 2.65-1
85f98a
- new version 2.65
85f98a
85f98a
* Wed Dec 05 2012 Tomas Hozza <thozza@redhat.com> - 2.64-1
85f98a
- New version 2.64
85f98a
- Merged patches dropped
85f98a
85f98a
* Tue Nov 20 2012 Tomas Hozza <thozza@redhat.com> - 2.63-4
85f98a
- Remove EnvironmentFile from service file (#878343)
85f98a
85f98a
* Mon Nov 19 2012 Tomas Hozza <thozza@redhat.com> - 2.63-3
85f98a
- dhcp6 support fixes (#867054)
85f98a
- removed "-s $HOSTNAME" from .service file (#753656, #822797)
85f98a
85f98a
* Tue Oct 23 2012 Tomas Hozza <thozza@redhat.com> - 2.63-2
85f98a
- Introduce new systemd-rpm macros in dnsmasq spec file (#850096)
85f98a
85f98a
* Thu Aug 23 2012 Douglas Schilling Landgraf <dougsland@redhat.com> - 2.63-1
85f98a
- Use .tar.gz compression, in upstream site there is no .lzma anymore
85f98a
- New version 2.63
85f98a
85f98a
* Sat Feb 11 2012 Pádraig Brady <P@draigBrady.com> - 2.59-5
85f98a
- Compile DHCP lease management utils with RPM_OPT_FLAGS
85f98a
85f98a
* Thu Feb  9 2012 Pádraig Brady <P@draigBrady.com> - 2.59-4
85f98a
- Include DHCP lease management utils in a subpackage
85f98a
85f98a
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.59-3
85f98a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
85f98a
85f98a
* Fri Aug 26 2011 Douglas Schilling Landgraf <dougsland@redhat.com> - 2.59-2
85f98a
- do not enable service by default
85f98a
85f98a
* Fri Aug 26 2011 Douglas Schilling Landgraf <dougsland@redhat.com> - 2.59-1
85f98a
- New version 2.59
85f98a
- Fix regression in 2.58 (IPv6 issue) - bz 744814
85f98a
85f98a
* Fri Aug 26 2011 Douglas Schilling Landgraf <dougsland@redhat.com> - 2.58-1
85f98a
- Fixed License
85f98a
- New version 2.58
85f98a
85f98a
* Mon Aug 08 2011 Patrick "Jima" Laughton <jima@fedoraproject.org> - 2.52-5
85f98a
- Include systemd unit file
85f98a
85f98a
* Mon Aug 08 2011 Patrick "Jima" Laughton <jima@fedoraproject.org> - 2.52-3
85f98a
- Applied Jóhann's patch, minor cleanup
85f98a
85f98a
* Tue Jul 26 2011 Jóhann B. Guðmundsson <johannbg@gmail.com> - 2.52-3
85f98a
- Introduce systemd unit file, drop SysV support
85f98a
85f98a
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.52-2
85f98a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
85f98a
85f98a
* Tue Jan 26 2010 Itamar Reis Peixoto <itamar@ispbrasil.com.br> - 2.52-1
85f98a
- New Version 2.52
85f98a
- fix condrestart() in initscript bz 547605
85f98a
- fix sed to enable DBUS(the '*' need some escaping) bz 553161
85f98a
85f98a
* Sun Nov 22 2009 Itamar Reis Peixoto <itamar@ispbrasil.com.br> - 2.51-2
85f98a
- fix bz 512664
85f98a
85f98a
* Sat Oct 17 2009 Itamar Reis Peixoto <itamar@ispbrasil.com.br> - 2.51-1
85f98a
- move initscript from patch to a plain text file
85f98a
- drop (dnsmasq-configuration.patch) and use sed instead
85f98a
- enable /etc/dnsmasq.d fix bz 526703
85f98a
- change requires to package name instead of file
85f98a
- new version 2.51
85f98a
85f98a
* Mon Oct  5 2009 Mark McLoughlin <markmc@redhat.com> - 2.48-4
85f98a
- Fix multiple TFTP server vulnerabilities (CVE-2009-2957, CVE-2009-2958)
85f98a
85f98a
* Wed Aug 12 2009 Ville Skyttä <ville.skytta@iki.fi> - 2.48-3
85f98a
- Use lzma compressed upstream tarball.
85f98a
85f98a
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.48-2
85f98a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
85f98a
85f98a
* Wed Jun 10 2009 Patrick "Jima" Laughton <jima@beer.tclug.org> 2.48-1
85f98a
- Bugfix/feature enhancement update
85f98a
- Fixing BZ#494094
85f98a
85f98a
* Fri May 29 2009 Patrick "Jima" Laughton <jima@beer.tclug.org> 2.47-1
85f98a
- Bugfix/feature enhancement update
85f98a
85f98a
* Tue Feb 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.46-2
85f98a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
85f98a
85f98a
* Mon Dec 29 2008 Matěj Cepl <mcepl@redhat.com> - 2.45-2
85f98a
- rebuilt
85f98a
85f98a
* Mon Jul 21 2008 Patrick "Jima" Laughton <jima@beer.tclug.org> 2.45-1
85f98a
- Upstream release (bugfixes)
85f98a
85f98a
* Wed Jul 16 2008 Patrick "Jima" Laughton <jima@beer.tclug.org> 2.43-2
85f98a
- New upstream release, contains fixes for CVE-2008-1447/CERT VU#800113
85f98a
- Dropped patch for newer glibc (merged upstream)
85f98a
85f98a
* Wed Feb 13 2008 Patrick "Jima" Laughton <jima@beer.tclug.org> 2.41-0.8
85f98a
- Added upstream-authored patch for newer glibc (thanks Simon!)
85f98a
85f98a
* Wed Feb 13 2008 Patrick "Jima" Laughton <jima@beer.tclug.org> 2.41-0.7
85f98a
- New upstream release
85f98a
85f98a
* Wed Jan 30 2008 Patrick "Jima" Laughton <jima@beer.tclug.org> 2.41-0.6.rc1
85f98a
- Release candidate
85f98a
- Happy Birthday Isaac!
85f98a
85f98a
* Wed Jan 23 2008 Patrick "Jima" Laughton <jima@beer.tclug.org> 2.41-0.5.test30
85f98a
- Bugfix update
85f98a
85f98a
* Mon Dec 31 2007 Patrick "Jima" Laughton <jima@beer.tclug.org> 2.41-0.4.test26
85f98a
- Bugfix/feature enhancement update
85f98a
85f98a
* Thu Dec 13 2007 Patrick "Jima" Laughton <jima@beer.tclug.org> 2.41-0.3.test24
85f98a
- Upstream fix for fairly serious regression
85f98a
85f98a
* Tue Dec 04 2007 Patrick "Jima" Laughton <jima@beer.tclug.org> 2.41-0.2.test20
85f98a
- New upstream test release
85f98a
- Moving dnsmasq.leases to /var/lib/dnsmasq/ as per BZ#407901
85f98a
- Ignoring dangerous-command-in-%%post rpmlint warning (as per above fix)
85f98a
- Patch consolidation/cleanup
85f98a
- Removed conditionals for Fedora <= 3 and Aurora 2.0
85f98a
85f98a
* Tue Sep 18 2007 Patrick "Jima" Laughton <jima@beer.tclug.org> 2.40-1
85f98a
- Finalized upstream release
85f98a
- Removing URLs from patch lines (CVS is the authoritative source)
85f98a
- Added more magic to make spinning rc/test packages more seamless
85f98a
85f98a
* Sun Aug 26 2007 Patrick "Jima" Laughton <jima@beer.tclug.org> 2.40-0.1.rc2
85f98a
- New upstream release candidate (feature-frozen), thanks Simon!
85f98a
- License clarification
85f98a
85f98a
* Tue May 29 2007 Patrick "Jima" Laughton <jima@beer.tclug.org> 2.39-1
85f98a
- New upstream version (bugfixes, enhancements)
85f98a
85f98a
* Mon Feb 12 2007 Patrick "Jima" Laughton <jima@beer.tclug.org> 2.38-1
85f98a
- New upstream version with bugfix for potential hang
85f98a
85f98a
* Tue Feb 06 2007 Patrick "Jima" Laughton <jima@beer.tclug.org> 2.37-1
85f98a
- New upstream version
85f98a
85f98a
* Wed Jan 24 2007 Patrick "Jima" Laughton <jima@beer.tclug.org> 2.36-1
85f98a
- New upstream version
85f98a
85f98a
* Mon Nov 06 2006 Patrick "Jima" Laughton <jima@beer.tclug.org> 2.35-2
85f98a
- Stop creating /etc/sysconfig on %%install
85f98a
- Create /etc/dnsmasq.d on %%install
85f98a
85f98a
* Mon Nov 06 2006 Patrick "Jima" Laughton <jima@beer.tclug.org> 2.35-1
85f98a
- Update to 2.35
85f98a
- Removed UPGRADING_to_2.0 from %%doc as per upstream change
85f98a
- Enabled conf-dir in default config as per RFE BZ#214220 (thanks Chris!)
85f98a
- Added %%dir /etc/dnsmasq.d to %%files as per above RFE
85f98a
85f98a
* Tue Oct 24 2006 Patrick "Jima" Laughton <jima@beer.tclug.org> 2.34-2
85f98a
- Fixed BZ#212005
85f98a
- Moved %%postun scriptlet to %%post, where it made more sense
85f98a
- Render scriptlets safer
85f98a
- Minor cleanup for consistency
85f98a
85f98a
* Thu Oct 19 2006 Patrick "Jima" Laughton <jima@beer.tclug.org> 2.34-1
85f98a
- Hardcoded version in patches, as I'm getting tired of updating them
85f98a
- Update to 2.34
85f98a
85f98a
* Mon Aug 28 2006 Patrick "Jima" Laughton <jima@beer.tclug.org> 2.33-2
85f98a
- Rebuild for FC6
85f98a
85f98a
* Tue Aug 15 2006 Patrick "Jima" Laughton <jima@beer.tclug.org> 2.33-1
85f98a
- Update
85f98a
85f98a
* Sat Jul 22 2006 Patrick "Jima" Laughton <jima@beer.tclug.org> 2.32-3
85f98a
- Added pkgconfig BuildReq due to reduced buildroot
85f98a
85f98a
* Thu Jul 20 2006 Patrick "Jima" Laughton <jima@beer.tclug.org> 2.32-2
85f98a
- Forced update due to dbus version bump
85f98a
85f98a
* Mon Jun 12 2006 Patrick "Jima" Laughton <jima@beer.tclug.org> 2.32-1
85f98a
- Update from upstream
85f98a
- Patch from Dennis Gilmore fixed the conditionals to detect Aurora Linux
85f98a
85f98a
* Mon May  8 2006 Patrick "Jima" Laughton <jima@auroralinux.org> 2.31-1
85f98a
- Removed dbus config patch (now provided upstream)
85f98a
- Patched in init script (no longer provided upstream)
85f98a
- Added DBus-interface to docs
85f98a
85f98a
* Tue May  2 2006 Patrick "Jima" Laughton <jima@auroralinux.org> 2.30-4.2
85f98a
- More upstream-recommended cleanups :)
85f98a
- Killed sysconfig file (provides unneeded functionality)
85f98a
- Tweaked init script a little more
85f98a
85f98a
* Tue May  2 2006 Patrick "Jima" Laughton <jima@auroralinux.org> 2.30-4
85f98a
- Moved options out of init script and into /etc/sysconfig/dnsmasq
85f98a
- Disabled DHCP_LEASE in sysconfig file, fixing bug #190379
85f98a
- Simon Kelley provided dbus/dnsmasq.conf, soon to be part of the tarball
85f98a
85f98a
* Thu Apr 27 2006 Patrick "Jima" Laughton <jima@auroralinux.org> 2.30-3
85f98a
- Un-enabled HAVE_ISC_READER, a hack to enable a deprecated feature (request)
85f98a
- Split initscript & enable-dbus patches, conditionalized dbus for FC3
85f98a
- Tweaked name field in changelog entries (trying to be consistent)
85f98a
85f98a
* Mon Apr 24 2006 Patrick "Jima" Laughton <jima@auroralinux.org> 2.30-2
85f98a
- Disabled stripping of binary while installing (oops)
85f98a
- Enabled HAVE_ISC_READER/HAVE_DBUS via patch
85f98a
- Added BuildReq for dbus-devel
85f98a
85f98a
* Mon Apr 24 2006 Patrick "Jima" Laughton <jima@auroralinux.org> 2.30-1
85f98a
- Initial Fedora Extras RPM