update to 1.5.0-rc1
This commit is contained in:
parent
f581302ef4
commit
8dd156b6b7
52
knot.spec
52
knot.spec
@ -1,33 +1,37 @@
|
||||
%global _hardened_build 1
|
||||
%{!?_pkgdocdir: %global _pkgdocdir %{_docdir}/%{name}-%{version}}
|
||||
%global alphatag rc1
|
||||
|
||||
# TODO:
|
||||
# - split into subpackages
|
||||
# - documentation building
|
||||
|
||||
Summary: An authoritative DNS daemon
|
||||
Name: knot
|
||||
Version: 1.4.6
|
||||
Release: 2%{?dist}
|
||||
Version: 1.5.0
|
||||
Release: 0.1.%{alphatag}%{?dist}
|
||||
License: GPLv3
|
||||
Group: System Environment/Daemons
|
||||
URL: http://www.knot-dns.cz
|
||||
Source0: http://public.nic.cz/files/knot-dns/%{name}-%{version}.tar.gz
|
||||
Source0: http://public.nic.cz/files/knot-dns/%{name}-%{version}-%{alphatag}.tar.gz
|
||||
Source1: %{name}.service
|
||||
Source2: %{name}.conf
|
||||
Source3: %{name}.tmpfiles
|
||||
|
||||
BuildRequires: flex bison openssl-devel userspace-rcu-devel libcap-ng-devel libidn-devel
|
||||
BuildRequires: texinfo
|
||||
BuildRequires: systemd-units
|
||||
# ragel is optional, required only if .rl source files are modified
|
||||
#BuildRequires: ragel
|
||||
|
||||
Requires(post): systemd info
|
||||
Requires(preun): systemd info
|
||||
Requires(post): systemd
|
||||
Requires(preun): systemd
|
||||
Requires(postun): systemd
|
||||
|
||||
%description
|
||||
Knot DNS is a high-performance authoritative DNS server implementation.
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
%setup -q -n %{name}-%{version}-%{alphatag}
|
||||
|
||||
%build
|
||||
# disable debug code (causes unused warnings)
|
||||
@ -38,9 +42,6 @@ make %{?_smp_mflags}
|
||||
%install
|
||||
make install DESTDIR=%{buildroot}
|
||||
|
||||
# info database is updated at install time
|
||||
rm %{buildroot}%{_datadir}/info/dir
|
||||
|
||||
# install customized configuration file
|
||||
rm %{buildroot}%{_sysconfdir}/%{name}/*
|
||||
install -p -m 0644 -D %{SOURCE2} %{buildroot}%{_sysconfdir}/%{name}/%{name}.conf
|
||||
@ -61,6 +62,12 @@ for sample_file in knot.full.conf knot.keys.conf example.com.zone; do
|
||||
install -p -m 0644 samples/${sample_file} %{buildroot}%{_pkgdocdir}/samples
|
||||
done
|
||||
|
||||
# remove libarchive files
|
||||
rm %{buildroot}%{_libdir}/*.la
|
||||
|
||||
# remove .so files, the headers are not available
|
||||
rm %{buildroot}%{_libdir}/*.so
|
||||
|
||||
%check
|
||||
make check
|
||||
|
||||
@ -72,16 +79,14 @@ useradd -r -g knot -d %{_sysconfdir}/knot -s /sbin/nologin \
|
||||
exit 0
|
||||
|
||||
%post
|
||||
/sbin/install-info %{_infodir}/%{name}.info %{_infodir}/dir || :
|
||||
/sbin/ldconfig
|
||||
%systemd_post knot.service
|
||||
|
||||
%preun
|
||||
%systemd_preun knot.service
|
||||
if [ $1 -eq 0 ] ; then
|
||||
/sbin/install-info --delete %{_infodir}/%{name}.info %{_infodir}/dir || :
|
||||
fi
|
||||
|
||||
%postun
|
||||
/sbin/ldconfig
|
||||
%systemd_postun
|
||||
|
||||
%files
|
||||
@ -95,12 +100,29 @@ fi
|
||||
%{_tmpfilesdir}/%{name}.conf
|
||||
%{_bindir}/*
|
||||
%{_sbindir}/*
|
||||
%{_libdir}/libknot.so.*
|
||||
%{_libdir}/libzscanner.so.*
|
||||
%{_mandir}/man1/*
|
||||
%{_mandir}/man5/*
|
||||
%{_mandir}/man8/*
|
||||
%doc %{_infodir}/%{name}.info.gz
|
||||
|
||||
%changelog
|
||||
* Wed Jun 04 2014 Jan Vcelak <jvcelak@fedoraproject.org> 1.5.0-0.1.rc1
|
||||
- update to 1.5.0-rc1
|
||||
+ Pluggable query processing modules
|
||||
+ Synthetic IPv4/IPv6 reverse/forward records (optional module)
|
||||
+ Dnstap support in both utilities & server (optional module)
|
||||
+ NOTIFY message support and new TSIG section in kdig
|
||||
+ Multi-master support
|
||||
+ Query processing and core functionality overhaul
|
||||
+ Performance and reduced memory footprint
|
||||
+ Faster zone events scheduling
|
||||
+ RFC compliant queries/responses in some corner cases
|
||||
+ Log messages
|
||||
+ New documentation (Sphinx)
|
||||
- enabled dynamic linking
|
||||
- removed info pages
|
||||
|
||||
* Thu May 22 2014 Jan Vcelak <jvcelak@fedoraproject.org> 1.4.6-2
|
||||
- update to 1.4.6
|
||||
+ DNSSEC: fix possible signing loop when doing key rollover
|
||||
|
Loading…
Reference in New Issue
Block a user