From 9d9759f3ae76a53177801446824f5afe39b5ebce Mon Sep 17 00:00:00 2001 From: Oleg Pykhalov Date: Sun, 12 Sep 2021 22:41:12 +0300 Subject: [PATCH] gnu: Add bird. * gnu/packages/networking.scm (bird): New variable. --- gnu/packages/networking.scm | 35 ++++++++++++++++++++++++++++++++++- 1 file changed, 34 insertions(+), 1 deletion(-) diff --git a/gnu/packages/networking.scm b/gnu/packages/networking.scm index 7f0b7f53cc..3657d69511 100644 --- a/gnu/packages/networking.scm +++ b/gnu/packages/networking.scm @@ -24,7 +24,7 @@ ;;; Copyright © 2018 Clément Lassieur ;;; Copyright © 2018 Theodoros Foradis ;;; Copyright © 2018, 2020, 2021 Marius Bakke -;;; Copyright © 2018, 2020 Oleg Pykhalov +;;; Copyright © 2018, 2020, 2021 Oleg Pykhalov ;;; Copyright © 2018 Pierre Neidhardt ;;; Copyright © 2019, 2020, 2021 Maxim Cournoyer ;;; Copyright © 2019 Vasile Dumitrascu @@ -3536,6 +3536,39 @@ A very simple IM client working over the DHT. protocol daemons for BGP, IS-IS, LDP, OSPF, PIM, and RIP. ") (license license:gpl2+))) +(define-public bird + (package + (name "bird") + (version "2.0.8") + (source (origin + (method url-fetch) + (uri (string-append "ftp://bird.network.cz/pub/bird/bird-" + version ".tar.gz")) + (sha256 + (base32 + "1xp7f0im1v8pqqx3xqyfkd1nsxk8vnbqgrdrwnwhg8r5xs1xxlhr")))) + (inputs + `(("libssh" ,libssh) + ("readline" ,readline))) + (native-inputs + `(("bison" ,bison) + ("flex" ,flex))) + (arguments + `(#:configure-flags '("--localstatedir=/var" "--enable-ipv6") + #:phases + (modify-phases %standard-phases + (add-before 'configure 'dont-create-sysconfdir + (lambda* (#:key outputs #:allow-other-keys) + (substitute* "Makefile.in" + ((" \\$\\(DESTDIR)/\\$\\(runstatedir)") ""))))))) + (build-system gnu-build-system) + (home-page "http://bird.network.cz") + (synopsis "Internet Routing Daemon") + (description "BIRD is an Internet routing daemon with full support for all +the major routing protocols. It allows redistribution between protocols with a +powerful route filtering syntax and an easy-to-use configuration interface.") + (license license:gpl2+))) + (define-public iwd (package (name "iwd")