Skip to Content.

rare-dev - Re: [rare-dev] freeRouter rpms for CentOS and Fedora

Subject: Rare project developers

List archive


Re: [rare-dev] freeRouter rpms for CentOS and Fedora


Chronological Thread 
  • From:
  • To:
  • Cc: "" <>
  • Subject: Re: [rare-dev] freeRouter rpms for CentOS and Fedora
  • Date: Fri, 23 Sep 2022 19:29:55 +0300

Dear all,

I created repository with rpm spec file for freeRtr

https://github.com/nuqleo/freeRtr-rpm

RPM builds auto started at Copr via GitHub Webhook

https://copr.fedorainfracloud.org/coprs/nucleo/freerouter/

Thanks,
Alexey

2022-01-20 17:03 GMT+02:00, mc36 <>:
> hi,
>
> thank you so much for the effort you put into this work! i just added you to
> the http://www.freertr.net/greet.html in return... :)
> if you would display a domain near your name, or don't like the idea at all
> to being listed there, just let me know...
>
> just taken a look on the repos, the fedora34 natives started (after creating
> the missing symlink to libpcap.so.1:))
> on my debian sid and forwarding works fine in p4emu and pcapint, the two
> main components needed for a dataplane...
> also taken a look on the jar, that one also works fine, but please use the
> name rtr.jar instead, if possible...
>
> regarding the compilation issues, well, both xdp and dpdk are hot topics and
> heavily changing...
>
> the null definition for xdp dataplane, i see the following:
> this one comes from bpf_helpers.h of libbpf-dev nowadays...
> in buster, it came from the kernel sources directly....
> in bullseye, it's 0.3 and does not include the NULL macro...
> in bookworm, it's 0.5 and have the macro, and seems fine...
>
> regarding dpdk21.11, at the moment it's in the experimental repo in debian,
> and also does not compile here... the jumbo initialization changed a bit,
> and they deprecated the vlan_strip indicator, which we badly try to disable
> during the initialization... it's not the first time they break backward
> compatibility in the api, and i also saw the openssl3 changes so to keep
> the sources clean, i'll start creating patches for various versions of the
> libs we link against.... at the moment please keep linking to dpdk20,
> and consider subscribing to the mailing lists to get notified about
> the change, which basically will happen when debian moves dpdk21 to sid...
>
> if you use the provided c.sh 'build system' then you'll have nothing
> to do, it'll apply the patches according to the detected lib versions...
>
> regards,
> cs
>
>
>
> On 1/20/22 14:52, wrote:
>> Hi Csaba,
>>
>> I created freeRouter rpms repositories for CentOS and Fedora using
>> rules similar to debian rules included in sources
>>
>> https://copr.fedorainfracloud.org/coprs/nucleo/freerouter/
>>
>> I made only small testing of packages because I don't know much about
>> freeRouter.
>> Since I use CentOS and Fedora, it will be easier for me to study
>> freeRouter installing it from rpm repository. Maybe someone else could
>> try it.
>>
>> For CentOS 8 compilation of p4xdp_kern failed
>>
>> p4xdp_kern.c:245:20: error: use of undeclared identifier 'NULL'
>> if (cpuport == NULL) goto drop;
>>
>> Is CentOS 8 too old to compile p4xdp_kern? Other tools are fine.
>>
>> Also compilation p4dpdk and p4dpdkPkt failed for all OS with dpdk
>> 21.11. Builds in repository used dpdk 20.11
>>
>> Cheers,
>> Alexey
>



Archive powered by MHonArc 2.6.19.

Top of Page