summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCédric Krier <cedk@gentoo.org>2009-04-15 21:46:58 +0000
committerCédric Krier <cedk@gentoo.org>2009-04-15 21:46:58 +0000
commitea6efc6c96f215e938c3147744994bcc2f1fd1a6 (patch)
treee32057bd8efb858e180c75730c782aa1f873c536 /net-firewall/conntrack-tools
parentBumping to 0.6.9 and adding dbus service path fix (diff)
downloadgentoo-2-ea6efc6c96f215e938c3147744994bcc2f1fd1a6.tar.gz
gentoo-2-ea6efc6c96f215e938c3147744994bcc2f1fd1a6.tar.bz2
gentoo-2-ea6efc6c96f215e938c3147744994bcc2f1fd1a6.zip
Check NF_CONNTRACK_IPV4 or NF_CONNTRACK_IPV6 for bug #254271
(Portage version: 2.1.6.7/cvs/Linux i686)
Diffstat (limited to 'net-firewall/conntrack-tools')
-rw-r--r--net-firewall/conntrack-tools/ChangeLog6
-rw-r--r--net-firewall/conntrack-tools/conntrack-tools-0.9.12.ebuild9
2 files changed, 12 insertions, 3 deletions
diff --git a/net-firewall/conntrack-tools/ChangeLog b/net-firewall/conntrack-tools/ChangeLog
index 306e2f199cb2..783db4a22bae 100644
--- a/net-firewall/conntrack-tools/ChangeLog
+++ b/net-firewall/conntrack-tools/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for net-firewall/conntrack-tools
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-firewall/conntrack-tools/ChangeLog,v 1.30 2009/04/03 10:27:10 pva Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-firewall/conntrack-tools/ChangeLog,v 1.31 2009/04/15 21:46:58 cedk Exp $
+
+ 15 Apr 2009; Cédric Krier <cedk@gentoo.org>
+ conntrack-tools-0.9.12.ebuild:
+ Check NF_CONNTRACK_IPV4 or NF_CONNTRACK_IPV6 for bug #254271
*conntrack-tools-0.9.12 (03 Apr 2009)
diff --git a/net-firewall/conntrack-tools/conntrack-tools-0.9.12.ebuild b/net-firewall/conntrack-tools/conntrack-tools-0.9.12.ebuild
index 22a9796aba22..a49683a8e8ae 100644
--- a/net-firewall/conntrack-tools/conntrack-tools-0.9.12.ebuild
+++ b/net-firewall/conntrack-tools/conntrack-tools-0.9.12.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-firewall/conntrack-tools/conntrack-tools-0.9.12.ebuild,v 1.1 2009/04/03 10:27:10 pva Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-firewall/conntrack-tools/conntrack-tools-0.9.12.ebuild,v 1.2 2009/04/15 21:46:58 cedk Exp $
EAPI="2"
inherit linux-info eutils
@@ -34,10 +34,15 @@ pkg_setup() {
else
CONFIG_CHECK="NF_CT_NETLINK"
fi
- CONFIG_CHECK="${CONFIG_CHECK} NF_CONNTRACK NF_CONNTRACK_IPV4
+ CONFIG_CHECK="${CONFIG_CHECK} NF_CONNTRACK
NETFILTER_NETLINK NF_CONNTRACK_EVENTS"
check_extra_config
+
+ linux_chkconfig_present "NF_CONNTRACK_IPV4" || \
+ linux_chkconfig_present "NF_CONNTRACK_IPV6" || \
+ die "CONFIG_NF_CONNTRACK_IPV4 or CONFIG_NF_CONNTRACK_IPV6 " \
+ "are not set when one at least should be."
}
src_install() {