summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Volkov <pva@gentoo.org>2009-07-20 11:16:48 +0000
committerPeter Volkov <pva@gentoo.org>2009-07-20 11:16:48 +0000
commit46a4e8b3f0116e521108d70828266a09cf2b231e (patch)
tree6c76b71d9cf6fd3bceaa812e09967373f67db3de /net-misc
parentUse emake -j1 and list the bug for the parallel build failure. (diff)
downloadhistorical-46a4e8b3f0116e521108d70828266a09cf2b231e.tar.gz
historical-46a4e8b3f0116e521108d70828266a09cf2b231e.tar.bz2
historical-46a4e8b3f0116e521108d70828266a09cf2b231e.zip
QA issues: collision protection has to be disabled to install this package (very bad thing), bug #274341
Diffstat (limited to 'net-misc')
-rw-r--r--net-misc/l7-filter/ChangeLog280
-rw-r--r--net-misc/l7-filter/Manifest7
-rw-r--r--net-misc/l7-filter/l7-filter-2.17.ebuild187
-rw-r--r--net-misc/l7-filter/l7-filter-2.21.ebuild190
-rw-r--r--net-misc/l7-filter/metadata.xml21
5 files changed, 0 insertions, 685 deletions
diff --git a/net-misc/l7-filter/ChangeLog b/net-misc/l7-filter/ChangeLog
deleted file mode 100644
index cb0769b4dc07..000000000000
--- a/net-misc/l7-filter/ChangeLog
+++ /dev/null
@@ -1,280 +0,0 @@
-# ChangeLog for net-misc/l7-filter
-# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/l7-filter/ChangeLog,v 1.61 2009/01/30 21:48:29 dragonheart Exp $
-
-*l7-filter-2.21 (30 Jan 2009)
-
- 30 Jan 2009; Daniel Black <dragonheart@gentoo.org> -l7-filter-2.8.ebuild,
- -l7-filter-2.18.ebuild, -l7-filter-2.20.ebuild, +l7-filter-2.21.ebuild:
- version bump and cleanout
-
-*l7-filter-2.20 (03 Jan 2009)
-
- 03 Jan 2009; Daniel Black <dragonheart@gentoo.org> -l7-filter-2.9.ebuild,
- -l7-filter-2.12.ebuild, -l7-filter-2.13.ebuild, +l7-filter-2.20.ebuild:
- version bump as per bug #233695 thanks to Nebojsa Trpkovic. clean out old
- versions too
-
-*l7-filter-2.18 (09 Jun 2008)
-
- 09 Jun 2008; Daniel Black <dragonheart@gentoo.org> +l7-filter-2.18.ebuild:
- version bump as per bug #225543 thanks to Ben Schweikert
-
- 15 Feb 2008; Ferris McCormick <fmccor@gentoo.org> l7-filter-2.17.ebuild:
- Sparc stable, Bug #208148 --- it does patch the kernel source.
-
- 01 Feb 2008; Christian Faulhammer <opfer@gentoo.org>
- l7-filter-2.17.ebuild:
- stable x86, bug 208148
-
- 31 Jan 2008; nixnut <nixnut@gentoo.org> l7-filter-2.17.ebuild:
- Stable on ppc wrt bug 208148
-
- 31 Jan 2008; Brent Baude <ranger@gentoo.org> l7-filter-2.17.ebuild:
- Marking l7-filter-2.17 ppc64 for bug 208148
-
-*l7-filter-2.17 (24 Dec 2007)
-
- 24 Dec 2007; <pva@gentoo.org> metadata.xml, l7-filter-2.8.ebuild,
- l7-filter-2.9.ebuild, l7-filter-2.12.ebuild, l7-filter-2.13.ebuild,
- +l7-filter-2.17.ebuild:
- Version bump, bug 195669, thank <cilly AT cilly.mine.nu> for report and
- Bjoern Olausson <spamsuxx AT gmail.com> for ebuild. Added myself into
- metadata, updated longdescription. Quotation fixes to shutup repoman.
-
- 11 Dec 2007; nixnut <nixnut@gentoo.org> l7-filter-2.13.ebuild:
- Stable on ppc wrt bug 201909
-
- 15 Oct 2007; Markus Rothe <corsair@gentoo.org> l7-filter-2.13.ebuild:
- Stable on ppc64
-
- 13 Aug 2007; Tobias Scherbaum <dertobi123@gentoo.org>
- l7-filter-2.12.ebuild:
- ppc. stable
-
-*l7-filter-2.13 (09 Aug 2007)
-
- 09 Aug 2007; Daniel Black <dragonheart@gentoo.org> l7-filter-2.12.ebuild,
- +l7-filter-2.13.ebuild:
- version bump - bug #188088 - thanks c. Drop 64bit keywords on 2.12 as per
- http://sourceforge.net/project/shownotes.php?group_id=80085&release_id=52856
- 2
-
- 07 Jul 2007; Daniel Black <dragonheart@gentoo.org> l7-filter-2.12.ebuild:
- fix clean up a bit
-
-*l7-filter-2.12 (07 Jul 2007)
-
- 07 Jul 2007; Daniel Black <dragonheart@gentoo.org> -l7-filter-2.11.ebuild,
- +l7-filter-2.12.ebuild:
- version bump thank to cilly - bug #184173
-
-*l7-filter-2.11 (04 Jul 2007)
-
- 04 Jul 2007; Daniel Black <dragonheart@gentoo.org> -l7-filter-2.10.ebuild,
- +l7-filter-2.11.ebuild:
- version bump thanks Cilly
-
-*l7-filter-2.10 (03 Jul 2007)
-
- 03 Jul 2007; Daniel Black <dragonheart@gentoo.org> +l7-filter-2.10.ebuild:
- version bump as per bug #184081 thanks to Cilly
-
- 09 Apr 2007; Gustavo Zacarias <gustavoz@gentoo.org> l7-filter-2.9.ebuild:
- Stable on sparc for the latest mojo
-
- 05 Feb 2007; Chris Gianelloni <wolf31o2@gentoo.org> l7-filter-2.8.ebuild:
- Added ~alpha for bug #150343.
-
- 31 Jan 2007; Joseph Jezak <josejx@gentoo.org> l7-filter-2.8.ebuild:
- Marked ppc stable for bug #150343.
-
-*l7-filter-2.9 (20 Jan 2007)
-
- 20 Jan 2007; Daniel Black <dragonheart@gentoo.org> +l7-filter-2.9.ebuild:
- version bump as per bug #161806 thanks cilly
-
- 11 Jan 2007; Gustavo Zacarias <gustavoz@gentoo.org> l7-filter-2.8.ebuild:
- Stable on sparc wrt #150343
-
- 11 Jan 2007; Christian Faulhammer <opfer@gentoo.org> l7-filter-2.8.ebuild:
- stable x86, bug #150343
-
- 09 Jan 2007; Markus Rothe <corsair@gentoo.org> l7-filter-2.8.ebuild:
- Stable on ppc64; bug #150343
-
-*l7-filter-2.8 (22 Dec 2006)
-
- 22 Dec 2006; Daniel Black <dragonheart@gentoo.org> +l7-filter-2.8.ebuild:
- version bump to fix bug #158803 as reported by Tomasz Bukowski
-
- 14 Oct 2006; Aron Griffis <agriffis@gentoo.org> l7-filter-2.6.ebuild:
- Mark 2.6 ~ia64. #150343
-
- 07 Oct 2006; Markus Rothe <corsair@gentoo.org> l7-filter-2.6.ebuild:
- Added ~ppc64
-
- 07 Oct 2006; Jeroen Roovers <jer@gentoo.org> l7-filter-2.6.ebuild:
- Marked ~hppa (bug #150343).
-
- 03 Oct 2006; Daniel Black <dragonheart@gentoo.org> -l7-filter-1.4.ebuild,
- -l7-filter-2.2.ebuild:
- death to earlier broken versions
-
- 03 Oct 2006; Chris Gianelloni <wolf31o2@gentoo.org> l7-filter-2.3.ebuild:
- Stable on x86 wrt bug #141688.
-
- 01 Oct 2006; Markus Rothe <corsair@gentoo.org> l7-filter-2.3.ebuild:
- Stable on ppc64
-
- 30 Sep 2006; <nixnut@gentoo.org> l7-filter-2.3.ebuild:
- Stable on ppc wrt bug 149643
-
- 30 Sep 2006; Jason Wever <weeve@gentoo.org> l7-filter-2.3.ebuild:
- Stable on SPARC.
-
-*l7-filter-2.6 (27 Sep 2006)
-
- 27 Sep 2006; Daniel Black <dragonheart@gentoo.org> +l7-filter-2.6.ebuild:
- version bump as per bug #148034. Thanks cilly and k0001
-
-*l7-filter-2.3 (28 Jul 2006)
-
- 28 Jul 2006; Daniel Black <dragonheart@gentoo.org> l7-filter-1.4.ebuild,
- l7-filter-2.2.ebuild, +l7-filter-2.3.ebuild:
- version bump suggested in bug #141688. added kernel incompatibility warnings
-
- 09 Jul 2006; Daniel Black <dragonheart@gentoo.org> -l7-filter-1.5.ebuild,
- -l7-filter-2.0.ebuild, -l7-filter-2.1_p1.ebuild, l7-filter-2.2.ebuild:
- remove old version. Remodeled the uninstall portion of l7-filter to not
- break so easily (bug #110249) thanks to Bartosz Krzeszewski and others
-
-*l7-filter-2.2 (04 Jun 2006)
-
- 04 Jun 2006; Daniel Black <dragonheart@gentoo.org>
- l7-filter-2.1_p1.ebuild, +l7-filter-2.2.ebuild:
- version bump as per bug #133017 thanks Hod. 2.1_p1 used wrong patch name
- with 2.4 kernels that has been fixed
-
-*l7-filter-2.1_p1 (02 May 2006)
-
- 02 May 2006; Daniel Black <dragonheart@gentoo.org> -l7-filter-2.1.ebuild,
- +l7-filter-2.1_p1.ebuild:
- fixed patch as per bug #124663 and bug #131098. Patch fix thanks to Stefan
- Knoblich. Thanks to testers and reporters on both bugs.
-
-*l7-filter-2.1 (23 Apr 2006)
-
- 23 Apr 2006; Daniel Black <dragonheart@gentoo.org> +l7-filter-2.1.ebuild:
- version bump as per bug #124663 thanks to Janosch Kalateh
-
- 06 Jan 2006; Daniel Black <dragonheart@gentoo.org> l7-filter-1.4.ebuild,
- l7-filter-1.5.ebuild, l7-filter-2.0.ebuild:
- used die rather than return 0 - bug #118000 thanks to Bartosz
-
-*l7-filter-2.0 (06 Jan 2006)
-
- 06 Jan 2006; Daniel Black <dragonheart@gentoo.org> l7-filter-1.4.ebuild,
- l7-filter-1.5.ebuild, -l7-filter-2.0_beta.ebuild, +l7-filter-2.0.ebuild:
- Version bump as per bug #115022 thanks Nebojsa Trpkovic. Introduced better
- error messages to attempt to help with bugs like #110249 thanks Bartosz
- Krzeszewski
-
- 02 Oct 2005; Daniel Black <dragonheart@gentoo.org> l7-filter-1.4.ebuild,
- l7-filter-2.0_beta.ebuild:
- additional patch required for 2.6.12 kernels -
- https://bugs.gentoo.org/show_bug.cgi?id=106009#c5 thanks to Rumen Yotov.
- additional patch nolonger on sf so mirrored on gentoo now.
-
-*l7-filter-2.0_beta (24 Sep 2005)
-
- 24 Sep 2005; Daniel Black <dragonheart@gentoo.org>
- +l7-filter-2.0_beta.ebuild:
- version bump as per bug #106009 thanks to tomas charvat.
-
-*l7-filter-1.5 (17 Sep 2005)
-
- 17 Sep 2005; Daniel Black <dragonheart@gentoo.org> l7-filter-1.4.ebuild,
- +l7-filter-1.5.ebuild:
- version bump as per bug #106009 thanks to tomas charvat. Added safe(r)
- removal code too
-
- 16 Sep 2005; Ciaran McCreesh <ciaranm@gentoo.org> ChangeLog:
- Converted to UTF-8, fixed encoding screwups
-
- 05 Sep 2005; Daniel Black <dragonheart@gentoo.org>
- -l7-filter-0.9.1-r1.ebuild, -l7-filter-1.2.ebuild, l7-filter-1.4.ebuild:
- added more fuzz to epatch to allow hardened-2.4.31 to work - bug #104886
- thanks to tomas charvat. old version cleanout
-
- 20 Aug 2005; Daniel Black <dragonheart@gentoo.org> l7-filter-1.4.ebuild:
- added patch to work with 2.6.12/13 headers (bug #102813). Added check for
- existing installation (bug #102802). x86 and ppc keyworded 1.4
-
- 11 Jul 2005; Simon Stelling <blubb@gentoo.org> l7-filter-1.4.ebuild:
- added ~amd64 keyword
-
- 20 Jun 2005; Jason Wever <weeve@gentoo.org> l7-filter-1.4.ebuild:
- Added ~sparc keyword.
-
- 08 Jun 2005; Daniel Black <dragonheart@gentoo.org>
- l7-filter-0.9.1-r1.ebuild, l7-filter-1.2.ebuild, l7-filter-1.4.ebuild:
- added l7-protocols dependancy as per ers81
-
-*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:
- Remove memory leaking versions
-
-*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
- to Matthew Strait <quadong@users.sourceforge.net> (author)
-
-*l7-filter-1.1 (22 Mar 2005)
-
- 22 Mar 2005; Daniel Black <dragonheart@gentoo.org> +l7-filter-1.1.ebuild:
- Version bump thanks to Arne Stäcker <arnestaecker@web.de> in bug #85314.
- Version bump also solves bug #85058.
-
- 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)
-
- 26 Feb 2005; Daniel Black <dragonheart@gentoo.org> +l7-filter-1.0.ebuild:
- verison bump
-
-*l7-filter-0.9.1-r1 (04 Jan 2005)
-
- 04 Jan 2005; Daniel Black <dragonheart@gentoo.org>
- +l7-filter-0.9.1-r1.ebuild, l7-filter-0.9.1.ebuild:
- Revision bump to transition to linux-info eclass and 2.6.10 support added.
- Added stable keywords too.
-
- 02 Dec 2004; Daniel Black <dragonheart@gentoo.org> l7-filter-0.9.1.ebuild:
- Fixes for bug #69279 kernel 2.6.9 support. bug #65770 - kernel 2.4 support.
- Thanks to John Barberio <barberio@lineone.net> and Jean Blignaut
- <jean@megaweb.biz>
-
- 28 Aug 2004; David Holm <dholm@gentoo.org> l7-filter-0.9.1.ebuild:
- Added to ~ppc.
-
-*l7-filter-0.9.1 (17 Aug 2004)
-
- 17 Aug 2004; Daniel Black <dragonheart@gentoo.org> +metadata.xml,
- +l7-filter-0.9.1.ebuild:
- Initial import. Ebuild with the grateful help of S.Caglar Onur
- <caglar.onur@tubitak.gov.tr> to in bug #59121
-
diff --git a/net-misc/l7-filter/Manifest b/net-misc/l7-filter/Manifest
deleted file mode 100644
index fd4825728303..000000000000
--- a/net-misc/l7-filter/Manifest
+++ /dev/null
@@ -1,7 +0,0 @@
-DIST additional_patch_for_2.6.13.diff 4962 RMD160 8faa60214d5695c797b24a11fe95858a785258a3 SHA1 26aac9fe4646892776a4880974d84c7e265c01fc SHA256 c0e2b7bb7024c8e35b554eb33263b5c34dd2356aaea739b07231f717eae8f58d
-DIST netfilter-layer7-v2.17.tar.gz 160408 RMD160 9823d7b411e18160dc8501a6a5d2129f75e727e1 SHA1 fd05e5b5027ec5c143f2f63f5e48c05ffea8d50f SHA256 2e2893757a3b22f2786ead2045efae1d6a52942a89d0159c39ba907531b60c01
-DIST netfilter-layer7-v2.21.tar.gz 174702 RMD160 95b6c86bc73e346c516509c5d769d0ef2b34c8b9 SHA1 1a21b7273478ccd0ac57cfc3f1b6d1893a1c2dfd SHA256 4c3ce80dd6ddc9f7c04ea2b6d9a3f678f33a6a3457de3175949d9c5b0e77021b
-EBUILD l7-filter-2.17.ebuild 5262 RMD160 144d020fd01a1fbf3cb4947646d4a396a529aedf SHA1 07418b37e05675561279aaa321b887b1e8ee05a5 SHA256 b9e82d7f6ed40405c133c4319ea44c650794bd568cb99b401fd79be4d2328829
-EBUILD l7-filter-2.21.ebuild 5368 RMD160 52f696865d9c2a5df55002d2a7ade54cfedf9a18 SHA1 907e48414c23073a170ec74bd6f8364baa5cc380 SHA256 248c8448a8bfbb08486b7dcaad84ad36fce5074a6b0f80a543e319f5a8f13307
-MISC ChangeLog 10333 RMD160 d37d5d23d8dce290127d70e240b900ba7da33964 SHA1 5b99332618d76d2f1645239964d39e901b1e7dee SHA256 358dd3dbc3eafe85ac1bcb762cc7dccc8828b44e0b35ca9914c1dec67fd29036
-MISC metadata.xml 816 RMD160 1b768de071e620913017e6fd9bb3296bca64dcf2 SHA1 d40f718a6f7ca4299ab6e992501938b0fc7e1f6f SHA256 e0a3c85899addd9504fd7c95802685c925fa919e7a48cc52c68bfb9e1fea7346
diff --git a/net-misc/l7-filter/l7-filter-2.17.ebuild b/net-misc/l7-filter/l7-filter-2.17.ebuild
deleted file mode 100644
index 8db8df3750cc..000000000000
--- a/net-misc/l7-filter/l7-filter-2.17.ebuild
+++ /dev/null
@@ -1,187 +0,0 @@
-# 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/l7-filter-2.17.ebuild,v 1.5 2008/02/15 13:07:31 fmccor 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
- mirror://gentoo/additional_patch_for_2.6.13.diff"
-
-LICENSE="GPL-2"
-KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ppc ppc64 ~s390 ~sh sparc x86"
-IUSE=""
-#break repoman
-#SLOT="${KV}"
-SLOT="0"
-S=${WORKDIR}/${MY_P}
-RDEPEND="net-misc/l7-protocols"
-
-which_patch() {
- if kernel_is ge 2 6 22
- then
- PATCH=kernel-2.6.22-2.6.24-layer7-${PV}.patch
- elif kernel_is ge 2 6 20
- then
- PATCH=for_older_kernels/kernel-2.6.20-2.6.21-layer7-2.16.1.patch
- elif kernel_is ge 2 6 18
- then
- PATCH=for_older_kernels/kernel-2.6.18-2.6.19-layer7-2.9.patch
- elif kernel_is ge 2 6 17
- then
- PATCH=for_older_kernels/kernel-2.6.17-layer7-2.5.patch
- elif kernel_is ge 2 6 13
- then
- PATCH=for_older_kernels/kernel-2.6.13-2.6.16-layer7-2.2.patch
- elif kernel_is ge 2 6 11
- then
- PATCH=for_older_kernels/kernel-2.6.11-2.6.12-layer7-1.4.patch
- elif kernel_is ge 2 6 9
- then
- PATCH=for_older_kernels/kernel-2.6.9-2.6.10-layer7-1.2.patch
- elif kernel_is ge 2 6 0
- then
- PATCH=for_older_kernels/kernel-2.6.0-2.6.8.1-layer7-0.9.2.patch
- elif kernel_is 2 4
- then
- PATCH=kernel-2.4-layer7-${PV}.patch
- else
- die "No L7-filter patch for Kernel version ${KV_FULL} - sorry not supported"
- fi
-}
-
-pkg_setup() {
- linux-info_pkg_setup
- pkg_preinstall
- pkg_postinst
-}
-
-src_unpack() {
-
- which_patch
-
- if [ -f ${KV_DIR}/include/linux/netfilter_ipv4/ipt_layer7.h ] || \
- [ -f ${KV_DIR}/include/linux/netfilter/xt_layer7.h ]
- then
- ewarn "already installed ${PN} for kernel ${KV_FULL}"
- ewarn "If this is an upgrade attempt, try unmerging first."
- ewarn "If this failes remove your kernel source from /usr/src"
- ewarn "and remerge your kernel sources"
- die
- fi
-
- unpack ${MY_P}.tar.gz
-
- [ ! -f "${S}/${PATCH}" ] && \
- die "patch ${PATCH} not found. Please enter a bug at bugs.gentoo.org"
-
- cd "${S}"
-
- mkdir kernel
- mkdir kernel/Documentation
-
- # create needed directories
- if kernel_is ge 2 6 20
- then
- mkdir -p "${S}"/kernel/net/netfilter/regexp/
- mkdir -p "${S}"/kernel/include/net/netfilter/
- else
- mkdir -p "${S}"/kernel/net/ipv4/netfilter/regexp/
- mkdir -p "${S}"/kernel/include/linux/netfilter_ipv4/
- fi
-
- 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_OPTS="-F 3" epatch "${S}/${PATCH}"
-
- # https://bugs.gentoo.org/show_bug.cgi?id=106009#c5
- if kernel_is eq 2 6 12
- then
- epatch "${DISTDIR}"/additional_patch_for_2.6.13.diff
- fi
-}
-
-src_compile() {
- einfo "no compiling - just patching source"
-}
-
-src_install() {
- insinto "$(/bin/readlink -f ${KV_DIR})"
- doins -r kernel/*
- dodoc CHANGELOG README
-}
-
-pkg_preinstall() {
- if has collision-protect ${FEATURES}; then
- ewarn
- ewarn "Collisions are expected as this patches kernel code. Use"
- ewarn "FEATURES=-collision-protect emerge ...... for this package"
- die 'incompatible FEATURES=collision-protect'
- fi
-}
-
-pkg_postinst() {
- ewarn "This may not work with all kernels. If it does not work please enter a bug at bugs.gentoo.org"
- 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" or'
- ewarn '"l7filter" USE flag (depend which version of iptables you emerge)'
-}
-
-#
-# Unpatching of patched files is required to avoid a broken kernel source tree
-
-pkg_prerm() {
- # How to determine what version it was installed against? - measily
- if [ -f "${ROOT}"/var/db/pkg/net-misc/${PF}/environment ]; then
- eval $(/bin/fgrep KV=2 "${ROOT}"/var/db/pkg/net-misc/${PF}/environment |\
- /bin/head -1)
- elif [ -f "${ROOT}"/var/db/pkg/net-misc/${PF}/environment.bz2 ]; then
- eval $(/bin/bzfgrep KV=2 "${ROOT}"/var/db/pkg/net-misc/${PF}/environment.bz2 |\
- /bin/head -1)
- elif [ -f "${ROOT}"/var/db/pkg/net-misc/${PF}/environment.gz ]; then
- eval $(/usr/bin/zfgrep KV=2 "${ROOT}"/var/db/pkg/net-misc/${PF}/environment.gz |\
- /bin/head -1)
- else
- die 'could not find previous version'
- fi
- KV_DIR=/usr/src/linux-"${KV}"
- if [ -d ${KV_DIR} ]; then
- ewarn "${KV_DIR} nolonger exists"
- return 0;
- fi
- echo "KV_DIR=$KV_DIR"
- if [ -f ${KV_DIR}/include/linux/netfilter_ipv4/ipt_layer7.h ] || \
- [ -f ${KV_DIR}/include/linux/netfilter/xt_layer7.h ]
- then
- einfo 'attempting to unpatch l7-patch from kernel ${KV_FULL}'
- which_patch
- if kernel_is eq 2 6 12
- then
-
- patch -F 3 -d "${KV_DIR}" -R -p1 \
- < "${DISTDIR}"/additional_patch_for_2.6.13.diff
- fi
- cd "${T}"
- unpack ${MY_P}.tar.gz
- EPATCH_SINGLE_MSG="removing previous patch" \
- EPATCH_OPTS="-F 3 -d "${KV_DIR}" -R" epatch "${T}/${MY_P}/${PATCH}"
- fi
-}
diff --git a/net-misc/l7-filter/l7-filter-2.21.ebuild b/net-misc/l7-filter/l7-filter-2.21.ebuild
deleted file mode 100644
index 919aca8d7c8b..000000000000
--- a/net-misc/l7-filter/l7-filter-2.21.ebuild
+++ /dev/null
@@ -1,190 +0,0 @@
-# Copyright 1999-2009 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/l7-filter/l7-filter-2.21.ebuild,v 1.1 2009/01/30 21:48:29 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
- mirror://gentoo/additional_patch_for_2.6.13.diff"
-
-LICENSE="GPL-2"
-KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
-IUSE=""
-#break repoman
-#SLOT="${KV}"
-SLOT="0"
-S=${WORKDIR}/${MY_P}
-RDEPEND="net-misc/l7-protocols"
-
-which_patch() {
- if kernel_is ge 2 6 25
- then
- PATCH=kernel-2.6.25-2.6.28-layer7-${PV}.patch
- elif kernel_is ge 2 6 22
- then
- PATCH=for_older_kernels/kernel-2.6.22-2.6.24-layer7-2.18.patch
- elif kernel_is ge 2 6 20
- then
- PATCH=for_older_kernels/kernel-2.6.20-2.6.21-layer7-2.16.1.patch
- elif kernel_is ge 2 6 18
- then
- PATCH=for_older_kernels/kernel-2.6.18-2.6.19-layer7-2.9.patch
- elif kernel_is ge 2 6 17
- then
- PATCH=for_older_kernels/kernel-2.6.17-layer7-2.5.patch
- elif kernel_is ge 2 6 13
- then
- PATCH=for_older_kernels/kernel-2.6.13-2.6.16-layer7-2.2.patch
- elif kernel_is ge 2 6 11
- then
- PATCH=for_older_kernels/kernel-2.6.11-2.6.12-layer7-1.4.patch
- elif kernel_is ge 2 6 9
- then
- PATCH=for_older_kernels/kernel-2.6.9-2.6.10-layer7-1.2.patch
- elif kernel_is ge 2 6 0
- then
- PATCH=for_older_kernels/kernel-2.6.0-2.6.8.1-layer7-0.9.2.patch
- elif kernel_is 2 4
- then
- PATCH=kernel-2.4-layer7-${PV}.patch
- else
- die "No L7-filter patch for Kernel version ${KV_FULL} - sorry not supported"
- fi
-}
-
-pkg_setup() {
- linux-info_pkg_setup
- pkg_preinstall
- pkg_postinst
-}
-
-src_unpack() {
-
- which_patch
-
- if [ -f ${KV_DIR}/include/linux/netfilter_ipv4/ipt_layer7.h ] || \
- [ -f ${KV_DIR}/include/linux/netfilter/xt_layer7.h ]
- then
- ewarn "already installed ${PN} for kernel ${KV_FULL}"
- ewarn "If this is an upgrade attempt, try unmerging first."
- ewarn "If this failes remove your kernel source from /usr/src"
- ewarn "and remerge your kernel sources"
- die
- fi
-
- unpack ${MY_P}.tar.gz
-
- [ ! -f "${S}/${PATCH}" ] && \
- die "patch ${PATCH} not found. Please enter a bug at bugs.gentoo.org"
-
- cd "${S}"
-
- mkdir kernel
- mkdir kernel/Documentation
-
- # create needed directories
- if kernel_is ge 2 6 20
- then
- mkdir -p "${S}"/kernel/net/netfilter/regexp/
- mkdir -p "${S}"/kernel/include/net/netfilter/
- else
- mkdir -p "${S}"/kernel/net/ipv4/netfilter/regexp/
- mkdir -p "${S}"/kernel/include/linux/netfilter_ipv4/
- fi
-
- 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_OPTS="-F 3" epatch "${S}/${PATCH}"
-
- # https://bugs.gentoo.org/show_bug.cgi?id=106009#c5
- if kernel_is eq 2 6 12
- then
- epatch "${DISTDIR}"/additional_patch_for_2.6.13.diff
- fi
-}
-
-src_compile() {
- einfo "no compiling - just patching source"
-}
-
-src_install() {
- insinto "$(/bin/readlink -f ${KV_DIR})"
- doins -r kernel/*
- dodoc CHANGELOG README
-}
-
-pkg_preinstall() {
- if has collision-protect ${FEATURES}; then
- ewarn
- ewarn "Collisions are expected as this patches kernel code. Use"
- ewarn "FEATURES=-collision-protect emerge ...... for this package"
- die 'incompatible FEATURES=collision-protect'
- fi
-}
-
-pkg_postinst() {
- ewarn "This may not work with all kernels. If it does not work please enter a bug at bugs.gentoo.org"
- 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" or'
- ewarn '"l7filter" USE flag (depend which version of iptables you emerge)'
-}
-
-#
-# Unpatching of patched files is required to avoid a broken kernel source tree
-
-pkg_prerm() {
- # How to determine what version it was installed against? - measily
- if [ -f "${ROOT}"/var/db/pkg/net-misc/${PF}/environment ]; then
- eval $(/bin/fgrep KV=2 "${ROOT}"/var/db/pkg/net-misc/${PF}/environment |\
- /bin/head -1)
- elif [ -f "${ROOT}"/var/db/pkg/net-misc/${PF}/environment.bz2 ]; then
- eval $(/bin/bzfgrep KV=2 "${ROOT}"/var/db/pkg/net-misc/${PF}/environment.bz2 |\
- /bin/head -1)
- elif [ -f "${ROOT}"/var/db/pkg/net-misc/${PF}/environment.gz ]; then
- eval $(/usr/bin/zfgrep KV=2 "${ROOT}"/var/db/pkg/net-misc/${PF}/environment.gz |\
- /bin/head -1)
- else
- die 'could not find previous version'
- fi
- KV_DIR=/usr/src/linux-"${KV}"
- if [ -d ${KV_DIR} ]; then
- ewarn "${KV_DIR} nolonger exists"
- return 0;
- fi
- echo "KV_DIR=$KV_DIR"
- if [ -f ${KV_DIR}/include/linux/netfilter_ipv4/ipt_layer7.h ] || \
- [ -f ${KV_DIR}/include/linux/netfilter/xt_layer7.h ]
- then
- einfo 'attempting to unpatch l7-patch from kernel ${KV_FULL}'
- which_patch
- if kernel_is eq 2 6 12
- then
-
- patch -F 3 -d "${KV_DIR}" -R -p1 \
- < "${DISTDIR}"/additional_patch_for_2.6.13.diff
- fi
- cd "${T}"
- unpack ${MY_P}.tar.gz
- EPATCH_SINGLE_MSG="removing previous patch" \
- EPATCH_OPTS="-F 3 -d "${KV_DIR}" -R" epatch "${T}/${MY_P}/${PATCH}"
- fi
-}
diff --git a/net-misc/l7-filter/metadata.xml b/net-misc/l7-filter/metadata.xml
deleted file mode 100644
index f09c33c9c8ae..000000000000
--- a/net-misc/l7-filter/metadata.xml
+++ /dev/null
@@ -1,21 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
-<herd>no-herd</herd>
-<maintainer>
- <email>dragonheart@gentoo.org</email>
- <name>Daniel Black</name>
-</maintainer>
-<maintainer>
- <email>pva@gentoo.org</email>
- <name>Peter Volkov</name>
-</maintainer>
-<longdescription>
- L7-filter is a packet classifier for Linux. Unlike most other classifiers, it
- doesn't just look at simple values such as port numbers. Instead, it does
- regular expression matching on the application layer data to determine what
- protocols are being used. This is kernel version - old and well tested, but it
- is complicated to install and seems to cause SMP systems to crash. It can only
- use fairly simple regular expressions.
-</longdescription>
-</pkgmetadata>