config BR2_PACKAGE_CONNTRACK_TOOLS
	bool "conntrack-tools"
	depends on BR2_INET_IPV6
	depends on BR2_LARGEFILE
	depends on BR2_USE_MMU # fork()
	depends on BR2_TOOLCHAIN_HAS_NATIVE_RPC || BR2_TOOLCHAIN_HAS_THREADS # libtirpc
	select BR2_PACKAGE_LIBNETFILTER_CONNTRACK
	select BR2_PACKAGE_LIBNETFILTER_CTHELPER
	select BR2_PACKAGE_LIBNETFILTER_CTTIMEOUT
	select BR2_PACKAGE_LIBNETFILTER_QUEUE
	select BR2_PACKAGE_LIBTIRPC if !BR2_TOOLCHAIN_HAS_NATIVE_RPC
	help
	  The conntrack-tools are a set of tools targeted at
	  system administrators.
	  They are conntrack, the userspace command line interface,
	  and conntrackd, the userspace daemon.

	  http://www.netfilter.org/projects/conntrack-tools/

comment "conntrack-tools needs a toolchain w/ IPv6, largefile, threads"
	depends on BR2_USE_MMU
	depends on !BR2_INET_IPV6 || \
		!BR2_LARGEFILE || \
		!(BR2_TOOLCHAIN_HAS_THREADS || BR2_TOOLCHAIN_HAS_NATIVE_RPC)
