2021-07-27 02:11:45 +02:00
|
|
|
# Template file for 'dnsdist'
|
|
|
|
pkgname=dnsdist
|
2022-01-19 07:10:39 +01:00
|
|
|
version=1.7.0
|
2021-07-27 02:11:45 +02:00
|
|
|
revision=1
|
|
|
|
build_style=gnu-configure
|
|
|
|
configure_args="--with-pic --with-gnu-ld --with-libsodium --with-re2
|
2022-01-19 07:10:39 +01:00
|
|
|
--with-net-snmp --with-libcap --with-libssl --enable-dnscrypt --with-nghttp2
|
2021-07-27 02:11:45 +02:00
|
|
|
--with-libcrypto=${XBPS_CROSS_BASE}/usr --with-service-user=_dnsdist
|
|
|
|
--with-service-group=_dnsdist --sbindir=/usr/bin --without-gnutls --with-lmdb
|
|
|
|
--enable-dns-over-tls --enable-dns-over-https --sysconfdir=/etc/dnsdist"
|
|
|
|
conf_files="/etc/dnsdist/dnsdist.conf"
|
|
|
|
hostmakedepends="autoconf automake pkgconf"
|
|
|
|
makedepends="libsodium-devel boost-devel re2-devel net-snmp-devel libcap-devel
|
2022-01-19 07:10:39 +01:00
|
|
|
lua54-devel openssl-devel lmdb-devel fstrm-devel libedit-devel h2o-devel
|
|
|
|
nghttp2-devel"
|
2021-07-27 02:11:45 +02:00
|
|
|
short_desc="Dynamic DNS loadbalancer"
|
|
|
|
maintainer="JailBird <jailbird@fdf.net>"
|
|
|
|
license="GPL-2.0-only"
|
|
|
|
homepage="https://dnsdist.org/"
|
2022-01-19 07:10:39 +01:00
|
|
|
changelog="https://dnsdist.org/changelog.html"
|
2021-07-27 02:11:45 +02:00
|
|
|
distfiles="https://downloads.powerdns.com/releases/${pkgname}-${version}.tar.bz2"
|
2022-01-19 07:10:39 +01:00
|
|
|
checksum=78cc72cb0ccf7fb5f3f2fae09c79eda65a5256374da09bb541b735ea6868fc64
|
2021-07-27 02:11:45 +02:00
|
|
|
|
|
|
|
system_accounts="_dnsdist"
|
|
|
|
|
|
|
|
if [ "$XBPS_TARGET_WORDSIZE" = 32 ]; then
|
|
|
|
# This can be removed once MUSL is updated to 1.2.x
|
|
|
|
broken="no y2038 support"
|
|
|
|
fi
|
|
|
|
|
|
|
|
pre_configure() {
|
|
|
|
export LMDB_LIBS="-llmdb"
|
|
|
|
}
|
|
|
|
|
|
|
|
post_install() {
|
|
|
|
vinstall dnsdistconf.lua 644 etc/dnsdist dnsdist.conf
|
|
|
|
vsv dnsdist
|
|
|
|
}
|