1 |
commit: b571e0d43e1765182a04335d4dea0a7e17c1d645 |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Nov 5 22:28:54 2019 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Nov 5 22:28:54 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b571e0d4 |
7 |
|
8 |
net-firewall/shapecfg: Remove last-rited pkg |
9 |
|
10 |
Bug: https://bugs.gentoo.org/696252 |
11 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
12 |
|
13 |
net-firewall/shapecfg/Manifest | 1 - |
14 |
net-firewall/shapecfg/files/README.shaper | 50 ---------------------- |
15 |
.../shapecfg/files/shapercfg-2.0.36-glibc.patch | 15 ------- |
16 |
net-firewall/shapecfg/metadata.xml | 8 ---- |
17 |
net-firewall/shapecfg/shapecfg-36.ebuild | 36 ---------------- |
18 |
profiles/package.mask | 1 - |
19 |
6 files changed, 111 deletions(-) |
20 |
|
21 |
diff --git a/net-firewall/shapecfg/Manifest b/net-firewall/shapecfg/Manifest |
22 |
deleted file mode 100644 |
23 |
index 97990f3ce07..00000000000 |
24 |
--- a/net-firewall/shapecfg/Manifest |
25 |
+++ /dev/null |
26 |
@@ -1 +0,0 @@ |
27 |
-DIST shaper.36.tar.gz 671 BLAKE2B 545f6dcf75187294ec1f09a8b12e15f2ff4da6bc8766d91f1ff6c0fb0c3ea2aecd4a045b021921cd301892c36848957da9171191b828c0a363b82edad86e17ae SHA512 5e2e7149b68e8256ec7d38c9bf5bd9de53867a9b5c859610ed21c3edbef458ba28e9bb3a3d95ee2f048483b5ca3020d474eeb15bac161eb14b3726212b9216fe |
28 |
|
29 |
diff --git a/net-firewall/shapecfg/files/README.shaper b/net-firewall/shapecfg/files/README.shaper |
30 |
deleted file mode 100644 |
31 |
index 60c2b4d6afb..00000000000 |
32 |
--- a/net-firewall/shapecfg/files/README.shaper |
33 |
+++ /dev/null |
34 |
@@ -1,50 +0,0 @@ |
35 |
- |
36 |
-Traffic Shaper For Linux |
37 |
- |
38 |
-This is the current ALPHA release of the traffic shaper for Linux. It works |
39 |
-within the following limits: |
40 |
- |
41 |
-o Minimum shaping speed is currently about 9600 baud (it can only |
42 |
- shape down to 1 byte per clock tick) |
43 |
- |
44 |
-o Maximum is about 256K, it will go above this but get a bit blocky. |
45 |
- |
46 |
-o If you ifconfig the master device that a shaper is attached to down |
47 |
- then your machine will follow. |
48 |
- |
49 |
-o The shaper must be a module. |
50 |
- |
51 |
- |
52 |
-Setup: |
53 |
- |
54 |
-A shaper device is configured using the shapeconfig program. |
55 |
-Typically you will do something like this |
56 |
- |
57 |
-shapecfg attach shaper0 eth1 |
58 |
-shapecfg speed shaper0 64000 |
59 |
-ifconfig shaper0 myhost netmask 255.255.255.240 broadcast 1.2.3.4.255 up |
60 |
-route add -net some.network netmask a.b.c.d dev shaper0 |
61 |
- |
62 |
-The shaper should have the same IP address as the device it is attached to |
63 |
-for normal use. |
64 |
- |
65 |
-Gotchas: |
66 |
- |
67 |
- The shaper shapes transmitted traffic. It's rather impossible to |
68 |
-shape received traffic except at the end (or a router) transmitting it. |
69 |
- |
70 |
- Gated/routed/rwhod/mrouted all see the shaper as an additional device |
71 |
-and will treat it as such unless patched. Note that for mrouted you can run |
72 |
-mrouted tunnels via a traffic shaper to control bandwidth usage. |
73 |
- |
74 |
- The shaper is device/route based. This makes it very easy to use |
75 |
-with any setup BUT less flexible. You may well want to combine this patch |
76 |
-with Mike McLagan 's patch to allow routes to be |
77 |
-specified by source/destination pairs. |
78 |
- |
79 |
- There is no "borrowing" or "sharing" scheme. This is a simple |
80 |
-traffic limiter. I'd like to implement Van Jacobson and Sally Floyd's CBQ |
81 |
-architecture into Linux one day (maybe in 2.1 sometime) and do this with |
82 |
-style. |
83 |
- |
84 |
- |
85 |
|
86 |
diff --git a/net-firewall/shapecfg/files/shapercfg-2.0.36-glibc.patch b/net-firewall/shapecfg/files/shapercfg-2.0.36-glibc.patch |
87 |
deleted file mode 100644 |
88 |
index 3fb6a36ae50..00000000000 |
89 |
--- a/net-firewall/shapecfg/files/shapercfg-2.0.36-glibc.patch |
90 |
+++ /dev/null |
91 |
@@ -1,15 +0,0 @@ |
92 |
---- shaper/shapecfg.c.glibc Tue Sep 29 20:24:02 1998 |
93 |
-+++ shaper/shapecfg.c Tue Sep 29 20:29:27 1998 |
94 |
-@@ -3,9 +3,9 @@ |
95 |
- #include <stdlib.h> |
96 |
- #include <linux/types.h> |
97 |
- #include <netinet/in.h> |
98 |
--#include <linux/if.h> |
99 |
--#include <linux/if_shaper.h> |
100 |
--#include <linux/sockios.h> |
101 |
-+#include <net/if.h> |
102 |
-+#include <net/if_shaper.h> |
103 |
-+#include <sys/ioctl.h> |
104 |
- |
105 |
- void usage(char *name) |
106 |
- { |
107 |
|
108 |
diff --git a/net-firewall/shapecfg/metadata.xml b/net-firewall/shapecfg/metadata.xml |
109 |
deleted file mode 100644 |
110 |
index 30d444a41f4..00000000000 |
111 |
--- a/net-firewall/shapecfg/metadata.xml |
112 |
+++ /dev/null |
113 |
@@ -1,8 +0,0 @@ |
114 |
-<?xml version="1.0" encoding="UTF-8"?> |
115 |
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
116 |
-<pkgmetadata> |
117 |
- <!-- maintainer-needed --> |
118 |
- <upstream> |
119 |
- <remote-id type="sourceforge">cbqinit</remote-id> |
120 |
- </upstream> |
121 |
-</pkgmetadata> |
122 |
|
123 |
diff --git a/net-firewall/shapecfg/shapecfg-36.ebuild b/net-firewall/shapecfg/shapecfg-36.ebuild |
124 |
deleted file mode 100644 |
125 |
index a187ab54e4c..00000000000 |
126 |
--- a/net-firewall/shapecfg/shapecfg-36.ebuild |
127 |
+++ /dev/null |
128 |
@@ -1,36 +0,0 @@ |
129 |
-# Copyright 1999-2018 Gentoo Foundation |
130 |
-# Distributed under the terms of the GNU General Public License v2 |
131 |
- |
132 |
-EAPI=0 |
133 |
- |
134 |
-inherit eutils flag-o-matic |
135 |
- |
136 |
-DESCRIPTION="configuration tool for setting traffic bandwidth parameters" |
137 |
-HOMEPAGE="ftp://archive.download.redhat.com/pub/redhat/linux/9/en/os/i386/SRPMS https://sourceforge.net/projects/cbqinit" |
138 |
-SRC_URI="mirror://gentoo/shaper.${PV}.tar.gz" |
139 |
- |
140 |
-LICENSE="GPL-2" |
141 |
-SLOT="0" |
142 |
-KEYWORDS="~amd64 ~arm ~x86" |
143 |
-IUSE="" |
144 |
- |
145 |
-DEPEND="" |
146 |
- |
147 |
-S=${WORKDIR}/shaper |
148 |
- |
149 |
-src_unpack() { |
150 |
- unpack ${A} |
151 |
- cd "${S}" |
152 |
- epatch "${FILESDIR}"/shapercfg-2.0.36-glibc.patch |
153 |
- rm -f Makefile |
154 |
-} |
155 |
- |
156 |
-src_compile() { |
157 |
- append-flags -Wall |
158 |
- emake shapecfg || die |
159 |
-} |
160 |
- |
161 |
-src_install() { |
162 |
- dobin shapecfg || die |
163 |
- dodoc "${FILESDIR}"/README.shaper |
164 |
-} |
165 |
|
166 |
diff --git a/profiles/package.mask b/profiles/package.mask |
167 |
index ddcb1a554ec..6242443c043 100644 |
168 |
--- a/profiles/package.mask |
169 |
+++ b/profiles/package.mask |
170 |
@@ -403,7 +403,6 @@ net-dns/bind-dns-keygen |
171 |
net-firewall/fwanalog |
172 |
net-firewall/fwipsec |
173 |
net-firewall/quicktables |
174 |
-net-firewall/shapecfg |
175 |
sys-auth/pam_require |
176 |
|
177 |
# Michał Górny <mgorny@g.o> (2019-10-04) |