Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 692944
Collapse All | Expand All

(-)firewalld-0.7.1.ebuild (-1 / +12 lines)
Lines 39-45 Link Here
39
RESTRICT="test" # bug 650760
39
RESTRICT="test" # bug 650760
40
40
41
pkg_setup() {
41
pkg_setup() {
42
	local CONFIG_CHECK="~NF_CONNTRACK ~NF_CONNTRACK_IPV4 ~NF_CONNTRACK_IPV6 ~NETFILTER_XT_MATCH_CONNTRACK"
42
	local CONFIG_CHECK="~NF_CONNTRACK ~NETFILTER_XT_MATCH_CONNTRACK"
43
44
	# kernel >= 4.19 has unified NF_CONNTRACK module, bug 692944
45
	if kernel_is -lt 4 19; then
46
		if use ipv4 || use lite4; then
47
			CONFIG_CHECK="${CONFIG_CHECK} ~NF_CONNTRACK_IPV4"
48
		fi
49
		if use ipv6 || use lite6; then
50
			CONFIG_CHECK="${CONFIG_CHECK} ~NF_CONNTRACK_IPV6"
51
		fi
52
	fi
53
43
	linux-info_pkg_setup
54
	linux-info_pkg_setup
44
}
55
}
45
56

Return to bug 692944