summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Black <dragonheart@gentoo.org>2006-10-03 21:41:29 +0000
committerDaniel Black <dragonheart@gentoo.org>2006-10-03 21:41:29 +0000
commit54b92cd79cc1e69cadb991597585feb28dda689f (patch)
treee41d6e1dfb1e286c57d1aad2795739350227580b /net-misc
parentdeath to earlier broken versions (diff)
downloadhistorical-54b92cd79cc1e69cadb991597585feb28dda689f.tar.gz
historical-54b92cd79cc1e69cadb991597585feb28dda689f.tar.bz2
historical-54b92cd79cc1e69cadb991597585feb28dda689f.zip
death to earlier broken versions
Package-Manager: portage-2.1.2_pre2
Diffstat (limited to 'net-misc')
-rw-r--r--net-misc/l7-filter/Manifest32
-rw-r--r--net-misc/l7-filter/files/digest-l7-filter-1.46
-rw-r--r--net-misc/l7-filter/files/digest-l7-filter-2.26
-rw-r--r--net-misc/l7-filter/l7-filter-1.4.ebuild135
-rw-r--r--net-misc/l7-filter/l7-filter-2.2.ebuild160
5 files changed, 8 insertions, 331 deletions
diff --git a/net-misc/l7-filter/Manifest b/net-misc/l7-filter/Manifest
index b73c86be8edc..626f39f5b00a 100644
--- a/net-misc/l7-filter/Manifest
+++ b/net-misc/l7-filter/Manifest
@@ -2,18 +2,8 @@
Hash: SHA1
DIST additional_patch_for_2.6.13.diff 4962 RMD160 8faa60214d5695c797b24a11fe95858a785258a3 SHA1 26aac9fe4646892776a4880974d84c7e265c01fc SHA256 c0e2b7bb7024c8e35b554eb33263b5c34dd2356aaea739b07231f717eae8f58d
-DIST netfilter-layer7-v1.4.tar.gz 72293 RMD160 7d9376e2c7708249ee92a0c460600b145eb1da0f SHA1 ef406ba265ce2931b6e6972f6943d75c5757853b SHA256 a52ef64864a285bf96a7408ef61a73e7df1931fdcd70c90d1f76044f9a026cb3
-DIST netfilter-layer7-v2.2.tar.gz 88944 RMD160 cf421e6ef4acf5b9107feacaee6566d55ad21683 SHA1 55eaad3b4e46feff09910cd5e3c76c57ac12dc58 SHA256 e82cc356ece2bea3da2bb4b467063a96337ced4bde6127a44f0296245e74d57d
DIST netfilter-layer7-v2.3.tar.gz 105587 RMD160 4c5c5315cf1f193c9ceb605d8d9d9328b515c64d SHA1 cfbe80a6c5725732e4935692e4b0cf5b42abd4f0 SHA256 4a5e4475d05c8d0998e56d12e8e27eb9acf23ce80a53000783b2f609a6bb33aa
DIST netfilter-layer7-v2.6.tar.gz 122514 RMD160 31b68ae3baa0a340f2e4a555fd5124c3b977629d SHA1 6120eae8bd405d35d079774d191830d137643147 SHA256 c5a842c037e915eb72576e5861f0b048837719f1edf448775d9218b42c48e0aa
-EBUILD l7-filter-1.4.ebuild 3202 RMD160 54a3e42fa6b48cc3dbe813935acc0312789d8452 SHA1 620f5621439d300010445798814d91b04ee3954d SHA256 9682348c20d102e4da4a610359b7670d7b3680105fb23d47fe29663b17585d25
-MD5 5a92ac5ecc4bc520e0f6a8521a642a3b l7-filter-1.4.ebuild 3202
-RMD160 54a3e42fa6b48cc3dbe813935acc0312789d8452 l7-filter-1.4.ebuild 3202
-SHA256 9682348c20d102e4da4a610359b7670d7b3680105fb23d47fe29663b17585d25 l7-filter-1.4.ebuild 3202
-EBUILD l7-filter-2.2.ebuild 4125 RMD160 3372e4238bd34b56ab13f02d2671644ebc011a28 SHA1 cac4e76e2275dabe1edb97385dbb6f0f1cbb081f SHA256 54f7fb2b8da6e4dd56db57b15151bccb461d62b60ee34f7766ebd4cf965bcf61
-MD5 87e7c77ecc8e32dba7d8cbe457a755b4 l7-filter-2.2.ebuild 4125
-RMD160 3372e4238bd34b56ab13f02d2671644ebc011a28 l7-filter-2.2.ebuild 4125
-SHA256 54f7fb2b8da6e4dd56db57b15151bccb461d62b60ee34f7766ebd4cf965bcf61 l7-filter-2.2.ebuild 4125
EBUILD l7-filter-2.3.ebuild 4096 RMD160 a41469d3766af4f310880c4e2d0df0397b960852 SHA1 e4c66c625669a9b34f9a3a4b768c4a62832abeb7 SHA256 f79dd18aabe2aafeeb20dbe4cb4f6e56757c6a00ddbd6a439b1c630b3713b1d0
MD5 68318fdbd8b2583ef27bec229ca9be3e l7-filter-2.3.ebuild 4096
RMD160 a41469d3766af4f310880c4e2d0df0397b960852 l7-filter-2.3.ebuild 4096
@@ -22,20 +12,14 @@ EBUILD l7-filter-2.6.ebuild 4185 RMD160 49cb3bdd04bf2d1761c19b7ba1e85efe6995aa80
MD5 43a7f13ba0588a2cc1ae743230fb7be7 l7-filter-2.6.ebuild 4185
RMD160 49cb3bdd04bf2d1761c19b7ba1e85efe6995aa80 l7-filter-2.6.ebuild 4185
SHA256 e5d744f19bfa56a1c747657f479cb7d8296451029a5386b2b0923f20c1b9eb2c l7-filter-2.6.ebuild 4185
-MISC ChangeLog 6233 RMD160 81b69d139cb40c827d8a6c92af3402500f2e9426 SHA1 1efc7426c59c7ccfa5c58a0769fd987bae11d726 SHA256 dd612a7893b8fc519d65d12c316506966700a586995627677d1bf3adbe67f31f
-MD5 65f9202d4481f839a9480b05938e9c72 ChangeLog 6233
-RMD160 81b69d139cb40c827d8a6c92af3402500f2e9426 ChangeLog 6233
-SHA256 dd612a7893b8fc519d65d12c316506966700a586995627677d1bf3adbe67f31f ChangeLog 6233
+MISC ChangeLog 6373 RMD160 44200805da23bf82cd3148b18751d32ae7c089ec SHA1 f2d2ad251462b5a5f8db91e88b98ad7019e0ed2f SHA256 b18627c019ae93341d1d5bd5d3a563777622c3e8ff265e5e9abc461d5bffdd49
+MD5 2ec0d8d495a8b0f7b727218d245e902f ChangeLog 6373
+RMD160 44200805da23bf82cd3148b18751d32ae7c089ec ChangeLog 6373
+SHA256 b18627c019ae93341d1d5bd5d3a563777622c3e8ff265e5e9abc461d5bffdd49 ChangeLog 6373
MISC metadata.xml 374 RMD160 36c7b587b04bba133b9b106083dd7b485d9d2e45 SHA1 1d33c3e413603911ecb01f7a6ac8bb89c544562b SHA256 4638653661df3aa277ddfab4579d87598d17211e8b4d10114d4eeba5ddf2b7f1
MD5 89edb769612add8464eb3c324f09e197 metadata.xml 374
RMD160 36c7b587b04bba133b9b106083dd7b485d9d2e45 metadata.xml 374
SHA256 4638653661df3aa277ddfab4579d87598d17211e8b4d10114d4eeba5ddf2b7f1 metadata.xml 374
-MD5 5d1ea11da08f36510569be1cea5af300 files/digest-l7-filter-1.4 533
-RMD160 21179657609388944e15b29837004d1f76ce1fd8 files/digest-l7-filter-1.4 533
-SHA256 181a4c32ab2661c1358356027bacf57fb9752cc9910e7eab05bbebcd305010d3 files/digest-l7-filter-1.4 533
-MD5 3a9e2c12e20b0bcf1228986666d7f511 files/digest-l7-filter-2.2 533
-RMD160 39e5f48b5e63860ad7c37fe97c7ecb2c6802a0cb files/digest-l7-filter-2.2 533
-SHA256 119d634833ec549593d3e6172b221f6a2552373384d797f38e19c54a74640b7d files/digest-l7-filter-2.2 533
MD5 a9216c11f05fa8861aa85fba6037881e files/digest-l7-filter-2.3 536
RMD160 e70d0c201fa132757ac156551ae51bcbf1a1c8d9 files/digest-l7-filter-2.3 536
SHA256 b94267481c3fd0b7579bc12b7f4591fba1af0eeaa85e11b183c389119167d7ad files/digest-l7-filter-2.3 536
@@ -43,9 +27,9 @@ MD5 983d3df0a8d9153325e2a64d4c6a70c6 files/digest-l7-filter-2.6 536
RMD160 a4157e2b22c1b7629ad248f6155530451f538574 files/digest-l7-filter-2.6 536
SHA256 7f84ac7507fda9eaa0fa1755aa43ed81c16d4e3c08e00bf7878e05d4148db924 files/digest-l7-filter-2.6 536
-----BEGIN PGP SIGNATURE-----
-Version: GnuPG v1.4.5 (GNU/Linux)
+Version: GnuPG v1.4.5-ecc0.1.6 (GNU/Linux)
-iD8DBQFFItJjkT4lNIS36YERAlpzAJ4sx2Cr1AEJJ7ZmR9Zyrmhz9XaHXgCgkTFr
-LbRC8nZoQ2I830zxUWPTLCc=
-=0lvA
+iD8DBQFFItkTmdTrptrqvGERAuLbAJ9TitiATCdFu/lVmtjhXMX2aTosEgCcCOGX
+INvf12E3m8pxnwHuoran4fw=
+=Jx61
-----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
deleted file mode 100644
index caf67237d9cb..000000000000
--- a/net-misc/l7-filter/files/digest-l7-filter-1.4
+++ /dev/null
@@ -1,6 +0,0 @@
-MD5 6e8ff4d1b7b0281a7596a74789b79f8d additional_patch_for_2.6.13.diff 4962
-RMD160 8faa60214d5695c797b24a11fe95858a785258a3 additional_patch_for_2.6.13.diff 4962
-SHA256 c0e2b7bb7024c8e35b554eb33263b5c34dd2356aaea739b07231f717eae8f58d additional_patch_for_2.6.13.diff 4962
-MD5 7ce3a8ca7635ffbd231cc061fad3c228 netfilter-layer7-v1.4.tar.gz 72293
-RMD160 7d9376e2c7708249ee92a0c460600b145eb1da0f netfilter-layer7-v1.4.tar.gz 72293
-SHA256 a52ef64864a285bf96a7408ef61a73e7df1931fdcd70c90d1f76044f9a026cb3 netfilter-layer7-v1.4.tar.gz 72293
diff --git a/net-misc/l7-filter/files/digest-l7-filter-2.2 b/net-misc/l7-filter/files/digest-l7-filter-2.2
deleted file mode 100644
index b14680a3f2bd..000000000000
--- a/net-misc/l7-filter/files/digest-l7-filter-2.2
+++ /dev/null
@@ -1,6 +0,0 @@
-MD5 6e8ff4d1b7b0281a7596a74789b79f8d additional_patch_for_2.6.13.diff 4962
-RMD160 8faa60214d5695c797b24a11fe95858a785258a3 additional_patch_for_2.6.13.diff 4962
-SHA256 c0e2b7bb7024c8e35b554eb33263b5c34dd2356aaea739b07231f717eae8f58d additional_patch_for_2.6.13.diff 4962
-MD5 b590a0f6fe809f8e1852ee96687644f9 netfilter-layer7-v2.2.tar.gz 88944
-RMD160 cf421e6ef4acf5b9107feacaee6566d55ad21683 netfilter-layer7-v2.2.tar.gz 88944
-SHA256 e82cc356ece2bea3da2bb4b467063a96337ced4bde6127a44f0296245e74d57d netfilter-layer7-v2.2.tar.gz 88944
diff --git a/net-misc/l7-filter/l7-filter-1.4.ebuild b/net-misc/l7-filter/l7-filter-1.4.ebuild
deleted file mode 100644
index 3cd4a61fb0e1..000000000000
--- a/net-misc/l7-filter/l7-filter-1.4.ebuild
+++ /dev/null
@@ -1,135 +0,0 @@
-# Copyright 1999-2006 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.11 2006/07/28 08:16: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
- mirror://gentoo/additional_patch_for_2.6.13.diff"
-
-LICENSE="GPL-2"
-KEYWORDS="~amd64 ppc ~sparc x86"
-IUSE=""
-#break repoman
-#SLOT="${KV}"
-SLOT="0"
-S=${WORKDIR}/${MY_P}
-RDEPEND="net-misc/l7-protocols"
-
-which_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 13
- then
- die 'cannot work with a >=2.6.13 kernel version - try the latest l7-filter version'
- elif 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
-
-}
-
-src_unpack() {
-
- pkg_postinst
-
- if [ -f ${KV_DIR}/include/linux/netfilter_ipv4/ipt_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
-
- cd ${S}
-
- mkdir kernel
- mkdir kernel/Documentation
-
- which_patch
-
- if [ ! -f ${PATCH} ];
- then
- die "Patch ${PATCH} for 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_OPTS="-F 3" epatch ${S}/${PATCH}
-
- # bug #102813
- if kernel_is ge 2 6 11
- then
- epatch ${DISTDIR}/additional_patch_for_2.6.13.diff
- fi
-}
-
-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'
-}
-
-pkg_prerm() {
- if [ -f ${ROOT}/usr/src/linux/include/linux/netfilter_ipv4/ipt_layer7.h ]
- then
- einfo 'attempting to unpatch l7-patch from kernel'
- which_patch
- if kernel_is ge 2 6 11
- then
- patch -F 3 -d ${ROOT}/usr/src/linux -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 ${ROOT}/usr/src/linux -R" epatch "${T}/${MY_P}/${PATCH}"
- fi
-}
diff --git a/net-misc/l7-filter/l7-filter-2.2.ebuild b/net-misc/l7-filter/l7-filter-2.2.ebuild
deleted file mode 100644
index 3ce8f928c74d..000000000000
--- a/net-misc/l7-filter/l7-filter-2.2.ebuild
+++ /dev/null
@@ -1,160 +0,0 @@
-# Copyright 1999-2006 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.2.ebuild,v 1.4 2006/07/28 08:16: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
- mirror://gentoo/additional_patch_for_2.6.13.diff"
-
-LICENSE="GPL-2"
-KEYWORDS="~amd64 ~ppc ~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 17
- then
- die 'cannot work with a >=2.6.17 kernel version - try the latest l7-filter version'
- elif kernel_is ge 2 6 13
- then
- PATCH=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 2 4
- then
- PATCH=kernel-2.4-layer7-2.2.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 ]
- 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
- 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_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. Disable"
- ewarn "FEATURES=collision-protect before use"
- 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
- eval $(/bin/fgrep KV=2 ${ROOT}/var/db/pkg/net-misc/${PF}/environment |\
- /bin/head -1)
- 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 ]
- 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
-}