modules/experimental_dot_auth: remove bundled basexx

parent 881ce205
......@@ -24,6 +24,7 @@ depends=(
'systemd'
)
optdepends=(
'lua51-basexx: experimental_dot_auth module',
'lua51-http: http module',
'lua51-filesystem: prefill module',
)
......
......@@ -40,6 +40,7 @@ Breaks:
libkres9 (<< 3.2.1-2),
Recommends:
knot-resolver-module-http,
lua-basexx,
lua-cqueues,
Description: caching, DNSSEC-validating DNS resolver
The Knot Resolver is a caching full resolver implementation
......
......@@ -47,12 +47,13 @@ BuildRequires: pkgconfig(libsystemd)
BuildRequires: pkgconfig(libuv)
BuildRequires: pkgconfig(luajit) >= 2.0
Requires: systemd
Requires: systemd
# Distro-dependent dependencies
%if 0%{?rhel}
BuildRequires: lmdb-devel
# Lua 5.1 version of the libraries have different package names
Requires: lua-basexx
Requires: lua-socket
Requires: lua-sec
Requires: lua-filesystem
......@@ -61,6 +62,7 @@ Requires(pre): shadow-utils
%if 0%{?fedora}
BuildRequires: pkgconfig(lmdb)
BuildRequires: python3-sphinx
Requires: compat-lua-basexx
Requires: lua-cqueues-compat
Requires: lua-filesystem-compat
Requires: lua-socket-compat
......@@ -179,6 +181,7 @@ install -m 0750 -d %{buildroot}/run/%{name}
# remove modules with missing dependencies
rm %{buildroot}%{_libdir}/knot-resolver/kres_modules/etcd.lua
%if 0%{?suse_version}
rm %{buildroot}%{_libdir}/knot-resolver/kres_modules/experimental_dot_auth.lua
rm -r %{buildroot}%{_libdir}/knot-resolver/kres_modules/http
rm %{buildroot}%{_libdir}/knot-resolver/kres_modules/http*.lua
rm %{buildroot}%{_libdir}/knot-resolver/kres_modules/prometheus.lua
......@@ -251,7 +254,9 @@ getent passwd knot-resolver >/dev/null || useradd -r -g knot-resolver -d %{_sysc
%{_libdir}/knot-resolver/kres_modules/detect_time_jump.lua
%{_libdir}/knot-resolver/kres_modules/detect_time_skew.lua
%{_libdir}/knot-resolver/kres_modules/dns64.lua
%if "x%{?suse_version}" == "x"
%{_libdir}/knot-resolver/kres_modules/experimental_dot_auth.lua
%endif
%{_libdir}/knot-resolver/kres_modules/graphite.lua
%{_libdir}/knot-resolver/kres_modules/policy.lua
%{_libdir}/knot-resolver/kres_modules/predict.lua
......
......@@ -80,5 +80,10 @@ if Knot Resolver uses data from its cache. You may need to delete the cache befo
The module also assumes that the NS query answer will return both the NS targets in the Authority section as well as the glue records in the Additional section.
Dependencies
^^^^^^^^^^^^
* `lua-basexx <https://github.com/aiq/basexx>`_ available in LuaRocks
.. _dnscurve: https://dnscurve.org/
.. _SPKI: https://en.wikipedia.org/wiki/Simple_public-key_infrastructure
This diff is collapsed.
......@@ -4,12 +4,6 @@ lua_mod_src += [
files('experimental_dot_auth.lua'),
]
# install bundled basexx dependency
install_data(
files('basexx.lua'),
install_dir: lib_dir,
)
# install static files
install_subdir(
'static',
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment