Line
Link Here
|
0 |
-- xtables-addons-1.39.ebuild 2011-10-02 01:31:22.000000000 -0700 |
0 |
++ xtables-addons-1.42.ebuild 2012-06-01 23:53:45.109908484 -0700 |
Lines 11-31
Link Here
|
11 |
LICENSE="GPL-2" |
11 |
LICENSE="GPL-2" |
12 |
SLOT="0" |
12 |
SLOT="0" |
13 |
KEYWORDS="~amd64 ~x86" |
13 |
KEYWORDS="amd64 x86" |
14 |
IUSE="modules" |
14 |
IUSE="modules" |
15 |
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" |
15 |
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" |
16 |
for mod in ${MODULES}; do |
16 |
for mod in ${MODULES}; do |
17 |
IUSE="${IUSE} xtables_addons_${mod}" |
17 |
IUSE="${IUSE} xtables_addons_${mod}" |
18 |
done |
18 |
done |
19 |
DEPEND=">=net-firewall/iptables-1.4.3" |
19 |
DEPEND=">=net-firewall/iptables-1.4.5" |
20 |
RDEPEND="${DEPEND} |
20 |
RDEPEND="${DEPEND} |
21 |
xtables_addons_ipset6? ( |
|
|
22 |
!net-firewall/ipset |
23 |
net-libs/libmnl ) |
24 |
xtables_addons_geoip? ( virtual/perl-Getopt-Long |
21 |
xtables_addons_geoip? ( virtual/perl-Getopt-Long |
25 |
dev-perl/Text-CSV_XS )" |
22 |
dev-perl/Text-CSV_XS )" |
Lines 61-72
Link Here
|
61 |
linux-mod_pkg_setup |
58 |
linux-mod_pkg_setup |
62 |
if ! linux_chkconfig_present IPV6; then |
59 |
if ! linux_chkconfig_present IPV6; then |
63 |
SKIP_IPV6_MODULES="ip6table_rawpost ipset6" |
60 |
SKIP_IPV6_MODULES="ip6table_rawpost" |
64 |
ewarn "No IPV6 support in kernel. Disabling: ${SKIP_IPV6_MODULES}" |
61 |
ewarn "No IPV6 support in kernel. Disabling: ${SKIP_IPV6_MODULES}" |
65 |
fi |
62 |
fi |
66 |
if use xtables_addons_ipset6 && kernel_is -lt 2 6 35; then |
|
|
67 |
die "${PN} with ipset requires kernel version >= 2.6.35" |
68 |
fi |
69 |
kernel_is -lt 2 6 29 && die "${PN} requires kernel version >= 2.6.29" |
63 |
kernel_is -lt 2 6 29 && die "${PN} requires kernel version >= 2.6.29" |
70 |
XA_check4internal_module tee "2 6 35" NETFILTER_XT_TARGET_TEE |
64 |
XA_check4internal_module tee "2 6 35" NETFILTER_XT_TARGET_TEE |
71 |
XA_check4internal_module checksum "2 6 36" NETFILTER_XT_TARGET_CHECKSUM |
65 |
XA_check4internal_module checksum "2 6 36" NETFILTER_XT_TARGET_CHECKSUM |