From: Pablo Neira Ayuso <pablo@netfilter.org>
To: Phil Sutter <phil@nwl.cc>, Alexander Kanavin <alex@linutronix.de>,
netfilter-devel@vger.kernel.org, Khem Raj <raj.khem@gmail.com>
Subject: Re: [iptables][PATCH] configure: Add option to enable/disable libnfnetlink
Date: Wed, 24 Apr 2024 22:14:29 +0200 [thread overview]
Message-ID: <ZiloJYUAfVPHdYUO@calendula> (raw)
In-Reply-To: <ZilQ4G2LzdU4ksEq@orbyte.nwl.cc>
On Wed, Apr 24, 2024 at 08:35:12PM +0200, Phil Sutter wrote:
> On Wed, Apr 24, 2024 at 05:20:15PM +0200, Pablo Neira Ayuso wrote:
> > On Wed, Apr 24, 2024 at 04:58:40PM +0200, Phil Sutter wrote:
> > > On Wed, Apr 24, 2024 at 04:11:59PM +0200, Alexander Kanavin wrote:
> > > > On 4/24/24 14:53, Phil Sutter wrote:
> > > > > Hi,
> > > > >
> > > > > On Wed, Apr 24, 2024 at 02:28:04PM +0200, Alexander Kanavin wrote:
> > > > >> From: "Maxin B. John" <maxin.john@intel.com>
> > > > >>
> > > > >> This changes the configure behaviour from autodetecting
> > > > >> for libnfnetlink to having an option to disable it explicitly.
> > > > >>
> > > > >> Signed-off-by: Khem Raj <raj.khem@gmail.com>
> > > > >> Signed-off-by: Maxin B. John <maxin.john@intel.com>
> > > > >> Signed-off-by: Alexander Kanavin <alex@linutronix.de>
> > > > > The patch looks fine as-is, I wonder though what's the goal: Does the
> > > > > build system have an incompatible libnfnetlink which breaks the build?
> > > > > It is used by nfnl_osf only, right? So maybe introduce
> > > > > | AC_ARG_ENABLE([nfnl_osf], ...)
> > > > > instead?
> > > >
> > > > The patch is very old, and I didn't write it (I'm only cleaning up the
> > > > custom patches that yocto project is currently carrying). It was
> > > > introduced for the purposes of ensuring build determinism and
> > > > reproducibility: so that libnfnetlink support doesn't get quietly
> > > > enabled or disabled depending on what is available in the build system,
> > > > but can be reliably turned off or on.
> > >
> > > Thanks for the explanation. I don't quite get how a build is
> > > deterministic if libnfnetlink presence is not, but OK.
> >
> > IIRC, there are also dependencies on utils with libnfnetlink that
> > would need to be disabled too.
>
> Within iptables, we only have nfnl_osf (in utils/) which depends on it,
> but missing HAVE_LIBNFNETLINK effectively disables it from being built.
> So unless you have something else in mind, that's fine with and without
> this patch.
That's fine then, thanks.
next prev parent reply other threads:[~2024-04-24 20:14 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-04-24 12:28 [iptables][PATCH] configure: Add option to enable/disable libnfnetlink Alexander Kanavin
2024-04-24 12:53 ` Phil Sutter
2024-04-24 14:11 ` Alexander Kanavin
2024-04-24 14:58 ` Phil Sutter
2024-04-24 15:20 ` Pablo Neira Ayuso
2024-04-24 18:35 ` Phil Sutter
2024-04-24 20:14 ` Pablo Neira Ayuso [this message]
2024-04-25 8:59 ` Alexander Kanavin
-- strict thread matches above, loose matches on Subject: below --
2024-04-24 12:29 Alexander Kanavin
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=ZiloJYUAfVPHdYUO@calendula \
--to=pablo@netfilter.org \
--cc=alex@linutronix.de \
--cc=netfilter-devel@vger.kernel.org \
--cc=phil@nwl.cc \
--cc=raj.khem@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.