diff options
author | Remi Gacogne | 2023-09-13 14:53:57 +0200 |
---|---|---|
committer | Remi Gacogne | 2023-09-13 14:55:01 +0200 |
commit | bd8f84318532c2fdec4e72e240d17eaccb6d50cc (patch) | |
tree | c6b826dcf3e57af6f9ee10e570d965959d516156 /PKGBUILD | |
parent | 1970b0e32fabc380e4c9616c6b3e1075a8bca80d (diff) | |
download | aur-powerdns-recursor-git.tar.gz |
powerdns-recursor-git: 5.0-alpha1 requires Rust
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 15 |
1 files changed, 8 insertions, 7 deletions
@@ -1,6 +1,6 @@ # Maintainer: Remi Gacogne <rgacogne-arch at archlinux dot org> pkgname=powerdns-recursor-git -pkgver=4.5.0alpha0.r133.gfb8b7ee85 +pkgver=5.0.0alpha1.r2.g1116ade49 pkgrel=1 pkgdesc='Resolving DNS server' arch=('x86_64') @@ -10,11 +10,12 @@ source=("${pkgname}::git+https://github.com/PowerDNS/pdns" sysusers.conf) sha512sums=('SKIP' '63b3f0664d38fbbcb6b1c914cee050a27eca0a15550962973743580dd5d3ace2e68272ca2d856d53cc74001fe9246d61207ebbc74524c096736777ed08c88e72') -makedepends=('boost' 'git' 'pandoc' 'python-virtualenv' 'ragel' 'systemd') -depends=('boost-libs' 'fstrm' 'libsodium' 'libsystemd' 'luajit' 'net-snmp' 'openssl' 'protobuf' ) +makedepends=('boost' 'git' 'pandoc' 'python-virtualenv' 'ragel' 'rust' 'systemd' 'lld') +depends=('boost-libs' 'fstrm' 'libboost_context.so' 'libcurl.so' 'libsodium' 'systemd-libs' 'luajit' 'net-snmp' 'openssl') provides=('powerdns-recursor') conflicts=('powerdns-recursor') backup=('etc/powerdns/recursor.conf') +options=(!lto) prepare() { cd "${pkgname}/pdns/recursordist" @@ -35,9 +36,11 @@ build() { --disable-silent-rules \ --enable-reproducible \ --enable-systemd \ - --with-protobuf \ + --enable-dns-over-tls \ --with-libsodium \ --with-lua=luajit \ + --with-net-snmp \ + --enable-auto-var-init=zero \ --with-service-user=pdns-recursor \ --with-service-group=pdns-recursor make @@ -47,9 +50,7 @@ package() { cd "${pkgname}/pdns/recursordist/" make DESTDIR="${pkgdir}" install mv "${pkgdir}/etc/powerdns/recursor.conf-dist" "${pkgdir}/etc/powerdns/recursor.conf" - - cd "${srcdir}" - install -D -m644 sysusers.conf "${pkgdir}/usr/lib/sysusers.d/powerdns-recursor.conf" + install -Dm 644 "${srcdir}/sysusers.conf" "${pkgdir}/usr/lib/sysusers.d/powerdns-recursor.conf" } # vim: ts=2 sw=2 et: |