Bug 282958

Summary: net/frr10: update 10.1.1 -> 10.2
Product: Ports & Packages Reporter: Kurt Jaeger <pi>
Component: Individual Port(s)Assignee: Olivier Cochard <olivier>
Status: Closed FIXED    
Severity: Affects Only Me CC: pi
Priority: --- Flags: bugzilla: maintainer-feedback? (olivier)
Version: Latest   
Hardware: Any   
OS: Any   
URL: https://frrouting.org/release/10.2/
Attachments:
Description Flags
patch none

Description Kurt Jaeger freebsd_committer freebsd_triage 2024-11-25 06:30:04 UTC
Created attachment 255438 [details]
patch

See attached. Builds, needs some run-testing.
Comment 1 Olivier Cochard freebsd_committer freebsd_triage 2024-11-29 13:50:25 UTC
(In reply to Kurt Jaeger from comment #0)

Hi, thanks for the patch! But you don’t need to create PR just few hour after the release announcement: I’m not aware of users expecting urgently this new release.

This new release is broken and doesn’t start on FreeBSD main:

$ sudo service frr start
Checking intergrated config...
Starting watchfrr.
Exiting: failed to connect to any daemons.

This seems due to socket change I need to troubleshoot.

connect(3,{ AF_UNIX "/var/run/frr/watchfrr.vty" },27) = 0 (0x0)
setsockopt(3,SOL_SOCKET,SO_RCVBUF,0x8206eabdc,4) ERR#55 'No buffer space available'
close(3)

connect(3,{ AF_UNIX "/var/run/frr/staticd.vty" },26) = 0 (0x0)
setsockopt(3,SOL_SOCKET,SO_RCVBUF,0x8206eabdc,4) ERR#55 'No buffer space available'
close(3)
Comment 2 commit-hook freebsd_committer freebsd_triage 2024-12-04 15:01:01 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=115a4eea6e34d97ada6b4bf255aa67dde9dfcbd7

commit 115a4eea6e34d97ada6b4bf255aa67dde9dfcbd7
Author:     Olivier Cochard <olivier@FreeBSD.org>
AuthorDate: 2024-12-04 14:56:06 +0000
Commit:     Olivier Cochard <olivier@FreeBSD.org>
CommitDate: 2024-12-04 14:59:54 +0000

    net/frr10: Update to 10.2

    ChangeLog:      https://github.com/FRRouting/frr/releases/tag/frr-10.2
    PR:             282958
    Reported by:    portscout, pi
    Sponsored by:   Netflix

 net/frr10/Makefile                        |  3 +-
 net/frr10/distinfo                        |  6 ++--
 net/frr10/files/patch-Makefile.am         | 10 +++---
 net/frr10/files/patch-lib_event.c (gone)  | 14 ---------
 net/frr10/files/patch-lib_libfrr.c (gone) | 14 ---------
 net/frr10/files/patch-lib_libfrr.h (gone) | 11 -------
 net/frr10/files/patch-lib_sockopt.c (new) | 33 ++++++++++++++++++++
 net/frr10/files/patch-lib_sockopt.h (new) | 13 ++++++++
 net/frr10/files/patch-lib_vty.c (new)     | 52 +++++++++++++++++++++++++++++++
 net/frr10/files/patch-lib_vty.h (new)     | 12 +++++++
 net/frr10/files/patch-vtysh_vtysh.c (new) | 22 +++++++++++++
 net/frr10/pkg-plist                       |  2 +-
 12 files changed, 142 insertions(+), 50 deletions(-)