1 |
commit: 8245d70ca0c28badf73b2d5d5a41c4418a6e998f |
2 |
Author: Andrew Savchenko <bircoph <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Nov 4 18:55:58 2019 +0000 |
4 |
Commit: Andrew Savchenko <bircoph <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Nov 4 19:02:57 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8245d70c |
7 |
|
8 |
net-misc/l7-filter-userspace: cleanup old files |
9 |
|
10 |
Package-Manager: Portage-2.3.78, Repoman-2.3.17 |
11 |
Signed-off-by: Andrew Savchenko <bircoph <AT> gentoo.org> |
12 |
|
13 |
net-misc/l7-filter-userspace/Manifest | 1 - |
14 |
...er-userspace-0.11-arm-ppc-getopt-help-fix.patch | 21 --------- |
15 |
...lter-userspace-0.11-map-access-threadsafe.patch | 55 ---------------------- |
16 |
...ilter-userspace-0.11-pattern-loading-leak.patch | 10 ---- |
17 |
.../l7-filter-userspace-0.11.ebuild | 32 ------------- |
18 |
.../l7-filter-userspace-0.12_beta1.ebuild | 32 ------------- |
19 |
6 files changed, 151 deletions(-) |
20 |
|
21 |
diff --git a/net-misc/l7-filter-userspace/Manifest b/net-misc/l7-filter-userspace/Manifest |
22 |
index da0d7cdb78a..caea7f37f1c 100644 |
23 |
--- a/net-misc/l7-filter-userspace/Manifest |
24 |
+++ b/net-misc/l7-filter-userspace/Manifest |
25 |
@@ -1,2 +1 @@ |
26 |
-DIST l7-filter-userspace-0.11.tar.gz 129986 BLAKE2B 2bb5bd6794b01508da1f23dff44a242b17efd10e6f2b484aed34b32ea5ba3d787b2ea7ca8df9c57a1c20133337b4a1ac4ad4e7e400fbe97e044530f12e8673ad SHA512 5362a9e7392afd6dcb40bd9f602bddd34c040dcecbcc4570f56168310bd0e243561a1c946c7e912448518fe30c6bcff866c000b9e026dc96b2f3b47b4299cb81 |
27 |
DIST l7-filter-userspace-0.12-beta1.tar.gz 130254 BLAKE2B 624f0af8c4acf8ad37b580d1488e6d09a82a01d8b2a77727074506ae9eb5d9c006f3ba79deeb5214a41db682b9bd8c3aa59bd81ff20daefcbf938476c6cc62ef SHA512 9c49b7e951ced6a44f8ee6f3a261ba14b1e3fe44a83e175f7f5a5821616ec8bc2b0a287f10b4485120e7783c9623c34aae2ee1d8997c258cdfb8230c1f87d137 |
28 |
|
29 |
diff --git a/net-misc/l7-filter-userspace/files/l7-filter-userspace-0.11-arm-ppc-getopt-help-fix.patch b/net-misc/l7-filter-userspace/files/l7-filter-userspace-0.11-arm-ppc-getopt-help-fix.patch |
30 |
deleted file mode 100644 |
31 |
index 29801ceed31..00000000000 |
32 |
--- a/net-misc/l7-filter-userspace/files/l7-filter-userspace-0.11-arm-ppc-getopt-help-fix.patch |
33 |
+++ /dev/null |
34 |
@@ -1,21 +0,0 @@ |
35 |
---- l7-filter-userspace-0.11/l7-filter.cpp.old 2010-07-12 10:43:58.485002456 +0100 |
36 |
-+++ l7-filter-userspace-0.11/l7-filter.cpp 2010-07-12 11:14:38.825001868 +0100 |
37 |
-@@ -186,15 +186,11 @@ |
38 |
- conffilename = ""; |
39 |
- const char *opts = "f:q:vh?sb:dn:p:m:cz"; |
40 |
- |
41 |
-- int done = 0; |
42 |
-- while(!done) |
43 |
-+ int c; |
44 |
-+ while ((c = getopt (argc, argv, opts)) != -1) |
45 |
- { |
46 |
-- char c; |
47 |
-- switch(c = getopt(argc, argv, opts)) |
48 |
-+ switch(c) |
49 |
- { |
50 |
-- case -1: |
51 |
-- done = 1; |
52 |
-- break; |
53 |
- case 'f': |
54 |
- conffilename = optarg; |
55 |
- break; |
56 |
|
57 |
diff --git a/net-misc/l7-filter-userspace/files/l7-filter-userspace-0.11-map-access-threadsafe.patch b/net-misc/l7-filter-userspace/files/l7-filter-userspace-0.11-map-access-threadsafe.patch |
58 |
deleted file mode 100644 |
59 |
index fea0f5bbb5a..00000000000 |
60 |
--- a/net-misc/l7-filter-userspace/files/l7-filter-userspace-0.11-map-access-threadsafe.patch |
61 |
+++ /dev/null |
62 |
@@ -1,55 +0,0 @@ |
63 |
---- l7-filter-userspace-0.11/l7-conntrack.cpp.orig 2009-02-26 21:40:28.000000000 +0000 |
64 |
-+++ l7-filter-userspace-0.11/l7-conntrack.cpp 2010-07-23 13:03:23.000000000 +0100 |
65 |
-@@ -195,11 +195,13 @@ |
66 |
- { |
67 |
- nfct_conntrack_free(ct); |
68 |
- nfct_close(cth); |
69 |
-+ pthread_mutex_destroy(&map_mutex); |
70 |
- } |
71 |
- |
72 |
- l7_conntrack::l7_conntrack(void* l7_classifier_in) |
73 |
- { |
74 |
- l7_classifier = (l7_classify *)l7_classifier_in; |
75 |
-+ pthread_mutex_init(&map_mutex, NULL); |
76 |
- |
77 |
- // Now open a handler that is subscribed to all possible events |
78 |
- cth = nfct_open(CONNTRACK, NFCT_ALL_CT_GROUPS); |
79 |
-@@ -211,19 +213,27 @@ |
80 |
- |
81 |
- l7_connection *l7_conntrack::get_l7_connection(const string key) |
82 |
- { |
83 |
-- return l7_connections[key]; |
84 |
-+ l7_connection *conn; |
85 |
-+ pthread_mutex_lock(&map_mutex); |
86 |
-+ conn = l7_connections[key]; |
87 |
-+ pthread_mutex_unlock(&map_mutex); |
88 |
-+ return conn; |
89 |
- } |
90 |
- |
91 |
- void l7_conntrack::add_l7_connection(l7_connection* connection, |
92 |
- const string key) |
93 |
- { |
94 |
-+ pthread_mutex_lock(&map_mutex); |
95 |
- l7_connections[key] = connection; |
96 |
-+ pthread_mutex_unlock(&map_mutex); |
97 |
- } |
98 |
- |
99 |
- void l7_conntrack::remove_l7_connection(const string key) |
100 |
- { |
101 |
-+ pthread_mutex_lock(&map_mutex); |
102 |
- delete l7_connections[key]; |
103 |
- l7_connections.erase(l7_connections.find(key)); |
104 |
-+ pthread_mutex_unlock(&map_mutex); |
105 |
- } |
106 |
- |
107 |
- void l7_conntrack::start() |
108 |
---- l7-filter-userspace-0.11/l7-conntrack.h.orig 2010-07-23 13:04:49.000000000 +0100 |
109 |
-+++ l7-filter-userspace-0.11/l7-conntrack.h 2010-07-23 13:05:56.000000000 +0100 |
110 |
-@@ -52,6 +52,7 @@ |
111 |
- l7_map l7_connections; |
112 |
- struct nfct_conntrack *ct; |
113 |
- struct nfct_handle *cth; // the callback |
114 |
-+ pthread_mutex_t map_mutex; |
115 |
- |
116 |
- public: |
117 |
- l7_conntrack(void * foo); |
118 |
|
119 |
diff --git a/net-misc/l7-filter-userspace/files/l7-filter-userspace-0.11-pattern-loading-leak.patch b/net-misc/l7-filter-userspace/files/l7-filter-userspace-0.11-pattern-loading-leak.patch |
120 |
deleted file mode 100644 |
121 |
index 835fc8ffb9f..00000000000 |
122 |
--- a/net-misc/l7-filter-userspace/files/l7-filter-userspace-0.11-pattern-loading-leak.patch |
123 |
+++ /dev/null |
124 |
@@ -1,10 +0,0 @@ |
125 |
-diff --git a/l7-filter-userspace/trunk/l7-classify.cpp b/l7-filter-userspace/trunk/l7-classify.cpp |
126 |
-index 8b5b77e..1c80d4d 100644 |
127 |
---- a/l7-filter-userspace/trunk/l7-classify.cpp |
128 |
-+++ b/l7-filter-userspace/trunk/l7-classify.cpp |
129 |
-@@ -59,6 +59,7 @@ l7_pattern::l7_pattern(string name, string pattern_string, int eflags, |
130 |
- cerr << "error compiling " << name << " -- " << pattern_string << endl; |
131 |
- exit(1); |
132 |
- } |
133 |
-+ free(preprocessed); |
134 |
- } |
135 |
|
136 |
diff --git a/net-misc/l7-filter-userspace/l7-filter-userspace-0.11.ebuild b/net-misc/l7-filter-userspace/l7-filter-userspace-0.11.ebuild |
137 |
deleted file mode 100644 |
138 |
index d5178dfc637..00000000000 |
139 |
--- a/net-misc/l7-filter-userspace/l7-filter-userspace-0.11.ebuild |
140 |
+++ /dev/null |
141 |
@@ -1,32 +0,0 @@ |
142 |
-# Copyright 1999-2012 Gentoo Foundation |
143 |
-# Distributed under the terms of the GNU General Public License v2 |
144 |
- |
145 |
-EAPI=4 |
146 |
- |
147 |
-inherit eutils autotools |
148 |
- |
149 |
-DESCRIPTION="Userspace utilities for layer 7 iptables QoS" |
150 |
-HOMEPAGE="http://l7-filter.clearfoundation.com/" |
151 |
-SRC_URI="mirror://sourceforge/l7-filter/${P}.tar.gz" |
152 |
- |
153 |
-LICENSE="GPL-2" |
154 |
-KEYWORDS="~amd64 ~x86" |
155 |
-IUSE="" |
156 |
-SLOT="0" |
157 |
-DEPEND=">=net-libs/libnetfilter_conntrack-0.0.100 |
158 |
- net-libs/libnetfilter_queue" |
159 |
-RDEPEND="net-misc/l7-protocols |
160 |
- ${DEPEND}" |
161 |
- |
162 |
-src_prepare() { |
163 |
- epatch "${FILESDIR}/${P}-map-access-threadsafe.patch" |
164 |
- epatch "${FILESDIR}/${P}-arm-ppc-getopt-help-fix.patch" |
165 |
- epatch "${FILESDIR}/${P}-libnetfilter_conntrack-0.0.100.patch" |
166 |
- epatch "${FILESDIR}/${P}-pattern-loading-leak.patch" |
167 |
- eautoreconf |
168 |
-} |
169 |
- |
170 |
-src_install() { |
171 |
- emake DESTDIR="${D}" install |
172 |
- dodoc README TODO BUGS THANKS AUTHORS |
173 |
-} |
174 |
|
175 |
diff --git a/net-misc/l7-filter-userspace/l7-filter-userspace-0.12_beta1.ebuild b/net-misc/l7-filter-userspace/l7-filter-userspace-0.12_beta1.ebuild |
176 |
deleted file mode 100644 |
177 |
index 1a02e945617..00000000000 |
178 |
--- a/net-misc/l7-filter-userspace/l7-filter-userspace-0.12_beta1.ebuild |
179 |
+++ /dev/null |
180 |
@@ -1,32 +0,0 @@ |
181 |
-# Copyright 1999-2012 Gentoo Foundation |
182 |
-# Distributed under the terms of the GNU General Public License v2 |
183 |
- |
184 |
-EAPI=4 |
185 |
- |
186 |
-inherit eutils versionator |
187 |
- |
188 |
-MY_P=${PN}-$(replace_version_separator 2 '-') |
189 |
- |
190 |
-DESCRIPTION="Userspace utilities for layer 7 iptables QoS" |
191 |
-HOMEPAGE="http://l7-filter.clearfoundation.com/" |
192 |
-SRC_URI="http://download.clearfoundation.com/l7-filter/${MY_P}.tar.gz" |
193 |
- |
194 |
-LICENSE="GPL-2" |
195 |
-KEYWORDS="~amd64 ~arm ~x86" |
196 |
-IUSE="" |
197 |
-SLOT="0" |
198 |
- |
199 |
-DEPEND=">=net-libs/libnetfilter_conntrack-0.0.100 |
200 |
- >=net-libs/libnetfilter_queue-1.0.0 |
201 |
- net-libs/libnfnetlink" |
202 |
-RDEPEND="${DEPEND} |
203 |
- net-misc/l7-protocols" |
204 |
- |
205 |
-S=${WORKDIR}/${MY_P} |
206 |
- |
207 |
-DOCS=( README TODO BUGS THANKS AUTHORS ) |
208 |
- |
209 |
-src_prepare() { |
210 |
- epatch "${FILESDIR}/${PN}-0.11-libnetfilter_conntrack-0.0.100.patch" \ |
211 |
- "${FILESDIR}/${PN}-0.11-datatype.patch" |
212 |
-} |