New package: dnsdist-1.6.0
This commit is contained in:
parent
3592ccfda5
commit
87250687a4
3 changed files with 41 additions and 0 deletions
4
srcpkgs/dnsdist/files/dnsdist/run
Normal file
4
srcpkgs/dnsdist/files/dnsdist/run
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
#!/bin/sh
|
||||||
|
[ -f ./conf ] && . ./conf
|
||||||
|
MAX_OPEN_FILES=${MAX_OPEN_FILES:-2048}
|
||||||
|
exec chpst -o $MAX_OPEN_FILES dnsdist --uid _dnsdist --gid _dnsdist --supervised --disable-syslog
|
36
srcpkgs/dnsdist/template
Normal file
36
srcpkgs/dnsdist/template
Normal file
|
@ -0,0 +1,36 @@
|
||||||
|
# Template file for 'dnsdist'
|
||||||
|
pkgname=dnsdist
|
||||||
|
version=1.6.0
|
||||||
|
revision=1
|
||||||
|
build_style=gnu-configure
|
||||||
|
configure_args="--with-pic --with-gnu-ld --with-libsodium --with-re2
|
||||||
|
--with-net-snmp --with-libcap --with-libssl --enable-dnscrypt
|
||||||
|
--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
|
||||||
|
lua54-devel openssl-devel lmdb-devel fstrm-devel libedit-devel h2o-devel"
|
||||||
|
short_desc="Dynamic DNS loadbalancer"
|
||||||
|
maintainer="JailBird <jailbird@fdf.net>"
|
||||||
|
license="GPL-2.0-only"
|
||||||
|
homepage="https://dnsdist.org/"
|
||||||
|
distfiles="https://downloads.powerdns.com/releases/${pkgname}-${version}.tar.bz2"
|
||||||
|
checksum=a7783a04d8d4ad2b0168ffaaf85ef95d5f557057b0462280684dd799d0cdd292
|
||||||
|
|
||||||
|
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
|
||||||
|
}
|
1
srcpkgs/dnsdist/update
Normal file
1
srcpkgs/dnsdist/update
Normal file
|
@ -0,0 +1 @@
|
||||||
|
ignore="*alpha[0-9]* *rc[0-9]* *beta[0-9]*"
|
Loading…
Add table
Add a link
Reference in a new issue