[packages/iptables] - rel 3; allow building disto package for variants: with and without vserver patches

Arkadiusz Miśkiewicz arekm at maven.pl
Sat Oct 22 15:17:06 CEST 2016


On Saturday 22 of October 2016, Elan Ruusamäe wrote:
> On 21.10.2016 23:58, arekm wrote:
> > commit 511b049148a2c8b621d586beb7a14ab8da4a5860
> > Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
> > Date:   Fri Oct 21 22:58:08 2016 +0200
> > 
> >      - rel 3; allow building disto package for variants: with and without
> >      vserver patches
> >   
> >   iptables.spec | 69
> >   ++++++++++++++++++++++++++++++----------------------------- 1 file
> >   changed, 35 insertions(+), 34 deletions(-)
> > 
> > ---
> > diff --git a/iptables.spec b/iptables.spec
> > index 32a152e..99a7e64 100644
> > --- a/iptables.spec
> > +++ b/iptables.spec
> > @@ -20,9 +20,10 @@
> > 
> >   %define	with_ipt_IPV4OPTSSTRIP	1
> >   %define	with_ipt_rpc		1
> >   %define	with_xt_layer7		1
> > 
> > -%define	with_vserver		1
> > 
> >   %endif
> > 
> > +%define		orgname	iptables
> > +
> > 
> >   %define		name6			ip6tables
> >   Summary:	Extensible packet filtering system && extensible NAT system
> >   Summary(pl.UTF-8):	System filtrowania pakietów oraz system translacji
> >   adresów (NAT)
> > 
> > @@ -30,45 +31,45 @@ Summary(pt_BR.UTF-8):	Ferramenta para controlar a
> > filtragem de pacotes no kernel
> > 
> >   Summary(ru.UTF-8):	Утилиты для управления пакетными фильтрами ядра
> >   Linux Summary(uk.UTF-8):	Утиліти для керування пакетними фільтрами
> >   ядра Linux Summary(zh_CN.UTF-8):	Linux内核包过滤管理工具
> > 
> > -Name:		iptables
> > +Name:		iptables%{?with_vserver:-vs}
> > 
> >   Version:	1.6.0
> > 
> > -Release:	2%{?with_vserver:.vserver}
> > +Release:	3
> 
> what's the problem?

vserver patch changing size of owner-related structure making that 
functionality incompatible with non-vserver kernels

> what's the difference? where i should install which
> type of package?
> 
> please document that in wiki https://www.pld-linux.org/packages/iptables


-- 
Arkadiusz Miśkiewicz, arekm / ( maven.pl | pld-linux.org )


More information about the pld-devel-en mailing list