pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
powerdns-recursor52: fixing conf file coverage
Module Name: pkgsrc-wip
Committed By: Marcin Gondek <drixter%e-utp.net@localhost>
Pushed By: drixter
Date: Mon Apr 7 22:39:50 2025 +0200
Changeset: d340aa27a89ca3c0d9c5e86a647ec69442ceb8f9
Modified Files:
powerdns-recursor52/Makefile
powerdns-recursor52/PLIST
powerdns-recursor52/cargo.mk
Added Files:
powerdns-recursor52/COMMIT_MSG
Log Message:
powerdns-recursor52: fixing conf file coverage
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=d340aa27a89ca3c0d9c5e86a647ec69442ceb8f9
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
powerdns-recursor52/COMMIT_MSG | 2 ++
powerdns-recursor52/Makefile | 6 ++++++
powerdns-recursor52/PLIST | 2 +-
powerdns-recursor52/cargo.mk | 31 +------------------------------
4 files changed, 10 insertions(+), 31 deletions(-)
diffs:
diff --git a/powerdns-recursor52/COMMIT_MSG b/powerdns-recursor52/COMMIT_MSG
new file mode 100644
index 0000000000..5a6fe5a933
--- /dev/null
+++ b/powerdns-recursor52/COMMIT_MSG
@@ -0,0 +1,2 @@
+net/powerdns-recursor52 Update to 5.2.0
+
diff --git a/powerdns-recursor52/Makefile b/powerdns-recursor52/Makefile
index 4c429b602f..5e7c381a69 100644
--- a/powerdns-recursor52/Makefile
+++ b/powerdns-recursor52/Makefile
@@ -1,6 +1,7 @@
# $NetBSD$
DISTNAME= pdns-recursor-5.2.0
+PKGREVISION= 1
CATEGORIES= net
MASTER_SITES= https://downloads.powerdns.com/releases/
EXTRACT_SUFX= .tar.bz2
@@ -22,6 +23,11 @@ CONFIGURE_ARGS+= --enable-dns-over-tls
CHECK_WRKREF_SKIP+= sbin/pdns_recursor
+EGDIR= ${PREFIX}/share/examples/powerdns-recursor52
+CONF_FILES= ${EGDIR}/recursor.yml-dist ${PKG_SYSCONFDIR}/recursor.yml
+INSTALLATION_DIRS+= ${EGDIR}
+INSTALL_MAKE_FLAGS= ${MAKE_FLAGS} sysconfdir=${EGDIR}
+
RCD_SCRIPTS= pdns_recursor
SMF_NAME= pdns-recursor
diff --git a/powerdns-recursor52/PLIST b/powerdns-recursor52/PLIST
index b5bf44c000..30905d584b 100644
--- a/powerdns-recursor52/PLIST
+++ b/powerdns-recursor52/PLIST
@@ -1,6 +1,6 @@
@comment $NetBSD$
bin/rec_control
-etc/recursor.yml-dist
man/man1/pdns_recursor.1
man/man1/rec_control.1
sbin/pdns_recursor
+share/examples/powerdns-recursor52/recursor.yml-dist
diff --git a/powerdns-recursor52/cargo.mk b/powerdns-recursor52/cargo.mk
index 6478dbe0c2..f65a6dd96a 100644
--- a/powerdns-recursor52/cargo.mk
+++ b/powerdns-recursor52/cargo.mk
@@ -85,33 +85,4 @@ CARGO_INSTALL_ARGS?= install --path . --root ${DESTDIR}${PREFIX} ${DEFAULT_CARGO
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
+# PowerDNS Recursor is not pure rust application, removing generic build commands
Home |
Main Index |
Thread Index |
Old Index