Commit 2c5dd909 authored by tcely's avatar tcely Committed by Leonardo Arena

testing/knot-resolver: add dnstap module

parent 65645f16
......@@ -11,11 +11,13 @@ license="GPL-3.0"
pkgusers="kresd"
pkggroups="kresd"
depends="lua5.1-sec lua5.1-socket"
depends_dev="knot-dev libedit-dev libuv-dev luajit-dev"
depends_dnstap=""
depends_dnstap_dev="fstrm-dev protobuf-c-dev"
depends_dev="knot-dev libedit-dev libuv-dev luajit-dev $depends_dnstap_dev"
makedepends="$depends_dev bash vim"
checkdepends="cmocka-dev"
install="$pkgname.pre-install"
subpackages="$pkgname-mod-http:http:noarch $pkgname-dev $pkgname-doc $pkgname-openrc"
subpackages="$pkgname-mod-http:http:noarch $pkgname-mod-dnstap:dnstap $pkgname-dev $pkgname-doc $pkgname-openrc"
source="https://secure.nic.cz/files/$pkgname/$pkgname-$pkgver.tar.xz
$pkgname.initd
$pkgname.confd
......@@ -74,6 +76,15 @@ http() {
mv "$pkgdir"/$moddir/http* "$subpkgdir"/$moddir/
}
dnstap() {
pkgdesc="Knot Resolver - dnstap logging"
depends="$depends_dnstap"
local moddir="usr/lib/kdns_modules"
mkdir -p "$subpkgdir"/$moddir
mv "$pkgdir"/$moddir/dnstap.so "$subpkgdir"/$moddir/
}
sha512sums="e80163a1790c5855921ae1536950b77fb74b73b75234920e49ffb956f799820b53ccacb5e6eafabe96fd0a7c1c67424a1cb687cadbe7e68db57294df7e461f3f knot-resolver-3.2.0.tar.xz
0e9b947ed0fe39a600ba8fe3cdeacf07521cdd6c371007dd15524f67c75ea024994a8c11820d70c57ef180c90f492eae69ef167152ad84c24a47c885710a7974 knot-resolver.initd
9d0d629405df243dc0f782abd6fcaaaf13fbce78d881f7ce213cfd2a55cfbfd87af2ba976061bf7b5d3d055edec98b42632395390f2a469648c27f96124997a6 knot-resolver.confd
......
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