blob: f16d9a5c9dd33faab251669728a6cdc219dc837d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
|
# Maintainer : Aurélien DESBRIÈRES <aurelien@hackers.camp>
# Contributor: Ondřej Surý <ondrej@sury.
# Contributor: Oleander Reis <oleander@oleander.cc>
# Contributor: Otto Sabart <seberm[at]gmail[dot]com>
pkgname=knot
pkgver=1.6.2
pkgrel=1
pkgdesc='high-performance authoritative-only DNS server'
url='https://www.knot-dns.cz/'
arch=('i686' 'x86_64')
license=('GPL3')
install=install
depends=('liburcu' 'openssl>=1.0.0' 'zlib')
makedepends=('autoconf>=2.65' 'libtool' 'flex>=2.5.3' 'bison>=2.3')
source=("https://secure.nic.cz/files/knot-dns/${pkgname}-${pkgver}.tar.xz"{,.asc}
'knot.service')
md5sums=('a1859b9e89c1719a764d95bcb8232197'
'SKIP'
'4f775e901f66bf4c9d231493eeb8d72a')
validpgpkeys=('DEF35D16E5AE59D820BDF780ACE24DA9EE37A832')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
./configure \
--prefix /usr \
--sysconfdir=/etc \
--localstatedir=/var/lib \
--libexecdir=/usr/lib/knot \
--with-rundir=/run/knot \
--with-storage=/var/lib/knot \
--enable-recvmmsg=yes \
--disable-silent-rules
make
}
check() {
cd "${srcdir}/${pkgname}-${pkgver}"
make check
}
package() {
cd "${srcdir}/${pkgname}-${pkgver}"
make DESTDIR="${pkgdir}/" install
install -Dm 644 "${srcdir}/knot.service" "${pkgdir}/usr/lib/systemd/system/knot.service"
}
check() {
cd "${srcdir}/${pkgname}-${pkgver}"
make check
}
|