summaryrefslogtreecommitdiff
path: root/net/bird3
diff options
context:
space:
mode:
Diffstat (limited to 'net/bird3')
-rw-r--r--net/bird3/Makefile3
-rw-r--r--net/bird3/files/bird.in6
2 files changed, 7 insertions, 2 deletions
diff --git a/net/bird3/Makefile b/net/bird3/Makefile
index 6e6e2272b75c..4ac5d93bd9e2 100644
--- a/net/bird3/Makefile
+++ b/net/bird3/Makefile
@@ -1,12 +1,13 @@
PORTNAME= bird
DISTVERSION= 3.1.3
+PORTREVISION= 1
CATEGORIES= net
MASTER_SITES= https://bird.nic.cz/download/
PKGNAMESUFFIX= 3
MAINTAINER= olivier@FreeBSD.org
COMMENT= Dynamic multithreaded IP routing daemon
-WWW= https://bird.network.cz/
+WWW= https://bird.nic.cz/
LICENSE= GPLv2
diff --git a/net/bird3/files/bird.in b/net/bird3/files/bird.in
index de800bd69b81..91932c656db9 100644
--- a/net/bird3/files/bird.in
+++ b/net/bird3/files/bird.in
@@ -1,7 +1,7 @@
#!/bin/sh
# PROVIDE: bird dynamicrouting
-# REQUIRE: LOGIN
+# REQUIRE: DAEMONS
# KEYWORD: shutdown
#
# Add the following lines to /etc/rc.conf.local or /etc/rc.conf
@@ -27,4 +27,8 @@ load_rc_config $name
command=%%PREFIX%%/sbin/${name}
command_args="-c $bird_config -g $bird_group"
+extra_commands="gracefulrestart" # It is not a restart but a stop
+
+gracefulrestart_cmd="%%PREFIX%%/sbin/${name}c graceful restart"
+
run_rc_command "$1"