pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
powerdns-recursor52: Add powerdns-recursor-5.2.0
Module Name: pkgsrc-wip
Committed By: Marcin Gondek <drixter%e-utp.net@localhost>
Pushed By: drixter
Date: Sun Jan 26 19:20:31 2025 +0100
Changeset: cd2b23ac8c3ebc2fdf00bd4aed16175fa6c1d08c
Modified Files:
Makefile
Added Files:
powerdns-recursor52/DESCR
powerdns-recursor52/Makefile
powerdns-recursor52/PLIST
powerdns-recursor52/TODO
powerdns-recursor52/cargo-depends.mk
powerdns-recursor52/cargo.mk
powerdns-recursor52/distinfo
powerdns-recursor52/files/pdns_recursor.sh
powerdns-recursor52/files/smf/manifest.xml
powerdns-recursor52/files/smf/pdns_recursor.sh
Log Message:
powerdns-recursor52: Add powerdns-recursor-5.2.0
The PowerDNS recursor is part of the source tarball of the main PowerDNS
distribution, but it is released separately. Starting from the version 3.0
pre-releases, there are zero known bugs or issues with the recursor. It is
known to power the resolving needs of over 2 million internet connections.
PowerDNS recursor can gets names from /etc/hosts.
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=cd2b23ac8c3ebc2fdf00bd4aed16175fa6c1d08c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
Makefile | 1 +
powerdns-recursor52/DESCR | 6 ++
powerdns-recursor52/Makefile | 43 +++++++++
powerdns-recursor52/PLIST | 7 ++
powerdns-recursor52/TODO | 12 +++
powerdns-recursor52/cargo-depends.mk | 44 +++++++++
powerdns-recursor52/cargo.mk | 117 ++++++++++++++++++++++
powerdns-recursor52/distinfo | 128 +++++++++++++++++++++++++
powerdns-recursor52/files/pdns_recursor.sh | 19 ++++
powerdns-recursor52/files/smf/manifest.xml | 30 ++++++
powerdns-recursor52/files/smf/pdns_recursor.sh | 24 +++++
11 files changed, 431 insertions(+)
diffs:
diff --git a/Makefile b/Makefile
index 58087b0d3c..21f0348845 100644
--- a/Makefile
+++ b/Makefile
@@ -3250,6 +3250,7 @@ SUBDIR+= postoffice
SUBDIR+= pounce
SUBDIR+= povray
SUBDIR+= powerdevil
+SUBDIR+= powerdns-recursor52
SUBDIR+= powerline
SUBDIR+= powwow
SUBDIR+= ppp
diff --git a/powerdns-recursor52/DESCR b/powerdns-recursor52/DESCR
new file mode 100755
index 0000000000..0b861b76b6
--- /dev/null
+++ b/powerdns-recursor52/DESCR
@@ -0,0 +1,6 @@
+The PowerDNS recursor is part of the source tarball of the main PowerDNS
+distribution, but it is released separately. Starting from the version 3.0
+pre-releases, there are zero known bugs or issues with the recursor. It is
+known to power the resolving needs of over 2 million internet connections.
+
+PowerDNS recursor can gets names from /etc/hosts.
diff --git a/powerdns-recursor52/Makefile b/powerdns-recursor52/Makefile
new file mode 100755
index 0000000000..1322218568
--- /dev/null
+++ b/powerdns-recursor52/Makefile
@@ -0,0 +1,43 @@
+# $NetBSD$
+
+DISTNAME= pdns-recursor-5.2.0
+CATEGORIES= net
+MASTER_SITES= https://downloads.powerdns.com/releases/
+EXTRACT_SUFX= .tar.bz2
+PKGNAME= powerdns-recursor-5.2.0
+
+MAINTAINER= drixter%e-utp.net@localhost
+HOMEPAGE= https://downloads.powerdns.com/releases/
+COMMENT= PowerDNS resolver
+LICENSE= gnu-gpl-v2
+
+GNU_CONFIGURE= yes
+USE_TOOLS+= gmake pkg-config
+USE_LIBTOOL= yes
+USE_LANGUAGES= c c++
+USE_CXX_FEATURES+= c++17
+CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR}
+CONFIGURE_ARGS+= --with-libsodium
+CONFIGURE_ARGS+= --enable-dns-over-tls
+
+CHECK_WRKREF_SKIP+= sbin/pdns_recursor
+
+RCD_SCRIPTS= pdns_recursor
+
+SMF_NAME= pdns-recursor
+SMF_METHODS= pdns_recursor
+
+
+.include "cargo-depends.mk"
+.include "cargo.mk"
+.include "../../devel/boost-headers/buildlink3.mk"
+.include "../../devel/boost-libs/buildlink3.mk"
+.include "../../lang/lua/buildlink3.mk"
+.include "../../security/openssl/buildlink3.mk"
+.include "../../security/libsodium/buildlink3.mk"
+.include "../../devel/protobuf/buildlink3.mk"
+.include "../../www/curl/buildlink3.mk"
+.include "../../security/gnutls/buildlink3.mk"
+.include "../../net/fstrm/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
+
diff --git a/powerdns-recursor52/PLIST b/powerdns-recursor52/PLIST
new file mode 100755
index 0000000000..2abcaee8c5
--- /dev/null
+++ b/powerdns-recursor52/PLIST
@@ -0,0 +1,7 @@
+@comment $NetBSD$
+bin/rec_control
+man/man1/pdns_recursor.1
+man/man1/rec_control.1
+sbin/pdns_recursor
+etc/recursor.yml-dist
+
diff --git a/powerdns-recursor52/TODO b/powerdns-recursor52/TODO
new file mode 100755
index 0000000000..abee472c0f
--- /dev/null
+++ b/powerdns-recursor52/TODO
@@ -0,0 +1,12 @@
+# $NetBSD$
+
+Generally works
+Require some tests where there is some load of DNS queries
+Default config file applied which is not enabled by default
+A lot of options enabled by default, maybe switch to options.mk?
+Clean-up and better comments in files
+Ensure that cargo is used correctly, little hacking was done to make it compile correctly
+pdns_recursor.sh taken from old version present in pkgsrc with little update of config file
+
+
+
diff --git a/powerdns-recursor52/cargo-depends.mk b/powerdns-recursor52/cargo-depends.mk
new file mode 100755
index 0000000000..8de4c253fe
--- /dev/null
+++ b/powerdns-recursor52/cargo-depends.mk
@@ -0,0 +1,44 @@
+# $NetBSD$
+
+CARGO_CRATE_DEPENDS+= equivalent-1.0.1
+CARGO_CRATE_DEPENDS+= termcolor-1.4.1
+CARGO_CRATE_DEPENDS+= version_check-0.9.5
+CARGO_CRATE_DEPENDS+= unicode-ident-1.0.12
+CARGO_CRATE_DEPENDS+= serde-1.0.210
+CARGO_CRATE_DEPENDS+= serde_yml-0.0.12
+CARGO_CRATE_DEPENDS+= hashbrown-0.14.5
+CARGO_CRATE_DEPENDS+= syn-2.0.77
+CARGO_CRATE_DEPENDS+= memchr-2.7.4
+CARGO_CRATE_DEPENDS+= unicode-width-0.1.13
+CARGO_CRATE_DEPENDS+= cxxbridge-macro-1.0.128
+CARGO_CRATE_DEPENDS+= cxxbridge-flags-1.0.128
+CARGO_CRATE_DEPENDS+= libyml-0.0.5
+CARGO_CRATE_DEPENDS+= indexmap-2.5.0
+CARGO_CRATE_DEPENDS+= serde_derive-1.0.210
+CARGO_CRATE_DEPENDS+= ryu-1.0.18
+CARGO_CRATE_DEPENDS+= quote-1.0.37
+CARGO_CRATE_DEPENDS+= cxx-build-1.0.128
+CARGO_CRATE_DEPENDS+= cc-1.1.18
+CARGO_CRATE_DEPENDS+= cxx-1.0.128
+CARGO_CRATE_DEPENDS+= proc-macro2-1.0.86
+CARGO_CRATE_DEPENDS+= anyhow-1.0.87
+CARGO_CRATE_DEPENDS+= shlex-1.3.0
+CARGO_CRATE_DEPENDS+= once_cell-1.19.0
+CARGO_CRATE_DEPENDS+= ipnet-2.10.0
+CARGO_CRATE_DEPENDS+= codespan-reporting-0.11.1
+CARGO_CRATE_DEPENDS+= base64-0.22.1
+CARGO_CRATE_DEPENDS+= scratch-1.0.7
+CARGO_CRATE_DEPENDS+= link-cplusplus-1.0.9
+CARGO_CRATE_DEPENDS+= itoa-1.0.11
+CARGO_CRATE_DEPENDS+= winapi-util-0.1.9
+CARGO_CRATE_DEPENDS+= windows-sys-0.59.0
+CARGO_CRATE_DEPENDS+= windows-targets-0.52.6
+CARGO_CRATE_DEPENDS+= windows_aarch64_gnullvm-0.52.6
+CARGO_CRATE_DEPENDS+= windows_aarch64_msvc-0.52.6
+CARGO_CRATE_DEPENDS+= windows_i686_gnu-0.52.6
+CARGO_CRATE_DEPENDS+= windows_i686_msvc-0.52.6
+CARGO_CRATE_DEPENDS+= windows_i686_gnullvm-0.52.6
+CARGO_CRATE_DEPENDS+= windows_x86_64_gnu-0.52.6
+CARGO_CRATE_DEPENDS+= windows_x86_64_gnullvm-0.52.6
+CARGO_CRATE_DEPENDS+= windows_x86_64_msvc-0.52.6
+
diff --git a/powerdns-recursor52/cargo.mk b/powerdns-recursor52/cargo.mk
new file mode 100644
index 0000000000..856d41b84a
--- /dev/null
+++ b/powerdns-recursor52/cargo.mk
@@ -0,0 +1,117 @@
+# $NetBSD: cargo.mk,v 1.40 2024/11/24 16:13:42 he Exp $
+#
+# Common logic that can be used by packages that depend on cargo crates
+# from crates.io. This lets existing pkgsrc infrastructure fetch and verify
+# cargo crates instead of using the rust package manager in the build phase.
+# Inspired by cargo.mk from FreeBSD ports.
+#
+# Usage example:
+#
+# CARGO_CRATE_DEPENDS+= sha1-0.20
+# .include "../../lang/rust/cargo.mk"
+#
+# If modifying the list of dependencies, re-run the build once without
+# --offline in CARGO_ARGS to generate a new valid Cargo.lock.
+# e.g: make CARGO_ARGS="build --release" build
+#
+# a list of CARGO_CRATE_DEPENDS can be generated via
+# make print-cargo-depends > cargo-depends.mk
+#
+# See also www/geckodriver for a full example.
+
+MASTER_SITES?= -${MASTER_SITE_CRATESIO}${PKGBASE}/${PKGVERSION_NOREV}/download
+
+CHECK_SSP_SUPPORTED= no
+
+.include "../../lang/rust/rust.mk"
+
+USE_TOOLS+= bsdtar digest
+CARGO_VENDOR_DIR= ${WRKDIR}/vendor
+CARGO_WRKSRC?= ${WRKSRC}
+
+# TODO: some Cargo.lock files include git+https sources which need to be fetched from the URL (not necessarily resolving to a crate.io url)
+DISTFILES?= ${DEFAULT_DISTFILES}
+.for crate in ${CARGO_CRATE_DEPENDS}
+DISTFILES+= ${crate}.crate
+SITES.${crate}.crate+= -${MASTER_SITE_CRATESIO}${crate:C/-[0-9]+\.[0-9.]+.*$//}/${crate:C/^.*-([0-9]+\.[0-9.]+.*)$/\1/}/download
+EXTRACT_DIR.${crate}.crate?= ${CARGO_VENDOR_DIR}
+.endfor
+
+.include "../../mk/bsd.prefs.mk"
+# Triggers NetBSD ld.so bug (PR toolchain/54192)
+# See Makefile for further information.
+.if ${OPSYS} == "NetBSD" && ${OPSYS_VERSION} < 099957
+MAKE_JOBS_SAFE= no
+.endif
+
+post-extract: cargo-vendor-crates
+.PHONY: cargo-vendor-crates
+cargo-vendor-crates:
+ @${STEP_MSG} "Extracting local cargo crates"
+ ${RUN}${MKDIR} ${WRKDIR}/.cargo
+ ${RUN}${PRINTF} "[source.crates-io]\nreplace-with = \"vendored-sources\"\n[source.vendored-sources]\ndirectory = \"${CARGO_VENDOR_DIR}\"\n" > ${WRKDIR}/.cargo/config.toml
+ ${RUN}${MKDIR} ${CARGO_VENDOR_DIR}
+.for crate in ${CARGO_CRATE_DEPENDS}
+ ${RUN}${PRINTF} '{"package":"%s","files":{}}' \
+ `${DIGEST} sha256 < ${_DISTDIR}/${crate}.crate` \
+ > ${CARGO_VENDOR_DIR}/${crate}/.cargo-checksum.json
+.endfor
+
+# Legacy name
+.PHONY: show-cargo-depends
+show-cargo-depends: print-cargo-depends
+
+.PHONY: print-cargo-depends
+print-cargo-depends:
+ ${RUN}${AWK} 'BEGIN {print "# $$Net" "BSD$$"; print;} \
+ /^name = / { split($$3, a, "\""); name=a[2]; } \
+ /^version = / { split($$3, a, "\""); vers=a[2]; } \
+ /^source = / { \
+ print "CARGO_CRATE_DEPENDS+=\t" name "-" vers; \
+ }' ${CARGO_WRKSRC}/Cargo.lock
+
+.if ${RUST_TYPE} == "native"
+CARGO= cargo
+.else
+CARGO= ${PREFIX}/bin/cargo
+.endif
+DEFAULT_CARGO_ARGS= --offline -j${_MAKE_JOBS_N} \
+ ${CARGO_NO_DEFAULT_FEATURES:M[yY][eE][sS]:C/[yY][eE][sS]/--no-default-features/} \
+ ${CARGO_FEATURES:C/.*/--features/W} \
+ ${CARGO_FEATURES:S/ /,/Wg}
+CARGO_ARGS?= build --release ${DEFAULT_CARGO_ARGS}
+CARGO_INSTALL_ARGS?= install --path . --root ${DESTDIR}${PREFIX} ${DEFAULT_CARGO_ARGS}
+
+MAKE_ENV+= RUSTFLAGS=${RUSTFLAGS:Q}
+ALL_ENV+= CARGO_HOME=${WRKDIR}
+
+# PowerDNS Recursor is not pure rust application, disabling generic build commands
+#
+#.if !target(do-build)
+#do-build: do-cargo-build
+#.endif
+#
+#.PHONY: do-cargo-build
+#do-cargo-build:
+# ${RUN} cd ${CARGO_WRKSRC} && ${SETENV} ${MAKE_ENV} ${CARGO} ${CARGO_ARGS}
+#
+#.if !target(do-install) && ${GNU_CONFIGURE:Uno:tl} == no
+#do-install: do-cargo-install
+#.endif
+#
+#.PHONY: do-cargo-install
+#do-cargo-install:
+# ${RUN} cd ${CARGO_WRKSRC} && ${SETENV} ${MAKE_ENV} ${CARGO} ${CARGO_INSTALL_ARGS}
+# # remove files cargo uses for tracking installations
+# ${RM} -f ${DESTDIR}${PREFIX}/.crates.toml
+# ${RM} -f ${DESTDIR}${PREFIX}/.crates2.json
+
+.if ${OPSYS} == "Darwin"
+.PHONY: do-cargo-post-install-darwin-fix-rpath
+post-install: do-cargo-post-install-darwin-fix-rpath
+do-cargo-post-install-darwin-fix-rpath:
+ ${RUN} cd ${DESTDIR}; \
+ for i in $$(${FIND} .${PREFIX}/lib -name '*.so' | ${SED} -e 's|^\./||'); do \
+ install_name_tool -id /$$i $$i; \
+ done
+.endif
diff --git a/powerdns-recursor52/distinfo b/powerdns-recursor52/distinfo
new file mode 100755
index 0000000000..634f182736
--- /dev/null
+++ b/powerdns-recursor52/distinfo
@@ -0,0 +1,128 @@
+$NetBSD$
+
+BLAKE2s (anyhow-1.0.87.crate) = 567a5ccf791197918e4d5fc7caf314439a0ac5e27eae46f32bc69c3edf4643ef
+SHA512 (anyhow-1.0.87.crate) = 1ed272eb20bd28d361d71b8dd1279bb3ab3a722c6a68e0f7bf4fb0a196f8a5d9f5ed9874d231ba7cf93e6a6f2551e96411d1fcb26908c79ee76919214637816f
+Size (anyhow-1.0.87.crate) = 46831 bytes
+BLAKE2s (base64-0.22.1.crate) = fe73b3b9d1780e56d1208d2e9084cafa72d5e488ef081927b03ccae3108e058a
+SHA512 (base64-0.22.1.crate) = 91cf2e4e7fc8815f9b8a86a7fa722a20eee3dc1dd57111b29e420de87ce7836bcdb1db01d3cafb9a977710ef63e7cc41b7772762323e68e0e832156858aace20
+Size (base64-0.22.1.crate) = 81597 bytes
+BLAKE2s (cc-1.1.18.crate) = f7b7eae566729d5c75f7a4f9c164d9fb41b72fcc1b96c70cbc2582bde55bdba4
+SHA512 (cc-1.1.18.crate) = af525791c6ba731d688d3f5bf898c0ff86bbd81b127454d7f933491cea1e921d171cb819d04e460e759c6ae0f6da2188ede6bbe94c940c47c6d9d9f991925401
+Size (cc-1.1.18.crate) = 83315 bytes
+BLAKE2s (codespan-reporting-0.11.1.crate) = be633c7879fb3d6ea50ceea7fc86d7883446a859cad5dbfac671b4c35b182ded
+SHA512 (codespan-reporting-0.11.1.crate) = 0869789f5c50d3523d3ee16a8fe64756498a13704efbe82bb0845eaa87c7b6b1d075b3b6b80567cd9fce6cb09c5179e9c07e485fd17ce56c8139ade0f8bc6844
+Size (codespan-reporting-0.11.1.crate) = 48963 bytes
+BLAKE2s (cxx-1.0.128.crate) = c8c8e4a5c0f549ff36ace396969a769976150b25717236dc26cbd751a9d7c6f7
+SHA512 (cxx-1.0.128.crate) = a426721f5d11989398c1c62bfc2561c08efe314d39e146b868ff6df53328f16d1704f48cfbac38f1eb1c2cffec75aebf4f93ca236f9cf904f2e32110e5438af3
+Size (cxx-1.0.128.crate) = 268642 bytes
+BLAKE2s (cxx-build-1.0.128.crate) = 10001367f1b1446c31e8e852147b1985756412d785f2869e117e9abf1f141c1f
+SHA512 (cxx-build-1.0.128.crate) = c4121c27d5f3489e82016fc5342820bd4bf1af2d185d0c9ae85eded567fd274db6bcfb394d60d766ebacd2d78082f15073e762f9dd7dfbf45b398cd51d38f0c0
+Size (cxx-build-1.0.128.crate) = 86674 bytes
+BLAKE2s (cxxbridge-flags-1.0.128.crate) = 1771502795c68163494d49cff52f16357268e38b0cd616c31a382dba97cbbdca
+SHA512 (cxxbridge-flags-1.0.128.crate) = caba89e959f53362829e4554e73fed1900a9d172c756552c5bca8b3d04839e4107b6bc1a48ccf50d30ceb369a419fc1e3b846ab57760e3d3449c41efffefc7c6
+Size (cxxbridge-flags-1.0.128.crate) = 5313 bytes
+BLAKE2s (cxxbridge-macro-1.0.128.crate) = f1ca5f508d89f16b11db7d137b6801852ae285cd0ec27031bbd5643a8615dfd8
+SHA512 (cxxbridge-macro-1.0.128.crate) = 9a7a91c8de8e240b0cf7f054e9d5097900aa4982722f55082a71715265fd10c3650e11f7b9705d8d88c04593bdd68529bca74d283f7d404368c442a5a1a5a873
+Size (cxxbridge-macro-1.0.128.crate) = 60417 bytes
+BLAKE2s (equivalent-1.0.1.crate) = 915ff7ece3e11b5de2f2f26d2da9c4dfa1c7484416c53025c08507677cebebbd
+SHA512 (equivalent-1.0.1.crate) = b2bc60e804c1b02c461dcefcfd60fc37145af710d183ebe65f9a4d63f2b2072d23193f98dc550a9213c7fdc6a2a837af23b04a89294ebbb681a4aaf5d5031140
+Size (equivalent-1.0.1.crate) = 6615 bytes
+BLAKE2s (hashbrown-0.14.5.crate) = df2dc611777412ee614bffffa4bfd1ffbdb023961c82ec606d14782febc01949
+SHA512 (hashbrown-0.14.5.crate) = 215ea860bd3de80e2dd2d4647c9dd31c0ac895ea7c08b87256dc11d36407e412ffefaebc6cdbec024057dd4f24b3762b4fe427be307e15d1e68ccfde89a99742
+Size (hashbrown-0.14.5.crate) = 141498 bytes
+BLAKE2s (indexmap-2.5.0.crate) = bb489bae2323bb5f663f0138e4dc3a47bc2fe8e42288b254f56d6d2c172d5c8e
+SHA512 (indexmap-2.5.0.crate) = c4627d43b1bc5c5fd64861d1a7ed66255ec3f790367028b2758a40751286d6677da7170cfb04dd88ca4c2d163df621583d2e0dc4e9db6d7ed9bd0cbea42b1729
+Size (indexmap-2.5.0.crate) = 85919 bytes
+BLAKE2s (ipnet-2.10.0.crate) = 00646d2c29fc4a5a81912fb47282fa6c94d4c3549e14e12cd2f84b909df88724
+SHA512 (ipnet-2.10.0.crate) = 1c82a2bffe92fabedc5bf07c43580bd1bdf2e7293c7dc62d511420a8f4d1c3ecf4831f252a4867fa3693627d798977a04be075be413106403470c4d4729ae557
+Size (ipnet-2.10.0.crate) = 28372 bytes
+BLAKE2s (itoa-1.0.11.crate) = be2967c52bce05d38dd6647d64ea41d26d215abe3af2edfcbb7922637ac4372d
+SHA512 (itoa-1.0.11.crate) = 7e22dffac34c9c9f432daef395e0ec710ed658164bc9cd9fc6445c9f984c912a10bac556214a026bcddbe27a3197b35b0c87d6709fd605062637d086b2d20311
+Size (itoa-1.0.11.crate) = 10563 bytes
+BLAKE2s (libyml-0.0.5.crate) = a6707de44ed52ea1a2547643509bb480b351256855e3d7444dbbeebc87e6372c
+SHA512 (libyml-0.0.5.crate) = 69ce3208f0602e15cedc6e82b8b27ef7ed20f76fdd9820269959515d964ed8ee3f3f624d73d2989188af0fcd24a915576a3c441c857b29495bac2977e379c714
+Size (libyml-0.0.5.crate) = 97931 bytes
+BLAKE2s (link-cplusplus-1.0.9.crate) = 858168f1df1fea9e5cc44093f7f3d8db74a15bae328a14b17dafd3a5ffd87a0f
+SHA512 (link-cplusplus-1.0.9.crate) = 30697093b54ca449135d7a2a963bdd9af61a446472b0f245c87a05bd6eefa62eeebf9cc58cf17aa77ac5f2301b05ae27d13eb50d92ec58fec27303f865261170
+Size (link-cplusplus-1.0.9.crate) = 7484 bytes
+BLAKE2s (memchr-2.7.4.crate) = 87799dee61c273cba812d73b67f6ccaf05d8f18d4cc33e0f70986a1485ee0d64
+SHA512 (memchr-2.7.4.crate) = 8d0e8b9c30208897d4b1b920f1bdcccd0c2b75d92a06abe4a1b2407938768abb6487d63de56c6a80419798fe69517210643dfaf11f5f5540185f0eccf220adb2
+Size (memchr-2.7.4.crate) = 96670 bytes
+BLAKE2s (once_cell-1.19.0.crate) = a64a2331693b4389e1ee79eb9bdb3493c4cfe3568e532ff9d4e2ec04a491a132
+SHA512 (once_cell-1.19.0.crate) = 4154876afd34a699ee650d1a8a1c5ee5a25f0ebd9388b8bef2564e33629fae68f113d7507488c68abbe7ea1acf9bbc41813cbbf3ef3e464e3f3b9cc7a51d870c
+Size (once_cell-1.19.0.crate) = 33046 bytes
+BLAKE2s (pdns-recursor-5.2.0.tar.bz2) = 2b426555547a910015a67786e64fd462c1ddfdfa126cb1fe99cc15f36ef2f247
+SHA512 (pdns-recursor-5.2.0.tar.bz2) = 00b1d9a837d2e854750a90f6306d3a7d7b23cf96dd0897666034f120d2c57f1277e1bc1677b8b54eec804f8983483208e3d2e4f156ca376374d06f3d73e3abd0
+Size (pdns-recursor-5.2.0.tar.bz2) = 1729913 bytes
+BLAKE2s (proc-macro2-1.0.86.crate) = 5b7aa8ab733d12a5e631d92b872ce55b44770a852a722624134ce03c45bcdbd9
+SHA512 (proc-macro2-1.0.86.crate) = 1cdb7e22a35ae231d880c9420784c9acf97bda2db258b3d34aae5061dc1858449defe19a49e12c6a4173906aa72a4115059ac2db0fc760205fd2ab8b5b414434
+Size (proc-macro2-1.0.86.crate) = 48958 bytes
+BLAKE2s (quote-1.0.37.crate) = 7e8659f62805e9de9676e96f922946be82167b2418b3d9421fecd40ef42137ae
+SHA512 (quote-1.0.37.crate) = c4ed21428c1f89cf22b85d80720a7869831a9c129d694617b0ce8c258278114ab98846f3f653abf736d1c86bc9224bbd695e9a7b06aa3adf292d02e1ef14cc05
+Size (quote-1.0.37.crate) = 28558 bytes
+BLAKE2s (ryu-1.0.18.crate) = 738ae2cbeac90a6adef5e5c05c31be6c18f2860ab8ea4bfdc729325dceb923ae
+SHA512 (ryu-1.0.18.crate) = a9b2beac778ec47e6be303148d7512ee681bd2361f6e4ac6db32c8b4baf86a8c5eb5b0d02eacd6131ae88c7b5105c57018c3050676e0b3dd1ed9c4d2fd650e84
+Size (ryu-1.0.18.crate) = 47713 bytes
+BLAKE2s (scratch-1.0.7.crate) = 9e0c55d76129c736b4e4c99780d74de2be54c1f34410f14b459be5070c76750b
+SHA512 (scratch-1.0.7.crate) = 2cdd160a89844101b62b4d6c23a56d3f9089828b8914031ca973bcbdeffba41ee7d9fb2edb0736d5f8e19d3bf2b1491e8451ae8fe2525518939b2f5cc6310d55
+Size (scratch-1.0.7.crate) = 7997 bytes
+BLAKE2s (serde-1.0.210.crate) = 59e4d19eb2fe6fe95502b0c6baa543985103fe7a0e619df04b7b9c1750a438b5
+SHA512 (serde-1.0.210.crate) = 0d853ca51543ae8b4a0c70204ff4e559a4eec77af3d3bdcfc75c5905c80d4ffd1bd9eb8258ea4f6ecfbdd26477ecac7dd698d84d86759fa32e03a9cce02fa4ae
+Size (serde-1.0.210.crate) = 78338 bytes
+BLAKE2s (serde_derive-1.0.210.crate) = a4087b43fb3c16e2fcac09f53c5d35f37c1eae2bca5a2372d2cb40f5d39d5e3d
+SHA512 (serde_derive-1.0.210.crate) = 1c54d70a55007c00d3ff3d8c2096f4f9966431ba7bfd9195bcf41932de71b71c4ab934f9a8c5067cb56a042742cf0efab07377dbabf12feb1af6d20399de00b5
+Size (serde_derive-1.0.210.crate) = 56020 bytes
+BLAKE2s (serde_yml-0.0.12.crate) = ac85a162e704f582773cd160501bff2b6c54a1f00e280aebc8c376f6875e9a5e
+SHA512 (serde_yml-0.0.12.crate) = a7a3ef7b9114410388496817e417aa11c8f73cadd09c51ad60c7b62ea4932a6c4cbfa8b735efc8cd4077bee5249949203d618961eb99dd8472ffce4a61711ba1
+Size (serde_yml-0.0.12.crate) = 125859 bytes
+BLAKE2s (shlex-1.3.0.crate) = 00a54f2882a7a2c2170fca55bd1acd51eea79f115f972ce143b5f4c9c974ee43
+SHA512 (shlex-1.3.0.crate) = 5c8cedbe666a14b8a0874defb9208146ce64579cde52ed483e4a794cac5dde6a24bf8d684404edff582f842e1fd4fa3fbeddbe074f191e4ec4aa517aa456fe8a
+Size (shlex-1.3.0.crate) = 18713 bytes
+BLAKE2s (syn-2.0.77.crate) = 9e1901fd1eeac833c2c5e95ac1c5a5c24fac2a569732243aef6bf3d173154aeb
+SHA512 (syn-2.0.77.crate) = f8030332c3c4ab34fc1e86196eb0eeda9700e5438f2a339591a5968d8bdd3373b523dba4bd998bf578e4247e0019d999d4e9c6d062a1dedcafe18d27b6c9f6d4
+Size (syn-2.0.77.crate) = 268784 bytes
+BLAKE2s (termcolor-1.4.1.crate) = 052eddf6925aee94ddd6422f049b834dfc769ebd3b40553e579a82895d10a253
+SHA512 (termcolor-1.4.1.crate) = b66aad157c4fa2985f764321d157dfb1f0325fd633811870db7919b5579bf7bc19fefe99e1c706cdfa67504c37dc2ca3d283e11d1bb516edcfaf1eb7747a778a
+Size (termcolor-1.4.1.crate) = 18773 bytes
+BLAKE2s (unicode-ident-1.0.12.crate) = d3afb0938724e7bb0f5c2a5f76ff614511446dd54b363f76e84353254acd3739
+SHA512 (unicode-ident-1.0.12.crate) = bc1824e1e4452a40732fc69874d7e1a66f7803717a314790dcf48867eba34bc9441331ef031e386912e52c385645c25b6ed39d4f149973b5b97371b1b96b1920
+Size (unicode-ident-1.0.12.crate) = 42168 bytes
+BLAKE2s (unicode-width-0.1.13.crate) = 2f5f6141fa7b1e7cd15925f33c516860b329a7f19153206e2f64bb69fbe5bbe4
+SHA512 (unicode-width-0.1.13.crate) = 9781d6dab2c6343e8c28ec66b50cb4293261bb2114e122fa80ad2facdb23020f5b621c38030193b918669e58adf143808e5ab4c507c18beb6dc61e97b2e296f4
+Size (unicode-width-0.1.13.crate) = 457228 bytes
+BLAKE2s (version_check-0.9.5.crate) = 7db65df351b4ee3b22c2160742d0e3888659f56f84217198ae842260cf55171e
+SHA512 (version_check-0.9.5.crate) = d11d5a2240ab0c67ea69db56561ce202201edeef9a8e5eda3d9ae7ab7bb5752d8f343fe7f6536d8383de8d55f9024efa84f66a0c21e69563b7a38c4a628014db
+Size (version_check-0.9.5.crate) = 15554 bytes
+BLAKE2s (winapi-util-0.1.9.crate) = 7cc1d153b6749f3f4f4afc0ab493851d26e55f5ca98b0e5aa803e93d6fef7ab5
+SHA512 (winapi-util-0.1.9.crate) = c46b893f67ec6e36499b00736bb6b9421e0e2611e76784afa6da01d7ebd033df82f1be7cf8d871d541125d290983f98f26f759488ba9aface49efce8edd682e9
+Size (winapi-util-0.1.9.crate) = 12464 bytes
+BLAKE2s (windows-sys-0.59.0.crate) = 5d2e4c909fd9f3bde5e2eb73f2e77acec19a71a0f60d12047657922b583cbb26
+SHA512 (windows-sys-0.59.0.crate) = d35e009e979633a1f3c8468cd038bd5c8c0381405165ce03497decd7d9edaaac485d704487e4a61d9aaf4e4d011b4248408912df6a0044d50e8457259867e061
+Size (windows-sys-0.59.0.crate) = 2387323 bytes
+BLAKE2s (windows-targets-0.52.6.crate) = fed2bcf4841033cc3a74ee335a8e3914c4857457f829c88977081182cc6498b9
+SHA512 (windows-targets-0.52.6.crate) = d6d2dbd96096c6c396dba141a9817e377c35877f3b2fe58b2553280c7cfcb1ed6ee75bd4d62c9b882662de67ddaf0c1049b91530d29c94dd709c230e08eb895f
+Size (windows-targets-0.52.6.crate) = 6403 bytes
+BLAKE2s (windows_aarch64_gnullvm-0.52.6.crate) = 22fddd2aa2d7419001b540e1cb9c3702ae4fb2972cd94448e325c00729033c87
+SHA512 (windows_aarch64_gnullvm-0.52.6.crate) = f62b2d942bdb3a9353465b07d47b93de179bb706511aa497e4addd74cff95e689a9b633e7801ce786e73b5ae5f30b506b6faa199c5ab86eefdc1d94652df79c5
+Size (windows_aarch64_gnullvm-0.52.6.crate) = 435718 bytes
+BLAKE2s (windows_aarch64_msvc-0.52.6.crate) = 8f50e782f7ff109325620b809e13c08b948f85e0519cf249f70c5b605866d07c
+SHA512 (windows_aarch64_msvc-0.52.6.crate) = a3e21305ad0e6de38f5b5ed5d37ee5825b7521064163bcdf31d63341cd87983f54377865d2daf3bb480d2d0aa66d6f598fa09540ec1d71baea74569c86bd213b
+Size (windows_aarch64_msvc-0.52.6.crate) = 832615 bytes
+BLAKE2s (windows_i686_gnu-0.52.6.crate) = 2bf3eede03990415b9bd6ab49e4d91d962d8ebe6303560848a2e9ef9f316331a
+SHA512 (windows_i686_gnu-0.52.6.crate) = a1f6b5dd23d17ec3567bc9d11a4be6f35e196eee21ca342e9b88dbaa6a5f7c46e439c834b77e724f32ac22c0d81573746b3b513a6c944a221b92b2c76fe98822
+Size (windows_i686_gnu-0.52.6.crate) = 880402 bytes
+BLAKE2s (windows_i686_gnullvm-0.52.6.crate) = eafa7c3fdf8ce35ecee51ebf161ba59c582395537555921b94b8af952c9dd38c
+SHA512 (windows_i686_gnullvm-0.52.6.crate) = 95f13af855d530acc0b856214478d4b11b8dbab3f8f79dd223d0b009790c0e46d096fc1773e0277997deb2d5b96c704f17f23c7df11411524629f75415dec99f
+Size (windows_i686_gnullvm-0.52.6.crate) = 475940 bytes
+BLAKE2s (windows_i686_msvc-0.52.6.crate) = 085f4ed29405a0351ecf62874780f2692e011dc0cedbd945270fe7d1f032987a
+SHA512 (windows_i686_msvc-0.52.6.crate) = ca97913ce202d73266cf55947b868bea7e964a4516b6a096a81aeab6a60ee73867171032ced35e3afccff741ddfb2def7468343b6eceb95253e4d4f349efbf96
+Size (windows_i686_msvc-0.52.6.crate) = 901163 bytes
+BLAKE2s (windows_x86_64_gnu-0.52.6.crate) = 72ec3c98937b6cb854cb09a78dabd88a71f56e96cdc99a3b46d4641b395f81ec
+SHA512 (windows_x86_64_gnu-0.52.6.crate) = c4086bb0280042f2bef9b556283b67f8a5cacddd209e1c5fabec63decec6d4fd2d6a7071407973981b98ae0c0cf7034fc612f9e70dc6d3eed9acdec771ae31cb
+Size (windows_x86_64_gnu-0.52.6.crate) = 836363 bytes
+BLAKE2s (windows_x86_64_gnullvm-0.52.6.crate) = ad13afdffbbdfe4ac64f82de4ee71ba660793294c737412ddc7aa3f47109ddb3
+SHA512 (windows_x86_64_gnullvm-0.52.6.crate) = 67681f5859e249c56b0183181811f6212cc7008d6471dad78aecc7ebe3d027686b19210b8aa9014c554410f69f913d21ce2aca928eea905eab779bea26464cbd
+Size (windows_x86_64_gnullvm-0.52.6.crate) = 435707 bytes
+BLAKE2s (windows_x86_64_msvc-0.52.6.crate) = 5b8f356fbbd3d304c939f19f79a10b72a39c1b27decca9b0449a4af3761e9a79
+SHA512 (windows_x86_64_msvc-0.52.6.crate) = 21944cd8e3a481b514509e73ae3f62722fe7ed380d37ea0c25f8fbdeba79174dd52ff65d898838da5df4197894b74e00f45d47489418e978753b4e55c7e623e7
+Size (windows_x86_64_msvc-0.52.6.crate) = 832564 bytes
diff --git a/powerdns-recursor52/files/pdns_recursor.sh b/powerdns-recursor52/files/pdns_recursor.sh
new file mode 100755
index 0000000000..fa2ec655c4
--- /dev/null
+++ b/powerdns-recursor52/files/pdns_recursor.sh
@@ -0,0 +1,19 @@
+#!@RCD_SCRIPTS_SHELL@
+#
+# $NetBSD: pdns_recursor.sh,v 1.2 2020/09/30 11:53:07 otis Exp $
+#
+
+# PROVIDE: pdns_recursor
+# REQUIRE: DAEMON
+
+. /etc/rc.subr
+
+name="pdns_recursor"
+rcvar=$name
+command="@PREFIX@/sbin/pdns_recursor"
+command_args="--daemon=yes 2>/dev/null"
+pidfile=/var/run/pdns-recursor/${name}.pid
+required_files="@PKG_SYSCONFDIR@/recursor.yml"
+
+load_rc_config $name
+run_rc_command "$1"
diff --git a/powerdns-recursor52/files/smf/manifest.xml b/powerdns-recursor52/files/smf/manifest.xml
new file mode 100755
index 0000000000..5b6dfadf59
--- /dev/null
+++ b/powerdns-recursor52/files/smf/manifest.xml
@@ -0,0 +1,30 @@
+<?xml version="1.0"?>
+<!DOCTYPE service_bundle SYSTEM "/usr/share/lib/xml/dtd/service_bundle.dtd.1">
+<service_bundle type="manifest" name="export">
+ <service name="@SMF_PREFIX@/pdns-recursor" type="service" version="1">
+ <create_default_instance enabled="false" />
+ <single_instance />
+ <dependency name="network" grouping="require_all" restart_on="error" type="service">
+ <service_fmri value="svc:/milestone/network:default" />
+ </dependency>
+ <dependency name="filesystem" grouping="require_all" restart_on="error" type="service">
+ <service_fmri value="svc:/system/filesystem/local" />
+ </dependency>
+ <method_context></method_context>
+ <exec_method type='method' name='start' exec='@PREFIX@/@SMF_METHOD_FILE.pdns_recursor@ start' timeout_seconds='30' />
+ <exec_method type='method' name='stop' exec='@PREFIX@/@SMF_METHOD_FILE.pdns_recursor@ stop' timeout_seconds='30' />
+ <exec_method type='method' name='refresh' exec='@PREFIX@/@SMF_METHOD_FILE.pdns_recursor@ refresh' timeout_seconds='30' />
+ <property_group name="startd" type="framework">
+ <propval name="duration" type="astring" value="contract" />
+ <propval name="ignore_error" type="astring" value="core,signal" />
+ </property_group>
+ <property_group name="application" type="application">
+ <propval name="config_file" type="astring" value="@PKG_SYSCONFDIR@/recursor.xml" />
+ </property_group>
+ <template>
+ <common_name>
+ <loctext xml:lang="C">PowerDNS recursor service</loctext>
+ </common_name>
+ </template>
+ </service>
+</service_bundle>
diff --git a/powerdns-recursor52/files/smf/pdns_recursor.sh b/powerdns-recursor52/files/smf/pdns_recursor.sh
new file mode 100755
index 0000000000..be558dd071
--- /dev/null
+++ b/powerdns-recursor52/files/smf/pdns_recursor.sh
@@ -0,0 +1,24 @@
+#!@SMF_METHOD_SHELL@
+#
+# $NetBSD: pdns_recursor.sh,v 1.1 2020/09/30 11:53:07 otis Exp $
+#
+
+. /lib/svc/share/smf_include.sh
+
+if [ ! -d @VARBASE@/run/pdns-recursor ]; then
+ @MKDIR@ @VARBASE@/run/pdns-recursor
+ @CHMOD@ 0755 @VARBASE@/run/pdns-recursor
+fi
+
+case "$1" in
+ start)
+ @PREFIX@/sbin/pdns_recursor --daemon
+ ;;
+ stop)
+ @PREFIX@/bin/rec_control quit
+ ;;
+ refresh)
+ $0 stop
+ $0 start
+ ;;
+esac
Home |
Main Index |
Thread Index |
Old Index