diff --git a/net/bird2/Makefile b/net/bird2/Makefile index cd79c33d782c..308eb8a9324b 100644 --- a/net/bird2/Makefile +++ b/net/bird2/Makefile @@ -1,80 +1,80 @@ PORTNAME= bird -DISTVERSION= 2.17.1 +DISTVERSION= 2.17.2 CATEGORIES= net -MASTER_SITES= https://bird.network.cz/download/ +MASTER_SITES= https://bird.nic.cz/download/ PKGNAMESUFFIX= 2 MAINTAINER= olivier@FreeBSD.org COMMENT= Dynamic IP routing daemon -WWW= https://bird.network.cz/ +WWW= https://bird.nic.cz/ LICENSE= GPLv2 FLAVORS= netlink rtsock rtsock_PKGNAMESUFFIX= 2-rtsock USES= bison cpe gmake ncurses readline CONFLICTS= bird3 CPE_VENDOR= nic USE_CSTD= gnu99 GNU_CONFIGURE= yes CONFIGURE_ARGS= --localstatedir=/var USE_RC_SUBR= bird SUB_FILES= pkg-message GROUPS= birdvty MAKE_JOBS_UNSAFE= yes OPTIONS_MULTI= RP RP_DESC= Routing Protocols OPTIONS_MULTI_RP= BFD BABEL BMP BGP MRT OSPF PIPE RADV RIP RPKI STATIC OPTIONS_DEFAULT= BFD BABEL BGP MRT OSPF PIPE RADV RIP RPKI STATIC BFD_DESC= Bidirectional Forwarding Detection BABEL_DESC= Babel routing protocol BGP_DESC= Border Gateway Protocol BMP_DESC= BGP Monitoring Protocol MRT_DESC= Dumping Routing Information in MRT Format OSPF_DESC= Open Short Path First PIPE_DESC= PIPE routing RADV_DESC= Router Advertisement RIP_DESC= Routing Information Protocol RPKI_DESC= Resource Public Key Infrastructure STATIC_DESC= Static routing BFD_VARS= rt_prot+=bfd BABEL_VARS= rt_prot+=babel BGP_VARS= rt_prot+=bgp BMP_VARS= rt_prot+=bmp MRT_VARS= rt_prot+=mrt OSPF_VARS= rt_prot+=ospf PIPE_VARS= rt_prot+=pipe RADV_VARS= rt_prot+=radv RIP_VARS= rt_prot+=rip RPKI_VARS= rt_prot+=rpki STATIC_VARS= rt_prot+=static CONFIGURE_ARGS+=--with-protocols="${RT_PROT}" RPKI_LIB_DEPENDS= libssh.so:security/libssh .include .if ${FLAVOR:U} != rtsock CONFIGURE_ARGS+=--with-sysconfig=bsd-netlink .endif .if ${OPSYS} == FreeBSD && ${OSVERSION} < 1400000 FLAVORS= rtsock netlink netlink_PKGNAMESUFFIX= 2-netlink rtsock_PKGNAMESUFFIX= 2 .endif .if ${OPSYS} == FreeBSD && (${OSVERSION} >= 1500000 && ${OSVERSION} < 1500017) EXTRA_PATCHES= ${PATCHDIR}/extra-patch-netlink-route .endif .include diff --git a/net/bird2/distinfo b/net/bird2/distinfo index 9c8173f95b91..f98db37247e3 100644 --- a/net/bird2/distinfo +++ b/net/bird2/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1746480313 -SHA256 (bird-2.17.1.tar.gz) = bfd718dfa596819b3801688783212514b467163329aec9bbcd0fa3dee03e10e9 -SIZE (bird-2.17.1.tar.gz) = 1471008 +TIMESTAMP = 1757289112 +SHA256 (bird-2.17.2.tar.gz) = 440dd2d3aca64323b46fd45532e573accaf8bdde639ee4bfcd68ea9b13328cdd +SIZE (bird-2.17.2.tar.gz) = 1499113 diff --git a/net/bird2/files/bird.in b/net/bird2/files/bird.in index de800bd69b81..91932c656db9 100644 --- a/net/bird2/files/bird.in +++ b/net/bird2/files/bird.in @@ -1,30 +1,34 @@ #!/bin/sh # PROVIDE: bird dynamicrouting -# REQUIRE: LOGIN +# REQUIRE: DAEMONS # KEYWORD: shutdown # # Add the following lines to /etc/rc.conf.local or /etc/rc.conf # to enable this service: # # bird_enable (bool): Set to NO by default. # Set it to YES to enable bird. # bird_config (path): Set to %%PREFIX%%/etc/bird.conf # by default. # . /etc/rc.subr name="bird" rcvar=bird_enable load_rc_config $name : ${bird_enable="NO"} : ${bird_config="%%PREFIX%%/etc/bird.conf"} : ${bird_group="birdvty"} 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"