Skip to content

Commit bf5b15d

Browse files
committed
add notes regarding building mixed ipv4 & ipv6 compat libxtables
1 parent 0d008a9 commit bf5b15d

File tree

2 files changed

+94
-0
lines changed

2 files changed

+94
-0
lines changed
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
dpkg-source --commit
2+
then modify
3+
4+
or
5+
6+
add patch in debian/patches and add to series
7+
8+
to build:
9+
dpkg-buildpackage -b -uc
Lines changed: 85 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,85 @@
1+
Description: IPv6 & IPv6 registration support
2+
.
3+
iptables (1.6.0-3) unstable; urgency=medium
4+
.
5+
* several changes in this release. To put it short: split packages into
6+
libiptc, libip4tc, lipip6tc and libxtables-dev, so we no longer require
7+
the old iptables-dev binary package.
8+
.
9+
Also, give to all binary packages Multi-Arch support.
10+
.
11+
Another important thing: move libs from /lib to /usr/lib
12+
.
13+
Now follows almost all the commits:
14+
.
15+
[ Arturo Borrero Gonzalez ]
16+
* [2a142cc] libxtables11: Section is libs instead of net (Closes:
17+
#812973)
18+
* [637406a] iptables: make it Multi-Arch: foreign (Closes: #776041)
19+
* [4486e87] iptables,iptables-nftables-compat: Suggests kmod (Closes:
20+
#623865)
21+
* [e687ad9] manpages: fix typo in manpages (ip6tables-resotre) (Closes:
22+
#793299)
23+
* [4b6ae2e] manpages: add xtables-compat.8
24+
* [1777193] d/control: bump standars to 3.9.7
25+
* [bf21537] d/rules: disable libipq
26+
* [9658f74] debian/: finish Multi-Arch support and migrate from /lib to
27+
/usr/lib
28+
* [1187751] d/rules: drop override_dh_shlibdeps
29+
* [246d62f] d/: package split: libiptc and libiptc-dev
30+
* [56803ca] d/iptables-dev.install: don't ship ip_qeue include
31+
* [a837415] d/: create libxtables-dev binary package (replacing
32+
iptables-dev)
33+
* [ceda689] d/control: bump replaces, breaks and conflicts
34+
* [2436692] d/control: create iptables-dev as a transitional dummy package
35+
* [df1759c] d/control: relax Replaces & Breaks from lib packages to iptables
36+
* [35d0fa9] d/control: libxtables11 is also of Multi-Arch: same
37+
* [d17226d] d/control: library binary packages are of priority optional
38+
* [80ee5d2] d/control: iptables-dev doesn't require to Depends on lib packages
39+
* [2200348] d/: wrap-and-sort
40+
.
41+
[ Michael Biebl ]
42+
* [47e0872] d/: complete libiptc packages split
43+
Author: Arturo Borrero Gonzalez <[email protected]>
44+
Bug-Debian: https://bugs.debian.org/623865
45+
Bug-Debian: https://bugs.debian.org/776041
46+
Bug-Debian: https://bugs.debian.org/793299
47+
Bug-Debian: https://bugs.debian.org/812973
48+
49+
---
50+
The information above should follow the Patch Tagging Guidelines, please
51+
checkout http://dep.debian.net/deps/dep3/ to learn about the format. Here
52+
are templates for supplementary fields that you might want to add:
53+
54+
Origin: <vendor|upstream|other>, <url of original patch>
55+
Bug: <url in upstream bugtracker>
56+
Bug-Debian: https://bugs.debian.org/<bugnumber>
57+
Bug-Ubuntu: https://launchpad.net/bugs/<bugnumber>
58+
Forwarded: <no|not-needed|url proving that it has been forwarded>
59+
Reviewed-By: <name and email of someone who approved the patch>
60+
Last-Update: <YYYY-MM-DD>
61+
62+
--- iptables-1.6.0.orig/libxtables/xtables.c
63+
+++ iptables-1.6.0/libxtables/xtables.c
64+
@@ -878,8 +878,8 @@ void xtables_register_match(struct xtabl
65+
xtables_check_options(me->name, me->extra_opts);
66+
67+
/* ignore not interested match */
68+
- if (me->family != afinfo->family && me->family != AF_UNSPEC)
69+
- return;
70+
+ //if (me->family != afinfo->family && me->family != AF_UNSPEC)
71+
+ // return;
72+
73+
/* place on linked list of matches pending full registration */
74+
me->next = xtables_pending_matches;
75+
@@ -1036,8 +1036,8 @@ void xtables_register_target(struct xtab
76+
xtables_check_options(me->name, me->extra_opts);
77+
78+
/* ignore not interested target */
79+
- if (me->family != afinfo->family && me->family != AF_UNSPEC)
80+
- return;
81+
+ //if (me->family != afinfo->family && me->family != AF_UNSPEC)
82+
+ // return;
83+
84+
/* place on linked list of targets pending full registration */
85+
me->next = xtables_pending_targets;

0 commit comments

Comments
 (0)