Update to PowerDNS Recursor 4.5.1; reads good sthen@

This commit is contained in:
otto 2021-05-12 05:49:47 +00:00
parent 39bbb0cb59
commit 1f69e99e6f
4 changed files with 14 additions and 22 deletions

View File

@ -1,8 +1,8 @@
# $OpenBSD: Makefile,v 1.18 2021/03/31 08:04:31 otto Exp $
# $OpenBSD: Makefile,v 1.19 2021/05/12 05:49:47 otto Exp $
COMMENT= recursive nameserver
V= 4.4.3
V= 4.5.1
DISTNAME= pdns-recursor-${V}
EXTRACT_SUFX = .tar.bz2
PKGNAME= powerdns-recursor-${V}
@ -16,7 +16,7 @@ PERMIT_PACKAGE= Yes
WANTLIB+= ${COMPILER_LIBCXX} boost_context-mt boost_filesystem-mt
WANTLIB+= boost_system-mt boost_thread-mt c crypto fstrm m
WANTLIB+= protobuf sodium z
WANTLIB+= sodium z
MASTER_SITES= https://downloads.powerdns.com/releases/
MAINTAINER= Otto Moerbeek <otto@drijf.net>
@ -27,7 +27,6 @@ NO_TEST= Yes
LIB_DEPENDS= devel/boost \
devel/boost,-md \
devel/protobuf \
net/libfstrm \
security/libsodium
@ -44,14 +43,13 @@ USE_GMAKE= Yes
CONFIGURE_ARGS+= --disable-botan \
--disable-libdecaf \
--with-protobuf \
--enable-dnstap \
--with-lua=${MODLUA_DEP} \
--without-net-snmp \
--without-systemd
CONFIGURE_ENV+= CPPFLAGS="-I${LOCALBASE}/include" \
CXXFLAGS="-Wno-deprecated-copy" \
CXXFLAGS="-Wno-deprecated-copy -Wno-deprecated-declarations" \
LDFLAGS="-L${LOCALBASE}/lib"
EXAMPLE_DIR= ${PREFIX}/share/examples/pdns/

View File

@ -1,2 +1,2 @@
SHA256 (pdns-recursor-4.4.3.tar.bz2) = +EESWBAMwxDHVxDX9NWbXrR5f0N/cdxGbtl6g/G6vgU=
SIZE (pdns-recursor-4.4.3.tar.bz2) = 1398743
SHA256 (pdns-recursor-4.5.1.tar.bz2) = NyGh0OQ4poNzX1GNsekdpqzhuQ+/25xYitq98WQRTnk=
SIZE (pdns-recursor-4.5.1.tar.bz2) = 1463138

View File

@ -3,8 +3,7 @@ setuid=_pdns_recursor
setgid=_pdns_recursor
chroot=/var/pdns_recursor
# Uncomment to use ipv6 for outgoing queries, or specify specific src addr
#query-local-address6=::
# Add :: or specific v6 src address to query-local-address to enable outgoing
# Uncomment to validate dnssec signed zones
#dnssec=validate

View File

@ -1,18 +1,13 @@
$OpenBSD: README,v 1.1.1.1 2018/12/29 14:29:08 sthen Exp $
$OpenBSD: README,v 1.2 2021/05/12 05:49:48 otto Exp $
+-------------------------------------------------------------------------------
| Running ${PKGSTEM} on OpenBSD
+-------------------------------------------------------------------------------
Some rec_control(1) commands (e.g. dump-cache) need to write files inside
the chroot jail (by default, /var/pdns_recursor). If you would like to use
these, create a directory with suitable permissions, for example:
Previous version of rec_control(1) would write to file from within
the chroot powerdns_recursor(8) is running in. As of version 4.5.0,
the file are created by the rec_control command, using the credentials
and current working directory of the process running rec_control.
It is also possible to write to stdout by specifying `-' as file.
# mkdir /var/pdns_recursor/tmp
# chown _pdns_recursor:wheel /var/pdns_recursor/tmp
# chmod 770 /var/pdns_recursor/tmp
Then commands like the following can be used (the path given is relative
to the chroot directory):
# rec_control dump-cache /tmp/cache.txt
See https://docs.powerdns.com/recursor/upgrade.html for more details.