diff options
author | Daniel Black <dragonheart@gentoo.org> | 2005-02-26 00:18:29 +0000 |
---|---|---|
committer | Daniel Black <dragonheart@gentoo.org> | 2005-02-26 00:18:29 +0000 |
commit | 46462a51f791534468edd7066d01d63390863a99 (patch) | |
tree | 2bc1d2fc41707f3289bfe72469e462a1657b9b6c /net-misc/l7-filter | |
parent | version bump as per bug #64571 (diff) | |
download | gentoo-2-46462a51f791534468edd7066d01d63390863a99.tar.gz gentoo-2-46462a51f791534468edd7066d01d63390863a99.tar.bz2 gentoo-2-46462a51f791534468edd7066d01d63390863a99.zip |
version bump
(Portage version: 2.0.51.16)
Diffstat (limited to 'net-misc/l7-filter')
-rw-r--r-- | net-misc/l7-filter/ChangeLog | 7 | ||||
-rw-r--r-- | net-misc/l7-filter/Manifest | 12 | ||||
-rw-r--r-- | net-misc/l7-filter/files/digest-l7-filter-1.0 | 1 | ||||
-rw-r--r-- | net-misc/l7-filter/l7-filter-1.0.ebuild | 87 |
4 files changed, 96 insertions, 11 deletions
diff --git a/net-misc/l7-filter/ChangeLog b/net-misc/l7-filter/ChangeLog index 91f413dce742..d50fd2459104 100644 --- a/net-misc/l7-filter/ChangeLog +++ b/net-misc/l7-filter/ChangeLog @@ -1,6 +1,11 @@ # 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.5 2005/01/04 09:31:33 dragonheart Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-misc/l7-filter/ChangeLog,v 1.6 2005/02/26 00:18:27 dragonheart Exp $ + +*l7-filter-1.0 (26 Feb 2005) + + 26 Feb 2005; Daniel Black <dragonheart@gentoo.org> +l7-filter-1.0.ebuild: + verison bump *l7-filter-0.9.1-r1 (04 Jan 2005) diff --git a/net-misc/l7-filter/Manifest b/net-misc/l7-filter/Manifest index a5a0465f60c7..666f617d6e2c 100644 --- a/net-misc/l7-filter/Manifest +++ b/net-misc/l7-filter/Manifest @@ -1,16 +1,8 @@ ------BEGIN PGP SIGNED MESSAGE----- -Hash: SHA1 - MD5 6e9288e9e77e13da5762d2f292ea155c l7-filter-0.9.1.ebuild 2125 MD5 89edb769612add8464eb3c324f09e197 metadata.xml 374 MD5 acbdd1c276d5075378402e13807d6dff ChangeLog 1035 MD5 5f9e3850e00952295020f159410dcbcc l7-filter-0.9.1-r1.ebuild 2358 +MD5 e74d06898ec21cea368a295cff17af5b l7-filter-1.0.ebuild 1862 MD5 006fbe75d4408bba49e102262ea75a34 files/digest-l7-filter-0.9.1 166 MD5 3b5e56dbb295b185a8c4dabd56868feb files/digest-l7-filter-0.9.1-r1 259 ------BEGIN PGP SIGNATURE----- -Version: GnuPG v1.4.0 (GNU/Linux) - -iD8DBQFB2mJ7mdTrptrqvGERAq4KAJ4gAFJWRkPUL3WNLH2pOErgyW7axQCcDMF0 -ycs/zDqgsQaYk2oNUo7beiQ= -=A/3N ------END PGP SIGNATURE----- +MD5 3f59c20abb1b5831a039f43e8702662e files/digest-l7-filter-1.0 72 diff --git a/net-misc/l7-filter/files/digest-l7-filter-1.0 b/net-misc/l7-filter/files/digest-l7-filter-1.0 new file mode 100644 index 000000000000..03cde8208255 --- /dev/null +++ b/net-misc/l7-filter/files/digest-l7-filter-1.0 @@ -0,0 +1 @@ +MD5 1fcf37948baef72fd708c11dee3bdbb6 netfilter-layer7-v1.0.tar.gz 55404 diff --git a/net-misc/l7-filter/l7-filter-1.0.ebuild b/net-misc/l7-filter/l7-filter-1.0.ebuild new file mode 100644 index 000000000000..265449939bf1 --- /dev/null +++ b/net-misc/l7-filter/l7-filter-1.0.ebuild @@ -0,0 +1,87 @@ +# 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.0.ebuild,v 1.1 2005/02/26 00:18:28 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 + PATCH=kernel-2.6-layer7-${PV}.patch + else + # 2.6.0-2.6.8 + PATCH=for_older_kernels/kernel-${KV_MAJOR}.${KV_MINOR}-layer7-0.9.1.patch + fi + + if [ ! -f ${PATCH} ]; + then + die "Kernel version ${KV_FULL} no 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" +} |