Subject: [alpine-aports] [PATCH] community/knot-resolver: use system lmdb

From: alpine-mips-patches <[email-masked]>
Date: Mon, 1 Apr 2019 14:41:05 +0000

LMDB version in contrib/lmdb is 0.9.21, while the system lmdb is at
0.9.23 with some notable fixes. This change also avoids the need to
duplicate main/lmdb/cacheflush.patch to resolve the build on mips*.

The community/knot aport depends on the system lmdb too.

Note the lmdb-dev is added to depends_dev to be consistent with the
existing APKBUILD approach even if that seems unneeded and probably
requires some general cleanup.
---
 community/knot-resolver/APKBUILD | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/community/knot-resolver/APKBUILD b/community/knot-resolver/APKBUILD
index b64edfbdf0..99510251d1 100644
--- a/community/knot-resolver/APKBUILD
+++ b/community/knot-resolver/APKBUILD
@@ -2,7 +2,7 @@
 # Maintainer: tcely <[email-masked]>
 pkgname=knot-resolver
 pkgver=3.2.1
-pkgrel=1
+pkgrel=2
 pkgdesc="Minimalistic caching DNS resolver implementation"
 url="https://www.knot-resolver.cz/"
 # luajit is not available for disabled arches
@@ -14,7 +14,7 @@ depends="lua5.1-sec lua5.1-socket"
 depends_dnstap=""
 depends_dnstap_dev="fstrm-dev protobuf-c-dev"
 depends_http="$pkgname lua5.1-http"
-depends_dev="knot-dev>=2.8.0 libedit-dev libuv-dev luajit-dev $depends_dnstap_dev"
+depends_dev="knot-dev>=2.8.0 libedit-dev libuv-dev luajit-dev lmdb-dev $depends_dnstap_dev"
 makedepends="$depends_dev bash dnssec-root vim"
 checkdepends="cmocka-dev"
 install="$pkgname.pre-install"
-- 
2.21.0

---
Unsubscribe:  [email-masked]
Help:         [email-masked]
---