1 |
commit: a070561bba38b9500aabb34eddaf171f85f12cff |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Nov 5 22:29:07 2019 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Nov 5 22:29:07 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a070561b |
7 |
|
8 |
net-dialup/globespan-adsl: 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-dialup/globespan-adsl/Manifest | 2 - |
14 |
.../files/globespan-adsl-0.11-pagesize.patch | 31 -------- |
15 |
.../files/globespan-adsl-0.11-synch.patch | 85 ---------------------- |
16 |
.../files/globespan-adsl-0.12-pagesize.patch | 34 --------- |
17 |
.../globespan-adsl/globespan-adsl-0.11-r1.ebuild | 50 ------------- |
18 |
.../globespan-adsl/globespan-adsl-0.12.ebuild | 48 ------------ |
19 |
net-dialup/globespan-adsl/metadata.xml | 6 -- |
20 |
profiles/package.mask | 1 - |
21 |
8 files changed, 257 deletions(-) |
22 |
|
23 |
diff --git a/net-dialup/globespan-adsl/Manifest b/net-dialup/globespan-adsl/Manifest |
24 |
deleted file mode 100644 |
25 |
index d223360b430..00000000000 |
26 |
--- a/net-dialup/globespan-adsl/Manifest |
27 |
+++ /dev/null |
28 |
@@ -1,2 +0,0 @@ |
29 |
-DIST eciadsl-usermode-0.11.tar.gz 323391 BLAKE2B 06919723382933ef813a00367e29919facf8bf65dcc94a56e6c7fef715ce8f1565402cd0dbdd442f42f5301229acb06995d3b20543f398acb4114daac4bce479 SHA512 4ac8f537538a5e1d93158bfb51810e331a684b424ad44cd3fa880dcfb3c2a3167900c29bc0b8762a30b3b565b08c64aca7446ac5d66ec4ee00ad706ea71d2dd7 |
30 |
-DIST eciadsl-usermode-0.12.tar.gz 338548 BLAKE2B f206b197883d9b53f9d44cadfbd08113da1ff50fc33037a93751e6fd83e095ea3d1d04ae642230644c778294f6ce0b1a2137cc43d1cbdf531bd6ed259965cafa SHA512 6f16d0ec0fecb133ff0057607324415aa6a6580e72d9950379a2307b77900651c101be1e762aed18fc3343935c7bb35085a51672f839c52d22d9493a41c4354d |
31 |
|
32 |
diff --git a/net-dialup/globespan-adsl/files/globespan-adsl-0.11-pagesize.patch b/net-dialup/globespan-adsl/files/globespan-adsl-0.11-pagesize.patch |
33 |
deleted file mode 100644 |
34 |
index dcb2141197c..00000000000 |
35 |
--- a/net-dialup/globespan-adsl/files/globespan-adsl-0.11-pagesize.patch |
36 |
+++ /dev/null |
37 |
@@ -1,31 +0,0 @@ |
38 |
---- eciadsl-usermode-0.11/pusb-linux.c.orig 2007-11-24 23:05:42.000000000 +0100 |
39 |
-+++ eciadsl-usermode-0.11/pusb-linux.c 2007-11-24 23:12:15.000000000 +0100 |
40 |
-@@ -29,7 +29,6 @@ |
41 |
- #include <string.h> |
42 |
- |
43 |
- #include "pusb-linux.h" |
44 |
--#include <asm/page.h> |
45 |
- |
46 |
- struct pusb_endpoint_t |
47 |
- { |
48 |
-@@ -392,13 +391,18 @@ |
49 |
- { |
50 |
- struct usbdevfs_bulktransfer bulk; |
51 |
- int ret, received = 0; |
52 |
-+ static long pagesize = 0; |
53 |
-+ |
54 |
-+ if (pagesize == 0) |
55 |
-+ pagesize = sysconf(_SC_PAGESIZE); |
56 |
-+ |
57 |
- |
58 |
- do |
59 |
- { |
60 |
- bulk.ep = ep; |
61 |
- bulk.len = size; |
62 |
-- if (bulk.len > PAGE_SIZE) |
63 |
-- bulk.len = PAGE_SIZE; |
64 |
-+ if (size > pagesize) |
65 |
-+ bulk.len = pagesize; |
66 |
- bulk.timeout = timeout; |
67 |
- bulk.data = buf; |
68 |
- |
69 |
|
70 |
diff --git a/net-dialup/globespan-adsl/files/globespan-adsl-0.11-synch.patch b/net-dialup/globespan-adsl/files/globespan-adsl-0.11-synch.patch |
71 |
deleted file mode 100644 |
72 |
index 344ec3ddbd2..00000000000 |
73 |
--- a/net-dialup/globespan-adsl/files/globespan-adsl-0.11-synch.patch |
74 |
+++ /dev/null |
75 |
@@ -1,85 +0,0 @@ |
76 |
-diff --git a/eciadsl-synch.c b/eciadsl-synch.c |
77 |
-index 27c1f34..31c51dc 100644 |
78 |
---- a/eciadsl-synch.c |
79 |
-+++ b/eciadsl-synch.c |
80 |
-@@ -322,7 +322,7 @@ void read_endpoint(pusb_endpoint_t ep_int, int epnum){ |
81 |
- device. So we revert to the old behaviour : NO TIMEOUTS ... |
82 |
- */ |
83 |
- |
84 |
-- ret = pusb_endpoint_read(ep_int, lbuf, sizeof(lbuf), 0); |
85 |
-+ ret = pusb_endpoint_read_int(ep_int, lbuf, sizeof(lbuf)); |
86 |
- |
87 |
- if (ret < 0) |
88 |
- { |
89 |
-diff --git a/pusb-linux.c b/pusb-linux.c |
90 |
-index 79b7545..b5bf1dd 100644 |
91 |
---- a/pusb-linux.c |
92 |
-+++ b/pusb-linux.c |
93 |
-@@ -340,6 +340,54 @@ int pusb_endpoint_rw_no_timeout(int fd, int ep, |
94 |
- return(purb->actual_length); |
95 |
- } |
96 |
- |
97 |
-+int pusb_endpoint_read_int_no_timeout(int fd, int ep, |
98 |
-+ unsigned char* buf, int size) |
99 |
-+{ |
100 |
-+ struct usbdevfs_urb urb, *purb = &urb; |
101 |
-+ int ret; |
102 |
-+ |
103 |
-+ memset(purb, 0, sizeof(urb)); |
104 |
-+ |
105 |
-+ purb->type = USBDEVFS_URB_TYPE_INTERRUPT; |
106 |
-+ purb->endpoint = ep; |
107 |
-+ purb->flags = 0; |
108 |
-+ purb->buffer = buf; |
109 |
-+ purb->buffer_length = size; |
110 |
-+ purb->signr = 0; |
111 |
-+ |
112 |
-+ do |
113 |
-+ { |
114 |
-+ ret = ioctl(fd, USBDEVFS_SUBMITURB, purb); |
115 |
-+ } |
116 |
-+ while (ret < 0 && errno == EINTR); |
117 |
-+ |
118 |
-+ if (ret < 0) |
119 |
-+ return(ret); |
120 |
-+ |
121 |
-+ do |
122 |
-+ { |
123 |
-+ ret = ioctl(fd, USBDEVFS_REAPURB, &purb); |
124 |
-+ } |
125 |
-+ while (ret < 0 && errno == EINTR); |
126 |
-+ |
127 |
-+ if (ret < 0) |
128 |
-+ return(ret); |
129 |
-+ |
130 |
-+ if (purb != &urb) |
131 |
-+ printf("purb=%p, &urb=%p\n", (void*)purb, (void*)&urb); |
132 |
-+ |
133 |
-+ if (purb->buffer != buf) |
134 |
-+ printf("purb->buffer=%p, buf=%p\n", (void*)purb->buffer, (void*)buf); |
135 |
-+ |
136 |
-+ return(purb->actual_length); |
137 |
-+} |
138 |
-+ |
139 |
-+int pusb_endpoint_read_int(pusb_endpoint_t ep, |
140 |
-+ unsigned char* buf, int size) |
141 |
-+{ |
142 |
-+ return(pusb_endpoint_read_int_no_timeout(ep->fd, ep->ep|USB_DIR_IN, buf, size)); |
143 |
-+} |
144 |
-+ |
145 |
- int pusb_endpoint_rw(int fd, int ep, unsigned char* buf, int size, int timeout) |
146 |
- { |
147 |
- struct usbdevfs_bulktransfer bulk; |
148 |
-diff --git a/pusb.h b/pusb.h |
149 |
-index 921543b..112e41f 100644 |
150 |
---- a/pusb.h |
151 |
-+++ b/pusb.h |
152 |
-@@ -30,6 +30,8 @@ int pusb_release_interface(pusb_device_t dev,int interface); |
153 |
- pusb_endpoint_t pusb_endpoint_open(pusb_device_t dev, int epnum, int flags); |
154 |
- int pusb_endpoint_read(pusb_endpoint_t ep, |
155 |
- unsigned char *buf, int size, int timeout); |
156 |
-+int pusb_endpoint_read_int(pusb_endpoint_t ep, |
157 |
-+ unsigned char *buf, int size); |
158 |
- int pusb_endpoint_write(pusb_endpoint_t ep, |
159 |
- const unsigned char *buf, int size, int timeout); |
160 |
- |
161 |
|
162 |
diff --git a/net-dialup/globespan-adsl/files/globespan-adsl-0.12-pagesize.patch b/net-dialup/globespan-adsl/files/globespan-adsl-0.12-pagesize.patch |
163 |
deleted file mode 100644 |
164 |
index efed6932725..00000000000 |
165 |
--- a/net-dialup/globespan-adsl/files/globespan-adsl-0.12-pagesize.patch |
166 |
+++ /dev/null |
167 |
@@ -1,34 +0,0 @@ |
168 |
-diff -Nru eciadsl-usermode-0.12.orig/pusb-linux.c eciadsl-usermode-0.12/pusb-linux.c |
169 |
---- eciadsl-usermode-0.12.orig/pusb-linux.c 2007-08-25 08:41:28.000000000 +0300 |
170 |
-+++ eciadsl-usermode-0.12/pusb-linux.c 2007-08-25 08:42:27.000000000 +0300 |
171 |
-@@ -29,7 +29,6 @@ |
172 |
- #include <string.h> |
173 |
- |
174 |
- #include "pusb-linux.h" |
175 |
--#include <asm/page.h> |
176 |
- |
177 |
- #include "pusb.h" |
178 |
- |
179 |
-@@ -430,16 +429,20 @@ |
180 |
- { |
181 |
- static struct usbdevfs_bulktransfer bulk; |
182 |
- static int ret; |
183 |
-+ static long pagesize = 0; |
184 |
- int received = 0; |
185 |
- |
186 |
-+ if (pagesize == 0) |
187 |
-+ pagesize = sysconf(_SC_PAGESIZE); |
188 |
-+ |
189 |
- do |
190 |
- { |
191 |
- bulk.ep = ep; |
192 |
- |
193 |
- bulk.len = size; |
194 |
- |
195 |
-- if (size > PAGE_SIZE) |
196 |
-- bulk.len = PAGE_SIZE; |
197 |
-+ if (size > pagesize) |
198 |
-+ bulk.len = pagesize; |
199 |
- |
200 |
- bulk.timeout = timeout; |
201 |
- bulk.data = buf; |
202 |
|
203 |
diff --git a/net-dialup/globespan-adsl/globespan-adsl-0.11-r1.ebuild b/net-dialup/globespan-adsl/globespan-adsl-0.11-r1.ebuild |
204 |
deleted file mode 100644 |
205 |
index 251a2feebbd..00000000000 |
206 |
--- a/net-dialup/globespan-adsl/globespan-adsl-0.11-r1.ebuild |
207 |
+++ /dev/null |
208 |
@@ -1,50 +0,0 @@ |
209 |
-# Copyright 1999-2018 Gentoo Foundation |
210 |
-# Distributed under the terms of the GNU General Public License v2 |
211 |
- |
212 |
-EAPI=0 |
213 |
- |
214 |
-inherit eutils |
215 |
- |
216 |
-MY_PN="eciadsl-usermode-${PV}" |
217 |
- |
218 |
-DESCRIPTION="Driver for various ADSL modems. Also known as EciAdsl" |
219 |
-SRC_URI="http://eciadsl.flashtux.org/download/${MY_PN}.tar.gz" |
220 |
-HOMEPAGE="http://eciadsl.flashtux.org" |
221 |
- |
222 |
-LICENSE="GPL-2" |
223 |
-SLOT="0" |
224 |
-KEYWORDS="amd64 ~x86" |
225 |
-IUSE="tk" |
226 |
- |
227 |
-DEPEND="net-dialup/ppp" |
228 |
-RDEPEND="${DEPEND} |
229 |
- dev-lang/perl |
230 |
- tk? ( >=dev-lang/tk-8.3.4 )" |
231 |
- |
232 |
-S="${WORKDIR}/${MY_PN}" |
233 |
- |
234 |
-src_unpack() { |
235 |
- unpack ${A} |
236 |
- cd "${S}" |
237 |
- epatch "${FILESDIR}"/${P}-synch.patch |
238 |
- epatch "${FILESDIR}"/${P}-pagesize.patch |
239 |
-} |
240 |
- |
241 |
-src_install() { |
242 |
- make DESTDIR="${D}" install || die "make install failed" |
243 |
- dodoc README* TROUBLESHOOTING* ChangeLog || die "failed to install documentation" |
244 |
-} |
245 |
- |
246 |
-pkg_postinst() { |
247 |
- elog |
248 |
- elog "Package succesfully installed you should now run " |
249 |
- elog "eciconf.sh (graphical, requires TCL/TK) or eciconftxt.sh" |
250 |
- elog |
251 |
- elog "Paquetage installé avec succés vous devriez maintenant" |
252 |
- elog "executer eciconf.sh (qui requiert TCL/TK) ou eciconftxt.sh" |
253 |
- elog |
254 |
- ewarn "Please note that if you're using a 2.6.x kernel you'll" |
255 |
- ewarn "probably need to apply a patch to fix a USB bug. See" |
256 |
- ewarn "http://eciadsl.flashtux.org/download/beta/" |
257 |
- ewarn |
258 |
-} |
259 |
|
260 |
diff --git a/net-dialup/globespan-adsl/globespan-adsl-0.12.ebuild b/net-dialup/globespan-adsl/globespan-adsl-0.12.ebuild |
261 |
deleted file mode 100644 |
262 |
index 29a0ed1e3e9..00000000000 |
263 |
--- a/net-dialup/globespan-adsl/globespan-adsl-0.12.ebuild |
264 |
+++ /dev/null |
265 |
@@ -1,48 +0,0 @@ |
266 |
-# Copyright 1999-2018 Gentoo Foundation |
267 |
-# Distributed under the terms of the GNU General Public License v2 |
268 |
- |
269 |
-EAPI=0 |
270 |
- |
271 |
-inherit eutils |
272 |
- |
273 |
-MY_PN="eciadsl-usermode-${PV}" |
274 |
- |
275 |
-DESCRIPTION="Driver for various ADSL modems. Also known as EciAdsl" |
276 |
-SRC_URI="http://eciadsl.flashtux.org/download/${MY_PN}.tar.gz" |
277 |
-HOMEPAGE="http://eciadsl.flashtux.org" |
278 |
- |
279 |
-LICENSE="GPL-2" |
280 |
-SLOT="0" |
281 |
-KEYWORDS="-amd64 x86" |
282 |
-IUSE="tk" |
283 |
- |
284 |
-DEPEND="net-dialup/ppp" |
285 |
-RDEPEND="${DEPEND} |
286 |
- dev-lang/perl |
287 |
- tk? ( >=dev-lang/tk-8.3.4 )" |
288 |
- |
289 |
-S="${WORKDIR}/${MY_PN}" |
290 |
- |
291 |
-src_unpack() { |
292 |
- unpack ${A} |
293 |
- cd "${S}" |
294 |
- epatch "${FILESDIR}"/${P}-pagesize.patch |
295 |
-} |
296 |
- |
297 |
-src_install() { |
298 |
- make DESTDIR="${D}" install || die "make install failed" |
299 |
- if ! use tk ; then |
300 |
- rm "${D}"/usr/bin/eciadsl-config-tk |
301 |
- fi |
302 |
- dodoc README* TROUBLESHOOTING* ChangeLog || die "failed to install documentation" |
303 |
-} |
304 |
- |
305 |
-pkg_postinst() { |
306 |
- elog |
307 |
- elog "Package succesfully installed you should now run " |
308 |
- elog "eciconf.sh (graphical, requires TCL/TK) or eciconftxt.sh" |
309 |
- elog |
310 |
- elog "Paquetage installé avec succés vous devriez maintenant" |
311 |
- elog "executer eciconf.sh (qui requiert TCL/TK) ou eciconftxt.sh" |
312 |
- elog |
313 |
-} |
314 |
|
315 |
diff --git a/net-dialup/globespan-adsl/metadata.xml b/net-dialup/globespan-adsl/metadata.xml |
316 |
deleted file mode 100644 |
317 |
index a814de526b5..00000000000 |
318 |
--- a/net-dialup/globespan-adsl/metadata.xml |
319 |
+++ /dev/null |
320 |
@@ -1,6 +0,0 @@ |
321 |
-<?xml version="1.0" encoding="UTF-8"?> |
322 |
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
323 |
-<pkgmetadata> |
324 |
-<!-- maintainer-needed --> |
325 |
-<longdescription>ADSL modem driver for Globespan/ECI chipsets.</longdescription> |
326 |
-</pkgmetadata> |
327 |
|
328 |
diff --git a/profiles/package.mask b/profiles/package.mask |
329 |
index f401361fbdc..7d7a471f7e1 100644 |
330 |
--- a/profiles/package.mask |
331 |
+++ b/profiles/package.mask |
332 |
@@ -398,7 +398,6 @@ mail-filter/clamsmtp |
333 |
mail-filter/disspam |
334 |
media-gfx/cthumb |
335 |
media-gfx/fblogo |
336 |
-net-dialup/globespan-adsl |
337 |
sys-auth/pam_require |
338 |
|
339 |
# Michał Górny <mgorny@g.o> (2019-10-04) |