Commit 0b2fd04c authored by Markus Theil's avatar Markus Theil Committed by nicoo
Browse files

frr: 9.1 -> 10.0

Release notes:
https://github.com/FRRouting/frr/releases/tag/frr-10.0



Breaking changes relevant for NixOS:
- bgpd: Enable enforce-first-as by default for BGP -> may disable for RR

Some Notable changes:
- BGP RPKI VRF support
- Introduce local host routes

Notable fixes:
- Fix crash in OSPF TE parsing

Signed-off-by: default avatarMarkus Theil <theil.markus@gmail.com>
parent 66415171
Loading
Loading
Loading
Loading
+2 −11
Original line number Diff line number Diff line
@@ -86,24 +86,15 @@ lib.warnIf (!(stdenv.buildPlatform.canExecute stdenv.hostPlatform))

stdenv.mkDerivation rec {
  pname = "frr";
  version = "9.1";
  version = "10.0";

  src = fetchFromGitHub {
    owner = "FRRouting";
    repo = pname;
    rev = "${pname}-${version}";
    hash = "sha256-oDPr51vI+tlT1IiUPufmZh/UE0TNKWrn4RqpnGoGxNo=";
    hash = "sha256-vvh9z2hmjvAA7OXgrUmlcrrTE5MRedZzfmhX5FEDKwE=";
  };

  patches = [
    # fixes crash in OSPF TE parsing
    (fetchpatch {
      name = "CVE-2024-27913.patch";
      url = "https://github.com/FRRouting/frr/commit/541503eecd302d2cc8456167d130014cd2cf1134.patch";
      hash = "sha256-7NxPlQK/6lbLs/NqNi4OZ2uBWfXw99SiXDR6okNvJlg=";
    })
  ];

  nativeBuildInputs = [
    autoreconfHook
    bison