summaryrefslogtreecommitdiff
path: root/dnsdist
diff options
context:
space:
mode:
Diffstat (limited to 'dnsdist')
-rw-r--r--dnsdist/PKGBUILD24
1 files changed, 12 insertions, 12 deletions
diff --git a/dnsdist/PKGBUILD b/dnsdist/PKGBUILD
index 9fae30f70..19f5f53c5 100644
--- a/dnsdist/PKGBUILD
+++ b/dnsdist/PKGBUILD
@@ -1,20 +1,21 @@
# Maintainer: Erich Eckner <arch at eckner dot net>
# Contributor: Remi Gacogne <rgacogne at archlinux dot org>
pkgname=dnsdist
-pkgver=1.7.3
+pkgver=1.8.0
_pkgver=${pkgver#*_}
_pkgver=${_pkgver//_/-}
-pkgrel=24
+pkgrel=1
pkgdesc='Highly DNS-, DoS- and abuse-aware loadbalancer'
arch=('x86_64')
url='https://dnsdist.org/'
license=('GPL2')
source=(https://downloads.powerdns.com/releases/${pkgname}-${_pkgver}.tar.bz2{,.asc}
sysusers.conf)
-sha512sums=('2a39096709db5b41cf3bd21170689bc85ad2cd550896d02ddd85eff7410780ea59d6cf8e08b0a08962ee93b49b7f3228dfa649275453215e23c25098aca40e1a'
+sha512sums=('426db3e83729bd2f8a8c8b1c02d719c6618acc0aec09d1f2670c159d441c1cad2fdc85c5ffe919e76d1b1e8e24198bf29133802cb857dfacde2dfed2532001f1'
'SKIP'
'd55ccd612cbe08b353815027d30a3b0f0ec7bf6b0d74a0a634939be53ce6e6b41d23e54c2328946f00738c03e9f306ce4f2dabe5e4b11d9fb28d0abf49917893')
-validpgpkeys=('FBAE0323821C7706A5CA151BDCF513FA7EED19F3')
+validpgpkeys=('D6300CABCBF469BBE392E503A208ED4F8AF58446' # Remi Gacogne <remi.gacogne@powerdns.com>
+ 'FBAE0323821C7706A5CA151BDCF513FA7EED19F3') # Peter van Dijk <peter.van.dijk@powerdns.com>
makedepends=('boost' 'systemd')
_pinned_dependencies=(
'fstrm=0.6.1'
@@ -34,11 +35,7 @@ _pinned_dependencies=(
'luajit=2.1.0.beta3.r481.g51fb2f2c'
'net-snmp=5.9.1'
)
-depends=('h2o' "${_pinned_dependencies[@]}")
-
-prepare() {
- cd "${pkgname}-${_pkgver}"
-}
+depends=('h2o' 'openssl' 'tinycdb' "${_pinned_dependencies[@]}")
build() {
cd "${pkgname}-${_pkgver}"
@@ -47,18 +44,21 @@ build() {
--sysconfdir=/etc \
--localstatedir=/var \
--with-ebpf \
- --with-protobuf \
--with-gnutls \
--with-libsodium \
--with-libssl \
+ --with-nghttp2 \
--with-re2 \
--enable-dnstap \
--enable-dns-over-tls \
--enable-dns-over-https \
--enable-dnscrypt \
- --enable-systemd
+ --enable-systemd \
+ --enable-lto=thin \
+ --enable-auto-var-init=zero \
+ --with-service-user=dnsdist \
+ --with-service-group=dnsdist
make
- sed -i 's,CapabilityBoundingSet=CAP_NET_BIND_SERVICE CAP_SETGID CAP_SETUID,CapabilityBoundingSet=CAP_NET_BIND_SERVICE\nAmbientCapabilities=CAP_NET_BIND_SERVICE\nUser=dnsdist\nGroup=dnsdist,' dnsdist.service
}
package() {