git: 9684f42bbe0a - main - net/frr9: Fix rc script with staticd
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 14 Jan 2024 17:24:03 UTC
The branch main has been updated by olivier:
URL: https://cgit.FreeBSD.org/ports/commit/?id=9684f42bbe0a2951c1327a5619734a753dc3e64d
commit 9684f42bbe0a2951c1327a5619734a753dc3e64d
Author: Olivier Cochard <olivier@FreeBSD.org>
AuthorDate: 2024-01-14 17:20:54 +0000
Commit: Olivier Cochard <olivier@FreeBSD.org>
CommitDate: 2024-01-14 17:23:19 +0000
net/frr9: Fix rc script with staticd
PR: 276333
Reported by: pi
---
net/frr9/Makefile | 1 +
net/frr9/files/frr.in | 4 ++--
2 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/net/frr9/Makefile b/net/frr9/Makefile
index b8477ab81ec5..0a5b032b2f62 100644
--- a/net/frr9/Makefile
+++ b/net/frr9/Makefile
@@ -1,6 +1,7 @@
PORTNAME= frr
PORTVERSION= 9.1
DISTVERSIONPREFIX= frr-
+PORTREVISION= 1
CATEGORIES= net
.if defined(PYTHONTOOLS)
PKGNAMESUFFIX= 9-pythontools
diff --git a/net/frr9/files/frr.in b/net/frr9/files/frr.in
index 45de683c547b..a62055d75d3e 100644
--- a/net/frr9/files/frr.in
+++ b/net/frr9/files/frr.in
@@ -53,8 +53,8 @@ check_config()
{
echo "Checking $daemon.conf"
# pimd doesn't support -C
- if [ "$daemon" = "pimd" ]; then
- echo "Ignored"
+ if [ "$daemon" = "pimd" -o "$daemon" = "staticd" ]; then
+ echo "confchk $daemon ignored"
else
$command $daemon_flags -C
result=$?