diff options
author | Daniel Black <dragonheart@gentoo.org> | 2005-03-12 01:50:00 +0000 |
---|---|---|
committer | Daniel Black <dragonheart@gentoo.org> | 2005-03-12 01:50:00 +0000 |
commit | f5d5969d6295c239399d592e6d002813369e6e39 (patch) | |
tree | da11312fa45815044517275d010fb24834b16962 /net-misc/l7-filter | |
parent | Transition to linux-info eclass (diff) | |
download | gentoo-2-f5d5969d6295c239399d592e6d002813369e6e39.tar.gz gentoo-2-f5d5969d6295c239399d592e6d002813369e6e39.tar.bz2 gentoo-2-f5d5969d6295c239399d592e6d002813369e6e39.zip |
remove old kernel-info eclass using ebuild
(Portage version: 2.0.51.19)
Diffstat (limited to 'net-misc/l7-filter')
-rw-r--r-- | net-misc/l7-filter/ChangeLog | 5 | ||||
-rw-r--r-- | net-misc/l7-filter/files/digest-l7-filter-0.9.1 | 2 | ||||
-rw-r--r-- | net-misc/l7-filter/l7-filter-0.9.1.ebuild | 91 |
3 files changed, 4 insertions, 94 deletions
diff --git a/net-misc/l7-filter/ChangeLog b/net-misc/l7-filter/ChangeLog index d50fd2459104..645c2812a3ed 100644 --- a/net-misc/l7-filter/ChangeLog +++ b/net-misc/l7-filter/ChangeLog @@ -1,6 +1,9 @@ # 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.6 2005/02/26 00:18:27 dragonheart Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-misc/l7-filter/ChangeLog,v 1.7 2005/03/12 01:50:00 dragonheart Exp $ + + 12 Mar 2005; Daniel Black <dragonheart@gentoo.org> -l7-filter-0.9.1.ebuild: + remove old kernel-info eclass using ebuild *l7-filter-1.0 (26 Feb 2005) diff --git a/net-misc/l7-filter/files/digest-l7-filter-0.9.1 b/net-misc/l7-filter/files/digest-l7-filter-0.9.1 deleted file mode 100644 index c031b37d2db4..000000000000 --- a/net-misc/l7-filter/files/digest-l7-filter-0.9.1 +++ /dev/null @@ -1,2 +0,0 @@ -MD5 6190f1152bf243bb5e30cf9d0592928f netfilter-layer7-v0.9.1.tar.gz 38606 -MD5 292ef3578eacec54efcd0eb122e063a7 kernel-2.6-layer7-0.9.1+working_with_2.6.9.patch 58525 diff --git a/net-misc/l7-filter/l7-filter-0.9.1.ebuild b/net-misc/l7-filter/l7-filter-0.9.1.ebuild deleted file mode 100644 index c6f795bef26a..000000000000 --- a/net-misc/l7-filter/l7-filter-0.9.1.ebuild +++ /dev/null @@ -1,91 +0,0 @@ -# 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-0.9.1.ebuild,v 1.5 2005/01/04 09:31:33 dragonheart Exp $ - -inherit kernel-mod 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 - mirror://sourceforge/l7-filter/kernel-2.6-layer7-${PV}+working_with_2.6.9.patch" -LICENSE="GPL-2" -SLOT="${KV}" -KEYWORDS="x86 ppc" -IUSE="" - -S=${WORKDIR}/${MY_P} -DEPEND="" - -src_unpack() { - - ewarn "This may not work with all kernels." - ewarn "This only patches the current kernel source code. (${KV_OUTPUT})" - ewarn "Its up to you to recompile the kernel with the l7 options" - - unpack ${MY_P}.tar.gz - - kernel-mod_getversion - - cd ${S} - - mkdir kernel - mkdir kernel/Documentation - - - local PATCH - if kernel-mod_is_2_4_kernel - then - PATCH=${S}/kernel-${KV_MAJOR}.${KV_MINOR}-layer7-${PV}.patch - else - if [ "${KV_PATCH}" -ge 9 ] - then - PATCH=${DISTDIR}/kernel-2.6-layer7-${PV}+working_with_2.6.9.patch - else - PATCH=${S}/kernel-${KV_MAJOR}.${KV_MINOR}-layer7-${PV}.patch - fi - fi - - if [ ! -f ${PATCH} ]; - then - die "Kernel version ${KV_VERSION_FULL} no supported" - fi - - # create needed directories - mkdir -p ${S}/kernel/net/ipv4/netfilter/regexp/ - mkdir -p ${S}/kernel/include/linux/netfilter_ipv4/ - - cd ${KERNEL_DIR} - - - # start to copy needed files, if file not exists create an empty file - FILES=$(patch -t --dry-run -p1 < ${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 ${PATCH} || die "Failed to apply patch" -} - -src_compile() { - einfo "no compiling - just patching source" -} - -src_install() { - dodir ${KERNEL_DIR} - cp -a kernel/* ${D}/${KERNEL_DIR} -} - - -pkg_postinst() { - ewarn "This may not work with all kernels." - ewarn "This only patches the current kernel source code (${KERNEL_DIR})" -} |