diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2019-11-10 13:21:36 +0000 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2019-11-10 13:21:36 +0000 |
commit | 77398e424e45d9e98c1cef3c43bdadb9d56e81ef (patch) | |
tree | 5aeffd3fc7b92fc615bd2c222fa8831aeda1925b /net-firewall/shapecfg | |
parent | bd4aeefe33e63f613512604e47bfca7b2187697d (diff) |
gentoo resync : 10.11.2019
Diffstat (limited to 'net-firewall/shapecfg')
-rw-r--r-- | net-firewall/shapecfg/Manifest | 5 | ||||
-rw-r--r-- | net-firewall/shapecfg/files/README.shaper | 50 | ||||
-rw-r--r-- | net-firewall/shapecfg/files/shapercfg-2.0.36-glibc.patch | 15 | ||||
-rw-r--r-- | net-firewall/shapecfg/metadata.xml | 8 | ||||
-rw-r--r-- | net-firewall/shapecfg/shapecfg-36.ebuild | 36 |
5 files changed, 0 insertions, 114 deletions
diff --git a/net-firewall/shapecfg/Manifest b/net-firewall/shapecfg/Manifest deleted file mode 100644 index e33d2d64bfcf..000000000000 --- a/net-firewall/shapecfg/Manifest +++ /dev/null @@ -1,5 +0,0 @@ -AUX README.shaper 1698 BLAKE2B c87c4ba675a7fade1fc86e5cc6d78290e27365496e31bc468c65295b84b9bbb8648fddedcb17dd0923dc16b7deeb23b3d400ab33f7ddfa13d8faf10ecb116d8f SHA512 1c71dec95441defe5353a481639788a024a4bdff413958362989c784eeeecc098f4edea7a94f5c643cd83fd0ec8a24c321985579596c766e468f34e9b1c74f47 -AUX shapercfg-2.0.36-glibc.patch 372 BLAKE2B 545cb5df4d1a9c3a7de71800b7f9305904669c3baf25d5dc458ce28ddd228197784920429b138c8a80842a9dfd8c1c28c79d7c2e0e75886745b5c2ef2201c3dd SHA512 d9fae6594a0992fda9cc11c9c395be37f72ea8e2f3cfdf05a4657f98dfec8787f031c4b1a2725b970a1c6467c60e682beb5478e6bce1e987ddbde531d693ce42 -DIST shaper.36.tar.gz 671 BLAKE2B 545f6dcf75187294ec1f09a8b12e15f2ff4da6bc8766d91f1ff6c0fb0c3ea2aecd4a045b021921cd301892c36848957da9171191b828c0a363b82edad86e17ae SHA512 5e2e7149b68e8256ec7d38c9bf5bd9de53867a9b5c859610ed21c3edbef458ba28e9bb3a3d95ee2f048483b5ca3020d474eeb15bac161eb14b3726212b9216fe -EBUILD shapecfg-36.ebuild 729 BLAKE2B bd8e07d69bd1fe9dea732da5a0ad4d279aa3bb49ed3bba0501f4fa1b9fb2dfa2e9413dd704ad4194fa6f6484d39b0fa96fe7e997236098cf3d64af837ba98480 SHA512 ba5c4b64da3d198c5d3b608bd9fe9bcfbeed8d4ac1bd15e1f70ae014c544abb897eba6d46bd15f7f752e46693e3fbee9c3bac8eb4cf7987187be4194f3ecc1a0 -MISC metadata.xml 244 BLAKE2B fcc265125d0849eb0a093b0d57d57b20b95e0424df24e9f2be2697a0560a08f77d787c84cba6d10c2e6e32f824402f485b6339b42fc33b56f7ce2daf5c2e4a76 SHA512 d922092251c07becd0effd06de2ed063038394b7396c9a303e4e234ac514ec7a3c9f00e76503f4bb435ac5dce5401f3d05495def1ce94d63fa9d823dda1e3a54 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 -} |