summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Gacogne2016-05-27 12:36:36 +0200
committerRemi Gacogne2016-05-27 12:36:36 +0200
commitbcb2fd36b45991b09914e3bafbd313c5303428a0 (patch)
treec964640804be8107c1b178a095d1d5bbc1886853
parent2d05b323ab454cbcc58d805ed9bedb06a11a07ce (diff)
downloadaur-bcb2fd36b45991b09914e3bafbd313c5303428a0.tar.gz
dnsdist now uses libsystemd and protobuf. Drop privileges on startup.
-rw-r--r--.SRCINFO8
-rw-r--r--PKGBUILD5
2 files changed, 8 insertions, 5 deletions
diff --git a/.SRCINFO b/.SRCINFO
index c5df0e1d6ed3..d74ea88acc83 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,8 +1,8 @@
# Generated by mksrcinfo v8
-# Sat Apr 2 15:46:03 UTC 2016
+# Fri May 27 10:36:09 UTC 2016
pkgbase = dnsdist-git
pkgdesc = Highly DNS-, DoS- and abuse-aware loadbalancer
- pkgver = r9883.13506cd
+ pkgver = r10371.f0b90d0
pkgrel = 1
url = http://dnsdist.org/
arch = i686
@@ -12,9 +12,11 @@ pkgbase = dnsdist-git
makedepends = git
makedepends = pandoc
makedepends = ragel
- depends = libsodium
depends = libedit
+ depends = libsodium
+ depends = libsystemd
depends = lua52
+ depends = protobuf
provides = dnsdist
conflicts = dnsdist
source = dnsdist-git::git+https://github.com/PowerDNS/pdns
diff --git a/PKGBUILD b/PKGBUILD
index 15f650dbfdfa..33f16d9d7087 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,6 +1,6 @@
# Maintainer: Remi Gacogne <rgacogne-arch at coredump dot fr>
pkgname=dnsdist-git
-pkgver=r9883.13506cd
+pkgver=r10371.f0b90d0
pkgrel=1
pkgdesc='Highly DNS-, DoS- and abuse-aware loadbalancer'
arch=('i686' 'x86_64')
@@ -9,7 +9,7 @@ license=('GPL2')
source=("${pkgname}::git+https://github.com/PowerDNS/pdns")
sha512sums=('SKIP')
makedepends=('boost' 'git' 'pandoc' 'ragel')
-depends=('libsodium' 'libedit' 'lua52' )
+depends=('libedit' 'libsodium' 'libsystemd' 'lua52' 'protobuf' )
provides=('dnsdist')
conflicts=('dnsdist')
@@ -32,6 +32,7 @@ build() {
package() {
cd "${srcdir}/${pkgname}/pdns/dnsdistdist/"
+ sed -i 's,ExecStart=/usr/bin/dnsdist --supervised --disable-syslog,ExecStart=/usr/bin/dnsdist --supervised --disable-syslog -u nobody -g nobody,' dnsdist.service
make DESTDIR="${pkgdir}" install
install -D -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}