mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-29 09:04:17 +00:00
0ed1db3ee5
> When a case statement in filter had an empty branch, it crashed BIRD. This bug > applies to versions 2.13 and 2.0.12. Version 2.0.11 is not affected. > Also we fixed a bug in BGP Roles manifesting when the other party sent no > capabilities at all. https://trubka.network.cz/pipermail/bird-users/2023-June/017034.html
37 lines
904 B
Nix
37 lines
904 B
Nix
{ lib, stdenv, fetchurl, flex, bison, readline, libssh, nixosTests }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "bird";
|
|
version = "2.13.1";
|
|
|
|
src = fetchurl {
|
|
url = "ftp://bird.network.cz/pub/bird/${pname}-${version}.tar.gz";
|
|
hash = "sha256-l7uNV76bxQg+K1ZkFtJ+MUFihWoSynx34gLkZ9INQIA=";
|
|
};
|
|
|
|
nativeBuildInputs = [ flex bison ];
|
|
buildInputs = [ readline libssh ];
|
|
|
|
patches = [
|
|
./dont-create-sysconfdir-2.patch
|
|
];
|
|
|
|
CPP="${stdenv.cc.targetPrefix}cpp -E";
|
|
|
|
configureFlags = [
|
|
"--localstatedir=/var"
|
|
"--runstatedir=/run/bird"
|
|
];
|
|
|
|
passthru.tests = nixosTests.bird;
|
|
|
|
meta = with lib; {
|
|
changelog = "https://gitlab.nic.cz/labs/bird/-/blob/v${version}/NEWS";
|
|
description = "BIRD Internet Routing Daemon";
|
|
homepage = "http://bird.network.cz";
|
|
license = licenses.gpl2Plus;
|
|
maintainers = with maintainers; [ globin ];
|
|
platforms = platforms.linux;
|
|
};
|
|
}
|