diff options
author | Markus Ullmann <jokey@gentoo.org> | 2007-04-18 17:23:03 +0000 |
---|---|---|
committer | Markus Ullmann <jokey@gentoo.org> | 2007-04-18 17:23:03 +0000 |
commit | 7267c5e5b665b2cca70d31b05c0fd19ea3d5fd6b (patch) | |
tree | 903c03360eb652e8b525d7b3bd9ec493f228edb3 /net-libs | |
parent | Add check for more recent kernels, clean overshadowed and stable on x86 (diff) | |
download | historical-7267c5e5b665b2cca70d31b05c0fd19ea3d5fd6b.tar.gz historical-7267c5e5b665b2cca70d31b05c0fd19ea3d5fd6b.tar.bz2 historical-7267c5e5b665b2cca70d31b05c0fd19ea3d5fd6b.zip |
Add check for more recent kernels, clean overshadowed and stable on x86
Package-Manager: portage-2.1.2.3
Diffstat (limited to 'net-libs')
-rw-r--r-- | net-libs/libnfnetlink/ChangeLog | 5 | ||||
-rw-r--r-- | net-libs/libnfnetlink/files/digest-libnfnetlink-0.0.16 | 3 | ||||
-rw-r--r-- | net-libs/libnfnetlink/libnfnetlink-0.0.16.ebuild | 29 | ||||
-rw-r--r-- | net-libs/libnfnetlink/libnfnetlink-0.0.25.ebuild | 20 |
4 files changed, 19 insertions, 38 deletions
diff --git a/net-libs/libnfnetlink/ChangeLog b/net-libs/libnfnetlink/ChangeLog index e8d89a035930..6943c63987ef 100644 --- a/net-libs/libnfnetlink/ChangeLog +++ b/net-libs/libnfnetlink/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for net-libs/libnfnetlink # Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-libs/libnfnetlink/ChangeLog,v 1.3 2007/04/15 10:19:24 dragonheart Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-libs/libnfnetlink/ChangeLog,v 1.4 2007/04/18 17:20:38 jokey Exp $ + + 18 Apr 2007; Markus Ullmann <jokey@gentoo.org> libnfnetlink-0.0.25.ebuild: + Add check for more recent kernels, clean overshadowed and stable on x86 15 Apr 2007; Daniel Black <dragonheart@gentoo.org> libnfnetlink-0.0.25.ebuild: diff --git a/net-libs/libnfnetlink/files/digest-libnfnetlink-0.0.16 b/net-libs/libnfnetlink/files/digest-libnfnetlink-0.0.16 deleted file mode 100644 index 76c1f988c138..000000000000 --- a/net-libs/libnfnetlink/files/digest-libnfnetlink-0.0.16 +++ /dev/null @@ -1,3 +0,0 @@ -MD5 5c9b7fc55c5cc7869ecf2ae5ac8afff3 libnfnetlink-0.0.16.tar.bz2 199902 -RMD160 52dcaeaf19e413c4d365e3a6a70fc0f21a477631 libnfnetlink-0.0.16.tar.bz2 199902 -SHA256 7b6593bb3e22bb9c2db35928b36f84256407ca78db5b3049c7d3b135647eba19 libnfnetlink-0.0.16.tar.bz2 199902 diff --git a/net-libs/libnfnetlink/libnfnetlink-0.0.16.ebuild b/net-libs/libnfnetlink/libnfnetlink-0.0.16.ebuild deleted file mode 100644 index e3c85c1b10cb..000000000000 --- a/net-libs/libnfnetlink/libnfnetlink-0.0.16.ebuild +++ /dev/null @@ -1,29 +0,0 @@ -# Copyright 1999-2006 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-libs/libnfnetlink/libnfnetlink-0.0.16.ebuild,v 1.1 2006/11/13 21:09:57 cedk Exp $ - -inherit linux-info - -DESCRIPTION="the low-level library for netfilter related kernel/userspace communication" -HOMEPAGE="http://www.netfilter.org/projects/libnfnetlink/" -SRC_URI="http://www.netfilter.org/projects/${PN}/files/${P}.tar.bz2" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~x86" -IUSE="" - -DEPEND="" -RDEPEND="" - -CONFIG_CHECK="NETFILTER_NETLINK" - -pkg_setup() { - linux-info_pkg_setup - kernel_is lt 2 6 14 && die "requires at least 2.6.14 kernel version" -} - -src_install() { - emake DESTDIR="${D}" install || die "emake install failed" - dodoc README -} diff --git a/net-libs/libnfnetlink/libnfnetlink-0.0.25.ebuild b/net-libs/libnfnetlink/libnfnetlink-0.0.25.ebuild index 90990b681744..12ba9e4843e1 100644 --- a/net-libs/libnfnetlink/libnfnetlink-0.0.25.ebuild +++ b/net-libs/libnfnetlink/libnfnetlink-0.0.25.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2007 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-libs/libnfnetlink/libnfnetlink-0.0.25.ebuild,v 1.2 2007/04/15 10:19:24 dragonheart Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-libs/libnfnetlink/libnfnetlink-0.0.25.ebuild,v 1.3 2007/04/18 17:20:38 jokey Exp $ inherit linux-info @@ -10,17 +10,27 @@ SRC_URI="http://www.netfilter.org/projects/${PN}/files/${P}.tar.bz2" LICENSE="GPL-2" SLOT="0" -KEYWORDS="~amd64 ~x86" +KEYWORDS="~amd64 x86" IUSE="" DEPEND="" RDEPEND="" -CONFIG_CHECK="NETFILTER_NETLINK" - pkg_setup() { linux-info_pkg_setup - kernel_is lt 2 6 14 && die "requires at least 2.6.14 kernel version" + + if kernel_is lt 2 6 14 ; then + die "${PN} requires at least 2.6.14 kernel version" + fi + + #netfilter core team has changed some option names with kernel 2.6.20 + if kernel_is lt 2 6 20 ; then + CONFIG_CHECK="IP_NF_CONNTRACK_NETLINK" + else + CONFIG_CHECK="NF_CT_NETLINK" + fi + + check_extra_config } src_install() { |