Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 420161 | Differences between
and this patch

Collapse All | Expand All

(-)/usr/portage/net-firewall/xtables-addons/xtables-addons-1.39.ebuild (-10 / +5 lines)
Lines 14-31 Link Here
14
KEYWORDS="~amd64 ~x86"
14
KEYWORDS="~amd64 ~x86"
15
IUSE="modules"
15
IUSE="modules"
16
16
17
MODULES="quota2 psd pknock lscan length2 ipv4options ipset6 ipp2p iface gradm geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark echo dnetmap dhcpmac delude checksum chaos account"
17
MODULES="quota2 psd pknock lscan length2 ipv4options ipp2p iface gradm geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark echo dnetmap dhcpmac delude checksum chaos account"
18
18
19
for mod in ${MODULES}; do
19
for mod in ${MODULES}; do
20
	IUSE="${IUSE} xtables_addons_${mod}"
20
	IUSE="${IUSE} xtables_addons_${mod}"
21
done
21
done
22
22
23
DEPEND=">=net-firewall/iptables-1.4.3"
23
DEPEND=">=net-firewall/iptables-1.4.5
24
!<net-firewall/ipset-6.10"
24
25
25
RDEPEND="${DEPEND}
26
RDEPEND="${DEPEND}
26
	xtables_addons_ipset6? (
27
		!net-firewall/ipset
28
		net-libs/libmnl )
29
	xtables_addons_geoip? ( virtual/perl-Getopt-Long
27
	xtables_addons_geoip? ( virtual/perl-Getopt-Long
30
		dev-perl/Text-CSV_XS )"
28
		dev-perl/Text-CSV_XS )"
31
29
Lines 34-40 Link Here
34
32
35
SKIP_MODULES=""
33
SKIP_MODULES=""
36
34
37
# XA_kernel_check tee "2 6 26"
35
# XA_kernel_check tee "2 6 32"
38
XA_check4internal_module() {
36
XA_check4internal_module() {
39
	local mod=${1}
37
	local mod=${1}
40
	local version=${2}
38
	local version=${2}
Lines 61-72 Link Here
61
		linux-mod_pkg_setup
59
		linux-mod_pkg_setup
62
60
63
		if ! linux_chkconfig_present IPV6; then
61
		if ! linux_chkconfig_present IPV6; then
64
			SKIP_IPV6_MODULES="ip6table_rawpost ipset6"
62
			SKIP_IPV6_MODULES="ip6table_rawpost"
65
			ewarn "No IPV6 support in kernel. Disabling: ${SKIP_IPV6_MODULES}"
63
			ewarn "No IPV6 support in kernel. Disabling: ${SKIP_IPV6_MODULES}"
66
		fi
64
		fi
67
		if use xtables_addons_ipset6 && kernel_is -lt 2 6 35; then
68
			die "${PN} with ipset requires kernel version >= 2.6.35"
69
		fi
70
		kernel_is -lt 2 6 29 && die "${PN} requires kernel version >= 2.6.29"
65
		kernel_is -lt 2 6 29 && die "${PN} requires kernel version >= 2.6.29"
71
		XA_check4internal_module tee "2 6 35" NETFILTER_XT_TARGET_TEE
66
		XA_check4internal_module tee "2 6 35" NETFILTER_XT_TARGET_TEE
72
		XA_check4internal_module checksum "2 6 36" NETFILTER_XT_TARGET_CHECKSUM
67
		XA_check4internal_module checksum "2 6 36" NETFILTER_XT_TARGET_CHECKSUM

Return to bug 420161