malmond / rpms / unbound

Forked from rpms/unbound 3 years ago
Clone

Blame SPECS/unbound.spec

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