Skip to contentSkip to conversation

patches for an autotooled version of 'nftables'.

DISCUSSION [email protected] 1 participant 1 message Jul 2, 2014 netfilter

lore
Share & tools
lore
#0 lore raw

Hi,

attached is a git repo with a couple of commits to add autotools support to the 'nftables' project.

I would like to have some feedback on it and eventually see the patches merged on the main 'nftables' repo.

The patches are based on the version 0.3 of nftable.

The whole changes are divided in different commits for the sake of clarity and documentation but it's not really possible to build any of the tree states in between, only the last 'autotool conversion: ...' state is usable.

One of my tests was to unpack the tar under /tmp, then create a new build dir., say /tmp/nft_build, and then create a release distribution from there:

# cd /tmp
# tar xf /tmp/nftables-0.3_autotooled.tar.xz
# mkdir nft_build
# cd nft_build
# /tmp/nftable-0.3_autotooled/autogen.sh
# /tmp/nftable-0.3_autotooled/configure
# make distcheck

The 'distcheck' target tries to configure/build/install the package and if it's all right it produces a tar archive with all that's needed for a release.

On the top of the 'autotool conversion: ...' commits there are two more commits that fix some gcc warnings and a build failure because of the function 'xfree()'; these commits obviously do not belong to the added autotools support.

giorgio