From nobody Thu Sep 28 17:31:26 2023 X-Original-To: dev-commits-ports-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4RxLB65sLpz4v54l; Thu, 28 Sep 2023 17:31:26 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4RxLB64sX1z4dTF; Thu, 28 Sep 2023 17:31:26 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1695922286; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=8nbU+LAsh3U0gD3ih70zIXjSoZim/GvFyRiufONey0A=; b=GlGYbMOt1/50F8tA4EksP1WOR6D40T8h+7UN5DQqrJHbyMUJ9e6EC4o+DxTikIj/KR8hZd haeDL5SUadLR+h5lW5UL9GtBt1MaGMMp+caVbob5BIQze3t2JWQYBAHyE7SM+/UaHYT4SY vef6F7L8YszwCu35k9rWLBaPQjbpu4PXiY083eki09aQUAJgu5aARzwVXdUGsYJJz49O2z BdAFvx9mc7Sxmzsh7IJvOyIqbhwyNv2pnwLZY5EJlA3GKFd3LAYHtuLNDbKXcolqHKfNYm Rciq7NkkkixSNml0mZ/nVWMr53LRK6bArKBS27wFo3qh1gn0NgzNikMMSi+Ziw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1695922286; a=rsa-sha256; cv=none; b=ZtfuB1kyjgmkP868mPmGqc5OB+fMG1FV3Hl6J/KJosVE/qauzrqVJJKGeXF80CJ2XpLMqh UF7VRRSkyt2ChYItmoQVol3yxILm5bGfFQlRyillrMyYyghIBQehcDz7fh43M5sqMONVbv valwJ+1YIJWmiAJokFtCGH8VBwZCnaNqwjCBoo3CuYI3V1wxyLez5rtCDznVsjHKrq83dy Wg8C+b5TrdG70amqRJEA/DVjBrxf8aXug20biCt5wvHZWd+LsNZAdg7EfD6OB3vm+Gtkom C6msrRVNxKGgMhjVP6ndFeV3fnqrw1vGDSQxP2gUDKFt+855eQoEM5Mrr20urA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1695922286; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=8nbU+LAsh3U0gD3ih70zIXjSoZim/GvFyRiufONey0A=; b=vwTyvIroHCLqzoOY1YrtsRxLC4glbqCgnJ5MAOrJ7Mgkir5tASIzMtXOeMwj88x9hWwJuT uu9UtcDhQyqgJQwyT1EPOMJ5DPwo1WPilLwFPCCtMS8hUdySbdzbOE1iGjuHk9hCuDk6nv hIIgXXNRXMMW6nlEc4gHB8DOkznkABfXup2Ei9kaqg7y5XCLRZp2iVWnqoSo3rxhfpn3zG ZCl9ZE2Rn94jCW2bUu4kw2N/5PVXiGalXx4cbNsLyN9lRUqyqKiA0gYf6GXqyaJKB2iaN4 O/GrNqWZWNa+xJVPzOkC8y/RxP2uz3SgdvgtXobxi+gNT1J3KQQIn5R4HPiGWQ== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4RxLB63xT2zWg9; Thu, 28 Sep 2023 17:31:26 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 38SHVQap082643; Thu, 28 Sep 2023 17:31:26 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 38SHVQgY082640; Thu, 28 Sep 2023 17:31:26 GMT (envelope-from git) Date: Thu, 28 Sep 2023 17:31:26 GMT Message-Id: <202309281731.38SHVQgY082640@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Olivier Cochard Subject: git: cf8cec813d73 - main - net/frr8: remove vtysh port option, housekeeping, fix build with SNMP List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: olivier X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: cf8cec813d73b0ace176ae1d98b9358e8e2d02ae Auto-Submitted: auto-generated The branch main has been updated by olivier: URL: https://cgit.FreeBSD.org/ports/commit/?id=cf8cec813d73b0ace176ae1d98b9358e8e2d02ae commit cf8cec813d73b0ace176ae1d98b9358e8e2d02ae Author: Olivier Cochard AuthorDate: 2023-09-28 16:32:46 +0000 Commit: Olivier Cochard CommitDate: 2023-09-28 17:31:12 +0000 net/frr8: remove vtysh port option, housekeeping, fix build with SNMP Remove the vtysh port option due to upstream breakage. At this time, both net/frr8 and net/frr9 cannot be built without vtysh. This is an uncommon scenario and upstream does not currently test this build option. Also cleanup the Makefile and pkg-plist structure and ordering. PR: 272757 Reported by: R. Christian McDonald , brd Obtained from: R. Christian McDonald --- net/frr8/Makefile | 51 ++++++++++++++--------------- net/frr8/pkg-plist | 95 ++++++++++++++++++++++++++++-------------------------- 2 files changed, 74 insertions(+), 72 deletions(-) diff --git a/net/frr8/Makefile b/net/frr8/Makefile index 51abb4f8cdd4..633876091dfd 100644 --- a/net/frr8/Makefile +++ b/net/frr8/Makefile @@ -1,6 +1,7 @@ PORTNAME= frr PORTVERSION= 8.5.3 DISTVERSIONPREFIX= frr- +PORTREVISION= 1 CATEGORIES= net .if defined(PYTHONTOOLS) PKGNAMESUFFIX= 8-pythontools @@ -36,17 +37,17 @@ do-install: ${INSTALL_DATA} ${WRKSRC}/tools/etc/frr/support_bundle_commands.conf ${STAGEDIR}${ETCDIR}/ .else -LIB_DEPENDS= libjson-c.so:devel/json-c \ - libyang.so.2:net/libyang2 \ - libcares.so:dns/c-ares \ - libpcre2-8.so:devel/pcre2 +LIB_DEPENDS= libcares.so:dns/c-ares \ + libjson-c.so:devel/json-c \ + libpcre2-8.so:devel/pcre2 \ + libyang.so.2:net/libyang2 -USES= autoreconf bison compiler:c++11-lang gmake pkgconfig libtool \ - makeinfo python:build readline shebangfix +USES= autoreconf bison compiler:c++11-lang gmake libtool makeinfo \ + pkgconfig python:build readline shebangfix BINARY_ALIAS= python=${PYTHON_VERSION} -CONFLICTS= openbgpd openospfd zebra quagga +CONFLICTS= frr[79] openbgpd openospfd quagga zebra GNU_CONFIGURE= yes INSTALL_TARGET= install-strip @@ -61,30 +62,29 @@ NO_BUILD= yes NO_ARCH= yes SHEBANG_FILES= tools/frr-reload.py \ - tools/generate_support_bundle.py -PLIST= ${.CURDIR}/pkg-plist + tools/generate_support_bundle.py +PLIST= ${.CURDIR}/pkg-plist PKGMESSAGE= "" .else INFO= frr -OPTIONS_DEFINE= BACKTRACE CONFIGROLLBACKS FPM DATACENTER LDPD PAM SHELLACCESS \ - VTYSH MANPAGES MULTIPATH TCMALLOC RPKI SHARPD SNMP -OPTIONS_DEFAULT= BACKTRACE VTYSH RPKI FPM MANPAGES +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 +BACKTRACE_DESC= Enable backtrace CONFIGROLLBACKS_DESC= Enable configuration rollback support -FPM_DESC= Enable Forwarding Plane Manager 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 -SHARPD_DESC= Build sharpd TCMALLOC_DESC= Use tcmalloc -VTYSH_DESC= Build integrated vty shell USERS= frr GROUPS= frr frrvty @@ -96,6 +96,7 @@ LDFLAGS+= -L${LOCALBASE}/lib CONFIGURE_ARGS= --enable-user=frr \ --enable-group=frr \ --enable-vty-group=frrvty \ + --enable-vtysh \ --disable-doc-html \ --sysconfdir=${ETCDIR} \ --localstatedir=/var/run/frr \ @@ -106,29 +107,27 @@ CONFIGURE_ARGS= --enable-user=frr \ --disable-pbrd \ --with-vtysh-pager=cat -MANPAGES_BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}sphinx>=0,1:textproc/py-sphinx@${PY_FLAVOR} -MANPAGES_CONFIGURE_OFF= --disable-doc -BACKTRACE_LIB_DEPENDS= libunwind.so:devel/libunwind +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 -SHELLACCESS_CONFIGURE_ENABLE= shell-access FPM_CONFIGURE_ENABLE= fpm -PAM_CONFIGURE_WITH= libpam 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 -TCMALLOC_CONFIGURE_ENABLE= tcmalloc -TCMALLOC_LIB_DEPENDS= libtcmalloc.so:devel/google-perftools +SHARPD_CONFIGURE_ENABLE= sharpd +SHELLACCESS_CONFIGURE_ENABLE= shell-access SNMP_CONFIGURE_ENABLE= snmp -SNMP_CFLAGS= "-std=gnu99" SNMP_LIB_DEPENDS= libnetsnmp.so:net-mgmt/net-snmp SNMP_USES= ssl -SHARPD_CONFIGURE_ENABLE= sharpd -VTYSH_CONFIGURE_ENABLE= vtysh +TCMALLOC_CONFIGURE_ENABLE= tcmalloc +TCMALLOC_LIB_DEPENDS= libtcmalloc.so:devel/google-perftools USE_RC_SUBR= frr watchfrr diff --git a/net/frr8/pkg-plist b/net/frr8/pkg-plist index 8de4518c4a00..8b2515a2ef04 100644 --- a/net/frr8/pkg-plist +++ b/net/frr8/pkg-plist @@ -1,23 +1,11 @@ -%%VTYSH%%bin/vtysh -%%SHARPD%%sbin/sharpd +@dir(frr,frr,750) /var/run/frr +bin/vtysh include/frr/agg_table.h -include/frr/atomlist.h include/frr/assert.h +include/frr/atomlist.h include/frr/base64.h -include/frr/bfdd/bfddp_packet.h -include/frr/cspf.h -include/frr/libfrr_trace.h -include/frr/link_state.h -include/frr/resolver.h -include/frr/tc.h -include/frr/trace.h -include/frr/xref.h -include/frr/yang.h -include/frr/yang_translator.h -include/frr/yang_wrappers.h -include/frr/zlog_5424.h -include/frr/zlog_live.h include/frr/bfd.h +include/frr/bfdd/bfddp_packet.h include/frr/bitfield.h include/frr/buffer.h include/frr/checksum.h @@ -25,6 +13,7 @@ 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/db.h include/frr/debug.h @@ -40,8 +29,8 @@ include/frr/frr_pthread.h include/frr/frratomic.h include/frr/frrcu.h include/frr/frrlua.h -include/frr/frrstr.h include/frr/frrscript.h +include/frr/frrstr.h include/frr/getopt.h include/frr/graph.h include/frr/hash.h @@ -59,7 +48,9 @@ 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 @@ -97,8 +88,9 @@ include/frr/privs.h include/frr/ptm_lib.h include/frr/pullwr.h include/frr/pw.h -include/frr/queue.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 @@ -108,33 +100,41 @@ include/frr/sbuf.h include/frr/seqlock.h include/frr/sha256.h include/frr/sigevent.h -include/frr/smux.h -include/frr/spf_backoff.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/thread.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/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 @@ -144,48 +144,52 @@ lib/libfrrcares.a lib/libfrrcares.so lib/libfrrcares.so.0 lib/libfrrcares.so.0.0.0 -%%SNMP%%lib/frr/modules/bgpd_snmp.so -%%SNMP%%lib/frr/modules/bgpd_bmp.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 +%%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/man1/vtysh.1.gz %%MANPAGES%%man/man8/frr-bfdd.8.gz +%%MANPAGES%%man/man8/frr-bgpd.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%%%%VTYSH%%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-staticd.8.gz +%%MANPAGES%%man/man8/frr-watchfrr.8.gz %%MANPAGES%%man/man8/frr-zebra.8.gz sbin/babeld sbin/bfdd sbin/bgpd -%%LDPD%%sbin/ldpd sbin/eigrpd sbin/fabricd sbin/frr-reload +sbin/isisd +%%LDPD%%sbin/ldpd sbin/ospf6d sbin/ospfd sbin/ripd sbin/ripngd +%%SHARPD%%sbin/sharpd sbin/staticd -sbin/zebra -sbin/isisd sbin/watchfrr -share/yang/ietf-bgp-types.yang +sbin/zebra +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 @@ -198,26 +202,25 @@ 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-ospf-route-map.yang -share/yang/frr-ospf6-route-map.yang -share/yang/frr-ospfd.yang -share/yang/frr-bfdd.yang share/yang/frr-eigrpd.yang +share/yang/frr-filter.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-types.yang -share/yang/frr-test-module.yang -share/yang/frr-filter.yang -share/yang/frr-nexthop.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.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