59cea9
%{?!with_python:      %global with_python      1}
59cea9
%{?!with_munin:      %global with_munin      0}
59cea9
59cea9
%if %{with_python}
59cea9
%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
59cea9
%{!?python_sitearch: %global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
59cea9
%endif
59cea9
59cea9
%global _hardened_build 1
59cea9
59cea9
Summary: Validating, recursive, and caching DNS(SEC) resolver
59cea9
Name: unbound
59cea9
Version: 1.4.20
59cea9
Release: 23%{?dist}.1
59cea9
License: BSD
59cea9
Url: http://www.nlnetlabs.nl/unbound/
59cea9
Source: http://www.unbound.net/downloads/%{name}-%{version}.tar.gz
59cea9
Source1: unbound.init
59cea9
Source2: unbound.conf
59cea9
Source3: unbound.munin
59cea9
Source4: unbound_munin_
59cea9
Source5: root.key
59cea9
Source6: dlv.isc.org.key
59cea9
Source9: example.com.key
59cea9
Source10: example.com.conf
59cea9
Source11: block-example.com.conf
59cea9
# From http://data.iana.org/root-anchors/icannbundle.pem
59cea9
Source12: icannbundle.pem
59cea9
Source13: root.anchor
59cea9
Source14: unbound.sysconfig
59cea9
Source15: unbound.cron
59cea9
Source16: unbound-munin.README
59cea9
59cea9
Patch1: unbound-1.4.20-roundrobin.patch
59cea9
Patch2: unbound-1.4.20-streamtcp-manpage.patch
59cea9
Patch3: unbound-1.4.20-coverity_scan.patch
59cea9
Patch4: unbound-1.14.20-CVE-2014-8602.patch
59cea9
59cea9
Group: System Environment/Daemons
59cea9
BuildRequires: flex, openssl-devel , ldns-devel >= 1.6.13
59cea9
BuildRequires: libevent-devel expat-devel
59cea9
59cea9
%if %{with_python}
59cea9
BuildRequires:  python-devel swig
59cea9
%endif
59cea9
# Required for SVN versions
59cea9
# BuildRequires: bison
59cea9
59cea9
Requires(post): chkconfig
59cea9
Requires(preun): chkconfig
59cea9
Requires(preun): initscripts
59cea9
Requires(postun): initscripts
59cea9
Requires(pre): shadow-utils
59cea9
# Needed because /usr/sbin/unbound links unbound libs staticly
59cea9
Requires: %{name}-libs%{?_isa} = %{version}-%{release}
59cea9
59cea9
%description
59cea9
Unbound is a validating, recursive, and caching DNS(SEC) resolver.
59cea9
59cea9
The C implementation of Unbound is developed and maintained by NLnet
59cea9
Labs. It is based on ideas and algorithms taken from a java prototype
59cea9
developed by Verisign labs, Nominet, Kirei and ep.net.
59cea9
59cea9
Unbound is designed as a set of modular components, so that also
59cea9
DNSSEC (secure DNS) validation and stub-resolvers (that do not run
59cea9
as a server, but are linked into an application) are easily possible.
59cea9
59cea9
%if %{with_munin}
59cea9
%package munin
59cea9
Summary: Plugin for the munin / munin-node monitoring package
59cea9
Group:     System Environment/Daemons
59cea9
Requires: munin-node
59cea9
Requires: %{name} = %{version}-%{release}, bc
59cea9
BuildArch: noarch
59cea9
59cea9
%description munin
59cea9
Plugin for the munin / munin-node monitoring package
59cea9
%endif
59cea9
59cea9
%package devel
59cea9
Summary: Development package that includes the unbound header files
59cea9
Group: Development/Libraries
59cea9
Requires: %{name}-libs%{?_isa} = %{version}-%{release}, openssl-devel, ldns-devel
59cea9
59cea9
%description devel
59cea9
The devel package contains the unbound library and the include files
59cea9
59cea9
%package libs
59cea9
Summary: Libraries used by the unbound server and client applications
59cea9
Group: Applications/System
59cea9
Requires(post): /sbin/ldconfig
59cea9
Requires(postun): /sbin/ldconfig
59cea9
Requires: openssl
59cea9
Requires: crontabs
59cea9
59cea9
%description libs
59cea9
Contains libraries used by the unbound server and client applications
59cea9
59cea9
%if %{with_python}
59cea9
%package python
59cea9
Summary: Python modules and extensions for unbound
59cea9
Group: Applications/System
59cea9
Requires: %{name}-libs%{?_isa} = %{version}-%{release}
59cea9
59cea9
%description python
59cea9
Python modules and extensions for unbound
59cea9
%endif
59cea9
59cea9
%prep
59cea9
%setup -q 
59cea9
%patch1 -p1
59cea9
%patch2 -p1
59cea9
%patch3 -p1
59cea9
%patch4 -p0
59cea9
59cea9
%build
59cea9
%configure  --with-ldns --with-libevent --with-pthreads --with-ssl \
59cea9
            --disable-rpath --disable-static \
59cea9
            --with-conf-file=%{_sysconfdir}/%{name}/unbound.conf \
59cea9
            --with-pidfile=%{_localstatedir}/run/%{name}/%{name}.pid \
59cea9
%if %{with_python}
59cea9
            --with-pythonmodule --with-pyunbound \
59cea9
%endif
59cea9
            --enable-sha2 --disable-gost --enable-ecdsa \
59cea9
            --with-rootkey-file=%{_sharedstatedir}/unbound/root.key
59cea9
59cea9
%{__make} %{?_smp_mflags}
59cea9
%{__make} %{?_smp_mflags} streamtcp
59cea9
59cea9
%install
59cea9
rm -rf %{buildroot}
59cea9
%{__make} DESTDIR=%{buildroot} install
59cea9
install -d 0755 %{buildroot}%{_initrddir} %{buildroot}%{_sysconfdir}/sysconfig
59cea9
install -p -m 0755 %{SOURCE1} %{buildroot}%{_initrddir}/unbound
59cea9
install -p -m 0755 %{SOURCE2} %{buildroot}%{_sysconfdir}/unbound
59cea9
install -p -m 0644 %{SOURCE12} %{buildroot}%{_sysconfdir}/unbound
59cea9
install -p -m 0644 %{SOURCE14}  %{buildroot}%{_sysconfdir}/sysconfig/unbound
59cea9
install -d -m 0755 %{buildroot}%{_sysconfdir}/cron.d %{buildroot}%{_sharedstatedir}/unbound
59cea9
install -p -m 0755 %{SOURCE15}   %{buildroot}%{_sysconfdir}/cron.d/unbound-anchor
59cea9
59cea9
%if %{with_munin}
59cea9
# Install munin plugin and its softlinks
59cea9
install -d -m 0755 %{buildroot}%{_sysconfdir}/munin/plugin-conf.d
59cea9
install -p -m 0644 %{SOURCE3} %{buildroot}%{_sysconfdir}/munin/plugin-conf.d/unbound
59cea9
install -d -m 0755 %{buildroot}%{_datadir}/munin/plugins/
59cea9
install -p -m 0755 %{SOURCE4} %{buildroot}%{_datadir}/munin/plugins/unbound
59cea9
for plugin in unbound_munin_hits unbound_munin_queue unbound_munin_memory unbound_munin_by_type unbound_munin_by_class unbound_munin_by_opcode unbound_munin_by_rcode unbound_munin_by_flags unbound_munin_histogram; do
59cea9
    ln -s unbound %{buildroot}%{_datadir}/munin/plugins/$plugin
59cea9
done
59cea9
%endif
59cea9
59cea9
# install streamtcp used for monitoring / debugging unbound's port 80/443 modes
59cea9
install -m 0755 streamtcp %{buildroot}%{_sbindir}/unbound-streamtcp
59cea9
# install streamtcp man page
59cea9
install -m 0644 testcode/streamtcp.1 %{buildroot}/%{_mandir}/man1/unbound-streamtcp.1
59cea9
59cea9
# install root and DLV key - we keep a copy of the root key in old location,
59cea9
install -m 0644 %{SOURCE5} %{SOURCE6} %{buildroot}%{_sysconfdir}/unbound/
59cea9
install -m 0644 %{SOURCE13} %{buildroot}%{_sharedstatedir}/unbound/root.key
59cea9
59cea9
# remove static library from install (fedora packaging guidelines)
59cea9
rm -f %{buildroot}%{_libdir}/*.la
59cea9
%if %{with_python}
59cea9
rm -f %{buildroot}%{python_sitearch}/*.la
59cea9
%endif
59cea9
59cea9
# create softlink for all functions of libunbound man pages
59cea9
for mpage in ub_ctx ub_result ub_ctx_create ub_ctx_delete ub_ctx_set_option ub_ctx_get_option ub_ctx_config ub_ctx_set_fwd ub_ctx_resolvconf ub_ctx_hosts ub_ctx_add_ta ub_ctx_add_ta_file ub_ctx_trustedkeys ub_ctx_debugout ub_ctx_debuglevel ub_ctx_async ub_poll ub_wait ub_fd ub_process ub_resolve ub_resolve_async ub_cancel ub_resolve_free ub_strerror ub_ctx_print_local_zones ub_ctx_zone_add ub_ctx_zone_remove ub_ctx_data_add ub_ctx_data_remove;
59cea9
do
59cea9
  echo ".so man3/libunbound.3" > %{buildroot}%{_mandir}/man3/$mpage ;
59cea9
done
59cea9
59cea9
mkdir -p %{buildroot}%{_localstatedir}/run/unbound
59cea9
59cea9
# Install directories for easier config file drop in
59cea9
59cea9
mkdir -p %{buildroot}%{_sysconfdir}/unbound/{keys.d,conf.d,local.d}
59cea9
install -p %{SOURCE9} %{buildroot}%{_sysconfdir}/unbound/keys.d/
59cea9
install -p %{SOURCE10} %{buildroot}%{_sysconfdir}/unbound/conf.d/
59cea9
install -p %{SOURCE11} %{buildroot}%{_sysconfdir}/unbound/local.d/
59cea9
59cea9
# Link unbound-control-setup.8 manpage to unbound-control.8
59cea9
echo ".so man8/unbound-control.8" > %{buildroot}/%{_mandir}/man8/unbound-control-setup.8
59cea9
59cea9
%if %{with_munin}
59cea9
install -p -m 0644 %{SOURCE16}  .
59cea9
%endif
59cea9
59cea9
%files 
59cea9
%doc doc/README doc/CREDITS doc/LICENSE doc/FEATURES
59cea9
%attr(0755,root,root) %{_initrddir}/%{name}
59cea9
%attr(0755,root,root) %dir %{_sysconfdir}/%{name}
59cea9
%ghost %attr(0755,unbound,unbound) %dir %{_localstatedir}/run/%{name}
59cea9
%attr(0644,root,root) %config(noreplace) %{_sysconfdir}/%{name}/unbound.conf
59cea9
%attr(0644,root,root) %config(noreplace) %{_sysconfdir}/sysconfig/%{name}
59cea9
%dir %attr(0755,root,unbound) %{_sysconfdir}/%{name}/keys.d
59cea9
%attr(0664,root,unbound) %config(noreplace) %{_sysconfdir}/%{name}/keys.d/*.key
59cea9
%dir %attr(0755,root,unbound) %{_sysconfdir}/%{name}/conf.d
59cea9
%attr(0664,root,unbound) %config(noreplace) %{_sysconfdir}/%{name}/conf.d/*.conf
59cea9
%dir %attr(0755,root,unbound) %{_sysconfdir}/%{name}/local.d
59cea9
%attr(0664,root,unbound) %config(noreplace) %{_sysconfdir}/%{name}/local.d/*.conf
59cea9
%{_sbindir}/unbound
59cea9
%{_sbindir}/unbound-checkconf
59cea9
%{_sbindir}/unbound-control
59cea9
%{_sbindir}/unbound-control-setup
59cea9
%{_sbindir}/unbound-host
59cea9
%{_sbindir}/unbound-streamtcp
59cea9
%{_mandir}/man1/*
59cea9
%{_mandir}/man5/*
59cea9
%{_mandir}/man8/*
59cea9
59cea9
%if %{with_python}
59cea9
%files python
59cea9
%{python_sitearch}/*
59cea9
%doc libunbound/python/examples/*
59cea9
%doc pythonmod/examples/*
59cea9
%endif
59cea9
59cea9
%if %{with_munin}
59cea9
%files munin
59cea9
%config(noreplace) %{_sysconfdir}/munin/plugin-conf.d/unbound
59cea9
%{_datadir}/munin/plugins/unbound*
59cea9
%doc unbound-munin.README
59cea9
%endif
59cea9
59cea9
%files devel
59cea9
%{_libdir}/libunbound.so
59cea9
%{_includedir}/unbound.h
59cea9
%{_mandir}/man3/*
59cea9
%doc README
59cea9
59cea9
%files libs
59cea9
%attr(0755,root,root) %dir %{_sysconfdir}/%{name}
59cea9
%{_sbindir}/unbound-anchor
59cea9
%{_libdir}/libunbound.so.*
59cea9
%{_sysconfdir}/%{name}/icannbundle.pem
59cea9
%attr(0644,root,root) %{_sysconfdir}/cron.d/unbound-anchor
59cea9
%attr(0755,unbound,unbound) %dir %{_sharedstatedir}/%{name}
59cea9
%attr(0644,unbound,unbound) %config(noreplace) %{_sharedstatedir}/%{name}/root.key
59cea9
%attr(0644,root,root) %config(noreplace) %{_sysconfdir}/%{name}/root.key
59cea9
%attr(0644,root,root) %config(noreplace) %{_sysconfdir}/%{name}/dlv.isc.org.key
59cea9
%doc doc/README doc/LICENSE
59cea9
59cea9
%pre libs
59cea9
getent group unbound >/dev/null || groupadd -r unbound
59cea9
getent passwd unbound >/dev/null || \
59cea9
useradd -r -g unbound -d %{_sysconfdir}/unbound -s /sbin/nologin \
59cea9
-c "Unbound DNS resolver" unbound || exit 0
59cea9
59cea9
%post
59cea9
/sbin/chkconfig --add %{name}
59cea9
59cea9
%post libs 
59cea9
/sbin/ldconfig
59cea9
/sbin/runuser --command="%{_sbindir}/unbound-anchor -a %{_sharedstatedir}/unbound/root.key -c %{_sysconfdir}/unbound/icannbundle.pem"  --shell /bin/sh unbound || exit 0
59cea9
59cea9
%preun
59cea9
if [ "$1" -eq 0 ]; then
59cea9
        /sbin/service %{name} stop >/dev/null 2>&1
59cea9
        /sbin/chkconfig --del %{name}
59cea9
fi
59cea9
59cea9
%postun 
59cea9
if [ "$1" -ge "1" ]; then
59cea9
  /sbin/service %{name} condrestart >/dev/null 2>&1 || :
59cea9
fi
59cea9
59cea9
%postun libs -p /sbin/ldconfig
59cea9
59cea9
%changelog
59cea9
* Thu Aug 13 2015 Tomas Hozza <thozza@redhat.com> - 1.4.20-23.1
59cea9
- port the rhel-7 package version to rhel-6
59cea9
- add fix for CVE-2014-8602
59cea9
59cea9
* Tue May 26 2015 Tomas Hozza <thozza@redhat.com> - 1.4.20-23
59cea9
- Removed usage of DLV from the default configuration (#1223339)
59cea9
59cea9
* Wed May 13 2015 Tomas Hozza <thozza@redhat.com> - 1.4.20-22
59cea9
- unbound.service now Wants unbound-anchor.timer (Related: #1180267)
59cea9
59cea9
* Tue May 12 2015 Tomas Hozza <thozza@redhat.com> - 1.4.20-21
59cea9
- Fix dependencies and minor scriptlet issues due to systemd timer unit (Related: #1180267)
59cea9
59cea9
* Mon Apr 27 2015 Tomas Hozza <thozza@redhat.com> - 1.4.20-20
59cea9
- Install tmpfiles configuration into /usr/lib/tmpfiles.d (#1180995)
59cea9
- Fix root key management to comply to RFC5011 (#1180267)
59cea9
59cea9
* Fri Jan 24 2014 Daniel Mach <dmach@redhat.com> - 1.4.20-19
59cea9
- Mass rebuild 2014-01-24
59cea9
59cea9
* Fri Dec 27 2013 Daniel Mach <dmach@redhat.com> - 1.4.20-18
59cea9
- Mass rebuild 2013-12-27
59cea9
59cea9
* Wed Sep 04 2013 Tomas Hozza <thozza@redhat.com> - 1.4.20-17
59cea9
- Don't build unbound-munin package (#1002874)
59cea9
59cea9
* Mon Aug 26 2013 Tomas Hozza <thozza@redhat.com> - 1.4.20-16
59cea9
- Fix errors found by static analysis of source
59cea9
59cea9
* Mon Jul 22 2013 Tomas Hozza <thozza@redhat.com> - 1.4.20-15
59cea9
- provide man page for unbound-streamtcp
59cea9
59cea9
* Wed Jul 03 2013 Tomas Hozza <thozza@redhat.com> - 1.4.20-14
59cea9
- remove missing unbound-rootkey.service from post/preun/postun sections
59cea9
- don't hardcode hardening flags, let hardened build macro handles it
59cea9
59cea9
* Sat Jun 01 2013 Paul Wouters <pwouters@redhat.com> - 1.4.20-13
59cea9
- Run unbound-anchor as user unbound in unbound.service
59cea9
59cea9
* Tue May 28 2013 Paul Wouters <pwouters@redhat.com> - 1.4.20-12
59cea9
- Enable round-robin (with noths() patch)
59cea9
- Change cron and systemd service to use root.key, not root.anchor
59cea9
59cea9
* Sat May 25 2013 Paul Wouters <pwouters@redhat.com> - 1.4.20-10
59cea9
- Use /var/lib/unbound/root.key (more consistent with other distros)
59cea9
- Enable minimal responses
59cea9
59cea9
* Mon Apr 22 2013 Paul Wouters <pwouters@redhat.com> - 1.4.20-8
59cea9
- Refix
59cea9
59cea9
* Fri Apr 19 2013 Paul Wouters <pwouters@redhat.com> - 1.4.20-7
59cea9
- Fix runuser call in post.
59cea9
59cea9
* Tue Apr 16 2013 Paul Wouters <pwouters@redhat.com> - 1.4.20-6
59cea9
- /var/lib/unbound should be owned by unbound. group write is not enough
59cea9
59cea9
* Fri Apr 12 2013 Paul Wouters <pwouters@redhat.com> - 1.4.20-5
59cea9
- Fix cron job syntax (rhbz#951725)
59cea9
- Use install -p to prevent .rpmnew files that are identical to originals
59cea9
59cea9
* Mon Apr 8 2013 Paul Wouters <pwouters@redhat.com> - 1.4.20-4
59cea9
- Updated to 1.4.20
59cea9
- Build with full RELRO (not use -z,relro but with -z,relo,-z,now)
59cea9
- Fixup man page for unbound-control-setup
59cea9
- unbound.service should start before nss-lookup.target (rhbz#919955)
59cea9
- Removed patch for rhbz#888759 merged in upstream
59cea9
- Move root.anchor to /var/lib/unbound to make selinux policy easier for updating (rhbz#896599/rhbz#891008)
59cea9
- Move cronjob for root.anchor from unbound to unbound-libs, require crontabs
59cea9
- /etc/unbound (and all) should be owned by unbound-libs (rhbz#909691)
59cea9
- Remove Obsolete/Provides for dnssec-conf which was last seen in f13
59cea9
- Ensure any unbound-anchor failure in post is ignored
59cea9
59cea9
* Tue Mar 05 2013 Adam Tkac <atkac redhat="" com=""> - 1.4.19-5
59cea9
- build with full RELRO
59cea9
- symlink unbound-control-setup.8 manpage to unbound-control.8
59cea9
59cea9
* Fri Feb 15 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4.19-4
59cea9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
59cea9
59cea9
* Wed Dec 12 2012 Paul Wouters <pwouters@redhat.com> - 1.4.19-3
59cea9
- Updated to 1.4.19 - this integrates all existing patches
59cea9
- Patch for unbound-anchor (rhbz#888759)
59cea9
59cea9
* Fri Nov 09 2012 Paul Wouters <pwouters@redhat.com> - 1.4.18-6
59cea9
- Patch to ensure stube-zone's aren't lost when using dnssec-triggerd
59cea9
- added unbound-munin.README file
59cea9
59cea9
* Wed Sep 26 2012 Paul Wouters <pwouters@redhat.com> - 1.4.18-5
59cea9
- Patch to allow wildcards in include: statements
59cea9
- Add directories /etc/unbound/keys.d,conf.d,local.d with
59cea9
  example entries
59cea9
- Added /etc/unbound/root.anchor, maintained by unbound-anchor
59cea9
  which is installed as monthly cron and PreExec in systemd config
59cea9
  (root.key is unused, but left installed in case people depend on it)
59cea9
- Native systemd (simple) and /etc/sysconfig/unbound support
59cea9
- Run unbound-checkconf in PreExec
59cea9
- Moved trust anchor related files to unbound-libs, as they can
59cea9
  be used without the daemon.
59cea9
- sub packages now depends on base package of same arch
59cea9
- Build munin package as noarch
59cea9
- unbound-anchor moved to unbound-libs package. It is needed
59cea9
  to update the root.anchor key file.
59cea9
59cea9
* Tue Sep 04 2012 Paul Wouters <pwouters@redhat.com> - 1.4.18-3
59cea9
- Fix openssl thread locking bug under high query load
59cea9
59cea9
* Thu Aug 23 2012 Paul Wouters <pwouters@redhat.com> - 1.4.18-2
59cea9
- Use new systemd-rpm macros (rhbz#850351)
59cea9
- Clean up old obsoleted dnssec-conf from < fedora 15
59cea9
59cea9
* Fri Aug 03 2012 Paul Wouters <pwouters@redhat.com> - 1.4.18-1
59cea9
- Updated to 1.4.18 (FIPS related fixes mostly)
59cea9
- Removed patches that were merged in upstream
59cea9
- Added comment to root.key
59cea9
59cea9
* Mon Jul 23 2012 Paul Wouters <pwouters@redhat.com> - 1.4.17-5
59cea9
- Fix for unbound crasher (upstream bug #452)
59cea9
- Support libunbound functions in man pages and place in -devel
59cea9
59cea9
* Sun Jul 22 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4.17-4
59cea9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
59cea9
59cea9
* Tue Jul 03 2012 Paul Wouters <pwouters@redhat.com> - 1.4.17-3
59cea9
- unbound FIPS patches for MD5,randomness (rhbz#835106)
59cea9
59cea9
* Fri Jun 15 2012 Adam Tkac <atkac redhat="" com=""> - 1.4.17-2
59cea9
- don't build unbound-munin on RHEL
59cea9
59cea9
* Thu May 24 2012 Paul Wouters <pwouters@redhat.com> - 1.4.17-1
59cea9
- Updated to 1.4.17 (which mostly brings in patches we already
59cea9
  applied from svn trunk)
59cea9
59cea9
* Wed Feb 29 2012 Paul Wouters <pwouters@redhat.com> - 1.4.16-3 
59cea9
- Since the daemon links to the libs staticly, add Requires:
59cea9
  (this is rhbz#745288)
59cea9
- Package up streamtcp as unbound-streamtcp (for monitoring)
59cea9
59cea9
* Mon Feb 27 2012 Paul Wouters <pwouters@redhat.com> - 1.4.16-2
59cea9
- Don't ghost the directory (rhbz#788805)
59cea9
- Patch for unbound to support unbound-control forward_zone
59cea9
  (needed for openswan in XAUTH mode)
59cea9
59cea9
* Thu Feb 02 2012 Paul Wouters <paul@nohats.ca> - 1.4.16-1
59cea9
- Upgraded to 1.4.16, which was relesed due to the soname
59cea9
  and some DNSSEC validation failures
59cea9
59cea9
* Wed Feb 01 2012 Paul Wouters <paul@nohats.ca> - 1.4.15-2
59cea9
- Patch for SONAME version (libtool's -version-number vs -version-info)
59cea9
59cea9
* Fri Jan 27 2012 Paul Wouters <pwouters@redhat.com> - 1.4.15-1
59cea9
- Upgraded to 1.4.15
59cea9
- Updated unbound.conf to show how to configure listening on tls443
59cea9
59cea9
* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4.14-2
59cea9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
59cea9
59cea9
* Mon Dec 19 2011 Paul Wouters <paul@cypherpunks.ca> - 1.4.14-1
59cea9
- Upgraded to 1.4.14 for CVE-2011-4528 / VU#209659
59cea9
- SSL-wrapped query support for dnssec-trigger
59cea9
- EDNS handling changes
59cea9
- Removed integrated EDNS patches
59cea9
- Disabled use-caps-for-id, GoDaddy domains now break on it
59cea9
- Enabled new harden-below-nxdomain
59cea9
59cea9
* Thu Sep 15 2011 Paul Wouters <paul@xelerance.com> - 1.4.13-1
59cea9
- Upgraded to 1.4.13
59cea9
- Removed merged in pythonmod patch
59cea9
- Added EDNS1480 patch to fix unbound on broken EDNS/UDP networks
59cea9
- Fix python to go into sitearch instead of sitelib
59cea9
59cea9
* Wed Sep 14 2011 Tom Callaway <spot@fedoraproject.org> - 1.4.12-4
59cea9
- convert to systemd, tmpfiles.d
59cea9
59cea9
* Mon Aug 08 2011 Paul Wouters <paul@xelerance.com> - 1.4.12-3
59cea9
- Added pythonmod docs and examples
59cea9
59cea9
* Mon Aug 08 2011 Paul Wouters <paul@xelerance.com> - 1.4.12-2
59cea9
- Fix for python module load in the server (Tom Hendrikx)
59cea9
- No longer enable --enable-debug as it causes degraded  performance
59cea9
  under load.
59cea9
59cea9
* Mon Jul 18 2011 Paul Wouters <paul@xelerance.com> - 1.4.12-1
59cea9
- Updated to 1.4.12
59cea9
59cea9
* Sun Jul 03 2011 Paul Wouters <paul@xelerance.com> - 1.4.11-1
59cea9
- Updated to 1.4.11
59cea9
- removed integrated CVE patch
59cea9
- updated stock unbound.conf for new options introduced
59cea9
59cea9
* Mon Jun 06 2011 Paul Wouters <paul@xelerance.com> - 1.4.10-1
59cea9
- Added ghost for /var/run/unbound (bz#656710)
59cea9
59cea9
* Mon Jun 06 2011 Paul Wouters <paul@xelerance.com> - 1.4.9-3
59cea9
- rebuilt
59cea9
59cea9
* Wed May 25 2011 Paul Wouters <paul@xelerance.com> - 1.4.9-2
59cea9
- Applied patch for CVE-2011-1922 DoS vulnerability
59cea9
59cea9
* Sun Mar 27 2011 Paul Wouters <paul@xelerance.com> - 1.4.9-1
59cea9
- Updated to 1.4.9
59cea9
59cea9
* Sat Feb 12 2011 Paul Wouters <paul@xelerance.com> - 1.4.8-2
59cea9
- rebuilt
59cea9
59cea9
* Tue Jan 25 2011 Paul Wouters <paul@xelerance.com> - 1.4.8-1
59cea9
- Updated to 1.4.8
59cea9
- Enable root key for DNSSEC
59cea9
- Fix unbound-munin to use proper file (could cause excessive logging)
59cea9
- Build unbound-python per default
59cea9
- Disable gost as Fedora/EPEL does not allow ECC and has mangled openssl
59cea9
59cea9
* Tue Oct 26 2010 Paul Wouters <paul@xelerance.com> - 1.4.5-4
59cea9
- Revert last build - it was on the wrong branch
59cea9
59cea9
* Tue Oct 26 2010 Paul Wouters <paul@xelerance.com> - 1.4.5-3
59cea9
- Disable do-ipv6 per default - causes severe degradation on non-ipv6 machines
59cea9
  (see comments in inbound.conf)
59cea9
59cea9
* Tue Jun 15 2010 Paul Wouters <paul@xelerance.com> - 1.4.5-2
59cea9
- Bump release - forgot to upload the new tar ball.
59cea9
59cea9
* Tue Jun 15 2010 Paul Wouters <paul@xelerance.com> - 1.4.5-1
59cea9
- Upgraded to 1.4.5
59cea9
59cea9
* Mon May 31 2010 Paul Wouters <paul@xelerance.com> - 1.4.4-2
59cea9
- Added accidentally omitted svn patches to cvs 
59cea9
59cea9
* Mon May 31 2010 Paul Wouters <paul@xelerance.com> - 1.4.4-1
59cea9
- Upgraded to 1.4.4 with svn patches
59cea9
- Obsolete dnssec-conf to ensure it is de-installed
59cea9
59cea9
* Thu Mar 11 2010 Paul Wouters <paul@xelerance.com> - 1.4.3-1
59cea9
- Update to 1.4.3 that fixes 64bit crasher
59cea9
59cea9
* Tue Mar 09 2010 Paul Wouters <paul@xelerance.com> - 1.4.2-1
59cea9
- Updated to 1.4.2 
59cea9
- Updated unbound.conf with new options
59cea9
- Enabled pre-fetching DNSKEY records (DNSSEC speedup)
59cea9
- Enabled re-fetching popular records before they expire
59cea9
- Enabled logging of DNSSEC validation errors
59cea9
59cea9
* Mon Mar 01 2010 Paul Wouters <paul@xelerance.com> - 1.4.1-5
59cea9
- Overriding -D_GNU_SOURCE is no longer needed. This fixes DSO issues
59cea9
  with pthreads
59cea9
59cea9
* Wed Feb 24 2010 Paul Wouters <paul@xelerance.com> - 1.4.1-3
59cea9
- Change make/configure lines to attempt to fix -lphtread linking issue
59cea9
59cea9
* Thu Feb 18 2010 Paul Wouters <paul@xelerance.com> - 1.4.1-2
59cea9
- Removed dependancy for dnssec-conf
59cea9
- Added ISC DLV key (formerly in dnssec-conf)
59cea9
- Fixup old DLV locations in unbound.conf file via %%post
59cea9
- Fix parent child disagreement handling and no-ipv6 present [svn r1953]
59cea9
59cea9
* Tue Jan 05 2010 Paul Wouters <paul@xelerance.com> - 1.4.1-1
59cea9
- Updated to 1.4.1
59cea9
- Changed %%define to %%global
59cea9
59cea9
* Thu Oct 08 2009 Paul Wouters <paul@xelerance.com> - 1.3.4-2
59cea9
- Bump version
59cea9
59cea9
* Thu Oct 08 2009 Paul Wouters <paul@xelerance.com> - 1.3.4-1
59cea9
- Upgraded to 1.3.4. Security fix with validating NSEC3 records
59cea9
59cea9
* Fri Aug 21 2009 Tomas Mraz <tmraz@redhat.com> - 1.3.3-2
59cea9
- rebuilt with new openssl
59cea9
59cea9
* Mon Aug 17 2009 Paul Wouters <paul@xelerance.com> - 1.3.3-1
59cea9
- Updated to 1.3.3
59cea9
59cea9
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.3.0-3
59cea9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
59cea9
59cea9
* Sat Jun 20 2009 Paul Wouters <paul@xelerance.com> - 1.3.0-2
59cea9
- Added missing glob patch to cvs
59cea9
- Place python macros within the %%with_python check
59cea9
59cea9
* Sat Jun 20 2009 Paul Wouters <paul@xelerance.com> - 1.3.0-1
59cea9
- Updated to 1.3.0
59cea9
- Added unbound-python sub package. disabled for now
59cea9
- Patch from svn to fix DLV lookups
59cea9
- Patches from svn to detect wrong truncated response from BIND 9.6.1 with
59cea9
  minimal-responses)
59cea9
- Added Default-Start and Default-Stop to unbound.init
59cea9
- Re-enabled --enable-sha2
59cea9
- Re-enabled glob.patch
59cea9
59cea9
* Wed May 20 2009 Paul Wouters <paul@xelerance.com> - 1.2.1-7
59cea9
- unbound-iterator.patch was not commited
59cea9
59cea9
* Wed May 20 2009 Paul Wouters <paul@xelerance.com> - 1.2.1-6
59cea9
- Fix for https://bugzilla.redhat.com/show_bug.cgi?id=499793
59cea9
59cea9
* Tue Mar 17 2009 Paul Wouters <paul@xelerance.com> - 1.2.1-5
59cea9
- Use --nocheck to avoid giving an error on missing unbound-remote certs/keys
59cea9
59cea9
* Tue Mar 10 2009 Adam Tkac <atkac redhat="" com=""> - 1.2.1-4
59cea9
- enable DNSSEC only if it is enabled in sysconfig/dnssec
59cea9
59cea9
* Mon Mar 09 2009 Adam Tkac <atkac redhat="" com=""> - 1.2.1-3
59cea9
- add DNSSEC support to initscript and enabled it per default
59cea9
- add requires dnssec-conf
59cea9
59cea9
* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2.1-2
59cea9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
59cea9
59cea9
* Tue Feb 10 2009 Paul Wouters 
59cea9
- updated to 1.2.1
59cea9
59cea9
* Sun Jan 18 2009 Tomas Mraz <tmraz@redhat.com> - 1.2.0-2
59cea9
- rebuild with new openssl
59cea9
59cea9
* Wed Jan 14 2009 Paul Wouters 
59cea9
- Updated to 1.2.0
59cea9
- Added dependancy on minimum SSL for CVE-2008-5077
59cea9
- Added dependancy on bc for unbound-munin
59cea9
- Added minimum requirement of libevent 1.4.5. Crashes with older versions
59cea9
  (note: libevent is stale in EL-4 and not in EL-5, needs fixing there)
59cea9
- Removed dependancy on selinux-policy (will get used when available)
59cea9
- Enable options as per draft-wijngaards-dnsext-resolver-side-mitigation-00.txt
59cea9
- Enable unwanted-reply-threshold to mitigate against a Kaminsky attack
59cea9
- Enable val-clean-additional to drop addition unsigned data from signed
59cea9
  response.
59cea9
- Removed patches (got merged into upstream)
59cea9
59cea9
* Mon Jan  5 2009 Paul Wouters <paul@xelerance.com> - 1.1.1-7
59cea9
- Modified scandir patch to silently fail when wildcard matches nothing
59cea9
- Patch to allow unbound-checkconf to find empty wildcard matches
59cea9
59cea9
* Mon Jan  5 2009 Paul Wouters <paul@xelerance.com> - 1.1.1-6
59cea9
- Added scandir patch for trusted-keys-file: option, which
59cea9
  is used to load multiple dnssec keys in bind file format
59cea9
59cea9
* Mon Dec  8 2008 Paul Wouters <paul@xelerance.com> - 1.1.1-4
59cea9
- Added Requires: for selinux-policy >= 3.5.13-33 for proper SElinux rules.
59cea9
59cea9
* Mon Dec  1 2008 Paul Wouters <paul@xelerance.com> - 1.1.1-3
59cea9
- We did not own the /etc/unbound directory (#474020)
59cea9
- Fixed cvs anomalies
59cea9
59cea9
* Fri Nov 28 2008 Adam Tkac <atkac redhat="" com=""> - 1.1.1-2
59cea9
- removed all obsolete chroot related stuff
59cea9
- label control certs after generation correctly
59cea9
59cea9
* Thu Nov 20 2008 Paul Wouters <paul@xelerance.com> - 1.1.1-1
59cea9
- Updated to unbound 1.1.1 which fixes a crasher and
59cea9
  addresses nlnetlabs bug #219
59cea9
59cea9
* Wed Nov 19 2008 Paul Wouters <paul@xelerance.com> - 1.1.0-3
59cea9
- Remove the chroot, obsoleted by SElinux
59cea9
- Add additional munin plugin links supported by unbound plugin
59cea9
- Move configuration directory from /var/lib/unbound to /etc/unbound
59cea9
- Modified unbound.init and unbound.conf to account for chroot changes
59cea9
- Updated unbound.conf with new available options
59cea9
- Enabled dns-0x20 protection per default
59cea9
59cea9
* Wed Nov 19 2008 Adam Tkac <atkac redhat="" com=""> - 1.1.0-2
59cea9
- unbound-1.1.0-log_open.patch
59cea9
  - make sure log is opened before chroot call
59cea9
  - tracked as http://www.nlnetlabs.nl/bugs/show_bug.cgi?id=219
59cea9
- removed /dev/log and /var/run/unbound and /etc/resolv.conf from
59cea9
  chroot, not needed
59cea9
- don't mount files in chroot, it causes problems during updates
59cea9
- fixed typo in default config file
59cea9
59cea9
* Fri Nov 14 2008 Paul Wouters <paul@xelerance.com> - 1.1.0-1
59cea9
- Updated to version 1.1.0
59cea9
- Updated unbound.conf's statistics options and remote-control
59cea9
  to work properly for munin
59cea9
- Added unbound-munin package
59cea9
- Generate unbound remote-control  key/certs on first startup
59cea9
- Required ldns is now 1.4.0
59cea9
59cea9
* Wed Oct 22 2008 Paul Wouters <paul@xelerance.com> - 1.0.2-5
59cea9
- Only call ldconfig in -libs package
59cea9
- Move configure into build section
59cea9
- devel subpackage should only depend on libs subpackage
59cea9
59cea9
* Tue Oct 21 2008 Paul Wouters <paul@xelerance.com> - 1.0.2-4
59cea9
- Fix CFLAGS getting lost in build
59cea9
- Don't enable interface-automatic:yes because that
59cea9
  causes unbound to listen on 0.0.0.0 instead of 127.0.0.1
59cea9
59cea9
* Sun Oct 19 2008 Paul Wouters <paul@xelerance.com> - 1.0.2-3
59cea9
- Split off unbound-libs, make build verbose 
59cea9
59cea9
* Thu Oct  9 2008 Paul Wouters <paul@xelerance.com> - 1.0.2-2
59cea9
- FSB compliance, chroot fixes, initscript fixes
59cea9
59cea9
* Thu Sep 11 2008 Paul Wouters <paul@xelerance.com> - 1.0.2-1
59cea9
- Upgraded to 1.0.2
59cea9
59cea9
* Wed Jul 16 2008 Paul Wouters <paul@xelerance.com> - 1.0.1-1
59cea9
- upgraded to new release
59cea9
59cea9
* Wed May 21 2008 Paul Wouters <paul@xelerance.com> - 1.0.0-2
59cea9
- Build against ldns-1.3.0
59cea9
59cea9
* Wed May 21 2008 Paul Wouters <paul@xelerance.com> - 1.0.0-1
59cea9
- Split of -devel package, fixed dependancies, make rpmlint happy
59cea9
59cea9
* Thu Apr 25 2008 Wouter Wijngaards <wouter@nlnetlabs.nl> - 0.12
59cea9
- Using parts from ports collection entry by Jaap Akkerhuis.
59cea9
- Using Fedoraproject wiki guidelines.
59cea9
59cea9
* Wed Apr 23 2008 Wouter Wijngaards <wouter@nlnetlabs.nl> - 0.11
59cea9
- Initial version.