| |
@@ -1,11 +1,12 @@
|
| |
#http://lists.fedoraproject.org/pipermail/devel/2011-August/155358.html
|
| |
%global _hardened_build 1
|
| |
+ %global sysrepo 0
|
| |
|
| |
- %global prever P1
|
| |
+ #%%global prever P1
|
| |
|
| |
Name: kea
|
| |
- Version: 1.5.0
|
| |
- Release: 10%{?dist}
|
| |
+ Version: 1.6.0
|
| |
+ Release: 1%{?dist}
|
| |
Summary: DHCPv4, DHCPv6 and DDNS server from ISC
|
| |
|
| |
License: MPLv2.0 and Boost
|
| |
@@ -16,10 +17,8 @@
|
| |
Source3: kea-dhcp-ddns.service
|
| |
Source4: kea-ctrl-agent.service
|
| |
|
| |
- Patch0: 0001-Fix-hooks-directory.patch
|
| |
- Patch1: 0002-Fix-dns-pc-file.patch
|
| |
- Patch2: 0003-Remove-spurious-fi.patch
|
| |
Patch3: 0004-Openssl-version.patch
|
| |
+ Patch4: 0005-disablenetconf.patch
|
| |
|
| |
# autoreconf
|
| |
BuildRequires: autoconf automake libtool
|
| |
@@ -41,6 +40,11 @@
|
| |
BuildRequires: postgresql-devel
|
| |
%endif
|
| |
BuildRequires: log4cplus-devel
|
| |
+ %if %{sysrepo}
|
| |
+ # %%configure --with-sysrepo
|
| |
+ BuildRequires: sysrepo-devel
|
| |
+ %endif
|
| |
+
|
| |
%ifnarch s390 %{mips}
|
| |
BuildRequires: valgrind-devel
|
| |
%endif
|
| |
@@ -54,6 +58,8 @@
|
| |
# in case you ever wanted to use %%configure --enable-generate-docs
|
| |
#BuildRequires: elinks asciidoc plantuml
|
| |
BuildRequires: systemd
|
| |
+ BuildRequires: python3-sphinx
|
| |
+ BuildRequires: python3-sphinx_rtd_theme
|
| |
|
| |
Requires: kea-libs%{?_isa} = %{version}-%{release}
|
| |
Requires(post): systemd
|
| |
@@ -124,10 +130,16 @@
|
| |
--enable-debug \
|
| |
--enable-generate-parser \
|
| |
--enable-shell \
|
| |
+ --enable-generate-docs \
|
| |
+ --enable-generate-messages \
|
| |
+ --enable-perfdhcp \
|
| |
--with-mysql \
|
| |
--with-pgsql \
|
| |
--with-gnu-ld \
|
| |
--with-log4cplus \
|
| |
+ %if %{sysrepo}
|
| |
+ --with-sysrepo \
|
| |
+ %endif
|
| |
--with-openssl
|
| |
|
| |
%make_build
|
| |
@@ -200,20 +212,23 @@
|
| |
%config(noreplace) %{_sysconfdir}/kea/kea-dhcp6.conf
|
| |
%config(noreplace) %{_sysconfdir}/kea/kea-dhcp4.conf
|
| |
%config(noreplace) %{_sysconfdir}/kea/kea-dhcp-ddns.conf
|
| |
+ %if %{sysrepo}
|
| |
%config(noreplace) %{_sysconfdir}/kea/kea-netconf.conf
|
| |
+ %endif
|
| |
%dir %{_datarootdir}/kea/
|
| |
%{_datarootdir}/kea/scripts
|
| |
+ %if %{sysrepo}
|
| |
%{_datarootdir}/kea/yang
|
| |
+ %endif
|
| |
%dir %{_sharedstatedir}/kea
|
| |
%config(noreplace) %{_sharedstatedir}/kea/kea-leases4.csv
|
| |
%config(noreplace) %{_sharedstatedir}/kea/kea-leases6.csv
|
| |
%{_pkgdocdir}/AUTHORS
|
| |
%{_pkgdocdir}/ChangeLog
|
| |
%{_pkgdocdir}/README
|
| |
+ %{_pkgdocdir}/CONTRIBUTING.md
|
| |
%{_pkgdocdir}/examples
|
| |
- %{_pkgdocdir}/kea-guide.*
|
| |
- %{_pkgdocdir}/kea-logo-100x70.png
|
| |
- %{_pkgdocdir}/kea-messages.html
|
| |
+ %{_pkgdocdir}/html
|
| |
%{python3_sitelib}/%{name}
|
| |
%{_mandir}/man8/kea-admin.8.gz
|
| |
%{_mandir}/man8/keactrl.8.gz
|
| |
@@ -224,6 +239,9 @@
|
| |
%{_mandir}/man8/kea-lfc.8.gz
|
| |
%{_mandir}/man8/kea-shell.8.gz
|
| |
%{_mandir}/man8/perfdhcp.8.gz
|
| |
+ %if %{sysrepo}
|
| |
+ %{_mandir}/man8/kea-netconf.8.gz
|
| |
+ %endif
|
| |
%dir /run/kea/
|
| |
%{_tmpfilesdir}/kea.conf
|
| |
|
| |
@@ -252,7 +270,6 @@
|
| |
%{_libdir}/libkea-threads.so
|
| |
%{_libdir}/libkea-util-io.so
|
| |
%{_libdir}/libkea-util.so
|
| |
- %{_libdir}/pkgconfig/dns++.pc
|
| |
|
| |
%files hooks
|
| |
%dir %{_libdir}/%{name}
|
| |
@@ -285,8 +302,9 @@
|
| |
|
| |
|
| |
%changelog
|
| |
- * Mon Aug 19 2019 Miro HronĨok <mhroncok@redhat.com> - 1.5.0-9
|
| |
- - Rebuilt for Python 3.8
|
| |
+ * Wed Sep 11 2019 Kenneth Topp <toppk@bllue.org> - 1.6.0-1
|
| |
+ - update to 1.6.0
|
| |
+ - includes fixes for CVE-2019-6472, CVE-2019-6473 and CVE-2019-6474
|
| |
|
| |
* Tue Jul 30 2019 Pavel Zhukov <pzhukov@redhat.com> - 1.5.0-8
|
| |
- Do not specify openssl version
|
| |
proposed updates to 1.6.0. seems like sysrepo is a new dependency, so I've disabled it since it's not in the repos.
also, documentation was converted to sphinx, which is a new dependency as well.