mirror of
https://github.com/beard7n/bsdports.git
synced 2026-04-10 02:21:15 +02:00
updated
This commit is contained in:
@@ -1,3 +0,0 @@
|
||||
TIMESTAMP = 1703703314
|
||||
SHA256 (FRRouting-frr-frr-8.5.4_GH0.tar.gz) = 7ae9d8bafc65bb5d0f21061ac61dbc6cf93b2b05a5dae9e5eec72ed42388551e
|
||||
SIZE (FRRouting-frr-frr-8.5.4_GH0.tar.gz) = 10078169
|
||||
@@ -4,7 +4,7 @@
|
||||
PORTNAME= frr
|
||||
CATEGORIES= net
|
||||
|
||||
PORTVERSION= 8.5.4
|
||||
PORTVERSION= 10.3 #8.5.4
|
||||
DISTVERSIONPREFIX= frr-
|
||||
USE_GITHUB= yes
|
||||
GH_ACCOUNT= FRRouting
|
||||
@@ -67,14 +67,6 @@ CONFIGURE_ARGS+= --enable-pbrd
|
||||
CONFIGURE_ARGS+= --enable-sharpd
|
||||
CONFIGURE_ARGS+= --enable-vtysh
|
||||
|
||||
#CONFIGURE_ARGS+= --enable-config-rollbacks
|
||||
#LIB_DEPENDS+= libsqlite3.so:data/sqlite3
|
||||
|
||||
#CONFIGURE_ARGS+= --disable-bgp-vnc
|
||||
#CONFIGURE_ARGS+= --enable-pcreposix
|
||||
#CONFIGURE_ARGS+= --disable-bgp-bmp
|
||||
|
||||
|
||||
CONFIGURE_ARGS+= --enable-rpki
|
||||
LIB_DEPENDS+= librtr.so:net/librtr
|
||||
LIB_DEPENDS+= libssh.so:net/libssh
|
||||
3
net/frr10/distinfo
Normal file
3
net/frr10/distinfo
Normal file
@@ -0,0 +1,3 @@
|
||||
TIMESTAMP = 1756381859
|
||||
SHA256 (FRRouting-frr-frr-10.3_GH0.tar.gz) = 0f10aca9074c773c12be8a07382c7560d625d4a2c842d82261d18bb8f4b26f6c
|
||||
SIZE (FRRouting-frr-frr-10.3_GH0.tar.gz) = 11374042
|
||||
@@ -11,7 +11,7 @@ RUN_DIR="%%RUN_DIR%%"
|
||||
LOG_DIR="%%LOG_DIR%%"
|
||||
CONF_DIR="%%CONF_DIR%%"
|
||||
|
||||
PKG_PREFIX="/notexist"
|
||||
PKG_PREFIX="/var/lib/frr"
|
||||
|
||||
case $2 in
|
||||
PRE-INSTALL)
|
||||
236
net/frr10/pkg-plist
Normal file
236
net/frr10/pkg-plist
Normal file
@@ -0,0 +1,236 @@
|
||||
bin/vtysh
|
||||
include/frr/admin_group.h
|
||||
include/frr/affinitymap.h
|
||||
include/frr/agg_table.h
|
||||
include/frr/asn.h
|
||||
include/frr/assert.h
|
||||
include/frr/atomlist.h
|
||||
include/frr/base64.h
|
||||
include/frr/bfd.h
|
||||
include/frr/bfdd/bfddp_packet.h
|
||||
include/frr/bitfield.h
|
||||
include/frr/buffer.h
|
||||
include/frr/checksum.h
|
||||
include/frr/command_graph.h
|
||||
include/frr/command_match.h
|
||||
include/frr/command.h
|
||||
include/frr/compiler.h
|
||||
include/frr/cspf.h
|
||||
include/frr/csv.h
|
||||
include/frr/darr.h
|
||||
include/frr/db.h
|
||||
include/frr/debug.h
|
||||
include/frr/defaults.h
|
||||
include/frr/distribute.h
|
||||
include/frr/eigrpd/eigrp_dump.h
|
||||
include/frr/eigrpd/eigrp_topology.h
|
||||
include/frr/eigrpd/eigrpd.h
|
||||
include/frr/ferr.h
|
||||
include/frr/filter.h
|
||||
include/frr/flex_algo.h
|
||||
include/frr/freebsd-queue.h
|
||||
include/frr/frr_pthread.h
|
||||
include/frr/frratomic.h
|
||||
include/frr/frrcu.h
|
||||
include/frr/frrdistance.h
|
||||
include/frr/frrevent.h
|
||||
include/frr/frrlua.h
|
||||
include/frr/frrscript.h
|
||||
include/frr/frrsendmmsg.h
|
||||
include/frr/frrstr.h
|
||||
include/frr/graph.h
|
||||
include/frr/hash.h
|
||||
include/frr/hook.h
|
||||
include/frr/iana_afi.h
|
||||
include/frr/id_alloc.h
|
||||
include/frr/if_rmap.h
|
||||
include/frr/if.h
|
||||
include/frr/imsg.h
|
||||
include/frr/ipaddr.h
|
||||
include/frr/iso.h
|
||||
include/frr/jhash.h
|
||||
include/frr/json.h
|
||||
include/frr/keychain.h
|
||||
include/frr/ldp_sync.h
|
||||
include/frr/lib_errors.h
|
||||
include/frr/lib_vty.h
|
||||
include/frr/libagentx.h
|
||||
include/frr/libfrr_trace.h
|
||||
include/frr/libfrr.h
|
||||
include/frr/libospf.h
|
||||
include/frr/link_state.h
|
||||
include/frr/linklist.h
|
||||
include/frr/log_vty.h
|
||||
include/frr/log.h
|
||||
include/frr/md5.h
|
||||
include/frr/memory.h
|
||||
include/frr/mgmt_be_client.h
|
||||
include/frr/mgmt_defines.h
|
||||
include/frr/mgmt_fe_client.h
|
||||
include/frr/mgmt_msg_native.h
|
||||
include/frr/mgmt_msg.h
|
||||
include/frr/mgmt_pb.h
|
||||
include/frr/mgmt.pb-c.h
|
||||
include/frr/mlag.h
|
||||
include/frr/module.h
|
||||
include/frr/monotime.h
|
||||
include/frr/mpls.h
|
||||
include/frr/network.h
|
||||
include/frr/nexthop_group_private.h
|
||||
include/frr/nexthop_group.h
|
||||
include/frr/nexthop.h
|
||||
include/frr/northbound_cli.h
|
||||
include/frr/northbound_db.h
|
||||
include/frr/northbound.h
|
||||
include/frr/ns.h
|
||||
include/frr/openbsd-queue.h
|
||||
include/frr/openbsd-tree.h
|
||||
include/frr/ospfd/ospf_api.h
|
||||
include/frr/ospfd/ospf_asbr.h
|
||||
include/frr/ospfd/ospf_dump_api.h
|
||||
include/frr/ospfd/ospf_dump.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/prefix.h
|
||||
include/frr/printfrr.h
|
||||
include/frr/privs.h
|
||||
include/frr/ptm_lib.h
|
||||
include/frr/pullwr.h
|
||||
include/frr/pw.h
|
||||
include/frr/qobj.h
|
||||
include/frr/queue.h
|
||||
include/frr/resolver.h
|
||||
include/frr/ringbuf.h
|
||||
include/frr/route_opaque.h
|
||||
include/frr/route_types.h
|
||||
include/frr/routemap.h
|
||||
include/frr/routing_nb.h
|
||||
include/frr/sbuf.h
|
||||
include/frr/segment_routing.h
|
||||
include/frr/seqlock.h
|
||||
include/frr/sha256.h
|
||||
include/frr/sigevent.h
|
||||
include/frr/skiplist.h
|
||||
include/frr/smux.h
|
||||
include/frr/sockopt.h
|
||||
include/frr/sockunion.h
|
||||
include/frr/spf_backoff.h
|
||||
include/frr/srcdest_table.h
|
||||
include/frr/srte.h
|
||||
include/frr/srv6.h
|
||||
include/frr/stream.h
|
||||
include/frr/systemd.h
|
||||
include/frr/table.h
|
||||
include/frr/tc.h
|
||||
include/frr/termtable.h
|
||||
include/frr/trace.h
|
||||
include/frr/typerb.h
|
||||
include/frr/typesafe.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/xref.h
|
||||
include/frr/yang_translator.h
|
||||
include/frr/yang_wrappers.h
|
||||
include/frr/yang.h
|
||||
include/frr/zclient.h
|
||||
include/frr/zebra.h
|
||||
include/frr/zlog_5424.h
|
||||
include/frr/zlog_live.h
|
||||
include/frr/zlog_recirculate.h
|
||||
include/frr/zlog_targets.h
|
||||
include/frr/zlog.h
|
||||
lib/frr/modules/bgpd_bmp.so
|
||||
lib/frr/modules/bgpd_rpki.so
|
||||
lib/frr/modules/pathd_pcep.so
|
||||
lib/frr/modules/zebra_fpm.so
|
||||
lib/libfrr.a
|
||||
lib/libfrr.so
|
||||
lib/libfrr.so.0
|
||||
lib/libfrrcares.a
|
||||
lib/libfrrcares.so
|
||||
lib/libfrrcares.so.0
|
||||
lib/libmgmt_be_nb.a
|
||||
lib/libmgmt_be_nb.so
|
||||
lib/libmgmt_be_nb.so.0
|
||||
sbin/babeld
|
||||
sbin/bfdd
|
||||
sbin/bgpd
|
||||
sbin/eigrpd
|
||||
sbin/fabricd
|
||||
sbin/fpm_listener
|
||||
sbin/isisd
|
||||
sbin/mgmtd
|
||||
sbin/ospf6d
|
||||
sbin/ospfd
|
||||
sbin/pathd
|
||||
sbin/pbrd
|
||||
sbin/ripd
|
||||
sbin/ripngd
|
||||
sbin/sharpd
|
||||
sbin/staticd
|
||||
sbin/zebra
|
||||
share/yang/frr-affinity-map.yang
|
||||
share/yang/frr-backend.yang
|
||||
share/yang/frr-bfdd.yang
|
||||
share/yang/frr-bgp-bmp.yang
|
||||
share/yang/frr-bgp-common-multiprotocol.yang
|
||||
share/yang/frr-bgp-common-structure.yang
|
||||
share/yang/frr-bgp-common.yang
|
||||
share/yang/frr-bgp-filter.yang
|
||||
share/yang/frr-bgp-neighbor.yang
|
||||
share/yang/frr-bgp-peer-group.yang
|
||||
share/yang/frr-bgp-route-map.yang
|
||||
share/yang/frr-bgp-rpki.yang
|
||||
share/yang/frr-bgp-types.yang
|
||||
share/yang/frr-bgp.yang
|
||||
share/yang/frr-deviations-bgp-datacenter.yang
|
||||
share/yang/frr-deviations-ietf-key-chain.yang
|
||||
share/yang/frr-eigrpd.yang
|
||||
share/yang/frr-filter.yang
|
||||
share/yang/frr-if-rmap.yang
|
||||
share/yang/frr-interface.yang
|
||||
share/yang/frr-isisd.yang
|
||||
share/yang/frr-module-translator.yang
|
||||
share/yang/frr-nexthop.yang
|
||||
share/yang/frr-ospf-route-map.yang
|
||||
share/yang/frr-ospf6-route-map.yang
|
||||
share/yang/frr-ospfd.yang
|
||||
share/yang/frr-pathd.yang
|
||||
share/yang/frr-ripd.yang
|
||||
share/yang/frr-ripngd.yang
|
||||
share/yang/frr-route-map.yang
|
||||
share/yang/frr-route-types.yang
|
||||
share/yang/frr-routing.yang
|
||||
share/yang/frr-staticd.yang
|
||||
share/yang/frr-test-module.yang
|
||||
share/yang/frr-vrf.yang
|
||||
share/yang/frr-zebra-route-map.yang
|
||||
share/yang/frr-zebra.yang
|
||||
share/yang/ietf-bgp-types.yang
|
||||
share/yang/ietf-interfaces.yang
|
||||
share/yang/ietf-key-chain.yang
|
||||
share/yang/ietf-netconf-acm.yang
|
||||
share/yang/ietf-netconf-with-defaults.yang
|
||||
share/yang/ietf-netconf.yang
|
||||
share/yang/ietf-routing-types.yang
|
||||
@dir include/frr/bfdd
|
||||
@dir include/frr/eigrpd
|
||||
@dir include/frr/ospfd
|
||||
@dir include/frr
|
||||
@dir include
|
||||
@dir lib/frr/modules
|
||||
@dir lib/frr
|
||||
@dir share/yang
|
||||
150
net/frr9/Makefile
Normal file
150
net/frr9/Makefile
Normal file
@@ -0,0 +1,150 @@
|
||||
#
|
||||
# $Id$
|
||||
#
|
||||
PORTNAME= frr
|
||||
CATEGORIES= net
|
||||
|
||||
PORTVERSION= 9.1.3 #8.5.4
|
||||
DISTVERSIONPREFIX= frr-
|
||||
USE_GITHUB= yes
|
||||
GH_ACCOUNT= FRRouting
|
||||
|
||||
#PKGNAMESUFFIX= ${PORTVERSION:R:R}
|
||||
|
||||
MAINTAINER= onborodin@gmail.com
|
||||
COMMENT= Free RIPv1, RIPv2, OSPFv2, BGP4 route software
|
||||
|
||||
BUILD_DEPENDS+= gawk:text/gawk
|
||||
LIB_DEPENDS+= libyang.so:devel/libyang
|
||||
LIB_DEPENDS+= libjson-c.so:devel/libjson-c
|
||||
LIB_DEPENDS+= libpcre.so:text/libpcre
|
||||
LIB_DEPENDS+= libcares.so:net/libcares
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
VAR_PREFIX= /var
|
||||
CONF_SUBDIR= etc/${PORTNAME}
|
||||
PLIST_SUB= CONF_SUBDIR=${CONF_SUBDIR}
|
||||
CONF_DIR= ${PREFIX}/etc/${PORTNAME}
|
||||
RUN_DIR= ${VAR_PREFIX}/run/${PORTNAME}
|
||||
LOG_DIR= ${VAR_PREFIX}/log/${PORTNAME}
|
||||
|
||||
EXAMPLES_SUBDIR= share/examples/${PORTNAME}
|
||||
EXAMPLES_DIR= ${PREFIX}/${EXAMPLES_SUBDIR}
|
||||
|
||||
USE_LDCONFIG= yes
|
||||
GNU_CONFIGURE= yes
|
||||
USES+= autoreconf libtool gmake bison tar:xz readline compiler:c++11-lang
|
||||
USES+= perl5 makeinfo python:3.6+,build
|
||||
USE_PERL5= build
|
||||
INSTALL_TARGET= install-strip
|
||||
|
||||
LDFLAGS+= -L${LOCALBASE}/lib
|
||||
CFLAGS+= -fPIC -I${LOCALBASE}/include
|
||||
CPPFLAGS+= -fPIC -I${LOCALBASE}/include
|
||||
|
||||
CONFIGURE_ARGS+= --disable-werror
|
||||
CONFIGURE_ARGS+= --disable-ldpd
|
||||
#CONFIGURE_ARGS+= --disable-ospfapi
|
||||
CONFIGURE_ARGS+= --disable-ospfclient
|
||||
CONFIGURE_ARGS+= --disable-pimd
|
||||
CONFIGURE_ARGS+= --disable-snmp
|
||||
CONFIGURE_ARGS+= --disable-watchfrr
|
||||
CONFIGURE_ARGS+= --disable-zeromq
|
||||
CONFIGURE_ARGS+= --disable-doc
|
||||
CONFIGURE_ARGS+= --disable-vrrpd
|
||||
|
||||
|
||||
CONFIGURE_ARGS+= --enable-babeld
|
||||
CONFIGURE_ARGS+= --enable-bfdd
|
||||
CONFIGURE_ARGS+= --enable-eigrpd
|
||||
CONFIGURE_ARGS+= --enable-fabricd
|
||||
CONFIGURE_ARGS+= --enable-fpm
|
||||
CONFIGURE_ARGS+= --enable-isisd
|
||||
CONFIGURE_ARGS+= --enable-pbrd
|
||||
|
||||
|
||||
CONFIGURE_ARGS+= --enable-sharpd
|
||||
CONFIGURE_ARGS+= --enable-vtysh
|
||||
|
||||
CONFIGURE_ARGS+= --enable-rpki
|
||||
LIB_DEPENDS+= librtr.so:net/librtr
|
||||
LIB_DEPENDS+= libssh.so:net/libssh
|
||||
|
||||
CONFIGURE_ARGS+= --enable-static-bin
|
||||
CONFIGURE_ARGS+= --disable-dependency-tracking
|
||||
CONFIGURE_ARGS+= --without-libpam
|
||||
|
||||
CONFIGURE_ARGS+= --enable-group=${FRR_GROUP}
|
||||
CONFIGURE_ARGS+= --enable-user=${FRR_OWNER}
|
||||
|
||||
CONFIGURE_ARGS+= --includedir=${PREFIX}/include
|
||||
CONFIGURE_ARGS+= --infodir=${PREFIX}/info
|
||||
CONFIGURE_ARGS+= --localstatedir=${RUN_DIR}
|
||||
CONFIGURE_ARGS+= --mandir=${PREFIX}/man
|
||||
CONFIGURE_ARGS+= --sysconfdir=${CONF_DIR}
|
||||
CONFIGURE_ARGS+= --enable-exampledir=${EXAMPLESDIR}/
|
||||
CONFIGURE_ARGS+= --with-vtysh-pager="cat"
|
||||
|
||||
|
||||
FRR_OWNER= ${PORTNAME}
|
||||
FRR_OWNER_ID= 795
|
||||
FRR_GROUP= ${PORTNAME}
|
||||
FRR_GROUP_ID= 795
|
||||
|
||||
PKGDEINSTALL= ${WRKDIR}/pkg-deinstall
|
||||
PKGINSTALL= ${WRKDIR}/pkg-install
|
||||
|
||||
USE_RC_SUBR+= babeld
|
||||
USE_RC_SUBR+= bfdd
|
||||
USE_RC_SUBR+= bgpd
|
||||
USE_RC_SUBR+= eigrpd
|
||||
USE_RC_SUBR+= fabricd
|
||||
USE_RC_SUBR+= isisd
|
||||
USE_RC_SUBR+= ospf6d
|
||||
USE_RC_SUBR+= ospfd
|
||||
USE_RC_SUBR+= pbrd
|
||||
USE_RC_SUBR+= ripd
|
||||
USE_RC_SUBR+= ripngd
|
||||
USE_RC_SUBR+= sharpd
|
||||
USE_RC_SUBR+= staticd
|
||||
USE_RC_SUBR+= zebra
|
||||
|
||||
SUB_FILES+= pkg-deinstall pkg-install
|
||||
|
||||
SUB_LIST+= FRR_OWNER=${FRR_OWNER}
|
||||
SUB_LIST+= FRR_GROUP=${FRR_GROUP}
|
||||
SUB_LIST+= FRR_OWNER_ID=${FRR_OWNER_ID}
|
||||
SUB_LIST+= FRR_GROUP_ID=${FRR_GROUP_ID}
|
||||
SUB_LIST+= RUN_DIR=${RUN_DIR}
|
||||
SUB_LIST+= LOG_DIR=${LOG_DIR}
|
||||
SUB_LIST+= CONF_DIR=${CONF_DIR}
|
||||
SUB_LIST+= RC_SUBR=/etc/rc.subr
|
||||
|
||||
#ACLOCAL= ${LOCALBASE}/bin/aclocal
|
||||
#AUTOMAKE= ${LOCALBASE}/bin/automake
|
||||
#AUTOCONF= ${LOCALBASE}/bin/autoconf
|
||||
#LIBTOOLIZE= ${LOCALBASE}/bin/libtoolize
|
||||
|
||||
#USES+= libtool autoreconf
|
||||
|
||||
post-patch:
|
||||
${REINPLACE_CMD} -e 's,WERROR="-Werror",WERROR="",' ${WRKSRC}/configure.ac
|
||||
${REINPLACE_CMD} -e 's,ax_pthread_extra_flags="-Werror",ax_pthread_extra_flags="",' ${WRKSRC}/m4/ax_pthread.m4
|
||||
|
||||
|
||||
#pre-configure:
|
||||
# cd ${WRKSRC} && ${LIBTOOLIZE} --copy
|
||||
# cd ${WRKSRC} && ${ACLOCAL} -I .
|
||||
# cd ${WRKSRC} && ${AUTOMAKE} --add-missing
|
||||
# cd ${WRKSRC} && ${AUTOCONF}
|
||||
|
||||
#do-build:
|
||||
# cd ${WRKSRC} && ${GMAKE} -j${MAKE_JOBS_NUMBER}
|
||||
|
||||
#do-install:
|
||||
# ${MKDIR} -p ${STAGEDIR}
|
||||
# cd ${WRKSRC} && ${GMAKE} ${INSTALL_TARGET} DESTDIR=${STAGEDIR}
|
||||
|
||||
.include <bsd.port.mk>
|
||||
#EOF
|
||||
3
net/frr9/distinfo
Normal file
3
net/frr9/distinfo
Normal file
@@ -0,0 +1,3 @@
|
||||
TIMESTAMP = 1756385873
|
||||
SHA256 (FRRouting-frr-frr-9.1.3_GH0.tar.gz) = 5323e5ec236346860301e57f6845443855e8f2508d7ccd87ead395a9991c01c2
|
||||
SIZE (FRRouting-frr-frr-9.1.3_GH0.tar.gz) = 10790704
|
||||
23
net/frr9/files/babeld.in
Normal file
23
net/frr9/files/babeld.in
Normal file
@@ -0,0 +1,23 @@
|
||||
#!/bin/sh
|
||||
#
|
||||
# PROVIDE: babeld
|
||||
# REQUIRE: zebra
|
||||
# KEYWORD: shutdown
|
||||
#
|
||||
. /etc/rc.subr
|
||||
|
||||
name="babeld"
|
||||
rcvar="babeld_enable"
|
||||
command="%%PREFIX%%/sbin/${name}"
|
||||
pidfile="%%RUN_DIR%%/${name}.pid"
|
||||
procname="${command}"
|
||||
required_dirs="%%RUN_DIR%% %%LOG_DIR%%"
|
||||
required_files="%%CONF_DIR%%/${name}.conf"
|
||||
command_args=" -d"
|
||||
|
||||
load_rc_config $name
|
||||
|
||||
: ${babeld_enable="NO"}
|
||||
|
||||
run_rc_command "$1"
|
||||
#EOF
|
||||
23
net/frr9/files/bfdd.in
Normal file
23
net/frr9/files/bfdd.in
Normal file
@@ -0,0 +1,23 @@
|
||||
#!/bin/sh
|
||||
#
|
||||
# PROVIDE: bfdd
|
||||
# REQUIRE: zebra
|
||||
# KEYWORD: shutdown
|
||||
#
|
||||
. /etc/rc.subr
|
||||
|
||||
name="bfdd"
|
||||
rcvar="bfdd_enable"
|
||||
command="%%PREFIX%%/sbin/${name}"
|
||||
pidfile="%%RUN_DIR%%/${name}.pid"
|
||||
procname="${command}"
|
||||
required_dirs="%%RUN_DIR%% %%LOG_DIR%%"
|
||||
required_files="%%CONF_DIR%%/${name}.conf"
|
||||
command_args=" -d"
|
||||
|
||||
load_rc_config $name
|
||||
|
||||
: ${bfdd_enable="NO"}
|
||||
|
||||
run_rc_command "$1"
|
||||
#EOF
|
||||
23
net/frr9/files/bgpd.in
Normal file
23
net/frr9/files/bgpd.in
Normal file
@@ -0,0 +1,23 @@
|
||||
#!/bin/sh
|
||||
#
|
||||
# PROVIDE: bgpd
|
||||
# REQUIRE: zebra
|
||||
# KEYWORD: shutdown
|
||||
#
|
||||
. /etc/rc.subr
|
||||
|
||||
name="bgpd"
|
||||
rcvar="bgpd_enable"
|
||||
command="%%PREFIX%%/sbin/${name}"
|
||||
pidfile="%%RUN_DIR%%/${name}.pid"
|
||||
procname="${command}"
|
||||
required_dirs="%%RUN_DIR%% %%LOG_DIR%%"
|
||||
required_files="%%CONF_DIR%%/${name}.conf"
|
||||
command_args=" -d"
|
||||
|
||||
load_rc_config $name
|
||||
|
||||
: ${bgpd_enable="NO"}
|
||||
|
||||
run_rc_command "$1"
|
||||
#EOF
|
||||
23
net/frr9/files/eigrpd.in
Normal file
23
net/frr9/files/eigrpd.in
Normal file
@@ -0,0 +1,23 @@
|
||||
#!/bin/sh
|
||||
#
|
||||
# PROVIDE: eigrpd
|
||||
# REQUIRE: zebra
|
||||
# KEYWORD: shutdown
|
||||
#
|
||||
. /etc/rc.subr
|
||||
|
||||
name="eigrpd"
|
||||
rcvar="eigrpd_enable"
|
||||
command="%%PREFIX%%/sbin/${name}"
|
||||
pidfile="%%RUN_DIR%%/${name}.pid"
|
||||
procname="${command}"
|
||||
required_dirs="%%RUN_DIR%% %%LOG_DIR%%"
|
||||
required_files="%%CONF_DIR%%/${name}.conf"
|
||||
command_args=" -d"
|
||||
|
||||
load_rc_config $name
|
||||
|
||||
: ${eigrpd_enable="NO"}
|
||||
|
||||
run_rc_command "$1"
|
||||
#EOF
|
||||
23
net/frr9/files/fabricd.in
Normal file
23
net/frr9/files/fabricd.in
Normal file
@@ -0,0 +1,23 @@
|
||||
#!/bin/sh
|
||||
#
|
||||
# PROVIDE: fabricd
|
||||
# REQUIRE: zebra
|
||||
# KEYWORD: shutdown
|
||||
#
|
||||
. /etc/rc.subr
|
||||
|
||||
name="fabricd"
|
||||
rcvar="fabricd_enable"
|
||||
command="%%PREFIX%%/sbin/${name}"
|
||||
pidfile="%%RUN_DIR%%/${name}.pid"
|
||||
procname="${command}"
|
||||
required_dirs="%%RUN_DIR%% %%LOG_DIR%%"
|
||||
required_files="%%CONF_DIR%%/${name}.conf"
|
||||
command_args=" -d"
|
||||
|
||||
load_rc_config $name
|
||||
|
||||
: ${fabricd_enable="NO"}
|
||||
|
||||
run_rc_command "$1"
|
||||
#EOF
|
||||
23
net/frr9/files/isisd.in
Normal file
23
net/frr9/files/isisd.in
Normal file
@@ -0,0 +1,23 @@
|
||||
#!/bin/sh
|
||||
#
|
||||
# PROVIDE: isisd
|
||||
# REQUIRE: zebra
|
||||
# KEYWORD: shutdown
|
||||
#
|
||||
. /etc/rc.subr
|
||||
|
||||
name="isisd"
|
||||
rcvar="isisd_enable"
|
||||
command="%%PREFIX%%/sbin/${name}"
|
||||
pidfile="%%RUN_DIR%%/${name}.pid"
|
||||
procname="${command}"
|
||||
required_dirs="%%RUN_DIR%% %%LOG_DIR%%"
|
||||
required_files="%%CONF_DIR%%/${name}.conf"
|
||||
command_args=" -d"
|
||||
|
||||
load_rc_config $name
|
||||
|
||||
: ${isisd_enable="NO"}
|
||||
|
||||
run_rc_command "$1"
|
||||
#EOF
|
||||
23
net/frr9/files/ospf6d.in
Normal file
23
net/frr9/files/ospf6d.in
Normal file
@@ -0,0 +1,23 @@
|
||||
#!/bin/sh
|
||||
#
|
||||
# PROVIDE: ospf6d
|
||||
# REQUIRE: zebra
|
||||
# KEYWORD: shutdown
|
||||
#
|
||||
. /etc/rc.subr
|
||||
|
||||
name="ospf6d"
|
||||
rcvar="ospf6d_enable"
|
||||
command="%%PREFIX%%/sbin/${name}"
|
||||
pidfile="%%RUN_DIR%%/${name}.pid"
|
||||
procname="${command}"
|
||||
required_dirs="%%RUN_DIR%% %%LOG_DIR%%"
|
||||
required_files="%%CONF_DIR%%/${name}.conf"
|
||||
command_args=" -d"
|
||||
|
||||
load_rc_config $name
|
||||
|
||||
: ${ospf6d_enable="NO"}
|
||||
|
||||
run_rc_command "$1"
|
||||
#EOF
|
||||
23
net/frr9/files/ospfd.in
Normal file
23
net/frr9/files/ospfd.in
Normal file
@@ -0,0 +1,23 @@
|
||||
#!/bin/sh
|
||||
#
|
||||
# PROVIDE: ospfd
|
||||
# REQUIRE: zebra
|
||||
# KEYWORD: shutdown
|
||||
#
|
||||
. /etc/rc.subr
|
||||
|
||||
name="ospfd"
|
||||
rcvar="ospfd_enable"
|
||||
command="%%PREFIX%%/sbin/${name}"
|
||||
pidfile="%%RUN_DIR%%/${name}.pid"
|
||||
procname="${command}"
|
||||
required_dirs="%%RUN_DIR%% %%LOG_DIR%%"
|
||||
required_files="%%CONF_DIR%%/${name}.conf"
|
||||
command_args=" -d"
|
||||
|
||||
load_rc_config $name
|
||||
|
||||
: ${ospfd_enable="NO"}
|
||||
|
||||
run_rc_command "$1"
|
||||
#EOF
|
||||
11
net/frr9/files/patch-Makefile.am
Normal file
11
net/frr9/files/patch-Makefile.am
Normal file
@@ -0,0 +1,11 @@
|
||||
--- Makefile.am.orig 2021-11-08 12:44:24.000000000 +0900
|
||||
+++ Makefile.am 2021-12-23 09:23:13.400659000 +0900
|
||||
@@ -168,7 +168,7 @@
|
||||
include qpb/subdir.am
|
||||
include fpm/subdir.am
|
||||
include grpc/subdir.am
|
||||
-include tools/subdir.am
|
||||
+# include tools/subdir.am
|
||||
|
||||
include bgpd/subdir.am
|
||||
include bgpd/rfp-example/librfp/subdir.am
|
||||
13
net/frr9/files/patch-x-zebra-zebra_mpls.c
Normal file
13
net/frr9/files/patch-x-zebra-zebra_mpls.c
Normal file
@@ -0,0 +1,13 @@
|
||||
--- ./zebra/zebra_mpls.c~ 2022-08-30 19:53:45.000000000 +0200
|
||||
+++ ./zebra/zebra_mpls.c 2022-09-23 15:34:45.989524000 +0200
|
||||
@@ -4067,8 +4067,8 @@
|
||||
mpls_pw_reach_strict = false;
|
||||
|
||||
if (mpls_kernel_init() < 0) {
|
||||
- flog_warn(EC_ZEBRA_MPLS_SUPPORT_DISABLED,
|
||||
- "Disabling MPLS support (no kernel support)");
|
||||
+ //flog_warn(EC_ZEBRA_MPLS_SUPPORT_DISABLED,
|
||||
+ // "Disabling MPLS support (no kernel support)");
|
||||
return;
|
||||
}
|
||||
|
||||
23
net/frr9/files/pbrd.in
Normal file
23
net/frr9/files/pbrd.in
Normal file
@@ -0,0 +1,23 @@
|
||||
#!/bin/sh
|
||||
#
|
||||
# PROVIDE: pbrd
|
||||
# REQUIRE: zebra
|
||||
# KEYWORD: shutdown
|
||||
#
|
||||
. /etc/rc.subr
|
||||
|
||||
name="pbrd"
|
||||
rcvar="pbrd_enable"
|
||||
command="%%PREFIX%%/sbin/${name}"
|
||||
pidfile="%%RUN_DIR%%/${name}.pid"
|
||||
procname="${command}"
|
||||
required_dirs="%%RUN_DIR%% %%LOG_DIR%%"
|
||||
required_files="%%CONF_DIR%%/${name}.conf"
|
||||
command_args=" -d"
|
||||
|
||||
load_rc_config $name
|
||||
|
||||
: ${pbrd_enable="NO"}
|
||||
|
||||
run_rc_command "$1"
|
||||
#EOF
|
||||
23
net/frr9/files/pimd.in
Normal file
23
net/frr9/files/pimd.in
Normal file
@@ -0,0 +1,23 @@
|
||||
#!/bin/sh
|
||||
#
|
||||
# PROVIDE: pimd
|
||||
# REQUIRE: zebra
|
||||
# KEYWORD: shutdown
|
||||
#
|
||||
. /etc/rc.subr
|
||||
|
||||
name="pimd"
|
||||
rcvar="pimd_enable"
|
||||
command="%%PREFIX%%/sbin/${name}"
|
||||
#pidfile="%%RUN_DIR%%/${name}.pid"
|
||||
procname="${command}"
|
||||
required_dirs="%%RUN_DIR%% %%LOG_DIR%%"
|
||||
required_files="%%CONF_DIR%%/${name}.conf"
|
||||
command_args=" -d"
|
||||
|
||||
load_rc_config $name
|
||||
|
||||
: ${pimd_enable="NO"}
|
||||
|
||||
run_rc_command "$1"
|
||||
#EOF
|
||||
16
net/frr9/files/pkg-deinstall.in
Normal file
16
net/frr9/files/pkg-deinstall.in
Normal file
@@ -0,0 +1,16 @@
|
||||
#!/bin/sh
|
||||
set -x
|
||||
RUN_DIR="%%RUN_DIR%%"
|
||||
LOG_DIR="%%LOG_DIR%%"
|
||||
|
||||
case $2 in
|
||||
DEINSTALL)
|
||||
;;
|
||||
POST-DEINSTALL)
|
||||
for dir in ${LOG_DIR} ${RUN_DIR}; do
|
||||
rmdir -p ${dir}
|
||||
done
|
||||
;;
|
||||
esac
|
||||
exit 0
|
||||
#EOF
|
||||
40
net/frr9/files/pkg-install.in
Normal file
40
net/frr9/files/pkg-install.in
Normal file
@@ -0,0 +1,40 @@
|
||||
#!/bin/sh
|
||||
|
||||
set -x
|
||||
|
||||
FRR_OWNER="%%FRR_OWNER%%"
|
||||
FRR_GROUP="%%FRR_GROUP%%"
|
||||
FRR_OWNER_ID="%%FRR_OWNER_ID%%"
|
||||
FRR_GROUP_ID="%%FRR_GROUP_ID%%"
|
||||
|
||||
RUN_DIR="%%RUN_DIR%%"
|
||||
LOG_DIR="%%LOG_DIR%%"
|
||||
CONF_DIR="%%CONF_DIR%%"
|
||||
|
||||
PKG_PREFIX="/var/lib/frr"
|
||||
|
||||
case $2 in
|
||||
PRE-INSTALL)
|
||||
pw group add ${FRR_GROUP} -g ${FRR_GROUP_ID}
|
||||
pw user add ${FRR_OWNER} -g ${FRR_GROUP} \
|
||||
-d ${PKG_PREFIX} -s /usr/sbin/nologin -u ${FRR_OWNER_ID} \
|
||||
-c "quagga"
|
||||
pw group mod ${FRR_GROUP} -M ${FRR_OWNER}
|
||||
pw group show ${FRR_GROUP}
|
||||
pw user show ${FRR_OWNER}
|
||||
mkdir -p ${RUN_DIR}
|
||||
chown ${FRR_OWNER}:${FRR_GROUP} ${RUN_DIR}
|
||||
chmod 0750 ${RUN_DIR}
|
||||
|
||||
mkdir -p ${LOG_DIR}
|
||||
chown ${FRR_OWNER}:${FRR_GROUP} ${LOG_DIR}
|
||||
chmod 0750 ${LOG_DIR}
|
||||
|
||||
mkdir -p ${CONF_DIR}
|
||||
chown ${FRR_OWNER}:${FRR_GROUP} ${CONF_DIR}
|
||||
chmod 0750 ${CONF_DIR}
|
||||
;;
|
||||
POST-INSTALL)
|
||||
;;
|
||||
esac
|
||||
#EOF
|
||||
23
net/frr9/files/ripd.in
Normal file
23
net/frr9/files/ripd.in
Normal file
@@ -0,0 +1,23 @@
|
||||
#!/bin/sh
|
||||
#
|
||||
# PROVIDE: ripd
|
||||
# REQUIRE: zebra
|
||||
# KEYWORD: shutdown
|
||||
#
|
||||
. /etc/rc.subr
|
||||
|
||||
name="ripd"
|
||||
rcvar="ripd_enable"
|
||||
command="%%PREFIX%%/sbin/${name}"
|
||||
#pidfile="%%RUN_DIR%%/${name}.pid"
|
||||
procname="${command}"
|
||||
required_dirs="%%RUN_DIR%% %%LOG_DIR%%"
|
||||
required_files="%%CONF_DIR%%/${name}.conf"
|
||||
command_args=" -d"
|
||||
|
||||
load_rc_config $name
|
||||
|
||||
: ${ripd_enable="NO"}
|
||||
|
||||
run_rc_command "$1"
|
||||
#EOF
|
||||
22
net/frr9/files/ripngd.in
Normal file
22
net/frr9/files/ripngd.in
Normal file
@@ -0,0 +1,22 @@
|
||||
#!/bin/sh
|
||||
#
|
||||
# PROVIDE: ripngd
|
||||
# REQUIRE: zebra
|
||||
#
|
||||
. /etc/rc.subr
|
||||
|
||||
name="ripngd"
|
||||
rcvar="ripngd_enable"
|
||||
command="%%PREFIX%%/sbin/${name}"
|
||||
pidfile="%%RUN_DIR%%/${name}.pid"
|
||||
procname="${name}"
|
||||
required_dirs="%%RUN_DIR%% %%LOG_DIR%%"
|
||||
required_files="%%CONF_DIR%%/${name}.conf"
|
||||
command_args=" -d"
|
||||
|
||||
load_rc_config $name
|
||||
|
||||
: ${ripngd_enable="NO"}
|
||||
|
||||
run_rc_command "$1"
|
||||
#EOF
|
||||
23
net/frr9/files/sharpd.in
Normal file
23
net/frr9/files/sharpd.in
Normal file
@@ -0,0 +1,23 @@
|
||||
#!/bin/sh
|
||||
#
|
||||
# PROVIDE: sharpd
|
||||
# REQUIRE: zebra
|
||||
# KEYWORD: shutdown
|
||||
#
|
||||
. /etc/rc.subr
|
||||
|
||||
name="sharpd"
|
||||
rcvar="sharpd_enable"
|
||||
command="%%PREFIX%%/sbin/${name}"
|
||||
pidfile="%%RUN_DIR%%/${name}.pid"
|
||||
procname="${command}"
|
||||
required_dirs="%%RUN_DIR%% %%LOG_DIR%%"
|
||||
required_files="%%CONF_DIR%%/${name}.conf"
|
||||
command_args=" -d"
|
||||
|
||||
load_rc_config $name
|
||||
|
||||
: ${sharpd_enable="NO"}
|
||||
|
||||
run_rc_command "$1"
|
||||
#EOF
|
||||
23
net/frr9/files/staticd.in
Normal file
23
net/frr9/files/staticd.in
Normal file
@@ -0,0 +1,23 @@
|
||||
#!/bin/sh
|
||||
#
|
||||
# PROVIDE: staticd
|
||||
# REQUIRE: zebra
|
||||
# KEYWORD: shutdown
|
||||
#
|
||||
. /etc/rc.subr
|
||||
|
||||
name="staticd"
|
||||
rcvar="staticd_enable"
|
||||
command="%%PREFIX%%/sbin/${name}"
|
||||
pidfile="%%RUN_DIR%%/${name}.pid"
|
||||
procname="${command}"
|
||||
required_dirs="%%RUN_DIR%% %%LOG_DIR%%"
|
||||
required_files="%%CONF_DIR%%/${name}.conf"
|
||||
command_args=" -d"
|
||||
|
||||
load_rc_config $name
|
||||
|
||||
: ${staticd_enable="NO"}
|
||||
|
||||
run_rc_command "$1"
|
||||
#EOF
|
||||
23
net/frr9/files/zebra.in
Normal file
23
net/frr9/files/zebra.in
Normal file
@@ -0,0 +1,23 @@
|
||||
#!/bin/sh
|
||||
#
|
||||
# PROVIDE: zebra
|
||||
# REQUIRE: DAEMON netif routing
|
||||
# KEYWORD: shutdown
|
||||
#
|
||||
. /etc/rc.subr
|
||||
|
||||
name="zebra"
|
||||
rcvar="zebra_enable"
|
||||
command="%%PREFIX%%/sbin/${name}"
|
||||
pidfile="%%RUN_DIR%%/${name}.pid"
|
||||
procname="${command}"
|
||||
required_dirs="%%RUN_DIR%% %%LOG_DIR%%"
|
||||
required_files="%%CONF_DIR%%/${name}.conf"
|
||||
command_args=" -d"
|
||||
|
||||
load_rc_config $name
|
||||
|
||||
: ${zebra_enable="NO"}
|
||||
|
||||
run_rc_command "$1"
|
||||
#EOF
|
||||
7
net/frr9/pkg-descr
Normal file
7
net/frr9/pkg-descr
Normal file
@@ -0,0 +1,7 @@
|
||||
FRR is a routing software suite, providing implementations of
|
||||
OSPFv2, OSPFv3, RIP v1 and v2, RIPv3, BGPv4 and experemental ISIS
|
||||
for Unix platforms, particularly FreeBSD and Linux and also NetBSD,
|
||||
to mention a few.
|
||||
FRR is a fork of Quagga.
|
||||
|
||||
WWW: https://frrouting.org/
|
||||
13
net/frr9/pkg-message
Normal file
13
net/frr9/pkg-message
Normal file
@@ -0,0 +1,13 @@
|
||||
[
|
||||
{ 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,5 +1,8 @@
|
||||
bin/vtysh
|
||||
include/frr/admin_group.h
|
||||
include/frr/affinitymap.h
|
||||
include/frr/agg_table.h
|
||||
include/frr/asn.h
|
||||
include/frr/assert.h
|
||||
include/frr/atomlist.h
|
||||
include/frr/base64.h
|
||||
@@ -14,6 +17,7 @@ include/frr/command.h
|
||||
include/frr/compiler.h
|
||||
include/frr/cspf.h
|
||||
include/frr/csv.h
|
||||
include/frr/darr.h
|
||||
include/frr/db.h
|
||||
include/frr/debug.h
|
||||
include/frr/defaults.h
|
||||
@@ -23,14 +27,15 @@ include/frr/eigrpd/eigrp_topology.h
|
||||
include/frr/eigrpd/eigrpd.h
|
||||
include/frr/ferr.h
|
||||
include/frr/filter.h
|
||||
include/frr/flex_algo.h
|
||||
include/frr/freebsd-queue.h
|
||||
include/frr/frr_pthread.h
|
||||
include/frr/frratomic.h
|
||||
include/frr/frrcu.h
|
||||
include/frr/frrevent.h
|
||||
include/frr/frrlua.h
|
||||
include/frr/frrscript.h
|
||||
include/frr/frrstr.h
|
||||
include/frr/getopt.h
|
||||
include/frr/graph.h
|
||||
include/frr/hash.h
|
||||
include/frr/hook.h
|
||||
@@ -40,6 +45,7 @@ include/frr/if_rmap.h
|
||||
include/frr/if.h
|
||||
include/frr/imsg.h
|
||||
include/frr/ipaddr.h
|
||||
include/frr/iso.h
|
||||
include/frr/jhash.h
|
||||
include/frr/json.h
|
||||
include/frr/keychain.h
|
||||
@@ -55,6 +61,12 @@ include/frr/log_vty.h
|
||||
include/frr/log.h
|
||||
include/frr/md5.h
|
||||
include/frr/memory.h
|
||||
include/frr/mgmt_be_client.h
|
||||
include/frr/mgmt_fe_client.h
|
||||
include/frr/mgmt_msg.h
|
||||
include/frr/mgmt_pb.h
|
||||
include/frr/mgmt.pb-c.h
|
||||
include/frr/mgmtd/mgmt_defines.h
|
||||
include/frr/mlag.h
|
||||
include/frr/module.h
|
||||
include/frr/monotime.h
|
||||
@@ -96,6 +108,7 @@ include/frr/route_types.h
|
||||
include/frr/routemap.h
|
||||
include/frr/routing_nb.h
|
||||
include/frr/sbuf.h
|
||||
include/frr/segment_routing.h
|
||||
include/frr/seqlock.h
|
||||
include/frr/sha256.h
|
||||
include/frr/sigevent.h
|
||||
@@ -112,7 +125,6 @@ include/frr/systemd.h
|
||||
include/frr/table.h
|
||||
include/frr/tc.h
|
||||
include/frr/termtable.h
|
||||
include/frr/thread.h
|
||||
include/frr/trace.h
|
||||
include/frr/typerb.h
|
||||
include/frr/typesafe.h
|
||||
@@ -139,18 +151,28 @@ lib/frr/modules/bgpd_bmp.so
|
||||
lib/frr/modules/bgpd_rpki.so
|
||||
lib/frr/modules/pathd_pcep.so
|
||||
lib/frr/modules/zebra_fpm.so
|
||||
lib/libfrr_pb.a
|
||||
lib/libfrr_pb.so
|
||||
lib/libfrr_pb.so.0
|
||||
lib/libfrr.a
|
||||
lib/libfrr.so
|
||||
lib/libfrr.so.0
|
||||
lib/libfrrcares.a
|
||||
lib/libfrrcares.so
|
||||
lib/libfrrcares.so.0
|
||||
lib/libfrrfpm_pb.a
|
||||
lib/libfrrfpm_pb.so
|
||||
lib/libfrrfpm_pb.so.0
|
||||
lib/libmgmt_be_nb.a
|
||||
lib/libmgmt_be_nb.so
|
||||
lib/libmgmt_be_nb.so.0
|
||||
sbin/babeld
|
||||
sbin/bfdd
|
||||
sbin/bgpd
|
||||
sbin/eigrpd
|
||||
sbin/fabricd
|
||||
sbin/isisd
|
||||
sbin/mgmtd
|
||||
sbin/ospf6d
|
||||
sbin/ospfd
|
||||
sbin/pathd
|
||||
@@ -160,6 +182,7 @@ sbin/ripngd
|
||||
sbin/sharpd
|
||||
sbin/staticd
|
||||
sbin/zebra
|
||||
share/yang/frr-affinity-map.yang
|
||||
share/yang/frr-bfdd.yang
|
||||
share/yang/frr-bgp-bmp.yang
|
||||
share/yang/frr-bgp-common-multiprotocol.yang
|
||||
@@ -175,6 +198,7 @@ share/yang/frr-bgp.yang
|
||||
share/yang/frr-deviations-bgp-datacenter.yang
|
||||
share/yang/frr-eigrpd.yang
|
||||
share/yang/frr-filter.yang
|
||||
share/yang/frr-if-rmap.yang
|
||||
share/yang/frr-interface.yang
|
||||
share/yang/frr-isisd.yang
|
||||
share/yang/frr-module-translator.yang
|
||||
@@ -198,6 +222,7 @@ share/yang/ietf-interfaces.yang
|
||||
share/yang/ietf-routing-types.yang
|
||||
@dir include/frr/bfdd
|
||||
@dir include/frr/eigrpd
|
||||
@dir include/frr/mgmtd
|
||||
@dir include/frr/ospfd
|
||||
@dir include/frr
|
||||
@dir lib/frr/modules
|
||||
Reference in New Issue
Block a user