build_deb/
-doc/doxyxml/
-doc/html/
luajit,
pkg-config,
meson (>= 0.49),
- doxygen,
protobuf-c-compiler,
python3-all,
- python3-breathe,
python3-setuptools,
- python3-sphinx,
- python3-sphinx-rtd-theme,
- texinfo,
libssl-dev,
Homepage: https://www.knot-resolver.cz/
This package contains HTTP/2 module for local visualization of the
resolver cache and queries.
-Package: knot-resolver-doc
-Architecture: all
-Section: doc
-Depends:
- libjs-jquery,
- libjs-underscore,
- ${misc:Depends},
-Description: Documentation for Knot Resolver
- The Knot Resolver is a caching full resolver implementation
- written in C and LuaJIT, including both a resolver library and a
- daemon. Modular architecture of the library keeps the core tiny and
- efficient, and provides a state-machine like API for
- extensions. There are three built-in modules - iterator, cache,
- validator, and many external.
- .
- This package contains Knot Resolver Documentation.
-
Package: python3-knot-resolver-manager
Architecture: all
Provides: knot-resolver-manager
+++ /dev/null
-Document: knot-resolver
-Title: Knot Resolver documentation
-Author: CZ.NIC labs
-Abstract: Documentation for the Knot Resolver,
- including building from source, using the library,
- and configuration and operation of the daemon.
-Section: Network/Communication
-
-Format: HTML
-Index: /usr/share/doc/knot-resolver/html/index.html
-Files: /usr/share/doc/knot-resolver/html/*.html
+++ /dev/null
-debian/tmp/usr/share/doc/knot-resolver/html/*
+++ /dev/null
-debian/tmp/usr/share/info/knot-resolver.info
-debian/tmp/usr/share/info/knot-resolver-figures/*
+++ /dev/null
-usr/share/javascript/jquery/jquery.min.js usr/share/doc/knot-resolver/html/_static/jquery.js
-usr/share/javascript/underscore/underscore.min.js usr/share/doc/knot-resolver/html/_static/underscore.js
usr/lib/knot-resolver/kres_modules/http/LICENSE
usr/lib/knot-resolver/kres_modules/etcd.lua
-debian/tmp/usr/share/doc/knot-resolver/html/.buildinfo
usr/include/libkres/*.h
usr/lib/*.so
usr/lib/pkgconfig/libkres.pc
--buildtype=plain \
--prefix=/usr \
--libdir=lib \
- -Ddoc=enabled \
-Dsystemd_files=enabled \
-Dclient=enabled \
-Ddnstap=enabled \
-Dc_args="$${CFLAGS}" \
-Dc_link_args="$${LDFLAGS}"
ninja -v -C build_deb
- ninja -v -C build_deb doc
dh_auto_build --buildsystem=pybuild --sourcedirectory manager
override_dh_auto_install:
%endif
%if 0%{?fedora} || 0%{?rhel} > 7
BuildRequires: pkgconfig(lmdb)
-BuildRequires: python3-sphinx
Requires: lua5.1-basexx
Requires: lua5.1-cqueues
Requires: lua5.1-http
%if 0%{?suse_version}
%define NINJA ninja
BuildRequires: lmdb-devel
-BuildRequires: python3-Sphinx
Requires(pre): shadow
%endif
-%if "x%{?rhel}" == "x"
-# dependencies for doc package
-# NOTE: doc isn't possible to build on CentOS 7, 8
-# python2-sphinx is too old and python36-breathe is broken on CentOS 7
-# python3-breathe isn't available for CentOS 8 (yet? rhbz#1808766)
-BuildRequires: doxygen
-BuildRequires: python3-breathe
-BuildRequires: python3-sphinx_rtd_theme
-BuildRequires: texinfo
-%endif
-
%description
The Knot Resolver is a DNSSEC-enabled caching full resolver implementation
written in C and LuaJIT, including both a resolver library and a daemon.
%description devel
The package contains development headers for Knot Resolver.
-%if "x%{?rhel}" == "x"
-%package doc
-Summary: Documentation for Knot Resolver
-BuildArch: noarch
-Requires: %{name} = %{version}-%{release}
-
-%description doc
-Documentation for Knot Resolver
-%endif
-
%if "x%{?suse_version}" == "x"
%package module-dnstap
Summary: dnstap module for Knot Resolver
%build
CFLAGS="%{optflags}" LDFLAGS="%{?__global_ldflags}" meson build_rpm \
-%if "x%{?rhel}" == "x"
- -Ddoc=enabled \
-%endif
-Dsystemd_files=enabled \
-Dclient=enabled \
%if "x%{?suse_version}" == "x"
--sysconfdir="%{_sysconfdir}" \
%{NINJA} -v -C build_rpm
-%if "x%{?rhel}" == "x"
-%{NINJA} -v -C build_rpm doc
-%endif
pushd manager
%py3_build
%{_libdir}/pkgconfig/libkres.pc
%{_libdir}/libkres.so
-%if "x%{?rhel}" == "x"
-%files doc
-%dir %{_pkgdocdir}
-%doc %{_pkgdocdir}/html
-%doc %{_datadir}/info/knot-resolver.info*
-%dir %{_datadir}/info/knot-resolver-figures
-%doc %{_datadir}/info/knot-resolver-figures/*
-%endif
-
%if "x%{?suse_version}" == "x"
%files module-dnstap
%{_libdir}/knot-resolver/kres_modules/dnstap.so
else
python_sphinx_rtd_theme = run_command('python3', '-c', 'import sphinx_rtd_theme', check: false)
if python_sphinx_rtd_theme.returncode() != 0
- error('missing doc dependency: python sphinx_rtd_theme')
+ error('missing doc dependency: sphinx_rtd_theme')
endif
python_sphinx_tabs = run_command('python3', '-c', 'import sphinx_tabs', check: false)
if python_sphinx_tabs.returncode() != 0
- error('missing doc dependency: python python-sphinx-tabs')
+ error('missing doc dependency: python sphinx-tabs')
endif
endif
message('------------------------')