aboutsummaryrefslogtreecommitdiffstats
path: root/community/dnsdist
diff options
context:
space:
mode:
authorMark Zealey <mark@markandruth.co.uk>2020-03-28 16:00:10 +0300
committerLeo <thinkabit.ukim@gmail.com>2020-03-28 18:34:50 +0000
commitb43cf0ddad95179978d909e8c8eb807d3cb4bedd (patch)
treebe434ca3a866c29ef8a02365a90c2bf6b85631e0 /community/dnsdist
parentd7f082d7f749481c98a5aeb0d938e6ae2b15cedd (diff)
downloadaports-b43cf0ddad95179978d909e8c8eb807d3cb4bedd.tar.bz2
aports-b43cf0ddad95179978d909e8c8eb807d3cb4bedd.tar.xz
community/dnsdist: Enable DoH support
Diffstat (limited to 'community/dnsdist')
-rw-r--r--community/dnsdist/APKBUILD10
1 files changed, 7 insertions, 3 deletions
diff --git a/community/dnsdist/APKBUILD b/community/dnsdist/APKBUILD
index 6af672f8fc..f48288ad14 100644
--- a/community/dnsdist/APKBUILD
+++ b/community/dnsdist/APKBUILD
@@ -2,7 +2,7 @@
# Maintainer:
pkgname=dnsdist
pkgver=1.4.0
-pkgrel=0
+pkgrel=1
pkgdesc="dnsdist is a highly DNS-, DoS-, and abuse-aware loadbalancer."
url="https://dnsdist.org"
arch="all"
@@ -11,7 +11,7 @@ _lua_version="5.1"
depends="$pkgname-common !$pkgname-luajit"
checkdepends="findutils"
makedepends="boost-dev fstrm-dev libedit-dev libsodium-dev lua$_lua_version-dev
- net-snmp-dev protobuf-dev re2-dev luajit-dev"
+ net-snmp-dev protobuf-dev re2-dev luajit-dev h2o-dev wslay-dev"
pkgusers="dnsdist"
pkggroups="dnsdist"
install="$pkgname-common.pre-install"
@@ -42,7 +42,10 @@ _configure() {
alpinelinux-linux/arm-armhf) _unit_tests="${_unit_tests}=no" ;;
esac
- ./configure \
+ # LIBH2OEVLOOP_LIBS env variable is because of a pkgconfig bug as per
+ # https://bugs.launchpad.net/ubuntu/+source/h2o/+bug/1826152 and can be
+ # removed when fixed upstream.
+ LIBH2OEVLOOP_LIBS="-lh2o-evloop -lwslay" ./configure \
--build="$CBUILD" \
--host="$CHOST" \
--prefix=/usr \
@@ -50,6 +53,7 @@ _configure() {
--mandir=/usr/share/man \
--enable-dnscrypt \
--enable-dns-over-tls \
+ --enable-dns-over-https \
--enable-re2 \
${_unit_tests} \
--with-protobuf \