View | Details | Raw Unified | Return to bug 255842 | Differences between
and this patch

Collapse All | Expand All

(-)b/dns/powerdns-recursor/Makefile (-3 / +5 lines)
Lines 2-7 Link Here
2
2
3
PORTNAME=	recursor
3
PORTNAME=	recursor
4
DISTVERSION=	4.5.1
4
DISTVERSION=	4.5.1
5
PORTREVISION=	1
5
CATEGORIES=	dns
6
CATEGORIES=	dns
6
MASTER_SITES=	http://downloads.powerdns.com/releases/
7
MASTER_SITES=	http://downloads.powerdns.com/releases/
7
PKGNAMEPREFIX=	powerdns-
8
PKGNAMEPREFIX=	powerdns-
Lines 15-29 LICENSE_FILE= ${WRKSRC}/COPYING Link Here
15
16
16
BROKEN_armv6=	fails to compile: use of overloaded operator << is ambiguous
17
BROKEN_armv6=	fails to compile: use of overloaded operator << is ambiguous
17
BROKEN_armv7=	fails to compile: use of overloaded operator << is ambiguous
18
BROKEN_armv7=	fails to compile: use of overloaded operator << is ambiguous
18
BROKEN_i386=	crashes on startup (SIGSEGV)
19
BROKEN_FreeBSD_12_powerpc64=	fails to compile: Assembler messages: unaligned opcodes detected in executable segment
19
BROKEN_FreeBSD_12_powerpc64=	fails to compile: Assembler messages: unaligned opcodes detected in executable segment
20
NOT_FOR_ARCHS=	i386
21
NOT_FOR_ARCHS_REASON=	archs with 32-bits time_t are no longer supported by upstream
20
22
21
BUILD_DEPENDS=	${LOCALBASE}/include/boost/shared_ptr.hpp:devel/boost-libs
23
BUILD_DEPENDS=	${LOCALBASE}/include/boost/shared_ptr.hpp:devel/boost-libs
22
LIB_DEPENDS=	libboost_context.so:devel/boost-libs \
24
LIB_DEPENDS=	libboost_context.so:devel/boost-libs \
23
		libprotobuf.so:devel/protobuf
25
		libprotobuf.so:devel/protobuf
24
26
25
USES=		autoreconf compiler:c++11-lib cpe gmake libtool localbase:ldflags \
27
USES=		autoreconf compiler:c++11-lib cpe gmake libtool \
26
		pkgconfig ssl tar:bzip2
28
		localbase:ldflags pkgconfig ssl tar:bzip2
27
29
28
CPE_VENDOR=	powerdns
30
CPE_VENDOR=	powerdns
29
USE_RC_SUBR=	pdns-recursor
31
USE_RC_SUBR=	pdns-recursor
(-)b/dns/powerdns-recursor/files/pdns-recursor.in (-1 / +6 lines)
Lines 25-33 pdns_recursor_enable=${pdns_recursor_enable:-"NO"} Link Here
25
pdns_recursor_conf=${pdns_recursor_conf:-"%%PREFIX%%/etc/pdns/recursor.conf"}
25
pdns_recursor_conf=${pdns_recursor_conf:-"%%PREFIX%%/etc/pdns/recursor.conf"}
26
required_files=${pdns_recursor_conf}
26
required_files=${pdns_recursor_conf}
27
27
28
# run_rc_command would send ${name}_flags as parameters to $command (daemon)
29
# This ensures they are actually passed to pdns_recursor instead.
30
actual_pdns_recursor_flags="${pdns_recursor_flags}"
31
pdns_recursor_flags=""
32
28
pidfile="/var/run/${name}.pid"
33
pidfile="/var/run/${name}.pid"
29
actual_command="%%PREFIX%%/sbin/${name}"
34
actual_command="%%PREFIX%%/sbin/${name}"
30
command="/usr/sbin/daemon"
35
command="/usr/sbin/daemon"
31
command_args="-c -f -r -P ${pidfile} ${actual_command} --daemon=no --write-pid=no"
36
command_args="-c -f -r -P ${pidfile} ${actual_command} --daemon=no --write-pid=no ${actual_pdns_recursor_flags}"
32
37
33
run_rc_command "$1"
38
run_rc_command "$1"

Return to bug 255842