53 Commits
Author SHA1 Message Date
Alexander Wilhelm 163a4fcaf6 frr: add pim6d to the daemons file
The frr-pim6d package installs pim6d, and frrcommon.sh lists it in
DAEMONS.

/etc/frr/daemons has no pim6d entry, so pim6d cannot be enabled
there and gets no vty bind address.

Add pim6d, disabled by default, with the vty bound to ::1.

Signed-off-by: Alexander Wilhelm <alexander.wilhelm@westermo.com>
2026-12-05 19:02:53 +02:00
Josef Schlehofer 6a50443e6b frr: conflict with the standalone babeld and bfdd
frr-babeld and babeld both install /usr/sbin/babeld, and frr-bfdd and
bfdd both install /usr/sbin/bfdd. Nothing marks them as conflicting, so
they can be selected and installed together.

Declare the conflicts so that the FRR daemons and the standalone ones
cannot be selected or installed together.

Checked the Conflicts field in the generated package metadata.

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2026-10-30 06:34:59 +01:00
Alexandru Ardelean db09fc6eeb frr: update to 10.7.1
10.7.1 accepts libyang v3, so frr keeps building against libyang-legacy.
Refresh 997-reverse_python_test.patch, which otherwise applies with an
offset of one line; the other two patches are unchanged.

Signed-off-by: Alexandru Ardelean <alex@shruggie.ro>
2026-10-07 16:12:29 +03:00
Alexandru Ardelean 850c6d3053 frr: add test.sh and test-version.sh, keep libmlag_pb.so symlinks
test.sh asserts vtysh, libfrr.so and the per-subpackage daemon binary,
and cross-checks the release in "vtysh --help" against the package
version. test-version.sh overrides the generic scan, which cannot work
for frr-pythontools.

Package/frr-zebra installed libmlag_pb.so* with INSTALL_BIN, which
dereferences symlinks and so tripped the SONAME-symlink check; use
$(CP) instead.

Signed-off-by: Alexandru Ardelean <alex@shruggie.ro>
2026-10-07 16:12:29 +03:00
Alexandru Ardelean f1e040104b libyang-legacy: split a v3 ABI compat package from libyang
Build a second package from the same libyang 3.13.6 tarball, so
consumers bound to the v3 ABI keep working once libyang moves to 5.x.
It ships only /usr/lib/libyang.so.3* and stages its headers, library
and .pc under /usr/lib/libyang-legacy to avoid colliding with libyang.

All in-tree consumers are switched to it here; the commits that follow
move libnetconf2, sysrepo and netopeer2 back to +libyang as their
upstream releases gain v5 support. frr stays on the legacy ABI.

Signed-off-by: Alexandru Ardelean <alex@shruggie.ro>
2026-10-07 16:12:29 +03:00
Lucian CRISTIAN a8e826ac34 frr: update to 10.6.1
update frr to latest stable 10.6.1

Signed-off-by: Lucian CRISTIAN <lucian.cristian@gmail.com>
2026-05-08 22:36:07 +02:00
Fabrice Fontaine fc3af591d0 net/frr: fix PKG_CPE_ID
cpe:/a:frrouting:frrouting is the correct CPE ID for frr:
https://nvd.nist.gov/products/cpe/search/results?keyword=cpe:2.3:a:frrouting:frrouting

Fixes: 5afe5c9031 (treewide: assign PKG_CPE_ID)

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
2026-03-15 09:15:08 +02:00
Lucian CRISTIAN 036868c669 frr: update to 10.4.1
switch to release codeload version
fix startup error messages

Signed-off-by: Lucian CRISTIAN <lucian.cristian@gmail.com>
2025-11-12 09:44:20 +02:00
Lucian CRISTIAN cd1439a6c6 frr: update to 10.3.1
also add watchfrr and zebra as build daemon dependencies

Signed-off-by: Lucian CRISTIAN <lucian.cristian@gmail.com>
2025-06-30 11:55:21 +08:00
Lucian CRISTIAN 6623eadfa0 frr: 10.2.1 fixes
add packing mgmtd, pim6d and update helper scripts

Signed-off-by: Lucian CRISTIAN <lucian.cristian@gmail.com>
2025-02-01 10:54:15 +02:00
Lucian CRISTIAN ca9f2f4b56 frr: update to 10.2.1
update to current stable branch


Signed-off-by: Lucian CRISTIAN <lucian.cristian@gmail.com>
2025-01-24 17:30:13 +08:00
Michael Pratt a185c7fabe frr: link zlib in host build
Due to changes in elfutils in order to
simplify the build for static libraries only,
the zlib functions that libelf depends on
are no longer linked within the static libelf library.

If frr were to use pkg-config, no change would be necessary,
however, the AC_CHECK_LIB macro is used, so add the link manually.

Signed-off-by: Michael Pratt <mcpratt@pm.me>
2024-06-19 11:22:59 +02:00
Georgi Valkov 4ef2b7e0fc frr: fix compilation with GCC14
Fixes:
zebra/zebra_netns_notify.c: In function 'zebra_ns_ready_read':
zebra/zebra_netns_notify.c:265:40: error: implicit declaration of function 'basename' [-Wimplicit-function-declaration]
  265 |         if (strmatch(VRF_DEFAULT_NAME, basename(netnspath))) {
      |                                        ^~~~~~~~

Fixed by including libgen.h, then since basename may modify its
parameter, allocate a copy on the stack, using strdupa, and pass the
temporary string to basename.

According to the man page for basename:
With glibc, one gets the POSIX version of basename() when
<libgen.h> is included, and the GNU version otherwise.

The POSIX version of basename may modify the contents of path,
so we should to pass a copy when calling this function.

[1] https://man7.org/linux/man-pages/man3/basename.3.html

Signed-off-by: Georgi Valkov <gvalkov@gmail.com>
2024-06-05 16:33:49 +02:00
Martin Schiller 2a3a3575fe frr: add support for BGP MD5 authentication
You have to enable the CONFIG_TCP_MD5SIG kernel config option to be able
to use the BGP MD5 authentication.

Signed-off-by: Martin Schiller <ms@dev.tdt.de>
2024-06-03 17:35:55 +08:00
Georgi Valkov f2411b1e39 frr: merge frr-libfrr and frr-vtysh to frr
frr-libfrr and frr-vtysh are required components, which makes their
menuconfig entries obsolete. Merge them in the frr package.

Signed-off-by: Georgi Valkov <gvalkov@gmail.com>
2024-05-28 13:59:43 +08:00
Georgi Valkov fd8467d1a2 frr: enable frr-vtysh by defalult and hide it
Fixes [1]
lib/vty.c: In function 'vty_mgmt_resume_response':
lib/vty.c:195:27: error: 'VTYSH_READ' undeclared (first use in this function); did you mean 'VTY_READ'?
  195 |                 vty_event(VTYSH_READ, vty);
      |                           ^~~~~~~~~~
      |                           VTY_READ

The error is a bug in frr: not all use cases of the VTYSH_* enums are
guarded by #ifdef VTYSH. These enums are enabled by the VTYSH macro,
which is defined if sub package frr-vtysh is enabled in menuconfig.
According to support ticket [2], building without frr-vtysh is
no longer supported.

[1] https://github.com/openwrt/packages/issues/24063
[2] https://github.com/FRRouting/frr/issues/15752#issuecomment-2059328993

Signed-off-by: Georgi Valkov <gvalkov@gmail.com>
2024-05-28 13:59:43 +08:00
Georgi Valkov da26ac2725 frr: fix grep warning in frrcommon.sh
Fixes:
grep: warning: stray \ before -

Signed-off-by: Georgi Valkov <gvalkov@gmail.com>
2024-05-28 13:59:43 +08:00
Georgi Valkov 6b7d905a3a frr: fix host build error on macOS
Fixes:
lib/command_graph.c:16:1: error: argument to 'section' attribute is not valid for this target: mach-o section specifier requires a segment and section separated by a comma DEFINE_MTYPE_STATIC(LIB, CMD_TOKENS, "Command Tokens"); ^
./lib/memory.h:139:2: note: expanded from macro 'DEFINE_MTYPE_STATIC'
        DEFINE_MTYPE_ATTR(group, name, static, desc)                           \
        ^
./lib/memory.h:109:26: note: expanded from macro 'DEFINE_MTYPE_ATTR'
                __attribute__((section(".data.mtypes"))) = { {                 \

[1] https://github.com/FRRouting/frr/pull/6032
[2] https://github.com/FRRouting/frr/pull/15890

Signed-off-by: Georgi Valkov <gvalkov@gmail.com>
2024-04-30 22:54:10 +02:00
Fabrice Fontaine 5afe5c9031 treewide: assign PKG_CPE_ID
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
2024-02-04 16:16:10 -08:00
Lucian Cristian d01460fe93 frr: updat to 9.0
Signed-off-by: Lucian Cristian <lucian.cristian@gmail.com>
2023-08-17 18:35:06 +08:00
Lucian Cristian 4c9ab981e2 frr: update to 8.5.1 branch
also fixes gcc 13 compile

Signed-off-by: Lucian Cristian <lucian.cristian@gmail.com>
2023-05-16 18:56:30 +02:00
Andre Heider e7d9c86503 treewide: refactor to use PKG_BUILD_FLAGS:=lto
See commit 07730ff3 "treewide: add support for "lto" in PKG_BUILD_FLAGS"
on the main repository.

Note: Some packages only added `-flto` to CFLAGS and not LDFLAGS. This
fixes it and properly enables LTO.

Signed-off-by: Andre Heider <a.heider@gmail.com>
2023-04-08 08:38:54 +02:00
Lucian Cristian 5f68a93874 frr: update to 8.4.2 branch
Signed-off-by: Lucian Cristian <lucian.cristian@gmail.com>
2023-02-25 08:18:32 +08:00
Lucian Cristian f6e1fc8d8f frr: update to 8.4.1
Signed-off-by: Lucian Cristian <lucian.cristian@gmail.com>
2022-12-02 19:42:30 +02:00
Lucian Cristian a3c81940b8 frr: update to latest 8.3.1 branch
Signed-off-by: Lucian Cristian <lucian.cristian@gmail.com>
2022-10-25 18:02:30 -07:00
Lucian Cristian 26b64bee70 frr: update to 8.3.0
Signed-off-by: Lucian Cristian <lucian.cristian@gmail.com>
2022-07-28 15:07:08 -07:00
Stijn Tintel f9424b1745 frr: drop elfutils/host dependency
The elfutils package moved to tools and elfutils/host no longer exists.

Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
2022-05-19 16:55:16 -07:00
Lucian Cristian 47748e29dc frr: update to 8.2.2 branch
Signed-off-by: Lucian Cristian <lucian.cristian@gmail.com>
2022-03-22 11:28:20 -07:00
Lucian Cristian 9ffd55a993 frr: update to 8.2
Signed-off-by: Lucian Cristian <lucian.cristian@gmail.com>
2022-03-08 21:56:19 -08:00
Lucian Cristian 7f5dc09e5d frr: branch update, mips64 fix
Signed-off-by: Lucian Cristian <lucian.cristian@gmail.com>
2022-02-16 22:15:41 -08:00
Lucian Cristian a1cdf51ba8 frr: update to latest
also fix mips compile

Signed-off-by: Lucian Cristian <lucian.cristian@gmail.com>
2022-01-18 21:29:39 -08:00
Lucian Cristian e965229a7d frr: update to 8.1.0
Signed-off-by: Lucian Cristian <lucian.cristian@gmail.com>
2021-11-12 17:20:37 -08:00
Lucian Cristian 3dd857de9e frr: fixes and update to latest
ospf running in instance mod will keep cpu to 100% so revert offending commit
if daemon is disabled in the file while running also close that daemon
also add the pythontools to support reload

Signed-off-by: Lucian Cristian <lucian.cristian@gmail.com>
2021-10-22 18:22:20 -07:00
Lucian Cristian 2e4c264a54 frr: update to 7.5.1 and backports
Signed-off-by: Lucian Cristian <lucian.cristian@gmail.com>
2021-03-28 22:37:02 +03:00
Lucian Cristian e6cb3a7552 frr: update to latest and backports
cherry-pick:
backport nhrpd support multicast
backport ospf updates

Signed-off-by: Lucian Cristian <lucian.cristian@gmail.com>
2021-02-28 14:55:36 +02:00
Ilya Lipnitskiy 5d8d4fbbcb treewide: Run refresh on all packages
The crude loop I wrote to come up with this changeset:

  find -L package/feeds/packages/ -name patches | \
  sed 's/patches$/refresh/' | sort | xargs make

Signed-off-by: Ilya Lipnitskiy <ilya.lipnitskiy@gmail.com>
2021-02-20 16:02:15 -08:00
Lucian Cristian adda7b8782 frr: fix init and update
fix ospfd startup when instances are enabled

Signed-off-by: Lucian Cristian <lucian.cristian@gmail.com>
2021-02-09 00:42:34 +02:00
Lucian Cristian fabe4c030a frr: update 7.5 to latest backports
Signed-off-by: Lucian Cristian <lucian.cristian@gmail.com>
2021-01-26 21:02:28 +02:00
Lucian Cristian 51a481ff94 frr: update stable to 2020-12-22
Signed-off-by: Lucian Cristian <lucian.cristian@gmail.com>
2020-12-27 22:33:34 +02:00
Lucian Cristian faac979564 frr: update to 7.5
switch to codeload for latest patches applied to stable branch

Signed-off-by: Lucian Cristian <lucian.cristian@gmail.com>
2020-12-04 14:09:37 +02:00
Lucian Cristian 13c83f11e5 frr: fix running on mips (again)
add mips fix missed on version upgrade

Signed-off-by: Lucian Cristian <lucian.cristian@gmail.com>
2020-09-08 23:23:43 +03:00
Lucian Cristian 8c0d17cf5d frr: update to 7.4 and latest backports
changelogs: https://github.com/FRRouting/frr/releases/tag/frr-7.4

Signed-off-by: Lucian Cristian <lucian.cristian@gmail.com>
2020-07-24 18:50:07 +03:00
Lucian Cristian 19059a5275 frr: update to 7.3.1
Signed-off-by: Lucian Cristian <lucian.cristian@gmail.com>
2020-05-10 22:10:31 +03:00
Lucian Cristian 7d2c647f2d frr: makefile cleanup and misc fixes
fix mips runtime by backporting some yang changes from master
added commited fixes to 7.3
also add option for snmp support

Signed-off-by: Lucian Cristian <lucian.cristian@gmail.com>
2020-05-03 03:06:20 +03:00
Rosen Penev c5e058558d frr: add libatomic dependency
Needed for some platforms.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-03-29 21:30:32 -07:00
Eneas U de Queiroz b967a955b7 frr: quote 'comment' parameter in Config.in
Newer versions of the kconfig generator require quotes.  Prepare the
package for an eventual update.

Signed-off-by: Eneas U de Queiroz <cotequeiroz@gmail.com>
2020-03-18 20:08:03 -03:00
Lucian Cristian 684b68a8fd frr: update to 7.3
Signed-off-by: Lucian Cristian <lucian.cristian@gmail.com>
2020-02-26 18:27:38 +02:00
Lucian Cristian 892d5eef10 frr: update to 7.2.1
Signed-off-by: Lucian Cristian <lucian.cristian@gmail.com>
2020-01-20 20:43:28 +02:00
Lucian Cristian df6263b9e6 frr: add missing build options
and some backports in fixing ramips target

Signed-off-by: Lucian Cristian <lucian.cristian@gmail.com>
2019-11-15 21:26:07 +02:00
Lucian Cristian 5cf5dc5294 frr: update to 7.2
add support to build against OpenSSL

Signed-off-by: Lucian Cristian <lucian.cristian@gmail.com>
2019-11-02 15:08:13 +02:00