[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#48889] [PATCH 1/4] New package: bird bgp daemon, versions 1 and 2
From: |
Ryan Sundberg |
Subject: |
[bug#48889] [PATCH 1/4] New package: bird bgp daemon, versions 1 and 2 |
Date: |
Fri, 18 Jun 2021 08:40:42 -0700 |
Hello Guix, here is one more version of this patch to add the bird
daemon. This time it builds both bird and bird6 individually for bird
version 1.x, since --enable-ipv6 is a mutually exclusive config
option,the binaries have to be built separately.
--
Sincerely,
Ryan Sundberg
On 6/8/21 11:50 PM, Ryan Sundberg via Guix-patches via wrote:
> Hi Maxime, thanks for the good feedback. Please see the revised patch here.
>
> --
> Sincerely,
> Ryan Sundberg
>
> On 6/7/21 2:35 AM, Maxime Devos wrote:
>> Hi,
>>
>> Ryan Sundberg via Guix-patches via schreef op zo 06-06-2021 om 11:52 [-0700]:
>>> Adds the bird BGP daemon to gnu/packages/bird.scm
>>
>> See commits (e.g. git log -n9) for how to format commit messages.
>>
>>> ---
>>> 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
>>
>> Maybe gnu/packages/networking.scm, instead of creating a new
>> module for a single package.
>>
>>> + #:phases (modify-phases %standard-phases
>>> + ; Fix "cc not found" in tools/mergedirs
>>> + (add-after 'bootstrap 'set-cc
>>> + (lambda _
>>> + (setenv "CPP" "gcc -E")
>>> + #t)))))
>>
>> This most likely should be ,(string-append (cc-for-target) " -E"), to
>> make sure cross-compiling works. Also, the more declarative #:make-flags
>> is preferred above imperative setenv.
>>
>>> + (inputs
>>> + `(("autoconf" ,autoconf)
>>> + ("bison" ,bison)
>>> + ("flex" ,flex)
>>
>> autoconf, bison & flex most likely should be native inputs.
>>
>>> + ("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+)))
>>
>> The description line is too long.
>> ./pre-inst-env guix lint bird@1.6.7 should detect that.
>>
>> Greetings,
>> Maxime.
>>
0001-gnu-Add-bird-versions-1.6.7-and-2.0.8.patch
Description: Text Data
OpenPGP_signature
Description: OpenPGP digital signature