summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Black <dragonheart@gentoo.org>2005-06-05 01:59:16 +0000
committerDaniel Black <dragonheart@gentoo.org>2005-06-05 01:59:16 +0000
commit0bc5ec613b9f56efc8a4201326890e8192de49da (patch)
tree693c5701c362a013e1850ed556d0572a14a3e47f
parentMarking ~amd64 (diff)
downloadgentoo-2-0bc5ec613b9f56efc8a4201326890e8192de49da.tar.gz
gentoo-2-0bc5ec613b9f56efc8a4201326890e8192de49da.tar.bz2
gentoo-2-0bc5ec613b9f56efc8a4201326890e8192de49da.zip
Version bump as per bug #95024. 1.2 - X86 stable
(Portage version: 2.0.51.22-r1)
-rw-r--r--net-misc/l7-filter/ChangeLog9
-rw-r--r--net-misc/l7-filter/Manifest12
-rw-r--r--net-misc/l7-filter/files/digest-l7-filter-1.41
-rw-r--r--net-misc/l7-filter/l7-filter-1.2.ebuild4
-rw-r--r--net-misc/l7-filter/l7-filter-1.4.ebuild95
5 files changed, 108 insertions, 13 deletions
diff --git a/net-misc/l7-filter/ChangeLog b/net-misc/l7-filter/ChangeLog
index cfa9a152fef7..efbae4a8bcb0 100644
--- a/net-misc/l7-filter/ChangeLog
+++ b/net-misc/l7-filter/ChangeLog
@@ -1,6 +1,13 @@
# 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.11 2005/04/24 03:00:44 dragonheart Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/l7-filter/ChangeLog,v 1.12 2005/06/05 01:59:16 dragonheart Exp $
+
+*l7-filter-1.4 (05 Jun 2005)
+
+ 05 Jun 2005; Daniel Black <dragonheart@gentoo.org> l7-filter-1.2.ebuild,
+ +l7-filter-1.4.ebuild:
+ Version bump as per bug #95024. Thanks Jesús García Crespo. x86 stable
+ on 1.2 also
24 Apr 2005; Daniel Black <dragonheart@gentoo.org> -l7-filter-1.0.ebuild,
-l7-filter-1.1.ebuild:
diff --git a/net-misc/l7-filter/Manifest b/net-misc/l7-filter/Manifest
index 84a31db6721f..a87ea31fffda 100644
--- a/net-misc/l7-filter/Manifest
+++ b/net-misc/l7-filter/Manifest
@@ -1,16 +1,8 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
+MD5 e3b77c06bcacda44a450ea622a9a9df9 l7-filter-1.4.ebuild 2049
MD5 89edb769612add8464eb3c324f09e197 metadata.xml 374
MD5 a2d9668ead0fe7aa5d74218c8a378331 ChangeLog 2093
MD5 5f9e3850e00952295020f159410dcbcc l7-filter-0.9.1-r1.ebuild 2358
MD5 07bf1bffb5ea599211af550336651519 l7-filter-1.2.ebuild 2050
+MD5 609f7e0a2b3ac69f1f8f29c736096c88 files/digest-l7-filter-1.4 72
MD5 3b5e56dbb295b185a8c4dabd56868feb files/digest-l7-filter-0.9.1-r1 259
MD5 69654182b56d25fafc1bd63eae5d35ee files/digest-l7-filter-1.2 72
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v1.4.1 (GNU/Linux)
-
-iD8DBQFCawvnmdTrptrqvGERAnmbAKCDvyGK9aoI5hm2u6BmPDDaWb+9IQCcDMY9
-NegaLkzYMDLkufxeTzLAwVg=
-=Jrxu
------END PGP SIGNATURE-----
diff --git a/net-misc/l7-filter/files/digest-l7-filter-1.4 b/net-misc/l7-filter/files/digest-l7-filter-1.4
new file mode 100644
index 000000000000..39576b80888c
--- /dev/null
+++ b/net-misc/l7-filter/files/digest-l7-filter-1.4
@@ -0,0 +1 @@
+MD5 7ce3a8ca7635ffbd231cc061fad3c228 netfilter-layer7-v1.4.tar.gz 72293
diff --git a/net-misc/l7-filter/l7-filter-1.2.ebuild b/net-misc/l7-filter/l7-filter-1.2.ebuild
index b281ff491d04..b0f3855b9154 100644
--- a/net-misc/l7-filter/l7-filter-1.2.ebuild
+++ b/net-misc/l7-filter/l7-filter-1.2.ebuild
@@ -1,6 +1,6 @@
# 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 $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/l7-filter/l7-filter-1.2.ebuild,v 1.2 2005/06/05 01:59:16 dragonheart Exp $
inherit linux-info eutils
@@ -10,7 +10,7 @@ HOMEPAGE="http://l7-filter.sourceforge.net"
SRC_URI="mirror://sourceforge/l7-filter/${MY_P}.tar.gz"
LICENSE="GPL-2"
-KEYWORDS="~x86 ~ppc"
+KEYWORDS="~ppc x86"
IUSE=""
SLOT="${KV}"
S=${WORKDIR}/${MY_P}
diff --git a/net-misc/l7-filter/l7-filter-1.4.ebuild b/net-misc/l7-filter/l7-filter-1.4.ebuild
new file mode 100644
index 000000000000..e190e20abc53
--- /dev/null
+++ b/net-misc/l7-filter/l7-filter-1.4.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.4.ebuild,v 1.1 2005/06/05 01:59:16 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=kernel-${KV_MAJOR}.${KV_MINOR}-layer7-${PV}.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-1.2.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.2.patch
+ fi
+
+ if [ ! -f ${PATCH} ];
+ then
+ die "Patch ${PATCH} fpr 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'
+}
+