summaryrefslogtreecommitdiff
path: root/pcr/knot
diff options
context:
space:
mode:
authorNicolás Reynolds <fauno@endefensadelsl.org>2015-03-02 16:45:37 -0300
committerNicolás Reynolds <fauno@endefensadelsl.org>2015-03-02 19:49:42 -0300
commit30f19f32b177d2795bd6725a10e5999c50e9f539 (patch)
tree44aa977c7e892de7c05ace54eb83b521cc5bb8b3 /pcr/knot
parent463aaa2157ca1c3aa42d5f9663b015fe98255522 (diff)
knot: rebuild because of /usr/sbin
Diffstat (limited to 'pcr/knot')
-rw-r--r--pcr/knot/PKGBUILD9
1 files changed, 7 insertions, 2 deletions
diff --git a/pcr/knot/PKGBUILD b/pcr/knot/PKGBUILD
index f16d9a5c9..7ca59b789 100644
--- a/pcr/knot/PKGBUILD
+++ b/pcr/knot/PKGBUILD
@@ -5,14 +5,14 @@
pkgname=knot
pkgver=1.6.2
-pkgrel=1
+pkgrel=2
pkgdesc='high-performance authoritative-only DNS server'
url='https://www.knot-dns.cz/'
arch=('i686' 'x86_64')
license=('GPL3')
install=install
depends=('liburcu' 'openssl>=1.0.0' 'zlib')
-makedepends=('autoconf>=2.65' 'libtool' 'flex>=2.5.3' 'bison>=2.3')
+makedepends=('autoconf>=2.65' 'libtool' 'flex>=2.5.3' 'bison>=2.3' 'systemd')
source=("https://secure.nic.cz/files/knot-dns/${pkgname}-${pkgver}.tar.xz"{,.asc}
'knot.service')
md5sums=('a1859b9e89c1719a764d95bcb8232197'
@@ -23,14 +23,19 @@ validpgpkeys=('DEF35D16E5AE59D820BDF780ACE24DA9EE37A832')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
+# export systemd_CFLAGS="-I/usr/include" \
+# systemd_LIBS="-L/usr/lib -lsystemd"
+
./configure \
--prefix /usr \
--sysconfdir=/etc \
--localstatedir=/var/lib \
--libexecdir=/usr/lib/knot \
+ --sbindir=/usr/bin \
--with-rundir=/run/knot \
--with-storage=/var/lib/knot \
--enable-recvmmsg=yes \
+ --enable-systemd=yes \
--disable-silent-rules
make