summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2019-11-05 23:28:54 +0100
committerMichał Górny <mgorny@gentoo.org>2019-11-05 23:28:54 +0100
commitb571e0d43e1765182a04335d4dea0a7e17c1d645 (patch)
tree1a4804e3f519d674b2e4926507bba7eb3667ae9b /net-firewall
parentnet-irc/dircproxy: Remove last-rited pkg (diff)
downloadgentoo-b571e0d43e1765182a04335d4dea0a7e17c1d645.tar.gz
gentoo-b571e0d43e1765182a04335d4dea0a7e17c1d645.tar.bz2
gentoo-b571e0d43e1765182a04335d4dea0a7e17c1d645.zip
net-firewall/shapecfg: Remove last-rited pkg
Bug: https://bugs.gentoo.org/696252 Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'net-firewall')
-rw-r--r--net-firewall/shapecfg/Manifest1
-rw-r--r--net-firewall/shapecfg/files/README.shaper50
-rw-r--r--net-firewall/shapecfg/files/shapercfg-2.0.36-glibc.patch15
-rw-r--r--net-firewall/shapecfg/metadata.xml8
-rw-r--r--net-firewall/shapecfg/shapecfg-36.ebuild36
5 files changed, 0 insertions, 110 deletions
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 <stdlib.h>
- #include <linux/types.h>
- #include <netinet/in.h>
--#include <linux/if.h>
--#include <linux/if_shaper.h>
--#include <linux/sockios.h>
-+#include <net/if.h>
-+#include <net/if_shaper.h>
-+#include <sys/ioctl.h>
-
- 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 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
- <!-- maintainer-needed -->
- <upstream>
- <remote-id type="sourceforge">cbqinit</remote-id>
- </upstream>
-</pkgmetadata>
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
-}