From: Laszlo Attila Toth <panther@balabit.hu>
To: Jan Engelhardt <jengelh@computergmbh.de>
Cc: kaber@trash.net,
Netfilter Developer Mailing List
<netfilter-devel@vger.kernel.org>
Subject: Re: [PATCH 1/11] Line-based makefile
Date: Mon, 24 Dec 2007 15:29:14 +0100 [thread overview]
Message-ID: <476FC23A.7020902@balabit.hu> (raw)
In-Reply-To: <Pine.LNX.4.64.0712220342260.8607@fbirervta.pbzchgretzou.qr>
Jan Engelhardt írta:
> Transform the extensions' Makefile into a linear form to reduce
> conflicts for patch stacks (very helpful during development).
> Ideally, I'd just push in the automake patch, though,
> which uses wildcards ;-)
>
> Signed-off-by: Jan Engelhardt <jengelh@computergmbh.de>
>
> ---
> extensions/Makefile | 92 +++++++++++++++++++++++++++++++++++++++++++++++++---
> 1 file changed, 88 insertions(+), 4 deletions(-)
>
> Index: iptables-modules/extensions/Makefile
> ===================================================================
> --- iptables-modules.orig/extensions/Makefile
> +++ iptables-modules/extensions/Makefile
> @@ -5,13 +5,97 @@
> # header files are present in the include/linux directory of this iptables
> # package (HW)
> #
> -PF_EXT_SLIB:=ah addrtype conntrack ecn icmp iprange owner policy realm recent tos ttl unclean CLUSTERIP DNAT ECN LOG MASQUERADE MIRROR NETMAP REDIRECT REJECT SAME SNAT TOS TTL ULOG
> -PF6_EXT_SLIB:=ah dst eui64 frag hbh hl icmp6 ipv6header mh owner policy rt HL LOG REJECT
> -PFX_EXT_SLIB:=connbytes connmark connlimit comment dccp dscp esp hashlimit helper length limit mac mark multiport physdev pkttype quota sctp state statistic standard string tcp tcpmss time u32 udp CLASSIFY CONNMARK DSCP MARK NFLOG NFQUEUE NOTRACK TCPMSS TRACE
> +a :=
..
> +a += rt
> +PF6_EXT_SLIB := ${a}
> +a :=
...
> +a += udp
> +PFX_EXT_SLIB := ${a}
>
> PF_EXT_SELINUX_SLIB:=
> PF6_EXT_SELINUX_SLIB:=
> -PFX_EXT_SELINUX_SLIB:=CONNSECMARK SECMARK
> +a :=
> +a += CONNSECMARK
> +a += SECMARK
> +PFX_EXT_SELINUX_SLIB := ${a}
>
That would be better as
PF_EXT_SLIB :=
PF_EXT_SLIB += ah
and so on.
The other one uses the same variable for every PF_*SLIB also patch
command may fail.
--
Attila
>
> -
> To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
-
To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
prev parent reply other threads:[~2007-12-24 14:31 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-12-22 2:44 [PATCH 1/11] Line-based makefile Jan Engelhardt
2007-12-22 2:44 ` [PATCH 2/11] strtonum Jan Engelhardt
2007-12-22 2:44 ` [PATCH 3/11] Common error strings Jan Engelhardt
2007-12-22 2:45 ` [PATCH 4/11] libxt_owner match Jan Engelhardt
2007-12-22 2:45 ` [PATCH 5/11] libxt_tos match revision 1 Jan Engelhardt
2007-12-22 2:45 ` [PATCH 6/11] libxt_TOS target " Jan Engelhardt
2007-12-22 2:46 ` [PATCH 7/11] libxt_MARK target revision 2 Jan Engelhardt
2007-12-22 2:46 ` [PATCH 8/11] libxt_connmark match Jan Engelhardt
2007-12-22 2:47 ` [PATCH 9/11] libxt_CONNMARK target revision 1 Jan Engelhardt
2007-12-22 2:48 ` [PATCH 10/11] libxt_connmark match revision 0 Jan Engelhardt
2007-12-22 2:49 ` [PATCH 11/11] libxt_connmark match revision 1 Jan Engelhardt
2007-12-22 2:52 ` [PATCH 0/11] Overview of all the packs Jan Engelhardt
2007-12-24 14:29 ` Laszlo Attila Toth [this message]
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=476FC23A.7020902@balabit.hu \
--to=panther@balabit.hu \
--cc=jengelh@computergmbh.de \
--cc=kaber@trash.net \
--cc=netfilter-devel@vger.kernel.org \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).