summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorTomas Krizek2018-07-03 12:40:42 +0200
committerTomas Krizek2018-07-03 12:40:42 +0200
commit1e7d6bb6b8d42ff8d0ecdb01e043cba75bcd7cea (patch)
tree203d68905d6efbbbc2998a3b0905e68e717db6cc
parent60e6f80d60456a20052564107620cf90327170f8 (diff)
downloadaur-1e7d6bb6b8d42ff8d0ecdb01e043cba75bcd7cea.tar.gz
update to 2.4.0
-rw-r--r--.SRCINFO11
-rw-r--r--PKGBUILD22
2 files changed, 20 insertions, 13 deletions
diff --git a/.SRCINFO b/.SRCINFO
index ebb5e5ab922..c6f0dbf1715 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = knot-resolver
pkgdesc = full caching DNS resolver implementation
- pkgver = 2.3.0
+ pkgver = 2.4.0
pkgrel = 1
url = https://www.knot-resolver.cz/
install = install
@@ -8,7 +8,7 @@ pkgbase = knot-resolver
license = GPL3
depends = cmocka
depends = gnutls
- depends = knot>=2.6.4
+ depends = knot>=2.6.7
depends = libedit
depends = libsystemd
depends = libuv
@@ -16,10 +16,13 @@ pkgbase = knot-resolver
depends = lua51-sec
depends = lua51-socket
depends = luajit
- source = https://secure.nic.cz/files/knot-resolver/knot-resolver-2.3.0.tar.xz
+ options = debug
+ options = strip
+ backup = etc/knot-resolver/kresd.conf
+ source = https://secure.nic.cz/files/knot-resolver/knot-resolver-2.4.0.tar.xz
source = kresd.conf
source = root.keys
- sha256sums = 2d19c5daf8440bd3d2acd1886b9ede65f04f7753c6fd4618a92a1a4ba3b27a9b
+ sha256sums = 8c88c73dd50dad6f371bfc170f49cd374022e59f8005ac1fa6cd99764f72b4d1
sha256sums = 929658c7432252d5123ff11ee07759c595c8f5a3f4320a62d451a5f69cd2254a
sha256sums = 06c74ef5ef53344c78c9af2b29dc458a2abe93f1bff429705955c033e7a0686f
diff --git a/PKGBUILD b/PKGBUILD
index db7134f593a..9d51151756f 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,17 +2,18 @@
# Contributor: Ondřej Surý <ondrej@sury.org>
pkgname=knot-resolver
-pkgver=2.3.0
+pkgver=2.4.0
pkgrel=1
pkgdesc='full caching DNS resolver implementation'
url='https://www.knot-resolver.cz/'
arch=('x86_64')
license=('GPL3')
backup=('etc/knot-resolver/kresd.conf')
+options=(debug strip)
install=install
depends=('cmocka'
'gnutls'
- 'knot>=2.6.4'
+ 'knot>=2.6.7'
'libedit'
'libsystemd'
'libuv'
@@ -26,7 +27,7 @@ source=("https://secure.nic.cz/files/${pkgname}/${pkgname}-${pkgver}.tar.xz"
_makevars="PREFIX=/usr SBINDIR=/usr/bin LIBDIR=/usr/lib INCLUDEDIR=/usr/include ETCDIR=/etc/knot-resolver V=1"
-sha256sums=('2d19c5daf8440bd3d2acd1886b9ede65f04f7753c6fd4618a92a1a4ba3b27a9b'
+sha256sums=('8c88c73dd50dad6f371bfc170f49cd374022e59f8005ac1fa6cd99764f72b4d1'
'929658c7432252d5123ff11ee07759c595c8f5a3f4320a62d451a5f69cd2254a'
'06c74ef5ef53344c78c9af2b29dc458a2abe93f1bff429705955c033e7a0686f')
@@ -44,12 +45,15 @@ package() {
cd "${srcdir}/${pkgname}-${pkgver}"
make ${_makevars} DESTDIR="${pkgdir}" install
- install -Dm 0644 "${srcdir}/${pkgname}-${pkgver}/systemd/kresd.socket" "${pkgdir}/usr/lib/systemd/system/kresd.socket"
- install -Dm 0644 "${srcdir}/${pkgname}-${pkgver}/systemd/kresd-control@.socket" "${pkgdir}/usr/lib/systemd/system/kresd-control@.socket"
- install -Dm 0644 "${srcdir}/${pkgname}-${pkgver}/systemd/kresd-tls.socket" "${pkgdir}/usr/lib/systemd/system/kresd-tls.socket"
- install -Dm 0644 "${srcdir}/${pkgname}-${pkgver}/systemd/kresd@.service" "${pkgdir}/usr/lib/systemd/system/kresd@.service"
- install -Dm 0644 "${srcdir}/${pkgname}-${pkgver}/doc/kresd.systemd.7" "${pkgdir}/usr/share/man/man7/kresd.systemd.7"
- install -Dm 0644 "${srcdir}/${pkgname}-${pkgver}/systemd/tmpfiles/knot-resolver.conf" "${pkgdir}/usr/lib/tmpfiles.d/knot-resolver.conf"
+ install -Dm 0644 "${srcdir}/${pkgname}-${pkgver}/distro/common/systemd/kresd.socket" "${pkgdir}/usr/lib/systemd/system/kresd.socket"
+ install -Dm 0644 "${srcdir}/${pkgname}-${pkgver}/distro/common/systemd/kresd-control@.socket" "${pkgdir}/usr/lib/systemd/system/kresd-control@.socket"
+ install -Dm 0644 "${srcdir}/${pkgname}-${pkgver}/distro/common/systemd/kresd-tls.socket" "${pkgdir}/usr/lib/systemd/system/kresd-tls.socket"
+ install -Dm 0644 "${srcdir}/${pkgname}-${pkgver}/distro/common/systemd/kresd@.service" "${pkgdir}/usr/lib/systemd/system/kresd@.service"
+ install -Dm 0644 "${srcdir}/${pkgname}-${pkgver}/distro/common/systemd/kresd.target" "${pkgdir}/usr/lib/systemd/system/kresd.target"
+ install -dm 0755 "${pkgdir}/usr/lib/systemd/system/multi-user.target.wants"
+ ln -s ../kresd.target "${pkgdir}/usr/lib/systemd/system/multi-user.target.wants/kresd.target"
+ install -Dm 0644 "${srcdir}/${pkgname}-${pkgver}/distro/common/systemd/kresd.systemd.7" "${pkgdir}/usr/share/man/man7/kresd.systemd.7"
+ install -Dm 0644 "${srcdir}/${pkgname}-${pkgver}/distro/common/tmpfiles/knot-resolver.conf" "${pkgdir}/usr/lib/tmpfiles.d/knot-resolver.conf"
install -dm 0775 "${pkgdir}/etc/knot-resolver"
install -Dm 0644 "${srcdir}/kresd.conf" "${pkgdir}/etc/knot-resolver/kresd.conf"
install -Dm 0664 "${srcdir}/root.keys" "${pkgdir}/etc/knot-resolver/root.keys"