Re: [ANNOUNCE] nftables 1.0.8 release

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Pablo Neira Ayuso <pablo@xxxxxxxxxxxxx> wrote:
> Hi,
> 
> Thanks for your patch.
> 
> On Thu, Jul 20, 2023 at 05:33:23PM +0200, Leah Neukirchen wrote:
> > For Void Linux, I have applied this fix, which results in installing
> > the same way was for 1.0.7 (else it creates a .egg directory which isn't
> > loaded properly on a plain Python):
> > 
> > --- a/py/Makefile.am
> > +++ b/py/Makefile.am
> > @@ -7,7 +7,7 @@
> >  install-exec-local:
> >  	cd $(srcdir) && \
> >  		$(PYTHON_BIN) setup.py build --build-base $(abs_builddir) \
> > -		install --prefix $(DESTDIR)$(prefix)
> > +		install --prefix $(prefix) --root $(DESTDIR)
> >  
> >  uninstall-local:
> >  	rm -rf $(DESTDIR)$(prefix)/lib*/python*/site-packages/nftables
> 
> I proposed the following patch to remove py integration with
> autotools/automake:
> 
> https://patchwork.ozlabs.org/project/netfilter-devel/patch/20230718120119.172757-2-pablo@xxxxxxxxxxxxx/
> 
> Rationale is that this provides more flexibility to users and
> packagers to deal with nftables Python support.

More flexibility and more work. ;) Packagers still can disable python
support if they want to install it their way.

(I don't really mind either way, I'm not very happy how Python
currently likes to break stuff that worked fine for decades, really.)

-- 
Leah Neukirchen  <leah@xxxxxxxx>  https://leahneukirchen.org/



[Index of Archives]     [Netfitler Users]     [Berkeley Packet Filter]     [LARTC]     [Bugtraq]     [Yosemite Forum]

  Powered by Linux