ad8cf52
%define testrelease 0
4b7ea7e
%define releasecandidate 0
e85159c
%if 0%{testrelease}
e85159c
  %define extrapath test-releases/
389f40b
  %define extraversion test%{testrelease}
e85159c
%endif
e85159c
%if 0%{releasecandidate}
e85159c
  %define extrapath release-candidates/
389f40b
  %define extraversion rc%{releasecandidate}
e85159c
%endif
9fa2ba4
fb84f79
%define _hardened_build 1
fb84f79
b0365fb
Name:           dnsmasq
d63c7d4
Version:        2.80
8c48bf6
Release:        16%{?extraversion:.%{extraversion}}%{?dist}
b0365fb
Summary:        A lightweight DHCP/caching DNS server
b0365fb
a333098
License:        GPLv2 or GPLv3
b0365fb
URL:            http://www.thekelleys.org.uk/dnsmasq/
2f4ab38
Source0:        http://www.thekelleys.org.uk/dnsmasq/%{?extrapath}%{name}-%{version}%{?extraversion}.tar.xz
a4a3c32
Source1:        %{name}.service
c81a335
Source2:        dnsmasq-systemd-sysusers.conf
d474b81
1447e0a
# https://bugzilla.redhat.com/show_bug.cgi?id=1495409
1447e0a
Patch1:         dnsmasq-2.77-underflow.patch
8c48bf6
# https://bugzilla.redhat.com/show_bug.cgi?id=1852373
8c48bf6
Patch2:         dnsmasq-2.81-configuration.patch
144c414
Patch3:         dnsmasq-2.78-fips.patch
d63c7d4
Patch5:         dnsmasq-2.79-randomize-ports.patch
6b2ad2c
# https://bugzilla.redhat.com/show_bug.cgi?id=1674067
6b2ad2c
Patch6:         dnsmasq-2.80-rh1674067.patch
f5fd702
# https://bugzilla.redhat.com/show_bug.cgi?id=1728701
f5fd702
Patch7:         dnsmasq-2.80-rh1728701.patch
8503847
# https://bugzilla.redhat.com/show_bug.cgi?id=1735096
8503847
Patch8:         dnsmasq-2.80-nettle.patch
bde34f9
Patch9:         dnsmasq-2.80-SIOCGSTAMP.patch
70d1413
# https://bugzilla.redhat.com/show_bug.cgi?id=1739797
70d1413
Patch10:        dnsmasq-2.80-rh1739797.patch
8035449
# https://bugzilla.redhat.com/show_bug.cgi?id=1810172
8035449
# http://thekelleys.org.uk/gitweb/?p=dnsmasq.git;a=commit;h=79aba0f10ad0157fb4f48afbbcb03f094caff97a
8035449
Patch11:        dnsmasq-2.81-prefix-ranges-or-list-of-ipv6-addresses.patch
8035449
# http://thekelleys.org.uk/gitweb/?p=dnsmasq.git;a=commit;h=137286e9baecf6a3ba97722ef1b49c851b531810
8035449
Patch12:        dnsmasq-2.81-Extend-79aba0f10ad0157fb4f48afbbcb03f094caff97a.patch
8035449
Patch13:        dnsmasq-2.81-adjust-changes-to-version-2.80.patch
8035449
# http://thekelleys.org.uk/gitweb/?p=dnsmasq.git;a=commit;h=52ec7836139e7a11374971905e5ac0d2d02e32c0
8035449
Patch14:        dnsmasq-2.81-tag-filtering-of-dhcp-host-directives.patch
0ea732d
# https://bugzilla.redhat.com/show_bug.cgi?id=1647464
3039868
# http://thekelleys.org.uk/gitweb/?p=dnsmasq.git;a=commit;h=29ae3083981ea82f535f77ea54bbd538f1224a9e
0ea732d
Patch15:        dnsmasq-2.81-restore-ability-to-answer-non-recursive-requests.patch
42fc338
# https://bugzilla.redhat.com/show_bug.cgi?id=1764426
42fc338
Patch16:        dnsmasq-2.80-rh1795370.patch
850b804
# https://bugzilla.redhat.com/show_bug.cgi?id=1834454
850b804
Patch17:        dnsmasq-2.81-rh1834454.patch
9d2935d
d198336
# This is workaround to nettle bug #1549190
d198336
# https://bugzilla.redhat.com/show_bug.cgi?id=1549190
d198336
Requires:       nettle >= 3.4
b0365fb
b0365fb
BuildRequires:  dbus-devel
c81c9a2
BuildRequires:  pkgconfig
1db48a6
BuildRequires:  libidn2-devel
9f14631
BuildRequires:  nettle-devel
c81a335
Buildrequires:  gcc
cc527ef
31764d7
BuildRequires:  systemd
f5bcbb0
%{?systemd_requires}
b0365fb
b0365fb
%description
92202b2
Dnsmasq is lightweight, easy to configure DNS forwarder and DHCP server.
92202b2
It is designed to provide DNS and, optionally, DHCP, to a small network.
92202b2
It can serve the names of local machines which are not in the global
92202b2
DNS. The DHCP server integrates with the DNS server and allows machines
92202b2
with DHCP-allocated addresses to appear in the DNS with names configured
92202b2
either in each host or in a central configuration file. Dnsmasq supports
92202b2
static and dynamic DHCP leases and BOOTP for network booting of diskless
b0365fb
machines.
b0365fb
389b910
%package        utils
389b910
Summary:        Utilities for manipulating DHCP server leases
389b910
389b910
%description    utils
f5bcbb0
Utilities that use the standard DHCP protocol to query/remove a DHCP
f5bcbb0
server's leases.
389b910
b0365fb
b0365fb
%prep
d2f1660
%autosetup -p1 -n %{name}-%{version}%{?extraversion}
80a7583
80a7583
# use /var/lib/dnsmasq instead of /var/lib/misc
80a7583
for file in dnsmasq.conf.example man/dnsmasq.8 man/es/dnsmasq.8 src/config.h; do
80a7583
    sed -i 's|/var/lib/misc/dnsmasq.leases|/var/lib/dnsmasq/dnsmasq.leases|g' "$file"
80a7583
done
80a7583
c81a335
#set default user /group in src/config.h
c81a335
sed -i 's|#define CHUSER "nobody"|#define CHUSER "dnsmasq"|' src/config.h
c81a335
sed -i 's|#define CHGRP "dip"|#define CHGRP "dnsmasq"|' src/config.h
c81a335
389f40b
# optional parts
389f40b
sed -i 's|^COPTS[[:space:]]*=|\0 -DHAVE_DBUS -DHAVE_LIBIDN2 -DHAVE_DNSSEC|' Makefile
9f14631
b0365fb
%build
f5bcbb0
%make_build CFLAGS="$RPM_OPT_FLAGS" LDFLAGS="$RPM_LD_FLAGS"
f5bcbb0
%make_build -C contrib/lease-tools CFLAGS="$RPM_OPT_FLAGS" LDFLAGS="$RPM_LD_FLAGS"
b0365fb
b0365fb
b0365fb
%install
b0365fb
# normally i'd do 'make install'...it's a bit messy, though
80a7583
mkdir -p $RPM_BUILD_ROOT%{_sbindir} \
c81c9a2
        $RPM_BUILD_ROOT%{_mandir}/man8 \
91d4b30
        $RPM_BUILD_ROOT%{_var}/lib/dnsmasq \
65d7a40
        $RPM_BUILD_ROOT%{_sysconfdir}/dnsmasq.d \
c81c9a2
        $RPM_BUILD_ROOT%{_sysconfdir}/dbus-1/system.d
b0365fb
install src/dnsmasq $RPM_BUILD_ROOT%{_sbindir}/dnsmasq
b0365fb
install dnsmasq.conf.example $RPM_BUILD_ROOT%{_sysconfdir}/dnsmasq.conf
aa950b3
install dbus/dnsmasq.conf $RPM_BUILD_ROOT%{_sysconfdir}/dbus-1/system.d/
6a4bb30
install -m 644 man/dnsmasq.8 $RPM_BUILD_ROOT%{_mandir}/man8/
Pavel Šimerda e6ea56c
install -D trust-anchors.conf $RPM_BUILD_ROOT%{_datadir}/%{name}/trust-anchors.conf
b0365fb
389b910
# utils sub package
389b910
mkdir -p $RPM_BUILD_ROOT%{_bindir} \
389b910
         $RPM_BUILD_ROOT%{_mandir}/man1
30dfb66
install -m 755 contrib/lease-tools/dhcp_release $RPM_BUILD_ROOT%{_bindir}/dhcp_release
30dfb66
install -m 644 contrib/lease-tools/dhcp_release.1 $RPM_BUILD_ROOT%{_mandir}/man1/dhcp_release.1
323f116
install -m 755 contrib/lease-tools/dhcp_release6 $RPM_BUILD_ROOT%{_bindir}/dhcp_release6
323f116
install -m 644 contrib/lease-tools/dhcp_release6.1 $RPM_BUILD_ROOT%{_mandir}/man1/dhcp_release6.1
30dfb66
install -m 755 contrib/lease-tools/dhcp_lease_time $RPM_BUILD_ROOT%{_bindir}/dhcp_lease_time
30dfb66
install -m 644 contrib/lease-tools/dhcp_lease_time.1 $RPM_BUILD_ROOT%{_mandir}/man1/dhcp_lease_time.1
389b910
92202b2
# Systemd
a4a3c32
mkdir -p %{buildroot}%{_unitdir}
a4a3c32
install -m644 %{SOURCE1} %{buildroot}%{_unitdir}
a4a3c32
rm -rf %{buildroot}%{_initrddir}
a4a3c32
c81a335
#install systemd sysuser file
447db34
install -Dpm 644 %{SOURCE2} %{buildroot}%{_sysusersdir}/%{name}.conf
c81a335
d61ff2b
%pre
d61ff2b
#precreate users so that rpm can install files owned by that user
447db34
%sysusers_create_package %{name} %{SOURCE2}
d61ff2b
b0365fb
%post
dc378b5
%systemd_post dnsmasq.service
b0365fb
b0365fb
%preun
31764d7
%systemd_preun dnsmasq.service
b0365fb
92202b2
%postun
31764d7
%systemd_postun_with_restart dnsmasq.service
a4a3c32
b0365fb
%files
323f116
%doc CHANGELOG FAQ doc.html setup.html dbus/DBus-interface
323f116
%license COPYING COPYING-v3
4c7e2b3
%defattr(0644,root,dnsmasq,0755)
4c7e2b3
%config(noreplace) %{_sysconfdir}/dnsmasq.conf
4c7e2b3
%dir %{_sysconfdir}/dnsmasq.d
4c7e2b3
%dir %{_var}/lib/dnsmasq
4c7e2b3
%defattr(-,root,root,-)
4c7e2b3
%config(noreplace) %{_sysconfdir}/dbus-1/system.d/dnsmasq.conf
a4a3c32
%{_unitdir}/%{name}.service
b0365fb
%{_sbindir}/dnsmasq
b0365fb
%{_mandir}/man8/dnsmasq*
81f0dbf
%dir %{_datadir}/%{name}
Pavel Šimerda e6ea56c
%{_datadir}/%{name}/trust-anchors.conf
f5bcbb0
%{_sysusersdir}/dnsmasq.conf
b0365fb
389b910
%files utils
323f116
%license COPYING COPYING-v3
389b910
%{_bindir}/dhcp_*
389b910
%{_mandir}/man1/dhcp_*
b0365fb
b0365fb
%changelog
8c48bf6
* Tue Jun 30 2020 Petr Menšík <pemensik@redhat.com> - 2.80-16
8c48bf6
- Accept queries only from local networks (CVE-2020-14312)
8c48bf6
850b804
* Mon May 11 2020 Petr Menšík <pemensik@redhat.com> - 2.80-15
850b804
- Correct multiple entries with the same mac address (#1834454)
850b804
42fc338
* Mon May 11 2020 Petr Menšík <pemensik@redhat.com> - 2.80-14
42fc338
- Ensure no leak happens in helper script (#1764426)
42fc338
3039868
* Mon Mar 23 2020 Petr Menšík <pemensik@redhat.com> - 2.80-13
3039868
- Fix last build breakage of DNS (#1814468)
3039868
0ea732d
* Tue Mar 10 2020 Petr Menšík <pemensik@redhat.com> - 2.80-12
0ea732d
- Respond to any local name also withou rd bit set (#1647464)
0ea732d
8035449
* Wed Mar 04 2020 Petr Menšík <pemensik@redhat.com> - 2.80-11
8035449
- Support multiple static leases for single mac on IPv6 (#1810172)
8035449
70d1413
* Wed Aug 28 2019 Petr Menšík <pemensik@redhat.com> - 2.80-10
70d1413
- Fix CPU intensive RA flood (#1739797)
70d1413
bde34f9
* Fri Aug 09 2019 Petr Menšík <pemensik@redhat.com> - 2.80-9
bde34f9
- Remove SO_TIMESTAMP support, DHCP was broken (#1739081)
bde34f9
8503847
* Wed Jul 31 2019 Petr Menšík <pemensik@redhat.com> - 2.80-8
8503847
- Compile with nettle 3.5
8503847
- Support missing SIOCGSTAMP ioctl
8503847
f5fd702
* Wed Jul 31 2019 Petr Menšík <pemensik@redhat.com> - 2.80-7
f5fd702
- Fix TCP listener after interface recreated (#1728701)
f5fd702
6b2ad2c
* Wed Jul 24 2019 Petr Menšík <pemensik@redhat.com> - 2.80-6
6b2ad2c
- Do not return NXDOMAIN on empty non-terminals (#1674067)
6b2ad2c
d7adf99
* Wed Jul 24 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2.80-5
d7adf99
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
d7adf99
447db34
* Mon Apr 08 2019 Petr Menšík <pemensik@redhat.com> - 2.80-4
447db34
- Use more recent macro to create dnsmasq user
447db34
9dcc5a2
* Fri Feb 15 2019 Petr Menšík <pemensik@redhat.com> - 2.80-3
9dcc5a2
- Apply patches by autosetup
9dcc5a2
ce162ba
* Thu Jan 31 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2.80-2
ce162ba
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
ce162ba
d63c7d4
* Mon Aug 20 2018 Petr Menšík <pemensik@redhat.com> - 2.80-1
d63c7d4
- Update to 2.80
d63c7d4
8a0901a
* Thu Aug 09 2018 Petr Menšík <pemensik@redhat.com> - 2.79-8
8a0901a
- Better randomize ports
8a0901a
72fa98c
* Tue Jul 31 2018 Florian Weimer <fweimer@redhat.com> - 2.79-7
72fa98c
- Rebuild with fixed binutils
72fa98c
ede8a25
* Fri Jul 27 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 2.79-6
ede8a25
- Rebuild for new binutils
ede8a25
6dcbc02
* Thu Jul 26 2018 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 2.79-5
6dcbc02
- Fix %%pre scriptlet (#1548050)
6dcbc02
e496bf0
* Thu Jul 12 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.79-4
e496bf0
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
e496bf0
4c7e2b3
* Mon Jul 02 2018 Petr Menšík <pemensik@redhat.com> - 2.79-3
4c7e2b3
- Make dnsmasq leases writeable by root again (#1554390)
4c7e2b3
db0bc30
* Mon Jul 02 2018 Petr Menšík <pemensik@redhat.com> - 2.79-2
db0bc30
- Fix passing of dnssec enabled queries (#1597309)
db0bc30
1f9c5b6
* Thu Mar 15 2018 Petr Menšík <pemensik@redhat.com> - 2.79-1
1f9c5b6
- Rebase to 2.79
1f9c5b6
- Stop using nettle_hashes directly, use access function (#1548060)
1f9c5b6
- Do not break on cname with spaces (#1498667)
d198336
- Require nettle 3.4+
41e404d
- Do not own sysusers.d directory, already depends on systemd providing it
1f9c5b6
144c414
* Fri Mar 02 2018 Petr Menšík <pemensik@redhat.com> - 2.78-7
144c414
- Emit warning with dnssec enabled on FIPS system (#1549507)
144c414
d61ff2b
* Sun Feb 25 2018 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 2.78-6
d61ff2b
- Create user before installing files (#1548050)
d61ff2b
dc378b5
* Fri Feb 23 2018 Petr Menšík <pemensik@redhat.com> - 2.78-5
dc378b5
- Create user first and then restart service
dc378b5
c81a335
* Thu Feb 22 2018 Itamar Reis Peixoto <itamar@ispbrasil.com.br> - 2.78-4
c81a335
- add gcc into buildrequires
c81a335
- deliver an extra sysusers.d file to create dnsmasq user/group
c81a335
- set CHUSER and CHGRP to dnsmasq in src/config.h
c81a335
d2b4129
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.78-3
d2b4129
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
d2b4129
8cd7421
* Mon Jan 22 2018 Petr Menšík <pemensik@redhat.com> - 2.78-2
8cd7421
- DNSSEC fix for wildcard NSEC records (CVE-2017-15107)
8cd7421
1447e0a
* Tue Oct 03 2017 Petr Menšík <pemensik@redhat.com> - 2.78-1
1447e0a
- Rebase to 2.78
1447e0a
35c6020
* Tue Oct 03 2017 Petr Menšík <pemensik@redhat.com> - 2.77-9
35c6020
- More patches related to CVE-2017-14491
35c6020
bd80bf4
* Mon Oct 02 2017 Petr Menšík <pemensik@redhat.com> - 2.77-8
e84d4fc
- Security fix, CVE-2017-14491, DNS heap buffer overflow
e84d4fc
- Security fix, CVE-2017-14492, DHCPv6 RA heap overflow
e84d4fc
- Security fix, CVE-2017-14493, DHCPv6 - Stack buffer overflow
e66c118
- Security fix, CVE-2017-14494, Infoleak handling DHCPv6
d75aef2
- Security fix, CVE-2017-14496, Integer underflow in DNS response creation
ce9aecd
- Security fix, CVE-2017-14495, OOM in DNS response creation
dfac991
- Misc code cleanups arising from Google analysis
d528970
- Do not include stdio.h before dnsmasq.h
bd80bf4
234a50f
* Thu Sep 14 2017 Petr Menšík <pemensik@redhat.com> - 2.77-7
234a50f
- Fix CVE-2017-13704
234a50f
81f0dbf
* Mon Aug 14 2017 Petr Menšík <pemensik@redhat.com> - 2.77-6
81f0dbf
- Own the /usr/share/dnsmasq dir (#1480856)
81f0dbf
5ffdeda
* Wed Aug 02 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.77-5
5ffdeda
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
5ffdeda
d47ff42
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.77-4
d47ff42
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
d47ff42
4b7ea7e
* Wed Jun 07 2017 Petr Menšík <pemensik@redhat.com> - 2.77-3
4b7ea7e
- Update to 2.77
4b7ea7e
a26c714
* Fri May 12 2017 Petr Menšík <pemensik@redhat.com> - 2.77-2.rc2
a26c714
- Fix dhcp
a26c714
389f40b
* Thu May 11 2017 Petr Menšík <pemensik@redhat.com> - 2.77-1
389f40b
- Update to 2.77rc2
389f40b
323f116
* Thu May 11 2017 Petr Menšík <pemensik@redhat.com>
323f116
- Include dhcp_release6 tool and license in utils
1db48a6
- Support for IDN 2008 (#1449150)
323f116
1e0b4d4
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.76-3
1e0b4d4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
1e0b4d4
cfdd2cf
* Wed Oct 19 2016 Pavel Šimerda <psimerda@redhat.com> - 2.76-2
cfdd2cf
- Resolves: #1373485 - dns not updated after sleep and resume laptop
cfdd2cf
30dfb66
* Fri Jul 15 2016 Pavel Šimerda <psimerda@redhat.com> - 2.76-1
30dfb66
- New version 2.76
30dfb66
5662455
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 2.75-4
5662455
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
5662455
14e228c
* Mon Jan 25 2016 Tomas Hozza <thozza@redhat.com> - 2.75-3
14e228c
- Fixed minor bug in dnsmasq.conf (#1295143)
14e228c
Pavel Šimerda e6ea56c
* Fri Oct 02 2015 Pavel Šimerda <psimerda@redhat.com> - 2.75-2
Pavel Šimerda e6ea56c
- Resolves: #1239256 - install trust-anchors.conf
Pavel Šimerda e6ea56c
Pavel Šimerda 68c179e
* Wed Aug 05 2015 Pavel Šimerda <psimerda@redhat.com> - 2.75-1
Pavel Šimerda 68c179e
- new version 2.75
Pavel Šimerda 68c179e
aca4e7a
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.72-4
aca4e7a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
aca4e7a
c4cad42
* Mon Oct 06 2014 Nils Philippsen <nils@redhat.com> - 2.72-3
faf5946
- don't include /etc/dnsmasq.d in triplicate, ignore RPM backup files instead
a333098
- package is dual-licensed GPL v2 or v3
b707570
- drop %%triggerun, we're not supposed to automatically migrate from SysV to
b707570
  systemd anyway
faf5946
c0cb2fb
* Mon Oct 06 2014 Tomas Hozza <thozza@redhat.com> - 2.72-2
c0cb2fb
- Fix typo in default configuration (#1149459)
c0cb2fb
848bf9f
* Thu Sep 25 2014 Tomas Hozza <thozza@redhat.com> - 2.72-1
848bf9f
- Update to 2.72 stable
848bf9f
7bb1482
* Sat Aug 16 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.71-3
7bb1482
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
7bb1482
4134a56
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.71-2
4134a56
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
4134a56
aed8f84
* Tue May 20 2014 Tomas Hozza <thozza@redhat.com> - 2.71-1
aed8f84
- Update to 2.71 stable
aed8f84
ed23cea
* Fri Apr 25 2014 Tomas Hozza <thozza@redhat.com> - 2.70-1
ed23cea
- Update to 2.70 stable
ed23cea
695b795
* Fri Apr 11 2014 Tomas Hozza <thozza@redhat.com> - 2.69-1
695b795
- Update to 2.69 stable
695b795
9f14631
* Mon Mar 24 2014 Tomas Hozza <thozza@redhat.com> - 2.69-0.1.rc1
9f14631
- Update to 2.69rc1
9f14631
- enable DNSSEC implementation
9f14631
f828140
* Mon Dec 09 2013 Tomas Hozza <thozza@redhat.com> - 2.68-1
f828140
- Update to 2.68 stable
f828140
fad2ab1
* Tue Nov 26 2013 Tomas Hozza <thozza@redhat.com> - 2.68-0.1.rc3
fad2ab1
- Update to 2.68rc3
fad2ab1
ad9a1ef
* Fri Nov 01 2013 Tomas Hozza <thozza@redhat.com> - 2.67-1
ad9a1ef
- Update to 2.67 stable
ad9a1ef
- Include one post release upstream fix for CNAME
ad9a1ef
c43d685
* Fri Oct 18 2013 Tomas Hozza <thozza@redhat.com> - 2.67-0.9.rc4
c43d685
- update to 2.67rc4
c43d685
ad8cf52
* Wed Oct 02 2013 Tomas Hozza <thozza@redhat.com> - 2.67-0.8.rc2
ad8cf52
- update to 2.67rc2
ad8cf52
2f4ab38
* Thu Sep 12 2013 Tomas Hozza <thozza@redhat.com> - 2.67-0.7.test13
2f4ab38
- update to 2.67test13
2f4ab38
- use .tar.xz upstream archives
2f4ab38
b6153d9
* Thu Aug 15 2013 Tomas Hozza <thozza@redhat.com> - 2.67-0.6.test7
b6153d9
- Use SO_REUSEPORT and SO_REUSEADDR if possible for DHCPv4/6 (#981973)
b6153d9
ea5468d
* Mon Aug 12 2013 Tomas Hozza <thozza@redhat.com> - 2.67-0.5.test7
ea5468d
- Don't use SO_REUSEPORT on DHCPv4 socket to prevent conflicts with ISC DHCP (#981973)
ea5468d
d4631ba
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.67-0.4.test7
d4631ba
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
d4631ba
fb84f79
* Tue Jun 11 2013 Tomas Hozza <thozza@redhat.com> - 2.67-0.3.test7
fb84f79
- update to 2.67test7
fb84f79
- drop merged patch
fb84f79
- use _hardened_build macro instead of hardcoded flags
fb84f79
4b348e1
* Fri May 17 2013 Tomas Hozza <thozza@redhat.com> - 2.67-0.2.test4
4b348e1
- Fix failure to start with ENOTSOCK (#962874)
4b348e1
f981825
* Wed May 15 2013 Tomas Hozza <thozza@redhat.com> - 2.67-0.1.test4
f981825
- update to the latest testing release 2.67test4 (#962246)
f981825
- drop mergerd patches
f981825
c925f9e
* Tue Apr 30 2013 Tomas Hozza <thozza@redhat.com> - 2.66-5
c925f9e
- dnsmasq unit file cleanup
c925f9e
  - drop forking Type and PIDfile and rather start dnsmasq with "-k" option
c925f9e
  - drop After syslog.target as this is by default
c925f9e
c47bd50
* Thu Apr 25 2013 Tomas Hozza <thozza@redhat.com> - 2.66-4
c47bd50
- include several fixes from upstream repo:
c47bd50
  - Send TCP DNS messages in one packet
c47bd50
  - Fix crash on SERVFAIL when using --conntrack option
c47bd50
  - Fix regression in dhcp_lease_time utility
c47bd50
  - Man page typos fixes
c47bd50
  - Note that dhcp_lease_time and dhcp_release work only for IPv4
c47bd50
  - Fix for --dhcp-match option to work also with BOOTP protocol
c47bd50
4db4008
* Sat Apr 20 2013 Tomas Hozza <thozza@redhat.com> - 2.66-3
4db4008
- Use Full RELRO when linking the daemon
e34aa6b
- compile the daemon with PIE
c217afd
- include two fixes from upstream git repo
c217afd
609b978
* Thu Apr 18 2013 Tomas Hozza <thozza@redhat.com> - 2.66-2
609b978
- New stable version dnsmasq-2.66
609b978
- Drop of merged patch
609b978
16e329b
* Fri Apr 12 2013 Tomas Hozza <thozza@redhat.com> - 2.66-1.rc5
16e329b
- Update to latest dnsmasq-2.66rc5
16e329b
- Include fix for segfault when lease limit is reached
16e329b
b0df409
* Fri Mar 22 2013 Tomas Hozza <thozza@redhat.com> - 2.66-1.rc1
b0df409
- Update to latest dnsmasq-2.66rc1
b0df409
- Dropping unneeded patches
24df3be
- Enable IDN support
b0df409
bebbe6c
* Fri Mar 15 2013 Tomas Hozza <thozza@redhat.com> - 2.65-5
bebbe6c
- Allocate dhcp_buff-ers also if daemon->ra_contexts to prevent SIGSEGV (#920300)
bebbe6c
261955a
* Thu Jan 31 2013 Tomas Hozza <thozza@redhat.com> - 2.65-4
261955a
- Handle locally-routed DNS Queries (#904940)
261955a
f600696
* Thu Jan 24 2013 Tomas Hozza <thozza@redhat.com> - 2.65-3
f600696
- build dnsmasq with $RPM_OPT_FLAGS, $RPM_LD_FLAGS explicitly (#903362) 
f600696
837eefa
* Tue Jan 22 2013 Tomas Hozza <thozza@redhat.com> - 2.65-2
837eefa
- Fix for CVE-2013-0198 (checking of TCP connection interfaces) (#901555)
837eefa
89b8fd1
* Sat Dec 15 2012 Tomas Hozza <thozza@redhat.com> - 2.65-1
89b8fd1
- new version 2.65
89b8fd1
6df5634
* Wed Dec 05 2012 Tomas Hozza <thozza@redhat.com> - 2.64-1
6df5634
- New version 2.64
6df5634
- Merged patches dropped
6df5634
fcb9614
* Tue Nov 20 2012 Tomas Hozza <thozza@redhat.com> - 2.63-4
fcb9614
- Remove EnvironmentFile from service file (#878343)
fcb9614
d474b81
* Mon Nov 19 2012 Tomas Hozza <thozza@redhat.com> - 2.63-3
d474b81
- dhcp6 support fixes (#867054)
0a7f00b
- removed "-s $HOSTNAME" from .service file (#753656, #822797)
d474b81
31764d7
* Tue Oct 23 2012 Tomas Hozza <thozza@redhat.com> - 2.63-2
31764d7
- Introduce new systemd-rpm macros in dnsmasq spec file (#850096)
31764d7
33f9cfc
* Thu Aug 23 2012 Douglas Schilling Landgraf <dougsland@redhat.com> - 2.63-1
e517ebc
- Use .tar.gz compression, in upstream site there is no .lzma anymore
e517ebc
- New version 2.63
1a4e01a
edbef00
* Sat Feb 11 2012 Pádraig Brady <P@draigBrady.com> - 2.59-5
edbef00
- Compile DHCP lease management utils with RPM_OPT_FLAGS
edbef00
389b910
* Thu Feb  9 2012 Pádraig Brady <P@draigBrady.com> - 2.59-4
389b910
- Include DHCP lease management utils in a subpackage
389b910
b1ab587
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.59-3
b1ab587
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
b1ab587
2845e25
* Fri Aug 26 2011 Douglas Schilling Landgraf <dougsland@redhat.com> - 2.59-2
2845e25
- do not enable service by default
2845e25
c9a3d1c
* Fri Aug 26 2011 Douglas Schilling Landgraf <dougsland@redhat.com> - 2.59-1
c9a3d1c
- New version 2.59
c9a3d1c
- Fix regression in 2.58 (IPv6 issue) - bz 744814
c9a3d1c
ce3da53
* Fri Aug 26 2011 Douglas Schilling Landgraf <dougsland@redhat.com> - 2.58-1
ce3da53
- Fixed License
ce3da53
- New version 2.58
ce3da53
79727a1
* Mon Aug 08 2011 Patrick "Jima" Laughton <jima@fedoraproject.org> - 2.52-5
0272224
- Include systemd unit file
0272224
a4a3c32
* Mon Aug 08 2011 Patrick "Jima" Laughton <jima@fedoraproject.org> - 2.52-3
a4a3c32
- Applied Jóhann's patch, minor cleanup
a4a3c32
33f9cfc
* Tue Jul 26 2011 Jóhann B. Guðmundsson <johannbg@gmail.com> - 2.52-3
a4a3c32
- Introduce systemd unit file, drop SysV support
a4a3c32
417aeba
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.52-2
417aeba
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
417aeba
0d9e8c4
* Tue Jan 26 2010 Itamar Reis Peixoto <itamar@ispbrasil.com.br> - 2.52-1
0d9e8c4
- New Version 2.52
0d9e8c4
- fix condrestart() in initscript bz 547605
0d9e8c4
- fix sed to enable DBUS(the '*' need some escaping) bz 553161
0d9e8c4
243a5a3
* Sun Nov 22 2009 Itamar Reis Peixoto <itamar@ispbrasil.com.br> - 2.51-2
243a5a3
- fix bz 512664
243a5a3
fa07928
* Sat Oct 17 2009 Itamar Reis Peixoto <itamar@ispbrasil.com.br> - 2.51-1
80a7583
- move initscript from patch to a plain text file
80a7583
- drop (dnsmasq-configuration.patch) and use sed instead
80a7583
- enable /etc/dnsmasq.d fix bz 526703
80a7583
- change requires to package name instead of file
fa07928
- new version 2.51
80a7583
8b0560d
* Mon Oct  5 2009 Mark McLoughlin <markmc@redhat.com> - 2.48-4
8b0560d
- Fix multiple TFTP server vulnerabilities (CVE-2009-2957, CVE-2009-2958)
8b0560d
27df76d
* Wed Aug 12 2009 Ville Skyttä <ville.skytta@iki.fi> - 2.48-3
27df76d
- Use lzma compressed upstream tarball.
27df76d
1ac3bd3
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.48-2
1ac3bd3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
1ac3bd3
01b090e
* Wed Jun 10 2009 Patrick "Jima" Laughton <jima@beer.tclug.org> 2.48-1
01b090e
- Bugfix/feature enhancement update
01b090e
- Fixing BZ#494094
01b090e
7cad9d9
* Fri May 29 2009 Patrick "Jima" Laughton <jima@beer.tclug.org> 2.47-1
7cad9d9
- Bugfix/feature enhancement update
7cad9d9
af406a1
* Tue Feb 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.46-2
af406a1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
af406a1
d2d8444
* Mon Dec 29 2008 Matěj Cepl <mcepl@redhat.com> - 2.45-2
d2d8444
- rebuilt
d2d8444
4bc8e57
* Mon Jul 21 2008 Patrick "Jima" Laughton <jima@beer.tclug.org> 2.45-1
4bc8e57
- Upstream release (bugfixes)
4bc8e57
3d10ffe
* Wed Jul 16 2008 Patrick "Jima" Laughton <jima@beer.tclug.org> 2.43-2
ce211c7
- New upstream release, contains fixes for CVE-2008-1447/CERT VU#800113
3d10ffe
- Dropped patch for newer glibc (merged upstream)
ce211c7
62e3847
* Wed Feb 13 2008 Patrick "Jima" Laughton <jima@beer.tclug.org> 2.41-0.8
62e3847
- Added upstream-authored patch for newer glibc (thanks Simon!)
62e3847
22ddee6
* Wed Feb 13 2008 Patrick "Jima" Laughton <jima@beer.tclug.org> 2.41-0.7
22ddee6
- New upstream release
22ddee6
c318a1e
* Wed Jan 30 2008 Patrick "Jima" Laughton <jima@beer.tclug.org> 2.41-0.6.rc1
c318a1e
- Release candidate
c318a1e
- Happy Birthday Isaac!
c318a1e
4c94878
* Wed Jan 23 2008 Patrick "Jima" Laughton <jima@beer.tclug.org> 2.41-0.5.test30
4c94878
- Bugfix update
4c94878
d996be6
* Mon Dec 31 2007 Patrick "Jima" Laughton <jima@beer.tclug.org> 2.41-0.4.test26
d996be6
- Bugfix/feature enhancement update
d996be6
d927a5c
* Thu Dec 13 2007 Patrick "Jima" Laughton <jima@beer.tclug.org> 2.41-0.3.test24
d927a5c
- Upstream fix for fairly serious regression
d927a5c
91d4b30
* Tue Dec 04 2007 Patrick "Jima" Laughton <jima@beer.tclug.org> 2.41-0.2.test20
a1e0af8
- New upstream test release
91d4b30
- Moving dnsmasq.leases to /var/lib/dnsmasq/ as per BZ#407901
91d4b30
- Ignoring dangerous-command-in-%%post rpmlint warning (as per above fix)
91d4b30
- Patch consolidation/cleanup
91d4b30
- Removed conditionals for Fedora <= 3 and Aurora 2.0
a1e0af8
f994f12
* Tue Sep 18 2007 Patrick "Jima" Laughton <jima@beer.tclug.org> 2.40-1
f994f12
- Finalized upstream release
f994f12
- Removing URLs from patch lines (CVS is the authoritative source)
f994f12
- Added more magic to make spinning rc/test packages more seamless
f994f12
9fa2ba4
* Sun Aug 26 2007 Patrick "Jima" Laughton <jima@beer.tclug.org> 2.40-0.1.rc2
9fa2ba4
- New upstream release candidate (feature-frozen), thanks Simon!
9fa2ba4
- License clarification
9fa2ba4
d1bbeeb
* Tue May 29 2007 Patrick "Jima" Laughton <jima@beer.tclug.org> 2.39-1
d1bbeeb
- New upstream version (bugfixes, enhancements)
d1bbeeb
d000b5a
* Mon Feb 12 2007 Patrick "Jima" Laughton <jima@beer.tclug.org> 2.38-1
d000b5a
- New upstream version with bugfix for potential hang
d000b5a
253ce1d
* Tue Feb 06 2007 Patrick "Jima" Laughton <jima@beer.tclug.org> 2.37-1
253ce1d
- New upstream version
253ce1d
7930563
* Wed Jan 24 2007 Patrick "Jima" Laughton <jima@beer.tclug.org> 2.36-1
7930563
- New upstream version
7930563
65d7a40
* Mon Nov 06 2006 Patrick "Jima" Laughton <jima@beer.tclug.org> 2.35-2
65d7a40
- Stop creating /etc/sysconfig on %%install
65d7a40
- Create /etc/dnsmasq.d on %%install
65d7a40
474aabd
* Mon Nov 06 2006 Patrick "Jima" Laughton <jima@beer.tclug.org> 2.35-1
474aabd
- Update to 2.35
474aabd
- Removed UPGRADING_to_2.0 from %%doc as per upstream change
474aabd
- Enabled conf-dir in default config as per RFE BZ#214220 (thanks Chris!)
474aabd
- Added %%dir /etc/dnsmasq.d to %%files as per above RFE
474aabd
1b09738
* Tue Oct 24 2006 Patrick "Jima" Laughton <jima@beer.tclug.org> 2.34-2
1b09738
- Fixed BZ#212005
1b09738
- Moved %%postun scriptlet to %%post, where it made more sense
1b09738
- Render scriptlets safer
1b09738
- Minor cleanup for consistency
1b09738
c99b31e
* Thu Oct 19 2006 Patrick "Jima" Laughton <jima@beer.tclug.org> 2.34-1
c99b31e
- Hardcoded version in patches, as I'm getting tired of updating them
c99b31e
- Update to 2.34
c99b31e
507262e
* Mon Aug 28 2006 Patrick "Jima" Laughton <jima@beer.tclug.org> 2.33-2
507262e
- Rebuild for FC6
507262e
c81c9a2
* Tue Aug 15 2006 Patrick "Jima" Laughton <jima@beer.tclug.org> 2.33-1
c81c9a2
- Update
c81c9a2
cc527ef
* Sat Jul 22 2006 Patrick "Jima" Laughton <jima@beer.tclug.org> 2.32-3
cc527ef
- Added pkgconfig BuildReq due to reduced buildroot
cc527ef
b3b82db
* Thu Jul 20 2006 Patrick "Jima" Laughton <jima@beer.tclug.org> 2.32-2
b3b82db
- Forced update due to dbus version bump
b3b82db
bc74c1b
* Mon Jun 12 2006 Patrick "Jima" Laughton <jima@beer.tclug.org> 2.32-1
bc74c1b
- Update from upstream
bc74c1b
- Patch from Dennis Gilmore fixed the conditionals to detect Aurora Linux
bc74c1b
60068e4
* Mon May  8 2006 Patrick "Jima" Laughton <jima@auroralinux.org> 2.31-1
60068e4
- Removed dbus config patch (now provided upstream)
60068e4
- Patched in init script (no longer provided upstream)
60068e4
- Added DBus-interface to docs
60068e4
5275092
* Tue May  2 2006 Patrick "Jima" Laughton <jima@auroralinux.org> 2.30-4.2
00482dd
- More upstream-recommended cleanups :)
00482dd
- Killed sysconfig file (provides unneeded functionality)
00482dd
- Tweaked init script a little more
00482dd
aa950b3
* Tue May  2 2006 Patrick "Jima" Laughton <jima@auroralinux.org> 2.30-4
aa950b3
- Moved options out of init script and into /etc/sysconfig/dnsmasq
aa950b3
- Disabled DHCP_LEASE in sysconfig file, fixing bug #190379
aa950b3
- Simon Kelley provided dbus/dnsmasq.conf, soon to be part of the tarball
aa950b3
9433ece
* Thu Apr 27 2006 Patrick "Jima" Laughton <jima@auroralinux.org> 2.30-3
9433ece
- Un-enabled HAVE_ISC_READER, a hack to enable a deprecated feature (request)
9433ece
- Split initscript & enable-dbus patches, conditionalized dbus for FC3
9433ece
- Tweaked name field in changelog entries (trying to be consistent)
9433ece
9433ece
* Mon Apr 24 2006 Patrick "Jima" Laughton <jima@auroralinux.org> 2.30-2
b0365fb
- Disabled stripping of binary while installing (oops)
b0365fb
- Enabled HAVE_ISC_READER/HAVE_DBUS via patch
b0365fb
- Added BuildReq for dbus-devel
b0365fb
9433ece
* Mon Apr 24 2006 Patrick "Jima" Laughton <jima@auroralinux.org> 2.30-1
b0365fb
- Initial Fedora Extras RPM