diff options
author | Peter Volkov <pva@gentoo.org> | 2008-11-15 21:11:16 +0000 |
---|---|---|
committer | Peter Volkov <pva@gentoo.org> | 2008-11-15 21:11:16 +0000 |
commit | 123094dc173af0f9f65e4bd0901567ad4622c528 (patch) | |
tree | 4afec56ca9ddcd5f04ae77d1e3a0adf8affbb7c0 /net-misc/l7-filter-userspace | |
parent | amd64/x86 stable, bug #246644 (diff) | |
download | gentoo-2-123094dc173af0f9f65e4bd0901567ad4622c528.tar.gz gentoo-2-123094dc173af0f9f65e4bd0901567ad4622c528.tar.bz2 gentoo-2-123094dc173af0f9f65e4bd0901567ad4622c528.zip |
Fixed build issue with >=linux-headers-2.6.27, bug #236650, thank Guillaume Castagnino for the fix.
(Portage version: 2.2_rc14/cvs/Linux 2.6.26-openvz.git-35f41f1 i686)
Diffstat (limited to 'net-misc/l7-filter-userspace')
3 files changed, 37 insertions, 2 deletions
diff --git a/net-misc/l7-filter-userspace/ChangeLog b/net-misc/l7-filter-userspace/ChangeLog index c26e2d219663..e90c2906bcfe 100644 --- a/net-misc/l7-filter-userspace/ChangeLog +++ b/net-misc/l7-filter-userspace/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for net-misc/l7-filter-userspace # Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-misc/l7-filter-userspace/ChangeLog,v 1.6 2008/09/01 11:25:15 dragonheart Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-misc/l7-filter-userspace/ChangeLog,v 1.7 2008/11/15 21:11:15 pva Exp $ + + 15 Nov 2008; Peter Volkov <pva@gentoo.org> + +files/l7-filter-userspace-in-fix.patch, l7-filter-userspace-0.8.ebuild: + Fixed build issue with >=linux-headers-2.6.27, bug #236650, thank + Guillaume Castagnino for the fix. *l7-filter-userspace-0.8 (01 Sep 2008) diff --git a/net-misc/l7-filter-userspace/files/l7-filter-userspace-in-fix.patch b/net-misc/l7-filter-userspace/files/l7-filter-userspace-in-fix.patch new file mode 100644 index 000000000000..856d303d64c8 --- /dev/null +++ b/net-misc/l7-filter-userspace/files/l7-filter-userspace-in-fix.patch @@ -0,0 +1,22 @@ +diff -rN -U3 l7-filter-userspace-0.8.old/l7-conntrack.cpp l7-filter-userspace-0.8/l7-conntrack.cpp +--- l7-filter-userspace-0.8.old/l7-conntrack.cpp 2008-10-26 13:47:53.000000000 +0100 ++++ l7-filter-userspace-0.8/l7-conntrack.cpp 2008-10-26 13:48:43.000000000 +0100 +@@ -24,6 +24,7 @@ + #include <cstring> + + extern "C" { ++#include <netinet/in.h> + #include <linux/netfilter.h> + #include <libnetfilter_conntrack/libnetfilter_conntrack.h> + } +diff -rN -U3 l7-filter-userspace-0.8.old/l7-filter.cpp l7-filter-userspace-0.8/l7-filter.cpp +--- l7-filter-userspace-0.8.old/l7-filter.cpp 2008-10-26 13:47:53.000000000 +0100 ++++ l7-filter-userspace-0.8/l7-filter.cpp 2008-10-26 13:48:49.000000000 +0100 +@@ -39,6 +39,7 @@ + #include "config.h" + + extern "C" { ++#include <netinet/in.h> + #include <linux/netfilter.h> + #include <libnetfilter_conntrack/libnetfilter_conntrack.h> + #include <libnetfilter_queue/libnetfilter_queue.h> diff --git a/net-misc/l7-filter-userspace/l7-filter-userspace-0.8.ebuild b/net-misc/l7-filter-userspace/l7-filter-userspace-0.8.ebuild index 0c9dff4270f0..f655cb7283db 100644 --- a/net-misc/l7-filter-userspace/l7-filter-userspace-0.8.ebuild +++ b/net-misc/l7-filter-userspace/l7-filter-userspace-0.8.ebuild @@ -1,6 +1,8 @@ # Copyright 1999-2008 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-misc/l7-filter-userspace/l7-filter-userspace-0.8.ebuild,v 1.1 2008/09/01 11:25:15 dragonheart Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-misc/l7-filter-userspace/l7-filter-userspace-0.8.ebuild,v 1.2 2008/11/15 21:11:15 pva Exp $ + +inherit eutils DESCRIPTION="Userspace utilities for layer 7 iptables QoS" HOMEPAGE="http://l7-filter.sourceforge.net" @@ -16,6 +18,12 @@ DEPEND=" RDEPEND="net-misc/l7-protocols ${DEPEND}" +src_unpack() { + unpack ${A} + cd"${S}" + epatch "${FILESDIR}/l7-filter-userspace-in-fix.patch" +} + src_install() { emake DESTDIR="${D}" install || die dodoc README TODO BUGS THANKS AUTHORS |