git: 9a61a97a8713 - main - net/babeld: Fix rc script to pass config file correctly

From: Li-Wen Hsu <lwhsu_at_FreeBSD.org>
Date: Tue, 11 Jan 2022 09:30:24 UTC
The branch main has been updated by lwhsu:

URL: https://cgit.FreeBSD.org/ports/commit/?id=9a61a97a87137ff512692f96aa93d5a3b1cfa8df

commit 9a61a97a87137ff512692f96aa93d5a3b1cfa8df
Author:     Hung-Yi Chen <gaod@hychen.org>
AuthorDate: 2022-01-11 09:28:09 +0000
Commit:     Li-Wen Hsu <lwhsu@FreeBSD.org>
CommitDate: 2022-01-11 09:30:07 +0000

    net/babeld: Fix rc script to pass config file correctly
    
    While here, update WWW
    
    PR:             261094
    Reported by:    Dennis Noordsij <dennis.noordsij@alumni.helsinki.fi>
---
 net/babeld/Makefile        | 1 +
 net/babeld/files/babeld.in | 3 +--
 net/babeld/pkg-descr       | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/net/babeld/Makefile b/net/babeld/Makefile
index ae88baef900a..dc43dbc9efe3 100644
--- a/net/babeld/Makefile
+++ b/net/babeld/Makefile
@@ -3,6 +3,7 @@
 PORTNAME=	babeld
 PORTVERSION=	1.10
 DISTVERSIONPREFIX=	${PORTNAME}-
+PORTREVISION=	1
 CATEGORIES=	net
 
 MAINTAINER=	gaod@hychen.org
diff --git a/net/babeld/files/babeld.in b/net/babeld/files/babeld.in
index e1f078b7c035..bb3685e710fd 100644
--- a/net/babeld/files/babeld.in
+++ b/net/babeld/files/babeld.in
@@ -27,7 +27,6 @@ extra_commands="reload"
 : ${babeld_enable="NO"}
 : ${babeld_config="/usr/local/etc/babeld.conf"}
 
-command_args="-D -I /var/run/${name}.pid $babeld_config"
+command_args="-D -I /var/run/${name}.pid -c $babeld_config"
 
 run_rc_command "$1"
-
diff --git a/net/babeld/pkg-descr b/net/babeld/pkg-descr
index 12b0f8641c49..7a38ad94d510 100644
--- a/net/babeld/pkg-descr
+++ b/net/babeld/pkg-descr
@@ -5,4 +5,4 @@ Cisco's EIGRP, but uses a variant of ETX
 link cost estimation rather than a simple
 hop-count metric.
 
-WWW: http://www.pps.jussieu.fr/~jch/software/babel/
+WWW: https://www.irif.fr/~jch/software/babel/