diff options
author | Sergey Popov <pinkbyte@gentoo.org> | 2012-12-13 17:36:06 +0000 |
---|---|---|
committer | Sergey Popov <pinkbyte@gentoo.org> | 2012-12-13 17:36:06 +0000 |
commit | 4b46bb479398fdd1ddcc8616cb946cedc60b04ac (patch) | |
tree | e83c3281297edb1c01eb1a1da29cfce8801d8d11 /net-libs | |
parent | Version bump (diff) | |
download | gentoo-2-4b46bb479398fdd1ddcc8616cb946cedc60b04ac.tar.gz gentoo-2-4b46bb479398fdd1ddcc8616cb946cedc60b04ac.tar.bz2 gentoo-2-4b46bb479398fdd1ddcc8616cb946cedc60b04ac.zip |
Add check for kernel version, wrt bug #447092
(Portage version: 2.2.0_alpha144/cvs/Linux x86_64, unsigned Manifest commit)
Diffstat (limited to 'net-libs')
-rw-r--r-- | net-libs/libnetfilter_acct/ChangeLog | 6 | ||||
-rw-r--r-- | net-libs/libnetfilter_acct/libnetfilter_acct-1.0.0.ebuild | 7 | ||||
-rw-r--r-- | net-libs/libnetfilter_acct/libnetfilter_acct-1.0.1.ebuild | 7 |
3 files changed, 17 insertions, 3 deletions
diff --git a/net-libs/libnetfilter_acct/ChangeLog b/net-libs/libnetfilter_acct/ChangeLog index 641739663d44..136b2024ec9d 100644 --- a/net-libs/libnetfilter_acct/ChangeLog +++ b/net-libs/libnetfilter_acct/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for net-libs/libnetfilter_acct # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-libs/libnetfilter_acct/ChangeLog,v 1.6 2012/12/13 17:09:26 pinkbyte Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-libs/libnetfilter_acct/ChangeLog,v 1.7 2012/12/13 17:36:06 pinkbyte Exp $ + + 13 Dec 2012; Sergey Popov <pinkbyte@gentoo.org> + libnetfilter_acct-1.0.0.ebuild, libnetfilter_acct-1.0.1.ebuild: + Add check for kernel version, wrt bug #447092 13 Dec 2012; Sergey Popov <pinkbyte@gentoo.org> libnetfilter_acct-1.0.0.ebuild, libnetfilter_acct-1.0.1.ebuild: diff --git a/net-libs/libnetfilter_acct/libnetfilter_acct-1.0.0.ebuild b/net-libs/libnetfilter_acct/libnetfilter_acct-1.0.0.ebuild index 4134f692e137..641a01f69bb3 100644 --- a/net-libs/libnetfilter_acct/libnetfilter_acct-1.0.0.ebuild +++ b/net-libs/libnetfilter_acct/libnetfilter_acct-1.0.0.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2012 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-libs/libnetfilter_acct/libnetfilter_acct-1.0.0.ebuild,v 1.4 2012/12/13 17:09:26 pinkbyte Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-libs/libnetfilter_acct/libnetfilter_acct-1.0.0.ebuild,v 1.5 2012/12/13 17:36:06 pinkbyte Exp $ EAPI=4 @@ -21,6 +21,11 @@ DEPEND="${RDEPEND} CONFIG_CHECK="~NETFILTER_NETLINK_ACCT" +pkg_setup() { + kernel_is lt 3 3 && ewarn "This package will work with kernel version 3.3 or higher" + linux-info_pkg_setup +} + src_configure() { econf \ --libdir="${EPREFIX}"/$(get_libdir) diff --git a/net-libs/libnetfilter_acct/libnetfilter_acct-1.0.1.ebuild b/net-libs/libnetfilter_acct/libnetfilter_acct-1.0.1.ebuild index dae079b55fd2..810b845c4ac9 100644 --- a/net-libs/libnetfilter_acct/libnetfilter_acct-1.0.1.ebuild +++ b/net-libs/libnetfilter_acct/libnetfilter_acct-1.0.1.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2012 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-libs/libnetfilter_acct/libnetfilter_acct-1.0.1.ebuild,v 1.2 2012/12/13 17:09:26 pinkbyte Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-libs/libnetfilter_acct/libnetfilter_acct-1.0.1.ebuild,v 1.3 2012/12/13 17:36:06 pinkbyte Exp $ EAPI=4 @@ -21,6 +21,11 @@ DEPEND="${RDEPEND} CONFIG_CHECK="~NETFILTER_NETLINK_ACCT" +pkg_setup() { + kernel_is lt 3 3 && ewarn "This package will work with kernel version 3.3 or higher" + linux-info_pkg_setup +} + src_configure() { econf \ --libdir="${EPREFIX}"/$(get_libdir) |