Friday, May 26, 2023

Re: nginx 1.25 and naxsi

On 2023/05/26 12:04, Renaud Allard wrote:
> Hello,
>
> It seems that the version of naxsi we ship with nginx
> (https://github.com/nbs-system/naxsi) is largely outdated and has problems
> with future nginx 1.25.
> The idea was to replace it with https://github.com/wargio/naxsi
>
> The issue is that if I simply replace naxsi in _GH_MODS with something like
> this:
> wargio naxsi 1.4
>
> It downloads the tar.gz, but it's missing libinjection include files because
> they are linked to another repository in github (see
> https://github.com/wargio/naxsi/tree/main/naxsi_src).
>
> There is a release including the dependencies here:
> https://github.com/wargio/naxsi/releases/download/1.4/naxsi-1.4-src-with-deps.tar.gz
> But I don't see how I can fetch that version instead of the "normal" one.
>
> Any clue?

something like

NAXSI_V= 1.4
MASTER_SITES2= https://github.com/wargio/naxsi/releases/download/${NAXSI_V}
DISTFILES+= naxsi-${NAXSI_V}-src-with-deps.tar.gz:2

No comments:

Post a Comment