View | Details | Raw Unified | Return to bug 276520
Collapse All | Expand All

(-)b/dns/powerdns-recursor/Makefile (-4 / +19 lines)
Lines 1-9 Link Here
1
PORTNAME=	recursor
1
PORTNAME=	recursor
2
DISTVERSION=	4.9.2
2
DISTVERSION=	5.0.1
3
CATEGORIES=	dns
3
CATEGORIES=	dns
4
MASTER_SITES=	http://downloads.powerdns.com/releases/
4
MASTER_SITES=	http://downloads.powerdns.com/releases/
5
PKGNAMEPREFIX=	powerdns-
5
PKGNAMEPREFIX=	powerdns-
6
DISTNAME=	pdns-${PORTNAME}-${DISTVERSION}
6
DISTNAME=	pdns-${PORTNAME}-${DISTVERSION}
7
DISTFILES=	${DISTNAME}${EXTRACT_SUFX}
7
8
8
MAINTAINER=	tremere@cainites.net
9
MAINTAINER=	tremere@cainites.net
9
COMMENT=	Advanced DNS recursor
10
COMMENT=	Advanced DNS recursor
Lines 14-27 LICENSE_FILE= ${WRKSRC}/COPYING Link Here
14
15
15
BROKEN_armv6=	fails to compile: use of overloaded operator << is ambiguous
16
BROKEN_armv6=	fails to compile: use of overloaded operator << is ambiguous
16
BROKEN_armv7=	fails to compile: use of overloaded operator << is ambiguous
17
BROKEN_armv7=	fails to compile: use of overloaded operator << is ambiguous
18
BROKEN_FreeBSD_12_powerpc64=	fails to compile: Assembler messages: unaligned opcodes detected in executable segment
17
NOT_FOR_ARCHS=	i386
19
NOT_FOR_ARCHS=	i386
18
NOT_FOR_ARCHS_REASON=	archs with 32-bits time_t are no longer supported by upstream
20
NOT_FOR_ARCHS_REASON=	archs with 32-bits time_t are no longer supported by upstream
19
21
20
BUILD_DEPENDS=	${LOCALBASE}/include/boost/shared_ptr.hpp:devel/boost-libs
22
BUILD_DEPENDS=	${LOCALBASE}/include/boost/shared_ptr.hpp:devel/boost-libs
21
LIB_DEPENDS=	libboost_context.so:devel/boost-libs
23
LIB_DEPENDS=	libboost_context.so:devel/boost-libs \
24
		libcurl.so:ftp/curl
22
25
23
USES=		autoreconf compiler:c++11-lib cpe gmake libtool \
26
USES=		autoreconf cargo compiler:c++11-lib cpe gmake libtool \
24
		localbase:ldflags pkgconfig ssl tar:bzip2
27
		localbase:ldflags pkgconfig python:build ssl tar:bzip2
25
28
26
CPE_VENDOR=	powerdns
29
CPE_VENDOR=	powerdns
27
USE_RC_SUBR=	pdns-recursor
30
USE_RC_SUBR=	pdns-recursor
Lines 29-38 USE_RC_SUBR= pdns-recursor Link Here
29
GNU_CONFIGURE=	YES
32
GNU_CONFIGURE=	YES
30
CONFIGURE_ARGS=	--sysconfdir=${PREFIX}/etc/pdns \
33
CONFIGURE_ARGS=	--sysconfdir=${PREFIX}/etc/pdns \
31
		--with-libsodium=no \
34
		--with-libsodium=no \
35
		--with-service-user=pdns \
36
		--with-service-group=pdns_recursor \
32
		--without-net-snmp \
37
		--without-net-snmp \
33
		--without-systemd
38
		--without-systemd
34
39
40
CARGO_CARGOLOCK=	${WRKSRC}/settings/rust/Cargo.lock
41
CARGO_CARGOTOML=	${WRKSRC}/settings/rust/Cargo.toml
42
CARGO_BUILD=		no
43
CARGO_INSTALL=		no
44
CARGO_TEST=		no
45
35
SUB_FILES=	pkg-message
46
SUB_FILES=	pkg-message
47
TARGET_ORDER_OVERRIDE=	750:cargo-configure
36
48
37
USERS=		pdns_recursor
49
USERS=		pdns_recursor
38
GROUPS=		pdns
50
GROUPS=		pdns
Lines 54-59 LUAJIT_CONFIGURE_ON= --with-lua=luajit Link Here
54
66
55
LUA_USES=	lua
67
LUA_USES=	lua
56
68
69
#pre-configure:
70
#	@cd ${WRKSRC}/settings && ${PYTHON_CMD} generate.py
71
57
post-install:
72
post-install:
58
	@${MKDIR} ${STAGEDIR}/var/run/pdns-recursor
73
	@${MKDIR} ${STAGEDIR}/var/run/pdns-recursor
59
74
(-)b/dns/powerdns-recursor/Makefile.crates (+30 lines)
Added Link Here
1
CARGO_CRATES=	cc-1.0.84 \
2
		codespan-reporting-0.11.1 \
3
		cxx-1.0.110 \
4
		cxx-build-1.0.110 \
5
		cxxbridge-flags-1.0.110 \
6
		cxxbridge-macro-1.0.110 \
7
		equivalent-1.0.1 \
8
		hashbrown-0.14.2 \
9
		indexmap-2.1.0 \
10
		ipnet-2.9.0 \
11
		itoa-1.0.9 \
12
		libc-0.2.150 \
13
		link-cplusplus-1.0.9 \
14
		once_cell-1.18.0 \
15
		proc-macro2-1.0.69 \
16
		quote-1.0.33 \
17
		ryu-1.0.15 \
18
		scratch-1.0.7 \
19
		serde-1.0.192 \
20
		serde_derive-1.0.192 \
21
		serde_yaml-0.9.27 \
22
		syn-2.0.39 \
23
		termcolor-1.4.0 \
24
		unicode-ident-1.0.12 \
25
		unicode-width-0.1.11 \
26
		unsafe-libyaml-0.2.9 \
27
		winapi-0.3.9 \
28
		winapi-i686-pc-windows-gnu-0.4.0 \
29
		winapi-util-0.1.6 \
30
		winapi-x86_64-pc-windows-gnu-0.4.0
(-)b/dns/powerdns-recursor/distinfo (-3 / +63 lines)
Lines 1-3 Link Here
1
TIMESTAMP = 1699442098
1
TIMESTAMP = 1704880945
2
SHA256 (pdns-recursor-4.9.2.tar.bz2) = 4cb8180458ecfb528a3d9a34ba2844b6cd2ed69ca1c461dde24a0ebd66829144
2
SHA256 (pdns-recursor-5.0.1.tar.bz2) = 70a3b0bfde350e94cdb0746b06d06e6d2f3dc0e171be3b12caef9f3c38468ca3
3
SIZE (pdns-recursor-4.9.2.tar.bz2) = 1562694
3
SIZE (pdns-recursor-5.0.1.tar.bz2) = 1658747
4
SHA256 (rust/crates/cc-1.0.84.crate) = 0f8e7c90afad890484a21653d08b6e209ae34770fb5ee298f9c699fcc1e5c856
5
SIZE (rust/crates/cc-1.0.84.crate) = 74922
6
SHA256 (rust/crates/codespan-reporting-0.11.1.crate) = 3538270d33cc669650c4b093848450d380def10c331d38c768e34cac80576e6e
7
SIZE (rust/crates/codespan-reporting-0.11.1.crate) = 48963
8
SHA256 (rust/crates/cxx-1.0.110.crate) = 7129e341034ecb940c9072817cd9007974ea696844fc4dd582dc1653a7fbe2e8
9
SIZE (rust/crates/cxx-1.0.110.crate) = 197887
10
SHA256 (rust/crates/cxx-build-1.0.110.crate) = a2a24f3f5f8eed71936f21e570436f024f5c2e25628f7496aa7ccd03b90109d5
11
SIZE (rust/crates/cxx-build-1.0.110.crate) = 86469
12
SHA256 (rust/crates/cxxbridge-flags-1.0.110.crate) = 06fdd177fc61050d63f67f5bd6351fac6ab5526694ea8e359cd9cd3b75857f44
13
SIZE (rust/crates/cxxbridge-flags-1.0.110.crate) = 5284
14
SHA256 (rust/crates/cxxbridge-macro-1.0.110.crate) = 587663dd5fb3d10932c8aecfe7c844db1bcf0aee93eeab08fac13dc1212c2e7f
15
SIZE (rust/crates/cxxbridge-macro-1.0.110.crate) = 60405
16
SHA256 (rust/crates/equivalent-1.0.1.crate) = 5443807d6dff69373d433ab9ef5378ad8df50ca6298caf15de6e52e24aaf54d5
17
SIZE (rust/crates/equivalent-1.0.1.crate) = 6615
18
SHA256 (rust/crates/hashbrown-0.14.2.crate) = f93e7192158dbcda357bdec5fb5788eebf8bbac027f3f33e719d29135ae84156
19
SIZE (rust/crates/hashbrown-0.14.2.crate) = 140080
20
SHA256 (rust/crates/indexmap-2.1.0.crate) = d530e1a18b1cb4c484e6e34556a0d948706958449fca0cab753d649f2bce3d1f
21
SIZE (rust/crates/indexmap-2.1.0.crate) = 68224
22
SHA256 (rust/crates/ipnet-2.9.0.crate) = 8f518f335dce6725a761382244631d86cf0ccb2863413590b31338feb467f9c3
23
SIZE (rust/crates/ipnet-2.9.0.crate) = 27627
24
SHA256 (rust/crates/itoa-1.0.9.crate) = af150ab688ff2122fcef229be89cb50dd66af9e01a4ff320cc137eecc9bacc38
25
SIZE (rust/crates/itoa-1.0.9.crate) = 10492
26
SHA256 (rust/crates/libc-0.2.150.crate) = 89d92a4743f9a61002fae18374ed11e7973f530cb3a3255fb354818118b2203c
27
SIZE (rust/crates/libc-0.2.150.crate) = 719359
28
SHA256 (rust/crates/link-cplusplus-1.0.9.crate) = 9d240c6f7e1ba3a28b0249f774e6a9dd0175054b52dfbb61b16eb8505c3785c9
29
SIZE (rust/crates/link-cplusplus-1.0.9.crate) = 7484
30
SHA256 (rust/crates/once_cell-1.18.0.crate) = dd8b5dd2ae5ed71462c540258bedcb51965123ad7e7ccf4b9a8cafaa4a63576d
31
SIZE (rust/crates/once_cell-1.18.0.crate) = 32969
32
SHA256 (rust/crates/proc-macro2-1.0.69.crate) = 134c189feb4956b20f6f547d2cf727d4c0fe06722b20a0eec87ed445a97f92da
33
SIZE (rust/crates/proc-macro2-1.0.69.crate) = 44271
34
SHA256 (rust/crates/quote-1.0.33.crate) = 5267fca4496028628a95160fc423a33e8b2e6af8a5302579e322e4b520293cae
35
SIZE (rust/crates/quote-1.0.33.crate) = 28090
36
SHA256 (rust/crates/ryu-1.0.15.crate) = 1ad4cc8da4ef723ed60bced201181d83791ad433213d8c24efffda1eec85d741
37
SIZE (rust/crates/ryu-1.0.15.crate) = 46906
38
SHA256 (rust/crates/scratch-1.0.7.crate) = a3cf7c11c38cb994f3d40e8a8cde3bbd1f72a435e4c49e85d6553d8312306152
39
SIZE (rust/crates/scratch-1.0.7.crate) = 7997
40
SHA256 (rust/crates/serde-1.0.192.crate) = bca2a08484b285dcb282d0f67b26cadc0df8b19f8c12502c13d966bf9482f001
41
SIZE (rust/crates/serde-1.0.192.crate) = 76866
42
SHA256 (rust/crates/serde_derive-1.0.192.crate) = d6c7207fbec9faa48073f3e3074cbe553af6ea512d7c21ba46e434e70ea9fbc1
43
SIZE (rust/crates/serde_derive-1.0.192.crate) = 55690
44
SHA256 (rust/crates/serde_yaml-0.9.27.crate) = 3cc7a1570e38322cfe4154732e5110f887ea57e22b76f4bfd32b5bdd3368666c
45
SIZE (rust/crates/serde_yaml-0.9.27.crate) = 64781
46
SHA256 (rust/crates/syn-2.0.39.crate) = 23e78b90f2fcf45d3e842032ce32e3f2d1545ba6636271dcbf24fa306d87be7a
47
SIZE (rust/crates/syn-2.0.39.crate) = 244129
48
SHA256 (rust/crates/termcolor-1.4.0.crate) = ff1bc3d3f05aff0403e8ac0d92ced918ec05b666a43f83297ccef5bea8a3d449
49
SIZE (rust/crates/termcolor-1.4.0.crate) = 18765
50
SHA256 (rust/crates/unicode-ident-1.0.12.crate) = 3354b9ac3fae1ff6755cb6db53683adb661634f67557942dea4facebec0fee4b
51
SIZE (rust/crates/unicode-ident-1.0.12.crate) = 42168
52
SHA256 (rust/crates/unicode-width-0.1.11.crate) = e51733f11c9c4f72aa0c160008246859e340b00807569a0da0e7a1079b27ba85
53
SIZE (rust/crates/unicode-width-0.1.11.crate) = 19187
54
SHA256 (rust/crates/unsafe-libyaml-0.2.9.crate) = f28467d3e1d3c6586d8f25fa243f544f5800fec42d97032474e17222c2b75cfa
55
SIZE (rust/crates/unsafe-libyaml-0.2.9.crate) = 60812
56
SHA256 (rust/crates/winapi-0.3.9.crate) = 5c839a674fcd7a98952e593242ea400abe93992746761e38641405d28b00f419
57
SIZE (rust/crates/winapi-0.3.9.crate) = 1200382
58
SHA256 (rust/crates/winapi-i686-pc-windows-gnu-0.4.0.crate) = ac3b87c63620426dd9b991e5ce0329eff545bccbbb34f3be09ff6fb6ab51b7b6
59
SIZE (rust/crates/winapi-i686-pc-windows-gnu-0.4.0.crate) = 2918815
60
SHA256 (rust/crates/winapi-util-0.1.6.crate) = f29e6f9198ba0d26b4c9f07dbe6f9ed633e1f3d5b8b414090084349e46a52596
61
SIZE (rust/crates/winapi-util-0.1.6.crate) = 12234
62
SHA256 (rust/crates/winapi-x86_64-pc-windows-gnu-0.4.0.crate) = 712e227841d057c1ee1cd2fb22fa7e5a5461ae8e48fa2ca79ec42cfc1931183f
63
SIZE (rust/crates/winapi-x86_64-pc-windows-gnu-0.4.0.crate) = 2947998
(-)b/dns/powerdns-recursor/files/patch-m4_pdns__check__libcrypto.m4 (-1 / +2 lines)
Lines 1-4 Link Here
1
--- m4/pdns_check_libcrypto.m4.orig	2023-06-01 06:54:16 UTC
1
--- m4/pdns_check_libcrypto.m4.orig	2023-09-13 09:07:48 UTC
2
+++ m4/pdns_check_libcrypto.m4
2
+++ m4/pdns_check_libcrypto.m4
3
@@ -75,8 +75,10 @@ AC_DEFUN([PDNS_CHECK_LIBCRYPTO], [
3
@@ -75,8 +75,10 @@ AC_DEFUN([PDNS_CHECK_LIBCRYPTO], [
4
         for ssldir in $ssldirs; do
4
         for ssldir in $ssldirs; do
Lines 12-14 Link Here
12
+                fi
12
+                fi
13
                 LIBCRYPTO_LIBS="-lcrypto"
13
                 LIBCRYPTO_LIBS="-lcrypto"
14
                 found=true
14
                 found=true
15
                 AC_MSG_RESULT([yes])
(-)a/dns/powerdns-recursor/files/patch-rec-main.cc (-18 lines)
Removed Link Here
1
--- rec-main.cc.orig	2023-06-30 06:58:36 UTC
2
+++ rec-main.cc
3
@@ -2829,13 +2829,13 @@ static void initArgs()
4
               SYSTEMD_SETID_MSG
5
 #endif
6
               )
7
-    = "";
8
+    = "pdns";
9
   ::arg().set("setuid", "If set, change user id to this uid for more security"
10
 #ifdef HAVE_SYSTEMD
11
               SYSTEMD_SETID_MSG
12
 #endif
13
               )
14
-    = "";
15
+    = "pdns_recursor";
16
   ::arg().set("network-timeout", "Wait this number of milliseconds for network i/o") = "1500";
17
   ::arg().set("threads", "Launch this number of threads") = "2";
18
   ::arg().set("distributor-threads", "Launch this number of distributor threads, distributing queries to other threads") = "0";
(-)b/dns/powerdns-recursor/pkg-plist (-1 / +1 lines)
Lines 1-4 Link Here
1
@sample etc/pdns/recursor.conf-dist etc/pdns/recursor.conf
1
@sample etc/pdns/recursor.conf-dist etc/pdns/recursor.conf
2
etc/pdns/recursor.yml-dist
2
bin/rec_control
3
bin/rec_control
3
sbin/pdns_recursor
4
sbin/pdns_recursor
4
man/man1/pdns_recursor.1.gz
5
man/man1/pdns_recursor.1.gz
5
- 

Return to bug 276520