mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-22 08:58:47 +00:00
Remove old net/frr6.
Reported by: pkg-fallout
This commit is contained in:
parent
9667e64b69
commit
dd362bc616
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=548198
1
MOVED
1
MOVED
@ -15428,3 +15428,4 @@ x11-wm/e-module-mem||2020-09-09|Removed
|
||||
x11-wm/e-module-rmb||2020-09-09|Removed
|
||||
x11-wm/e-module-wlan||2020-09-09|Removed
|
||||
x11-wm/e-modules||2020-09-09|Removed
|
||||
net/frr6|net/frr7|2020-09-10|Has expired: Uses deprecated version of python and upstream no longer maintained
|
||||
|
@ -169,7 +169,6 @@
|
||||
SUBDIR += freerdp
|
||||
SUBDIR += freeswitch
|
||||
SUBDIR += freevrrpd
|
||||
SUBDIR += frr6
|
||||
SUBDIR += frr7
|
||||
SUBDIR += frr7-pythontools
|
||||
SUBDIR += fspclient
|
||||
|
@ -1,91 +0,0 @@
|
||||
# $FreeBSD$
|
||||
|
||||
PORTNAME= frr
|
||||
PORTVERSION= 6.0.2
|
||||
DISTVERSIONPREFIX= frr-
|
||||
PORTREVISION= 5
|
||||
CATEGORIES= net
|
||||
PKGNAMESUFFIX= 6
|
||||
|
||||
MAINTAINER= olivier@FreeBSD.org
|
||||
COMMENT= IP routing protocol suite including BGP, IS-IS, OSPF and RIP
|
||||
|
||||
LICENSE= GPLv2
|
||||
LICENSE_FILE= ${WRKSRC}/COPYING
|
||||
|
||||
DEPRECATED= Uses deprecated version of python
|
||||
EXPIRATION_DATE= 2020-09-15
|
||||
|
||||
BUILD_DEPENDS= gawk:lang/gawk
|
||||
LIB_DEPENDS= libjson-c.so:devel/json-c
|
||||
|
||||
USES= autoreconf bison compiler:c++11-lang gmake pkgconfig libtool \
|
||||
makeinfo python:2.7,build readline
|
||||
|
||||
CONFLICTS= openbgpd openospfd zebra quagga frr5 frr7
|
||||
|
||||
GNU_CONFIGURE= yes
|
||||
INSTALL_TARGET= install-strip
|
||||
USE_LDCONFIG= yes
|
||||
|
||||
USE_GITHUB= yes
|
||||
GH_ACCOUNT= FRRouting
|
||||
|
||||
INFO= frr
|
||||
|
||||
OPTIONS_DEFINE= FPM LDPD PAM SHELLACCESS TCPSOCKETS VTYSH MANPAGES \
|
||||
MULTIPATH TCMALLOC RPKI SNMP
|
||||
OPTIONS_DEFAULT= VTYSH RPKI FPM MANPAGES
|
||||
OPTIONS_SUB= yes
|
||||
|
||||
FPM_DESC= Enable Forwarding Plane Manager support
|
||||
LDPD_DESC= Build ldpd
|
||||
MULTIPATH_DESC= Enable multipath function
|
||||
PAM_DESC= Use libpam for PAM support in vtysh
|
||||
RPKI_DESC= Add BGP RPKI (RFC 6810) support
|
||||
SHELLACCESS_DESC= Allow users to access shell/telnet/ssh
|
||||
SNMP_DESC= SNMP support
|
||||
TCMALLOC_DESC= Use tcmalloc
|
||||
TCPSOCKETS_DESC= Use TCP/IP sockets for protocol daemons
|
||||
VTYSH_DESC= Build integrated vty shell
|
||||
|
||||
USERS= frr
|
||||
GROUPS= frr frrvty
|
||||
|
||||
CPPFLAGS+= -I${LOCALBASE}/include
|
||||
LDFLAGS+= -L${LOCALBASE}/lib
|
||||
|
||||
# PIM compile but didn't work on FreeBSD
|
||||
CONFIGURE_ARGS= --enable-user=frr \
|
||||
--enable-group=frr \
|
||||
--enable-vty-group=frrvty \
|
||||
--sysconfdir=${ETCDIR} \
|
||||
--localstatedir=/var/run/frr \
|
||||
--disable-nhrpd \
|
||||
--disable-pimd
|
||||
|
||||
MANPAGES_BUILD_DEPENDS= ${PY_SPHINX}
|
||||
MANPAGES_BINARY_ALIAS= sphinx-build=sphinx-build-${PYTHON_VER}
|
||||
MANPAGES_CONFIGURE_OFF= --disable-doc
|
||||
SHELLACCESS_CONFIGURE_ENABLE= shell-access
|
||||
FPM_CONFIGURE_ENABLE= fpm
|
||||
PAM_CONFIGURE_WITH= libpam
|
||||
LDPD_CONFIGURE_ENABLE= ldpd
|
||||
MULTIPATH_CONFIGURE_ON= --enable-multipath=64
|
||||
RPKI_CONFIGURE_ENABLE= rpki
|
||||
RPKI_LIB_DEPENDS= librtr.so:net-mgmt/rtrlib \
|
||||
libssh.so:security/libssh
|
||||
TCMALLOC_CONFIGURE_ENABLE= tcmalloc
|
||||
TCMALLOC_LIB_DEPENDS= libtcmalloc.so:devel/google-perftools
|
||||
SNMP_CONFIGURE_ENABLE= snmp
|
||||
SNMP_CFLAGS= "-std=gnu99"
|
||||
SNMP_LIB_DEPENDS= libnetsnmp.so:net-mgmt/net-snmp
|
||||
TCPSOCKETS_CONFIGURE_ENABLE= tcp-zebra
|
||||
VTYSH_CONFIGURE_ENABLE= vtysh
|
||||
|
||||
USE_RC_SUBR= frr watchfrr
|
||||
|
||||
post-install:
|
||||
${MKDIR} ${STAGEDIR}/var/run/frr
|
||||
|
||||
.include <bsd.port.mk>
|
@ -1,3 +0,0 @@
|
||||
TIMESTAMP = 1546953642
|
||||
SHA256 (FRRouting-frr-frr-6.0.2_GH0.tar.gz) = dde97d012b6068a1230c0c6a03b38015befae37f617b9ffbd17024c71a170d94
|
||||
SIZE (FRRouting-frr-frr-6.0.2_GH0.tar.gz) = 4476089
|
@ -1,164 +0,0 @@
|
||||
#!/bin/sh
|
||||
#
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
# PROVIDE: frr dynamicrouting
|
||||
# REQUIRE: netif routing
|
||||
# KEYWORD: nojailvnet shutdown
|
||||
|
||||
# Add the following line to /etc/rc.conf to enable frr:
|
||||
# frr_enable="YES"
|
||||
#
|
||||
# You may also wish to use the following variables to fine-tune startup:
|
||||
# frr_flags=""
|
||||
# frr_daemons="zebra ripd ripngd ospfd ospf6d bgpd isisd eigrpd babeld bfdd staticd"
|
||||
# frr_vtysh_boot="YES"
|
||||
# Per daemon tuning may be done with daemon_name_flags
|
||||
# zebra_flags="-P 0"
|
||||
# bgpd_flags="-nrP 0" and so on
|
||||
# If you want to give the routing daemons a chance to catchup before
|
||||
# continuing, set frr_wait_for to a "default" or certain prefix.
|
||||
# frr_wait_for="default"
|
||||
# Set the time limit for the wait.
|
||||
# frr_wait_seconds="90"
|
||||
#
|
||||
# If the frr daemons require additional shared libraries to start,
|
||||
# use the following variable to run ldconfig(8) in advance:
|
||||
# frr_extralibs_path="/usr/local/lib ..."
|
||||
#
|
||||
# This RC script was adapted from the net/quagga port
|
||||
|
||||
. /etc/rc.subr
|
||||
|
||||
name=frr
|
||||
rcvar=$name_enable
|
||||
|
||||
start_postcmd=start_postcmd
|
||||
stop_postcmd="rm -f $pidfile"
|
||||
configtest_cmd=check_config
|
||||
extra_commands=configtest
|
||||
command_args="-d"
|
||||
|
||||
load_rc_config $name
|
||||
: ${frr_enable:="NO"}
|
||||
: ${frr_flags:=""}
|
||||
: ${frr_daemons:="zebra ripd ripngd ospfd ospf6d bgpd isisd eigrpd babeld bfdd staticd"}
|
||||
: ${frr_vtysh_boot:="NO"}
|
||||
: ${frr_wait_for:=""}
|
||||
: ${frr_wait_seconds:="90"}
|
||||
|
||||
check_config()
|
||||
{
|
||||
echo "Checking $daemon.conf"
|
||||
# pimd doesn't support -C
|
||||
if [ "$daemon" = "pimd" ]; then
|
||||
echo "Ignored"
|
||||
else
|
||||
$command $daemon_flags -C
|
||||
result=$?
|
||||
if [ "$result" -eq "0" ]; then
|
||||
echo "OK"
|
||||
else
|
||||
echo "FAILED"
|
||||
exit
|
||||
fi
|
||||
fi
|
||||
}
|
||||
|
||||
start_postcmd()
|
||||
{
|
||||
local waited_for
|
||||
waited_for=0
|
||||
# Wait only when last daemon has started.
|
||||
if [ "${frr_daemons}" = "${frr_daemons% ${name}}" ]; then
|
||||
return;
|
||||
fi
|
||||
if [ -n "${frr_wait_for}" ]; then
|
||||
echo Waiting for ${frr_wait_for} route...
|
||||
while [ ${waited_for} -lt ${frr_wait_seconds} ]; do
|
||||
/sbin/route -n get ${frr_wait_for} >/dev/null 2>&1 && break;
|
||||
waited_for=$((waited_for+1))
|
||||
sleep 1;
|
||||
done
|
||||
[ ${waited_for} -lt ${frr_wait_seconds} ] || echo Giving up...
|
||||
fi
|
||||
}
|
||||
|
||||
do_cmd()
|
||||
{
|
||||
local ret
|
||||
ret=0
|
||||
frr_cmd=$1
|
||||
if checkyesno frr_vtysh_boot && ( [ ${frr_cmd} = "restart" ] || [ ${frr_cmd} = "start" ] ); then
|
||||
echo "Checking intergrated config..."
|
||||
daemon="vtysh"
|
||||
daemon_flags=""
|
||||
command=%%PREFIX%%/bin/${daemon}
|
||||
check_config
|
||||
fi
|
||||
for daemon in ${frr_daemons}; do
|
||||
command=%%PREFIX%%/sbin/${daemon}
|
||||
pidfile=/var/run/frr/${daemon}.pid
|
||||
if ! checkyesno frr_vtysh_boot; then
|
||||
required_files=%%ETCDIR%%/${daemon}.conf
|
||||
if [ ${frr_cmd} = "restart" ] || [ ${frr_cmd} = "start" ]; then
|
||||
check_config
|
||||
fi
|
||||
if [ ${frr_cmd} = "start" ] && ! [ -f ${required_files} ]; then
|
||||
continue
|
||||
fi
|
||||
fi
|
||||
if [ ${frr_cmd} = "stop" ] && [ -z $(check_process ${command}) ]; then
|
||||
continue
|
||||
fi
|
||||
eval flags=\$\{${daemon}_flags:-\"${frr_flags}\"\}
|
||||
name=${daemon}
|
||||
_rc_restart_done=false
|
||||
run_rc_command "$1" || ret=1
|
||||
done
|
||||
if checkyesno frr_vtysh_boot && ( [ ${frr_cmd} = "restart" ] || [ ${frr_cmd} = "start" ] ); then
|
||||
echo "Booting for integrated-vtysh-config..."
|
||||
%%PREFIX%%/bin/vtysh -b
|
||||
fi
|
||||
return ${ret}
|
||||
}
|
||||
|
||||
frr_cmd=$1
|
||||
|
||||
case "$1" in
|
||||
force*)
|
||||
frr_cmd=${frr_cmd#force}
|
||||
;;
|
||||
fast*)
|
||||
frr_cmd=${frr_cmd#fast}
|
||||
;;
|
||||
esac
|
||||
shift
|
||||
|
||||
if [ $# -ge 1 ]; then
|
||||
frr_daemons="$*"
|
||||
fi
|
||||
|
||||
case "${frr_cmd}" in
|
||||
start|quietstart)
|
||||
if [ -n "${frr_extralibs_path}" ]; then
|
||||
/sbin/ldconfig -m ${frr_extralibs_path}
|
||||
fi
|
||||
# Why should I need to add this check ?
|
||||
checkyesno frr_enable && do_cmd "start"
|
||||
;;
|
||||
stop)
|
||||
frr_daemons=$(reverse_list ${frr_daemons})
|
||||
do_cmd "stop"
|
||||
;;
|
||||
restart)
|
||||
frr_daemons=$(reverse_list ${frr_daemons})
|
||||
do_cmd "stop"
|
||||
frr_daemons=$(reverse_list ${frr_daemons})
|
||||
checkyesno frr_enable && do_cmd "start"
|
||||
;;
|
||||
*)
|
||||
do_cmd "${frr_cmd}"
|
||||
;;
|
||||
esac
|
@ -1,11 +0,0 @@
|
||||
--- Makefile.am.orig 2019-01-08 14:24:52.207825000 +0100
|
||||
+++ Makefile.am 2019-01-08 14:25:02.214572000 +0100
|
||||
@@ -117,7 +117,7 @@
|
||||
include watchfrr/subdir.am
|
||||
include qpb/subdir.am
|
||||
include fpm/subdir.am
|
||||
-include tools/subdir.am
|
||||
+#include tools/subdir.am
|
||||
include solaris/subdir.am
|
||||
|
||||
include bgpd/subdir.am
|
@ -1,16 +0,0 @@
|
||||
--- bgpd/bgp_routemap.c.orig 2019-01-08 08:29:22 UTC
|
||||
+++ bgpd/bgp_routemap.c
|
||||
@@ -2452,11 +2452,11 @@ route_set_ipv6_nexthop_prefer_global(void *rule, const
|
||||
&& peer->su_remote
|
||||
&& sockunion_family(peer->su_remote) == AF_INET6) {
|
||||
/* Set next hop preference to global */
|
||||
- bgp_info->attr->mp_nexthop_prefer_global = TRUE;
|
||||
+ bgp_info->attr->mp_nexthop_prefer_global = true;
|
||||
SET_FLAG(bgp_info->attr->rmap_change_flags,
|
||||
BATTR_RMAP_IPV6_PREFER_GLOBAL_CHANGED);
|
||||
} else {
|
||||
- bgp_info->attr->mp_nexthop_prefer_global = FALSE;
|
||||
+ bgp_info->attr->mp_nexthop_prefer_global = false;
|
||||
SET_FLAG(bgp_info->attr->rmap_change_flags,
|
||||
BATTR_RMAP_IPV6_PREFER_GLOBAL_CHANGED);
|
||||
}
|
@ -1,61 +0,0 @@
|
||||
--- bgpd/bgpd.c.orig 2019-01-08 08:29:22 UTC
|
||||
+++ bgpd/bgpd.c
|
||||
@@ -245,7 +245,7 @@ static int bgp_router_id_set(struct bgp *bgp, const st
|
||||
|
||||
/* EVPN uses router id in RD, withdraw them */
|
||||
if (is_evpn_enabled())
|
||||
- bgp_evpn_handle_router_id_update(bgp, TRUE);
|
||||
+ bgp_evpn_handle_router_id_update(bgp, true);
|
||||
|
||||
IPV4_ADDR_COPY(&bgp->router_id, id);
|
||||
|
||||
@@ -262,7 +262,7 @@ static int bgp_router_id_set(struct bgp *bgp, const st
|
||||
|
||||
/* EVPN uses router id in RD, update them */
|
||||
if (is_evpn_enabled())
|
||||
- bgp_evpn_handle_router_id_update(bgp, FALSE);
|
||||
+ bgp_evpn_handle_router_id_update(bgp, false);
|
||||
|
||||
return 0;
|
||||
}
|
||||
@@ -2949,7 +2949,7 @@ int bgp_handle_socket(struct bgp *bgp, struct vrf *vrf
|
||||
/*
|
||||
* suppress vrf socket
|
||||
*/
|
||||
- if (create == FALSE) {
|
||||
+ if (create == false) {
|
||||
bgp_close_vrf_socket(bgp);
|
||||
return 0;
|
||||
}
|
||||
@@ -6741,8 +6741,8 @@ static void bgp_config_write_peer_global(struct vty *v
|
||||
struct peer *g_peer = NULL;
|
||||
char buf[SU_ADDRSTRLEN];
|
||||
char *addr;
|
||||
- int if_pg_printed = FALSE;
|
||||
- int if_ras_printed = FALSE;
|
||||
+ int if_pg_printed = false;
|
||||
+ int if_ras_printed = false;
|
||||
|
||||
/* Skip dynamic neighbors. */
|
||||
if (peer_dynamic_neighbor(peer))
|
||||
@@ -6764,16 +6764,16 @@ static void bgp_config_write_peer_global(struct vty *v
|
||||
|
||||
if (peer_group_active(peer)) {
|
||||
vty_out(vty, " peer-group %s", peer->group->name);
|
||||
- if_pg_printed = TRUE;
|
||||
+ if_pg_printed = true;
|
||||
} else if (peer->as_type == AS_SPECIFIED) {
|
||||
vty_out(vty, " remote-as %u", peer->as);
|
||||
- if_ras_printed = TRUE;
|
||||
+ if_ras_printed = true;
|
||||
} else if (peer->as_type == AS_INTERNAL) {
|
||||
vty_out(vty, " remote-as internal");
|
||||
- if_ras_printed = TRUE;
|
||||
+ if_ras_printed = true;
|
||||
} else if (peer->as_type == AS_EXTERNAL) {
|
||||
vty_out(vty, " remote-as external");
|
||||
- if_ras_printed = TRUE;
|
||||
+ if_ras_printed = true;
|
||||
}
|
||||
|
||||
vty_out(vty, "\n");
|
@ -1,11 +0,0 @@
|
||||
--- configure.ac.orig 2018-10-08 12:32:57 UTC
|
||||
+++ configure.ac
|
||||
@@ -338,7 +338,7 @@ AC_ARG_WITH(pkg-git-version,
|
||||
[ test "x$withval" != "xno" && with_pkg_git_version="yes" ])
|
||||
AC_ARG_WITH(vtysh_pager,
|
||||
AS_HELP_STRING([--with-vtysh-pager=PAGER], [control what pager is compiled in as default]),
|
||||
- VTYSH_PAGER=$withval, VTYSH_PAGER="more")
|
||||
+ VTYSH_PAGER=$withval, VTYSH_PAGER="cat")
|
||||
AC_ARG_ENABLE(vtysh,
|
||||
AS_HELP_STRING([--disable-vtysh], [do not build integrated vty shell for FRR]))
|
||||
AC_ARG_ENABLE(doc,
|
@ -1,110 +0,0 @@
|
||||
--- ospfd/ospf_vty.c.orig 2019-01-08 08:29:22 UTC
|
||||
+++ ospfd/ospf_vty.c
|
||||
@@ -3244,7 +3244,7 @@ DEFUN (show_ip_ospf,
|
||||
uint8_t uj = use_json(argc, argv);
|
||||
struct listnode *node = NULL;
|
||||
char *vrf_name = NULL;
|
||||
- bool all_vrf = FALSE;
|
||||
+ bool all_vrf = false;
|
||||
int ret = CMD_SUCCESS;
|
||||
int inst = 0;
|
||||
int idx_vrf = 0;
|
||||
@@ -3917,7 +3917,7 @@ DEFUN (show_ip_ospf_interface,
|
||||
uint8_t uj = use_json(argc, argv);
|
||||
struct listnode *node = NULL;
|
||||
char *vrf_name = NULL, *intf_name = NULL;
|
||||
- bool all_vrf = FALSE;
|
||||
+ bool all_vrf = false;
|
||||
int ret = CMD_SUCCESS;
|
||||
int inst = 0;
|
||||
int idx_vrf = 0, idx_intf = 0;
|
||||
@@ -4044,7 +4044,7 @@ DEFUN (show_ip_ospf_interface_traffic,
|
||||
struct ospf *ospf = NULL;
|
||||
struct listnode *node = NULL;
|
||||
char *vrf_name = NULL, *intf_name = NULL;
|
||||
- bool all_vrf = FALSE;
|
||||
+ bool all_vrf = false;
|
||||
int inst = 0;
|
||||
int idx_vrf = 0, idx_intf = 0;
|
||||
uint8_t uj = use_json(argc, argv);
|
||||
@@ -4299,7 +4299,7 @@ DEFUN (show_ip_ospf_neighbor,
|
||||
uint8_t uj = use_json(argc, argv);
|
||||
struct listnode *node = NULL;
|
||||
char *vrf_name = NULL;
|
||||
- bool all_vrf = FALSE;
|
||||
+ bool all_vrf = false;
|
||||
int ret = CMD_SUCCESS;
|
||||
int inst = 0;
|
||||
int idx_vrf = 0;
|
||||
@@ -4512,7 +4512,7 @@ DEFUN (show_ip_ospf_neighbor_all,
|
||||
uint8_t uj = use_json(argc, argv);
|
||||
struct listnode *node = NULL;
|
||||
char *vrf_name = NULL;
|
||||
- bool all_vrf = FALSE;
|
||||
+ bool all_vrf = false;
|
||||
int ret = CMD_SUCCESS;
|
||||
int inst = 0;
|
||||
int idx_vrf = 0;
|
||||
@@ -5213,7 +5213,7 @@ DEFUN (show_ip_ospf_neighbor_detail,
|
||||
uint8_t uj = use_json(argc, argv);
|
||||
struct listnode *node = NULL;
|
||||
char *vrf_name = NULL;
|
||||
- bool all_vrf = FALSE;
|
||||
+ bool all_vrf = false;
|
||||
int ret = CMD_SUCCESS;
|
||||
int inst = 0;
|
||||
int idx_vrf = 0;
|
||||
@@ -5402,7 +5402,7 @@ DEFUN (show_ip_ospf_neighbor_detail_all,
|
||||
uint8_t uj = use_json(argc, argv);
|
||||
struct listnode *node = NULL;
|
||||
char *vrf_name = NULL;
|
||||
- bool all_vrf = FALSE;
|
||||
+ bool all_vrf = false;
|
||||
int ret = CMD_SUCCESS;
|
||||
int inst = 0;
|
||||
int idx_vrf = 0;
|
||||
@@ -6285,7 +6285,7 @@ DEFUN (show_ip_ospf_database_max,
|
||||
struct ospf *ospf = NULL;
|
||||
struct listnode *node = NULL;
|
||||
char *vrf_name = NULL;
|
||||
- bool all_vrf = FALSE;
|
||||
+ bool all_vrf = false;
|
||||
int ret = CMD_SUCCESS;
|
||||
int inst = 0;
|
||||
int idx_vrf = 0;
|
||||
@@ -6342,7 +6342,7 @@ DEFUN (show_ip_ospf_instance_database,
|
||||
unsigned short instance = 0;
|
||||
struct listnode *node = NULL;
|
||||
char *vrf_name = NULL;
|
||||
- bool all_vrf = FALSE;
|
||||
+ bool all_vrf = false;
|
||||
int ret = CMD_SUCCESS;
|
||||
int inst = 0;
|
||||
int idx = 0;
|
||||
@@ -6492,7 +6492,7 @@ DEFUN (show_ip_ospf_instance_database_type_adv_router,
|
||||
unsigned short instance = 0;
|
||||
struct listnode *node = NULL;
|
||||
char *vrf_name = NULL;
|
||||
- bool all_vrf = FALSE;
|
||||
+ bool all_vrf = false;
|
||||
int ret = CMD_SUCCESS;
|
||||
int inst = 0;
|
||||
int idx = 0, idx_vrf = 0;
|
||||
@@ -9260,7 +9260,7 @@ DEFUN (show_ip_ospf_border_routers,
|
||||
struct ospf *ospf = NULL;
|
||||
struct listnode *node = NULL;
|
||||
char *vrf_name = NULL;
|
||||
- bool all_vrf = FALSE;
|
||||
+ bool all_vrf = false;
|
||||
int ret = CMD_SUCCESS;
|
||||
int inst = 0;
|
||||
int idx_vrf = 0;
|
||||
@@ -9386,7 +9386,7 @@ DEFUN (show_ip_ospf_route,
|
||||
struct ospf *ospf = NULL;
|
||||
struct listnode *node = NULL;
|
||||
char *vrf_name = NULL;
|
||||
- bool all_vrf = FALSE;
|
||||
+ bool all_vrf = false;
|
||||
int ret = CMD_SUCCESS;
|
||||
int inst = 0;
|
||||
int idx_vrf = 0;
|
@ -1,13 +0,0 @@
|
||||
--- zebra/ioctl.c.orig 2018-10-22 05:34:13 UTC
|
||||
+++ zebra/ioctl.c
|
||||
@@ -415,7 +415,9 @@ void if_get_flags(struct interface *ifp)
|
||||
|
||||
/* Seems not all interfaces implement this ioctl */
|
||||
if (if_ioctl(SIOCGIFMEDIA, (caddr_t)&ifmr) < 0)
|
||||
- flog_err_sys(LIB_ERR_SYSTEM_CALL,
|
||||
+ /* Ignore EINVAL to avoid being too verbose */
|
||||
+ if (errno != EINVAL)
|
||||
+ flog_err_sys(LIB_ERR_SYSTEM_CALL,
|
||||
"if_ioctl(SIOCGIFMEDIA) failed: %s",
|
||||
safe_strerror(errno));
|
||||
else if (ifmr.ifm_status & IFM_AVALID) /* Link state is valid */
|
@ -1,33 +0,0 @@
|
||||
#!/bin/sh
|
||||
#
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
# PROVIDE: watchfrr
|
||||
# REQUIRE: NETWORKING frr
|
||||
# KEYWORD: nojailvtnet shutdown
|
||||
|
||||
# Add the following line to /etc/rc.conf to enable watchfrr:
|
||||
# watchfrr_enable="YES"
|
||||
#
|
||||
# You may also wish to use the following variables to fine-tune startup:
|
||||
# watchfrr_flags
|
||||
# Example of flags usage:
|
||||
# watchfrr_flags=" -d -r /usr/sbin/servicebBfrrbBrestartbB%s -s /usr/sbin/servicebBfrrbBstartbB%s -k /usr/sbin/servicebBfrrbBstopbB%s -b bB -t 30 zebra ripd ripngd ospfd ospf6d bgpd isisd eigrpd babeld bfdd staticd"
|
||||
|
||||
. /etc/rc.subr
|
||||
|
||||
name=watchfrr
|
||||
rcvar=${name}_enable
|
||||
|
||||
load_rc_config $name
|
||||
|
||||
stop_postcmd="rm -f $pidfile"
|
||||
|
||||
watchfrr_enable=${watchfrr_enable:-"NO"}
|
||||
watchfrr_flags=${watchfrr_flags:-"-d -r /usr/sbin/servicebBfrrbBrestartbB%s -s /usr/sbin/servicebBfrrbBstartbB%s -k /usr/sbin/servicebBfrrbBstopbB%s -b bB -t 30 zebra ripd ripngd ospfd ospf6d bgpd isisd eigrpd babeld bfdd staticd"}
|
||||
|
||||
command=%%PREFIX%%/sbin/watchfrr
|
||||
pidfile=/var/run/frr/watchfrr.pid
|
||||
|
||||
run_rc_command "$1"
|
@ -1,5 +0,0 @@
|
||||
FRRouting (FRR) is an IP routing protocol suite for Linux and Unix platforms
|
||||
which includes protocol daemons for BGP, IS-IS, OSPF and RIP. FRR has its roots
|
||||
in the Quagga project.
|
||||
|
||||
WWW: https://frrouting.org/
|
@ -1,13 +0,0 @@
|
||||
[
|
||||
{ type: install
|
||||
message: <<EOM
|
||||
FRR's OSPF daemons tries to allocate big socket buffer, so generate warning
|
||||
messages like:
|
||||
"setsockopt_so_sendbuf: fd 6: SO_SNDBUF set to 1048576 (requested 8388608)"
|
||||
To prevent such message kern.ipc.maxsockbuf can be increased:
|
||||
sysctl kern.ipc.maxsockbuf=16777216
|
||||
|
||||
Error message "ifam_read() doesn't read all socket data" is under investigation
|
||||
EOM
|
||||
}
|
||||
]
|
@ -1,167 +0,0 @@
|
||||
%%VTYSH%%bin/vtysh
|
||||
include/frr/bfd.h
|
||||
include/frr/bitfield.h
|
||||
include/frr/buffer.h
|
||||
include/frr/checksum.h
|
||||
include/frr/command.h
|
||||
include/frr/command_graph.h
|
||||
include/frr/command_match.h
|
||||
include/frr/compiler.h
|
||||
include/frr/csv.h
|
||||
include/frr/debug.h
|
||||
include/frr/distribute.h
|
||||
include/frr/eigrpd/eigrp_dump.h
|
||||
include/frr/eigrpd/eigrp_topology.h
|
||||
include/frr/eigrpd/eigrpd.h
|
||||
include/frr/event_counter.h
|
||||
include/frr/ferr.h
|
||||
include/frr/fifo.h
|
||||
include/frr/filter.h
|
||||
include/frr/freebsd-queue.h
|
||||
include/frr/frr_pthread.h
|
||||
include/frr/frratomic.h
|
||||
include/frr/frrstr.h
|
||||
include/frr/getopt.h
|
||||
include/frr/graph.h
|
||||
include/frr/hash.h
|
||||
include/frr/hook.h
|
||||
include/frr/if.h
|
||||
include/frr/if_rmap.h
|
||||
include/frr/imsg.h
|
||||
include/frr/ipaddr.h
|
||||
include/frr/jhash.h
|
||||
include/frr/json.h
|
||||
include/frr/keychain.h
|
||||
include/frr/lib_errors.h
|
||||
include/frr/libfrr.h
|
||||
include/frr/libospf.h
|
||||
include/frr/linklist.h
|
||||
include/frr/log.h
|
||||
include/frr/logicalrouter.h
|
||||
include/frr/md5.h
|
||||
include/frr/memory.h
|
||||
include/frr/memory_vty.h
|
||||
include/frr/module.h
|
||||
include/frr/monotime.h
|
||||
include/frr/mpls.h
|
||||
include/frr/network.h
|
||||
include/frr/nexthop.h
|
||||
include/frr/nexthop_group.h
|
||||
include/frr/ns.h
|
||||
include/frr/openbsd-queue.h
|
||||
include/frr/openbsd-tree.h
|
||||
include/frr/ospfapi/ospf_apiclient.h
|
||||
include/frr/ospfd/ospf_api.h
|
||||
include/frr/ospfd/ospf_asbr.h
|
||||
include/frr/ospfd/ospf_dump.h
|
||||
include/frr/ospfd/ospf_dump_api.h
|
||||
include/frr/ospfd/ospf_ism.h
|
||||
include/frr/ospfd/ospf_lsa.h
|
||||
include/frr/ospfd/ospf_lsdb.h
|
||||
include/frr/ospfd/ospf_nsm.h
|
||||
include/frr/ospfd/ospf_opaque.h
|
||||
include/frr/ospfd/ospfd.h
|
||||
include/frr/pbr.h
|
||||
include/frr/plist.h
|
||||
include/frr/pqueue.h
|
||||
include/frr/prefix.h
|
||||
include/frr/privs.h
|
||||
include/frr/ptm_lib.h
|
||||
include/frr/pw.h
|
||||
include/frr/queue.h
|
||||
include/frr/qobj.h
|
||||
include/frr/ringbuf.h
|
||||
include/frr/route_types.h
|
||||
include/frr/routemap.h
|
||||
include/frr/sbuf.h
|
||||
include/frr/sha256.h
|
||||
include/frr/sigevent.h
|
||||
include/frr/smux.h
|
||||
include/frr/spf_backoff.h
|
||||
include/frr/skiplist.h
|
||||
include/frr/sockopt.h
|
||||
include/frr/sockunion.h
|
||||
include/frr/srcdest_table.h
|
||||
include/frr/stream.h
|
||||
include/frr/systemd.h
|
||||
include/frr/table.h
|
||||
include/frr/termtable.h
|
||||
include/frr/thread.h
|
||||
include/frr/vector.h
|
||||
include/frr/version.h
|
||||
include/frr/vlan.h
|
||||
include/frr/vrf_int.h
|
||||
include/frr/vrf.h
|
||||
include/frr/vty.h
|
||||
include/frr/vxlan.h
|
||||
include/frr/wheel.h
|
||||
include/frr/workqueue.h
|
||||
include/frr/zassert.h
|
||||
include/frr/zclient.h
|
||||
include/frr/zebra.h
|
||||
lib/libfrr.a
|
||||
lib/libfrr.so
|
||||
lib/libfrr.so.0
|
||||
lib/libfrr.so.0.0.0
|
||||
lib/libfrrospfapiclient.a
|
||||
lib/libfrrospfapiclient.so
|
||||
lib/libfrrospfapiclient.so.0
|
||||
lib/libfrrospfapiclient.so.0.0.0
|
||||
%%SNMP%%lib/frr/modules/bgpd_snmp.so
|
||||
%%SNMP%%lib/frr/modules/ospf6d_snmp.so
|
||||
%%SNMP%%lib/frr/modules/ospfd_snmp.so
|
||||
%%SNMP%%lib/frr/modules/ripd_snmp.so
|
||||
%%SNMP%%lib/frr/modules/zebra_snmp.so
|
||||
%%FPM%%lib/frr/modules/zebra_fpm.so
|
||||
%%SNMP%%lib/libfrrsnmp.a
|
||||
%%SNMP%%lib/libfrrsnmp.so
|
||||
%%SNMP%%lib/libfrrsnmp.so.0
|
||||
%%SNMP%%lib/libfrrsnmp.so.0.0.0
|
||||
%%RPKI%%lib/frr/modules/bgpd_rpki.so
|
||||
%%MANPAGES%%man/man1/frr.1.gz
|
||||
%%MANPAGES%%man/man8/bfdd.8.gz
|
||||
%%MANPAGES%%man/man8/eigrpd.8.gz
|
||||
%%MANPAGES%%man/man8/isisd.8.gz
|
||||
%%MANPAGES%%man/man8/staticd.8.gz
|
||||
%%MANPAGES%%man/man8/watchfrr.8.gz
|
||||
%%MANPAGES%%%%VTYSH%%man/man1/vtysh.1.gz
|
||||
%%MANPAGES%%man/man8/bgpd.8.gz
|
||||
%%MANPAGES%%%%LDPD%%man/man8/ldpd.8.gz
|
||||
%%MANPAGES%%man/man8/ospf6d.8.gz
|
||||
%%MANPAGES%%man/man8/ospfclient.8.gz
|
||||
%%MANPAGES%%man/man8/ospfd.8.gz
|
||||
%%MANPAGES%%man/man8/pbrd.8.gz
|
||||
%%MANPAGES%%man/man8/ripd.8.gz
|
||||
%%MANPAGES%%man/man8/ripngd.8.gz
|
||||
%%MANPAGES%%man/man8/zebra.8.gz
|
||||
sbin/babeld
|
||||
sbin/bfdd
|
||||
sbin/bgpd
|
||||
%%LDPD%%sbin/ldpd
|
||||
sbin/eigrpd
|
||||
sbin/ospf6d
|
||||
sbin/ospfd
|
||||
sbin/pbrd
|
||||
sbin/ripd
|
||||
sbin/ripngd
|
||||
sbin/staticd
|
||||
sbin/zebra
|
||||
sbin/isisd
|
||||
sbin/watchfrr
|
||||
%%ETCDIR%%/babeld.conf.sample
|
||||
%%ETCDIR%%/bfdd.conf.sample
|
||||
%%ETCDIR%%/bgpd.conf.sample
|
||||
%%ETCDIR%%/bgpd.conf.sample2
|
||||
%%ETCDIR%%/bgpd.conf.vnc.sample
|
||||
%%ETCDIR%%/eigrpd.conf.sample
|
||||
%%ETCDIR%%/isisd.conf.sample
|
||||
%%LDPD%%%%ETCDIR%%/ldpd.conf.sample
|
||||
%%ETCDIR%%/ospf6d.conf.sample
|
||||
%%ETCDIR%%/ospfd.conf.sample
|
||||
%%ETCDIR%%/pbrd.conf.sample
|
||||
%%ETCDIR%%/ripd.conf.sample
|
||||
%%ETCDIR%%/ripngd.conf.sample
|
||||
%%ETCDIR%%/staticd.conf.sample
|
||||
%%VTYSH%%%%ETCDIR%%/vtysh.conf.sample
|
||||
%%ETCDIR%%/zebra.conf.sample
|
||||
@dir(frr,frr,750) /var/run/frr
|
@ -41,7 +41,7 @@ USES= autoreconf bison compiler:c++11-lang gmake pkgconfig libtool \
|
||||
|
||||
BINARY_ALIAS= python=${PYTHON_VERSION}
|
||||
|
||||
CONFLICTS= openbgpd openospfd zebra quagga frr5 frr6
|
||||
CONFLICTS= openbgpd openospfd zebra quagga
|
||||
|
||||
GNU_CONFIGURE= yes
|
||||
INSTALL_TARGET= install-strip
|
||||
|
@ -18,7 +18,7 @@ BUILD_DEPENDS= gawk:lang/gawk
|
||||
USES= compiler:c11 cpe gmake libtool makeinfo \
|
||||
perl5 readline ssl
|
||||
|
||||
CONFLICTS= frr5 frr6 frr7 openbgpd pimd zebra
|
||||
CONFLICTS= frr7 openbgpd pimd zebra
|
||||
|
||||
GNU_CONFIGURE= yes
|
||||
CFLAGS+= -fcommon
|
||||
|
Loading…
Reference in New Issue
Block a user