From b571e0d43e1765182a04335d4dea0a7e17c1d645 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Micha=C5=82=20G=C3=B3rny?= Date: Tue, 5 Nov 2019 23:28:54 +0100 Subject: [PATCH] net-firewall/shapecfg: Remove last-rited pkg MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Bug: https://bugs.gentoo.org/696252 Signed-off-by: Michał Górny --- net-firewall/shapecfg/Manifest | 1 - net-firewall/shapecfg/files/README.shaper | 50 ------------------- .../files/shapercfg-2.0.36-glibc.patch | 15 ------ net-firewall/shapecfg/metadata.xml | 8 --- net-firewall/shapecfg/shapecfg-36.ebuild | 36 ------------- profiles/package.mask | 1 - 6 files changed, 111 deletions(-) delete mode 100644 net-firewall/shapecfg/Manifest delete mode 100644 net-firewall/shapecfg/files/README.shaper delete mode 100644 net-firewall/shapecfg/files/shapercfg-2.0.36-glibc.patch delete mode 100644 net-firewall/shapecfg/metadata.xml delete mode 100644 net-firewall/shapecfg/shapecfg-36.ebuild diff --git a/net-firewall/shapecfg/Manifest b/net-firewall/shapecfg/Manifest deleted file mode 100644 index 97990f3ce075..000000000000 --- a/net-firewall/shapecfg/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST shaper.36.tar.gz 671 BLAKE2B 545f6dcf75187294ec1f09a8b12e15f2ff4da6bc8766d91f1ff6c0fb0c3ea2aecd4a045b021921cd301892c36848957da9171191b828c0a363b82edad86e17ae SHA512 5e2e7149b68e8256ec7d38c9bf5bd9de53867a9b5c859610ed21c3edbef458ba28e9bb3a3d95ee2f048483b5ca3020d474eeb15bac161eb14b3726212b9216fe diff --git a/net-firewall/shapecfg/files/README.shaper b/net-firewall/shapecfg/files/README.shaper deleted file mode 100644 index 60c2b4d6afb6..000000000000 --- a/net-firewall/shapecfg/files/README.shaper +++ /dev/null @@ -1,50 +0,0 @@ - -Traffic Shaper For Linux - -This is the current ALPHA release of the traffic shaper for Linux. It works -within the following limits: - -o Minimum shaping speed is currently about 9600 baud (it can only - shape down to 1 byte per clock tick) - -o Maximum is about 256K, it will go above this but get a bit blocky. - -o If you ifconfig the master device that a shaper is attached to down - then your machine will follow. - -o The shaper must be a module. - - -Setup: - -A shaper device is configured using the shapeconfig program. -Typically you will do something like this - -shapecfg attach shaper0 eth1 -shapecfg speed shaper0 64000 -ifconfig shaper0 myhost netmask 255.255.255.240 broadcast 1.2.3.4.255 up -route add -net some.network netmask a.b.c.d dev shaper0 - -The shaper should have the same IP address as the device it is attached to -for normal use. - -Gotchas: - - The shaper shapes transmitted traffic. It's rather impossible to -shape received traffic except at the end (or a router) transmitting it. - - Gated/routed/rwhod/mrouted all see the shaper as an additional device -and will treat it as such unless patched. Note that for mrouted you can run -mrouted tunnels via a traffic shaper to control bandwidth usage. - - The shaper is device/route based. This makes it very easy to use -with any setup BUT less flexible. You may well want to combine this patch -with Mike McLagan 's patch to allow routes to be -specified by source/destination pairs. - - There is no "borrowing" or "sharing" scheme. This is a simple -traffic limiter. I'd like to implement Van Jacobson and Sally Floyd's CBQ -architecture into Linux one day (maybe in 2.1 sometime) and do this with -style. - - diff --git a/net-firewall/shapecfg/files/shapercfg-2.0.36-glibc.patch b/net-firewall/shapecfg/files/shapercfg-2.0.36-glibc.patch deleted file mode 100644 index 3fb6a36ae50b..000000000000 --- a/net-firewall/shapecfg/files/shapercfg-2.0.36-glibc.patch +++ /dev/null @@ -1,15 +0,0 @@ ---- shaper/shapecfg.c.glibc Tue Sep 29 20:24:02 1998 -+++ shaper/shapecfg.c Tue Sep 29 20:29:27 1998 -@@ -3,9 +3,9 @@ - #include - #include - #include --#include --#include --#include -+#include -+#include -+#include - - void usage(char *name) - { diff --git a/net-firewall/shapecfg/metadata.xml b/net-firewall/shapecfg/metadata.xml deleted file mode 100644 index 30d444a41f42..000000000000 --- a/net-firewall/shapecfg/metadata.xml +++ /dev/null @@ -1,8 +0,0 @@ - - - - - - cbqinit - - diff --git a/net-firewall/shapecfg/shapecfg-36.ebuild b/net-firewall/shapecfg/shapecfg-36.ebuild deleted file mode 100644 index a187ab54e4ca..000000000000 --- a/net-firewall/shapecfg/shapecfg-36.ebuild +++ /dev/null @@ -1,36 +0,0 @@ -# Copyright 1999-2018 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=0 - -inherit eutils flag-o-matic - -DESCRIPTION="configuration tool for setting traffic bandwidth parameters" -HOMEPAGE="ftp://archive.download.redhat.com/pub/redhat/linux/9/en/os/i386/SRPMS https://sourceforge.net/projects/cbqinit" -SRC_URI="mirror://gentoo/shaper.${PV}.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~amd64 ~arm ~x86" -IUSE="" - -DEPEND="" - -S=${WORKDIR}/shaper - -src_unpack() { - unpack ${A} - cd "${S}" - epatch "${FILESDIR}"/shapercfg-2.0.36-glibc.patch - rm -f Makefile -} - -src_compile() { - append-flags -Wall - emake shapecfg || die -} - -src_install() { - dobin shapecfg || die - dodoc "${FILESDIR}"/README.shaper -} diff --git a/profiles/package.mask b/profiles/package.mask index ddcb1a554ec2..6242443c0439 100644 --- a/profiles/package.mask +++ b/profiles/package.mask @@ -403,7 +403,6 @@ net-dns/bind-dns-keygen net-firewall/fwanalog net-firewall/fwipsec net-firewall/quicktables -net-firewall/shapecfg sys-auth/pam_require # Michał Górny (2019-10-04) -- 2.26.2