From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id +KWCG8ZHvWBtPwEAgWs5BA (envelope-from ) for ; Mon, 07 Jun 2021 00:10:14 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id oD4AF8ZHvWDTGgAA1q6Kng (envelope-from ) for ; Sun, 06 Jun 2021 22:10:14 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 8ECB816685 for ; Mon, 7 Jun 2021 00:10:13 +0200 (CEST) Received: from localhost ([::1]:36194 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lq0yC-0000qq-Ax for larch@yhetil.org; Sun, 06 Jun 2021 18:10:12 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:54684) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lq0mU-0006W5-Sf for guix-patches@gnu.org; Sun, 06 Jun 2021 17:58:08 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:42545) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lq0mT-0001v9-EE for guix-patches@gnu.org; Sun, 06 Jun 2021 17:58:05 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lq0mT-0003Kg-Dy for guix-patches@gnu.org; Sun, 06 Jun 2021 17:58:05 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#48889] [PATCH 1/4] New package: bird bgp daemon, versions 1 and 2 Resent-From: Ryan Sundberg Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 06 Jun 2021 21:58:05 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 48889 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 48889@debbugs.gnu.org Cc: Ryan Sundberg X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.162301667612737 (code B ref -1); Sun, 06 Jun 2021 21:58:05 +0000 Received: (at submit) by debbugs.gnu.org; 6 Jun 2021 21:57:56 +0000 Received: from localhost ([127.0.0.1]:54083 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lq0mJ-0003JM-BQ for submit@debbugs.gnu.org; Sun, 06 Jun 2021 17:57:56 -0400 Received: from lists.gnu.org ([209.51.188.17]:56236) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lpxst-0002t8-Eb for submit@debbugs.gnu.org; Sun, 06 Jun 2021 14:52:34 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:59212) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lpxst-0002jz-5v for guix-patches@gnu.org; Sun, 06 Jun 2021 14:52:31 -0400 Received: from mail.arctype.co ([138.68.9.245]:39183) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lpxsq-00081t-8u for guix-patches@gnu.org; Sun, 06 Jun 2021 14:52:30 -0400 Received: from authenticated-user (mail.arctype.co [138.68.9.245]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.arctype.co (Postfix) with ESMTPSA id 7B61011F07C; Sun, 6 Jun 2021 11:52:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=arctype.co; s=mail; t=1623005543; bh=xhQ3qw0PDcRP9yO8WEMW9EvccslGCx7e0/YcYifLI+4=; h=From:To:Cc:Subject:Date:From; b=W7VYCBY+vkyLNOCDm4arp5RKJDGRaRcUabyN+KK05OH8PSBGTIw6BSGOERJN3G6xe uffSQy1puARIfIbB/ftb1Th0gNahRyIB1Yomz+WW2YgWkZP2Ua/SFbwEj0nZ237451 APH+dIo38nA6+SkL80jPEHvjlmKhZa2qqlk5rDQKROz1jQI/TzpvEYW4yYeO3yEUH4 PxjPHIqolTouP1lxCTuRdr2+iWQWe3Jo31PHN62VhBGJzwhyt5GKq9Q48iowa/cgdF bqEkM6ok+aClAWByQqHpJuz+YlOnLF1c3ajmUiYp38XtXTttqMcgNRs7sTL/n5qT3a tnxx6kSKMea/g== Date: Sun, 6 Jun 2021 11:52:01 -0700 Message-Id: <20210606185204.17617-1-ryan@arctype.co> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=138.68.9.245; envelope-from=ryan@arctype.co; helo=mail.arctype.co X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Mailman-Approved-At: Sun, 06 Jun 2021 17:57:53 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Mailman-Approved-At: Sun, 06 Jun 2021 18:10:06 -0400 X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" Reply-to: Ryan Sundberg X-ACL-Warn: , Ryan Sundberg via Guix-patches From: Ryan Sundberg via Guix-patches via X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1623017413; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=2pNifdgulpxnazdY/Csw7HEKpDiBgTGaOdhYxCk5wv4=; b=c2o/+XwuFcbLZS4ioRCjpPPB+yM2kSslNDwDRTbywSh5V2D7fgl4XZbNaDd67J5n2LSdBx s9bfz5ZqdHL7z2NtvdkV0RGHzMdM9CLxY5NgrEPUwNq9r1+Hg7tuBMD2zhsLfgBacvMEM1 +HQ27SwhP6munOa2SI8hFBILBOdEkAiUxj0GxOYe05EQEXKmbD/5OemcT2Mk2biHyT4jx/ KxmwerYHuGtEtfooEWoXzKY5QsTqKly2aO/LQSVHAHtyqapNQXdSwo7fOT1GPwjVRfZjlq Jsn+vbyuvXqixtSQfVjAuVS9uB57m4YNYfL3ZZDIQcqaSgU71EsLXjCM6+H5xg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1623017413; a=rsa-sha256; cv=none; b=OWswfnwiz2zj7p37JMXS5rZNvpZ8C9GZoraZMgcF1qkIslncrl5GLs0My6fNLQT4wNOy7e qivTcpZKzimK/Nyjg5FhsvVwde7sqNQ8e+0prFGmb4bDKoTJNHxZPS7a8qRqdDfM1ZZyJx MyBjFNtjxtFPSloq6QKVlwLuOWKRXsrb2GaVle8mAiF7ZL1tJys2++uJDqR7hUyKSRYJuI C1IwURnnCvFuLmnzqImpghYNoHDK30wjtpcIzeOVexkz7Uyj5d2ViPAHwszHU8O1CssbEH naAszvZ3+MtJ8f6mgqFn52t4Pq+KaRGjha+4auq2DVg3B7jZ36ihV7rtUNwgPw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=arctype.co header.s=mail header.b=W7VYCBY+; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Spam-Score: -2.93 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=arctype.co header.s=mail header.b=W7VYCBY+; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Queue-Id: 8ECB816685 X-Spam-Score: -2.93 X-Migadu-Scanner: scn0.migadu.com X-TUID: 3kJIsomk3Sfl Adds the bird BGP daemon to gnu/packages/bird.scm --- gnu/packages/bird.scm | 74 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 74 insertions(+) create mode 100644 gnu/packages/bird.scm diff --git a/gnu/packages/bird.scm b/gnu/packages/bird.scm new file mode 100644 index 0000000000..5fac395906 --- /dev/null +++ b/gnu/packages/bird.scm @@ -0,0 +1,74 @@ +;;; GNU Guix --- Functional package management for GNU +;;; Copyright © 2021 Ryan Sundberg +;;; +;;; This file is part of GNU Guix. +;;; +;;; GNU Guix is free software; you can redistribute it and/or modify it +;;; under the terms of the GNU General Public License as published by +;;; the Free Software Foundation; either version 3 of the License, or (at +;;; your option) any later version. +;;; +;;; GNU Guix is distributed in the hope that it will be useful, but +;;; WITHOUT ANY WARRANTY; without even the implied warranty of +;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +;;; GNU General Public License for more details. +;;; +;;; You should have received a copy of the GNU General Public License +;;; along with GNU Guix. If not, see . + +(define-module (gnu packages bird) + #:use-module (gnu packages autotools) + #:use-module (gnu packages bison) + #:use-module (gnu packages flex) + #:use-module (gnu packages ncurses) + #:use-module (gnu packages readline) + #:use-module (guix packages) + #:use-module (guix git-download) + #:use-module (guix build-system gnu) + #:use-module (guix licenses)) + +(define-public bird-1 + (package + (name "bird") + (version "1.6.7") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://gitlab.nic.cz/labs/bird.git") + (commit (string-append "v" version)))) + (sha256 (base32 "0vbjp42c2zqmcrqcwm4g4fq1v93l6rlk0c27i0k08f3v07w75cih")))) + (build-system gnu-build-system) + (arguments + `(#:configure-flags '("--enable-ipv6") + #:tests? #f + #:phases (modify-phases %standard-phases + ; Fix "cc not found" in tools/mergedirs + (add-after 'bootstrap 'set-cc + (lambda _ + (setenv "CPP" "gcc -E") + #t))))) + (inputs + `(("autoconf" ,autoconf) + ("bison" ,bison) + ("flex" ,flex) + ("ncurses" ,ncurses) + ("readline" ,readline))) + (home-page "http://bird.network.cz/") + (synopsis "BIRD Internet Routing Daemon") + (description "The BIRD project aims to develop a dynamic IP routing daemon with full support of all modern routing protocols, easy to use configuration interface and powerful route filtering language, primarily targeted on (but not limited to) Linux and other UNIX-like systems and distributed under the GNU General Public License.") + (license gpl2+))) + +(define-public bird + (package + (inherit bird-1) + (version "2.0.8") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://gitlab.nic.cz/labs/bird.git") + (commit (string-append "v" version)))) + (sha256 (base32 "07mh41hsmkcpf6f6lnygzp6g59jma542pcqdkl54ysiqnjmi5zz1")))) + (arguments + `(#:configure-flags '("--enable-ipv6"))))) -- 2.31.1