diff options
author | Daniel Black <dragonheart@gentoo.org> | 2005-04-21 12:18:19 +0000 |
---|---|---|
committer | Daniel Black <dragonheart@gentoo.org> | 2005-04-21 12:18:19 +0000 |
commit | 39d21763bc8a9a869e100d20529836f15563def3 (patch) | |
tree | 2a6c8d43dfe66c1707b8adf4ee04e177286e71ac /net-misc | |
parent | As per bug #89500 removed old iptables-1.3* due to memory leak in the l7filte... (diff) | |
download | historical-39d21763bc8a9a869e100d20529836f15563def3.tar.gz historical-39d21763bc8a9a869e100d20529836f15563def3.tar.bz2 historical-39d21763bc8a9a869e100d20529836f15563def3.zip |
Version bump - versions -1.0 and 1.1 have kernel memory leaks as per bug #89500.
Package-Manager: portage-2.0.51.19
Diffstat (limited to 'net-misc')
-rw-r--r-- | net-misc/l7-filter/ChangeLog | 8 | ||||
-rw-r--r-- | net-misc/l7-filter/Manifest | 10 | ||||
-rw-r--r-- | net-misc/l7-filter/files/digest-l7-filter-1.2 | 1 | ||||
-rw-r--r-- | net-misc/l7-filter/l7-filter-1.2.ebuild | 95 |
4 files changed, 109 insertions, 5 deletions
diff --git a/net-misc/l7-filter/ChangeLog b/net-misc/l7-filter/ChangeLog index 8c30e06c6c06..c7cf783aa73b 100644 --- a/net-misc/l7-filter/ChangeLog +++ b/net-misc/l7-filter/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for net-misc/l7-filter # Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-misc/l7-filter/ChangeLog,v 1.9 2005/03/23 10:20:49 dragonheart Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-misc/l7-filter/ChangeLog,v 1.10 2005/04/21 12:18:19 dragonheart Exp $ + +*l7-filter-1.2 (21 Apr 2005) + + 21 Apr 2005; Daniel Black <dragonheart@gentoo.org> +l7-filter-1.2.ebuild: + Version bump - versions -1.0 and 1.1 have kernel memory leaks as per bug + #89500. Thanks to Arne Stäcker <arnestaecker@web.de> 23 Mar 2005; Daniel Black <dragonheart@gentoo.org> l7-filter-1.1.ebuild: Small doco fix instructing to emerge iptables with extensions USE flag. Thanks diff --git a/net-misc/l7-filter/Manifest b/net-misc/l7-filter/Manifest index ed10aff634eb..87eea9987caa 100644 --- a/net-misc/l7-filter/Manifest +++ b/net-misc/l7-filter/Manifest @@ -3,16 +3,18 @@ Hash: SHA1 MD5 0a3666b3b0e71fd35bc6058e79fe9630 l7-filter-1.1.ebuild 2050 MD5 89edb769612add8464eb3c324f09e197 metadata.xml 374 -MD5 d57b3dd887d4bab74d846e84a0245062 ChangeLog 1720 +MD5 d739ec3b86094f6eafc0574999f81142 ChangeLog 1958 MD5 5f9e3850e00952295020f159410dcbcc l7-filter-0.9.1-r1.ebuild 2358 MD5 528fde16448d7ef5b735db3ab37659c5 l7-filter-1.0.ebuild 1857 +MD5 07bf1bffb5ea599211af550336651519 l7-filter-1.2.ebuild 2050 MD5 1e7b9db5aede442a458cec1f3473e155 files/digest-l7-filter-1.1 72 MD5 3b5e56dbb295b185a8c4dabd56868feb files/digest-l7-filter-0.9.1-r1 259 MD5 3f59c20abb1b5831a039f43e8702662e files/digest-l7-filter-1.0 72 +MD5 69654182b56d25fafc1bd63eae5d35ee files/digest-l7-filter-1.2 72 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (GNU/Linux) -iD4DBQFCQUMRmdTrptrqvGERAtswAJdu95zXhZjM0uPLa9TdqxJyT4KCAJ9dwtdp -Gcw8Bc99zPXDKpI3+J/U2w== -=s741 +iD8DBQFCZ5odmdTrptrqvGERAjONAJ0eDzXgVIWUEa2sULlkB8BoA9fmSACeLx3D +PEOMLkwLfu6RlBeC3MzVzGo= +=UqYO -----END PGP SIGNATURE----- diff --git a/net-misc/l7-filter/files/digest-l7-filter-1.2 b/net-misc/l7-filter/files/digest-l7-filter-1.2 new file mode 100644 index 000000000000..12d7f1c56ad2 --- /dev/null +++ b/net-misc/l7-filter/files/digest-l7-filter-1.2 @@ -0,0 +1 @@ +MD5 24963993a6f0727206a3a2d1a9c5e83b netfilter-layer7-v1.2.tar.gz 71697 diff --git a/net-misc/l7-filter/l7-filter-1.2.ebuild b/net-misc/l7-filter/l7-filter-1.2.ebuild new file mode 100644 index 000000000000..b281ff491d04 --- /dev/null +++ b/net-misc/l7-filter/l7-filter-1.2.ebuild @@ -0,0 +1,95 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-misc/l7-filter/l7-filter-1.2.ebuild,v 1.1 2005/04/21 12:18:19 dragonheart Exp $ + +inherit linux-info eutils + +MY_P=netfilter-layer7-v${PV} +DESCRIPTION="Kernel modules for layer 7 iptables filtering" +HOMEPAGE="http://l7-filter.sourceforge.net" +SRC_URI="mirror://sourceforge/l7-filter/${MY_P}.tar.gz" + +LICENSE="GPL-2" +KEYWORDS="~x86 ~ppc" +IUSE="" +SLOT="${KV}" +S=${WORKDIR}/${MY_P} +DEPEND="" + +src_unpack() { + + pkg_postinst + + unpack ${A} + + cd ${S} + + mkdir kernel + mkdir kernel/Documentation + + + local PATCH + if kernel_is 2 4 + then + PATCH=for_older_kernels/kernel-${KV_MAJOR}.${KV_MINOR}-layer7-0.9.1.patch + elif kernel_is ge 2 6 9 + then + if kernel_is ge 2 6 11 + then + PATCH=kernel-2.6.11-layer7-${PV}.patch + else + PATCH=for_older_kernels/kernel-2.6.9-2.6.10-layer7-${PV}.patch + fi + else + # 2.6.0-2.6.8.1 + PATCH=for_older_kernels/kernel-2.6.0-2.6.8.1-layer7-0.9.1.patch + fi + + if [ ! -f ${PATCH} ]; + then + die "Kernel version ${KV_FULL} not supported" + fi + + # create needed directories + mkdir -p ${S}/kernel/net/ipv4/netfilter/regexp/ + mkdir -p ${S}/kernel/include/linux/netfilter_ipv4/ + + cd ${KV_DIR} + + + # start to copy needed files, if file not exists create an empty file + FILES=$(patch -t --dry-run -p1 < ${S}/${PATCH} | grep "^patching file" | cut -f 3 -d ' ') + for F in ${FILES}; + do + if [ -f ${F} ]; + then + cp -P ${F} ${S}/kernel/${F} + else + touch ${S}/kernel/${F} + fi + done + + #patch the copied kernel source + cd ${S}/kernel + epatch ${S}/${PATCH} +} + +src_compile() { + einfo "no compiling - just patching source" +} + +src_install() { + insinto ${KV_DIR} + doins -r kernel/* + dodoc CHANGELOG README +} + + +pkg_postinst() { + ewarn "This may not work with all kernels." + ewarn "This only patches the current kernel source code. (${KV_DIR})" + ewarn "Its up to you to recompile the kernel with the l7 options" + ewarn + ewarn 'You will also need to emerge iptables with the "extensions" USE flag' +} + |