diff --git a/net/babeld/Makefile b/net/babeld/Makefile index ae88baef900a..dc43dbc9efe3 100644 --- a/net/babeld/Makefile +++ b/net/babeld/Makefile @@ -1,28 +1,29 @@ # Created by: Hung-Yi Chen PORTNAME= babeld PORTVERSION= 1.10 DISTVERSIONPREFIX= ${PORTNAME}- +PORTREVISION= 1 CATEGORIES= net MAINTAINER= gaod@hychen.org COMMENT= Distance-vector routing protocol LICENSE= MIT MAKE_ARGS= CDEBUGFLAGS="-O2 -g -Wall" PLIST_FILES= bin/babeld \ man/man8/babeld.8.gz \ "@sample etc/babeld.conf.sample" USE_GITHUB= yes GH_ACCOUNT= jech USE_RC_SUBR= babeld do-install: ${INSTALL_PROGRAM} ${WRKSRC}/babeld ${STAGEDIR}${PREFIX}/bin/ ${INSTALL_MAN} ${WRKSRC}/babeld.man ${STAGEDIR}${PREFIX}/man/man8/babeld.8 ${INSTALL_DATA} ${FILESDIR}/babeld.conf ${STAGEDIR}${PREFIX}/etc/babeld.conf.sample .include 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 @@ -1,33 +1,32 @@ #!/bin/sh # PROVIDE: babeld dynamicrouting # REQUIRE: LOGIN # KEYWORD: shutdown # # Add the following lines to /etc/rc.conf.local or /etc/rc.conf # to enable this service: # # babeld_enable (bool): Set to NO by default. # Set it to YES to enable babeld. # babeld_config (path): Set to /usr/local/etc/babeld.conf # by default. # . /etc/rc.subr name="babeld" rcvar=babeld_enable command=/usr/local/bin/${name} load_rc_config $name 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 @@ -1,8 +1,8 @@ Babel is a distance-vector routing protocol for IPv6 and IPv4 with fast convergence properties. It is based on the ideas in DSDV, AODV and 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/