diff --git a/net/frr9/Makefile b/net/frr9/Makefile index 0a5b032b2f62..6bc2e7943ac9 100644 --- a/net/frr9/Makefile +++ b/net/frr9/Makefile @@ -1,147 +1,148 @@ PORTNAME= frr PORTVERSION= 9.1 DISTVERSIONPREFIX= frr- -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= net .if defined(PYTHONTOOLS) PKGNAMESUFFIX= 9-pythontools .else PKGNAMESUFFIX= 9 .endif MAINTAINER= olivier@FreeBSD.org COMMENT?= IP routing protocol suite including BGP, IS-IS, OSPF, BABEL and RIP WWW= https://frrouting.org/ LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING .if defined(PYTHONTOOLS) RUN_DEPENDS= frr-reload:net/frr9 USES= python:run shebangfix post-patch: @${REINPLACE_CMD} -e 's|/etc/frr|${ETCDIR}|g' \ -e 's|/usr/bin|${PREFIX}/bin|g' \ ${WRKSRC}/tools/frr-reload.py @${REINPLACE_CMD} -e 's|/etc/frr|${ETCDIR}|g' \ ${WRKSRC}/tools/generate_support_bundle.py do-install: ${MKDIR} ${STAGEDIR}${ETCDIR} ${INSTALL_SCRIPT} ${WRKSRC}/tools/frr-reload.py ${STAGEDIR}${PREFIX}/sbin/ ${INSTALL_SCRIPT} ${WRKSRC}/tools/generate_support_bundle.py ${STAGEDIR}${PREFIX}/sbin/ ${INSTALL_DATA} ${WRKSRC}/tools/etc/frr/support_bundle_commands.conf ${STAGEDIR}${ETCDIR}/ .else LIB_DEPENDS= libcares.so:dns/c-ares \ libjson-c.so:devel/json-c \ libpcre2-8.so:devel/pcre2 \ libprotobuf-c.so:devel/protobuf-c \ libyang.so.2:net/libyang2 USES= autoreconf bison compiler:c++11-lang gmake libtool makeinfo \ pkgconfig python:build readline shebangfix BINARY_ALIAS= python=${PYTHON_VERSION} CONFLICTS= frr8 openbgpd openospfd quagga zebra GNU_CONFIGURE= yes +GNU_CONFIGURE_MANPREFIX= ${PREFIX}/share INSTALL_TARGET= install-strip USE_LDCONFIG= yes .endif USE_GITHUB= yes GH_ACCOUNT= FRRouting .if defined(PYTHONTOOLS) NO_BUILD= yes NO_ARCH= yes SHEBANG_FILES= tools/frr-reload.py \ tools/generate_support_bundle.py PLIST= ${.CURDIR}/pkg-plist PKGMESSAGE= "" .else INFO= frr OPTIONS_DEFINE= BACKTRACE CONFIGROLLBACKS DATACENTER FPM LDPD MANPAGES \ MULTIPATH PAM RPKI SHARPD SHELLACCESS SNMP TCMALLOC OPTIONS_DEFAULT= BACKTRACE FPM MANPAGES RPKI OPTIONS_SUB= yes BACKTRACE_DESC= Enable backtrace CONFIGROLLBACKS_DESC= Enable configuration rollback support DATACENTER_DESC= Use reduced BGP timers FPM_DESC= Enable Forwarding Plane Manager support LDPD_DESC= Build ldpd MULTIPATH_DESC= Allow 64 multipath routes (16 default) PAM_DESC= Use libpam for PAM support in vtysh RPKI_DESC= Add BGP RPKI (RFC 6810) support SHARPD_DESC= Build sharpd SHELLACCESS_DESC= Allow users to access shell/telnet/ssh SNMP_DESC= SNMP support TCMALLOC_DESC= Use tcmalloc USERS= frr GROUPS= frr frrvty CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib # PIMD and PBRD compile but doesn't work on FreeBSD CONFIGURE_ARGS= --enable-user=frr \ --enable-group=frr \ --enable-vty-group=frrvty \ --enable-vtysh \ --disable-doc-html \ --sysconfdir=${ETCDIR} \ --localstatedir=/var/run/frr \ --disable-nhrpd \ --disable-pathd \ --disable-ospfclient \ --disable-pimd \ --disable-pbrd \ --with-vtysh-pager=cat BACKTRACE_LIB_DEPENDS= libunwind.so:devel/libunwind BACKTRACE_CONFIGURE_ENABLE= backtrace CONFIGROLLBACKS_LIB_DEPENDS= libsqlite3.so:databases/sqlite3 CONFIGROLLBACKS_CONFIGURE_ENABLE= config-rollbacks DATACENTER_CONFIGURE_ENABLE= datacenter FPM_CONFIGURE_ENABLE= fpm LDPD_CONFIGURE_ENABLE= ldpd MANPAGES_BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}sphinx>=0,1:textproc/py-sphinx@${PY_FLAVOR} MANPAGES_CONFIGURE_OFF= --disable-doc MULTIPATH_CONFIGURE_ON= --enable-multipath=64 PAM_CONFIGURE_WITH= libpam RPKI_CONFIGURE_ENABLE= rpki RPKI_LIB_DEPENDS= librtr.so:net-mgmt/rtrlib \ libssh.so:security/libssh SHARPD_CONFIGURE_ENABLE= sharpd SHELLACCESS_CONFIGURE_ENABLE= shell-access SNMP_CONFIGURE_ENABLE= snmp SNMP_LIB_DEPENDS= libnetsnmp.so:net-mgmt/net-snmp SNMP_USES= ssl TCMALLOC_CONFIGURE_ENABLE= tcmalloc TCMALLOC_LIB_DEPENDS= libtcmalloc.so:devel/google-perftools USE_RC_SUBR= frr watchfrr SHEBANG_FILES= yang/embedmodel.py post-patch: @${REINPLACE_CMD} -e 's|/etc/frr|${ETCDIR}|g' \ -e 's|/usr/lib/frr|${PREFIX}/sbin|g' \ -e 's|frr-pythontools|frr9-pythontools|g' \ ${WRKSRC}/tools/frr-reload post-install: ${MKDIR} ${STAGEDIR}/var/run/frr ${INSTALL_SCRIPT} ${WRKSRC}/tools/frr-reload ${STAGEDIR}${PREFIX}/sbin .endif .include diff --git a/net/frr9/pkg-plist b/net/frr9/pkg-plist index d046561bb6ff..894ddacac96d 100644 --- a/net/frr9/pkg-plist +++ b/net/frr9/pkg-plist @@ -1,253 +1,253 @@ 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.h include/frr/command_graph.h include/frr/command_match.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/frrevent.h include/frr/frrlua.h include/frr/frrscript.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.h include/frr/if_rmap.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/libfrr.h include/frr/libfrr_trace.h include/frr/libospf.h include/frr/link_state.h include/frr/linklist.h include/frr/log.h include/frr/log_vty.h include/frr/md5.h include/frr/memory.h include/frr/mgmt.pb-c.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/mgmtd/mgmt_defines.h include/frr/mlag.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/nexthop_group_private.h include/frr/northbound.h include/frr/northbound_cli.h include/frr/northbound_db.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.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/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.h include/frr/vrf_int.h include/frr/vty.h include/frr/vxlan.h include/frr/wheel.h include/frr/workqueue.h include/frr/xref.h include/frr/yang.h include/frr/yang_translator.h include/frr/yang_wrappers.h include/frr/zclient.h include/frr/zebra.h include/frr/zlog.h include/frr/zlog_5424.h include/frr/zlog_live.h include/frr/zlog_targets.h lib/libfrr.a lib/libfrr.so lib/libfrr.so.0 lib/libfrr.so.0.0.0 lib/libfrr_pb.a lib/libfrr_pb.so lib/libfrr_pb.so.0 lib/libfrr_pb.so.0.0.0 lib/libfrrcares.a lib/libfrrcares.so lib/libfrrcares.so.0 lib/libfrrcares.so.0.0.0 %%FPM%%lib/libfrrfpm_pb.a %%FPM%%lib/libfrrfpm_pb.so %%FPM%%lib/libfrrfpm_pb.so.0 %%FPM%%lib/libfrrfpm_pb.so.0.0.0 %%SNMP%%lib/libfrrsnmp.a %%SNMP%%lib/libfrrsnmp.so %%SNMP%%lib/libfrrsnmp.so.0 %%SNMP%%lib/libfrrsnmp.so.0.0.0 lib/libmgmt_be_nb.a lib/libmgmt_be_nb.so lib/libmgmt_be_nb.so.0 lib/libmgmt_be_nb.so.0.0.0 %%SNMP%%lib/frr/modules/bgpd_bmp.so %%RPKI%%lib/frr/modules/bgpd_rpki.so %%SNMP%%lib/frr/modules/bgpd_snmp.so %%SNMP%%lib/frr/modules/isisd_snmp.so %%SNMP%%%%LDPD%%lib/frr/modules/ldpd_snmp.so %%SNMP%%lib/frr/modules/ospf6d_snmp.so %%SNMP%%lib/frr/modules/ospfd_snmp.so %%SNMP%%lib/frr/modules/ripd_snmp.so %%FPM%%lib/frr/modules/zebra_fpm.so %%SNMP%%lib/frr/modules/zebra_snmp.so -%%MANPAGES%%man/man1/frr.1.gz -%%MANPAGES%%man/man8/frr-bfdd.8.gz -%%MANPAGES%%man/man8/frr-eigrpd.8.gz -%%MANPAGES%%man/man8/frr-isisd.8.gz -%%MANPAGES%%man/man8/frr-staticd.8.gz -%%MANPAGES%%man/man8/frr-watchfrr.8.gz -%%MANPAGES%%man/man1/vtysh.1.gz -%%MANPAGES%%man/man8/frr-bgpd.8.gz -%%MANPAGES%%%%LDPD%%man/man8/frr-ldpd.8.gz -%%MANPAGES%%man/man8/frr-ospf6d.8.gz -%%MANPAGES%%man/man8/frr-ospfd.8.gz -%%MANPAGES%%man/man8/frr-ripd.8.gz -%%MANPAGES%%man/man8/frr-ripngd.8.gz -%%MANPAGES%%%%SHARPD%%man/man8/frr-sharpd.8.gz -%%MANPAGES%%man/man8/frr-zebra.8.gz +%%MANPAGES%%share/man/man1/frr.1.gz +%%MANPAGES%%share/man/man8/frr-bfdd.8.gz +%%MANPAGES%%share/man/man8/frr-eigrpd.8.gz +%%MANPAGES%%share/man/man8/frr-isisd.8.gz +%%MANPAGES%%share/man/man8/frr-staticd.8.gz +%%MANPAGES%%share/man/man8/frr-watchfrr.8.gz +%%MANPAGES%%share/man/man1/vtysh.1.gz +%%MANPAGES%%share/man/man8/frr-bgpd.8.gz +%%MANPAGES%%%%LDPD%%share/man/man8/frr-ldpd.8.gz +%%MANPAGES%%share/man/man8/frr-ospf6d.8.gz +%%MANPAGES%%share/man/man8/frr-ospfd.8.gz +%%MANPAGES%%share/man/man8/frr-ripd.8.gz +%%MANPAGES%%share/man/man8/frr-ripngd.8.gz +%%MANPAGES%%%%SHARPD%%share/man/man8/frr-sharpd.8.gz +%%MANPAGES%%share/man/man8/frr-zebra.8.gz sbin/babeld sbin/bfdd sbin/bgpd sbin/eigrpd sbin/fabricd sbin/frr-reload %%LDPD%%sbin/ldpd sbin/isisd sbin/mgmtd sbin/ospf6d sbin/ospfd sbin/ripd sbin/ripngd %%SHARPD%%sbin/sharpd sbin/staticd sbin/watchfrr 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 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-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-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-routing-types.yang @dir(frr,frr,750) /var/run/frr