Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/i486-stage1/iptables/DESCR
blob: 8e9c1c99a3954170a0ac8bd36dc1b9c6cd2d3ba5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# iptables is needed by iproute2
SYSROOT_INSTALL=1

# prepare configure for cross-compilation
sed -i "s@./configure@./configure --host=$TARGET_ARCH --build=$BUILD_ARCH@g" PKGBUILD

# disable Berkley Packet Filtering
sed -i 's@--enable-bpf-compiler@--disable-bpf-compiler@g' PKGBUILD

# disable nftable support, draws in more libraries, we need the xtables
# depevelopment mainly now for iproute2
sed -i "/depends=/s/libnftnl//" PKGBUILD
sed -i 's@./configure@./configure --disable-nftables@' PKGBUILD

# disable libpcap (tcpdump, draws in too many dependencies)
sed -i "/depends=/s/libpcap//" PKGBUILD

# disable connection tracking
sed -i 's@./configure@./configure --disable-connlabel@' PKGBUILD