git: 47c174e69afe - main - dns/gdnsd3: fix reload/restart/stats rc commands
Philip Paeps
philip at FreeBSD.org
Fri Sep 3 12:20:34 UTC 2021
The branch main has been updated by philip:
URL: https://cgit.FreeBSD.org/ports/commit/?id=47c174e69afe5faedc815a49fc724675b1bf7f60
commit 47c174e69afe5faedc815a49fc724675b1bf7f60
Author: Philip Paeps <philip at FreeBSD.org>
AuthorDate: 2021-09-03 12:20:10 +0000
Commit: Philip Paeps <philip at FreeBSD.org>
CommitDate: 2021-09-03 12:20:10 +0000
dns/gdnsd3: fix reload/restart/stats rc commands
Use the absolute path to gdnsdctl.
Approved by: zi (maintainer)
---
dns/gdnsd3/Makefile | 1 +
dns/gdnsd3/files/gdnsd.in | 6 +++---
2 files changed, 4 insertions(+), 3 deletions(-)
diff --git a/dns/gdnsd3/Makefile b/dns/gdnsd3/Makefile
index 407fee3c681d..a849395d7628 100644
--- a/dns/gdnsd3/Makefile
+++ b/dns/gdnsd3/Makefile
@@ -2,6 +2,7 @@
PORTNAME= gdnsd
PORTVERSION= 3.7.0
+PORTREVISION= 1
CATEGORIES= dns
MASTER_SITES= https://github.com/gdnsd/gdnsd/releases/download/v${PORTVERSION}/ \
ZI \
diff --git a/dns/gdnsd3/files/gdnsd.in b/dns/gdnsd3/files/gdnsd.in
index 643779a25887..088edc85a554 100644
--- a/dns/gdnsd3/files/gdnsd.in
+++ b/dns/gdnsd3/files/gdnsd.in
@@ -48,12 +48,12 @@ gdnsd_prestart()
gdnsd_reload()
{
- gdnsdctl reload-zones
+ %%PREFIX%%/bin/gdnsdctl reload-zones
}
gdnsd_restart()
{
- gdnsdctl replace
+ %%PREFIX%%/bin/gdnsdctl replace
}
gdnsd_checkconf()
@@ -63,7 +63,7 @@ gdnsd_checkconf()
gdnsd_stats()
{
- gdnsdctl stats
+ %%PREFIX%%/bin/gdnsdctl stats
}
run_rc_command "$1"
More information about the dev-commits-ports-all
mailing list