user/iptables: new package
APKBUILD adapted from Alpine. There's optional functionality available here which requires libraries which we don't have packaged (libmnl and libnetfilter_conntrack), however Alpine does not appear to have this enabled.
There's a sed
replacement in the Alpine package's prepare()
which I've removed, which hasn't caused any issues in my testing, though I'm not sure how to verify if the sed
replacements against the libtool
script are still necessary. I've checked the script before and after running the sed
s, and it's definitely modifying the file, but I'm not sure if it's needed.
This has only been built on aarch64
, with only a few iptables -L
commands to verify that there aren't any obvious problems. Testing on other arches would be advised to further ensure that this package indeed works correctly.