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-dialup/globespan-adsl | |
parent | bd4aeefe33e63f613512604e47bfca7b2187697d (diff) |
gentoo resync : 10.11.2019
Diffstat (limited to 'net-dialup/globespan-adsl')
7 files changed, 0 insertions, 262 deletions
diff --git a/net-dialup/globespan-adsl/Manifest b/net-dialup/globespan-adsl/Manifest deleted file mode 100644 index 03eaaa0d9aee..000000000000 --- a/net-dialup/globespan-adsl/Manifest +++ /dev/null @@ -1,8 +0,0 @@ -AUX globespan-adsl-0.11-pagesize.patch 669 BLAKE2B dccab7ec11bdf0876ecabc013ce6108e756a4ae04a91860f55c965bb501773c2eb8f2fed1b1decbfd9add04935b678ecadb9f06a0c72e2113090f0ea7b0bc4f8 SHA512 b767da78fcd4f482076449c23ecd8dc9be8ef672a6c7d6b0dfa666fe834aab1d0c31ad84dd46359178583131ce800b3e40af8aa66a66f65a0857ad31ff5d3ac2 -AUX globespan-adsl-0.11-synch.patch 2283 BLAKE2B abccb7b30687bf9548d3ae912af6e909700fc289049ea98c46467370fbb9b5fc762667b0c60e99d0d3c9044cf388c1e154d21a137ac3e9a7026961956f05d2ae SHA512 ddc571f4d3d0ccf2e0978c28a47cec94332823dfc8bb9cb127b3ff70a166f3464d4fdf7a5a02c4e13593630414c40cf36c378e58285ad8d59bdb69b01b4fdac2 -AUX globespan-adsl-0.12-pagesize.patch 756 BLAKE2B 6b764f1d82aaaa03be4e842e83cc7b8aacb57efdce7589f2d324642f7be71cd3dbb8c3dda83cabb67be81f25313686fd46cb122e5eb8b030a96e2e23993305da SHA512 2bfb5a8706d2f5276d4c0818eadafd19f7f06ab42c07dc767aba9f0c356c9e72cf42f51c7cc9a3c559a1a13a8082c6eb6156a3d5d6dec5979df99e577d9d156a -DIST eciadsl-usermode-0.11.tar.gz 323391 BLAKE2B 06919723382933ef813a00367e29919facf8bf65dcc94a56e6c7fef715ce8f1565402cd0dbdd442f42f5301229acb06995d3b20543f398acb4114daac4bce479 SHA512 4ac8f537538a5e1d93158bfb51810e331a684b424ad44cd3fa880dcfb3c2a3167900c29bc0b8762a30b3b565b08c64aca7446ac5d66ec4ee00ad706ea71d2dd7 -DIST eciadsl-usermode-0.12.tar.gz 338548 BLAKE2B f206b197883d9b53f9d44cadfbd08113da1ff50fc33037a93751e6fd83e095ea3d1d04ae642230644c778294f6ce0b1a2137cc43d1cbdf531bd6ed259965cafa SHA512 6f16d0ec0fecb133ff0057607324415aa6a6580e72d9950379a2307b77900651c101be1e762aed18fc3343935c7bb35085a51672f839c52d22d9493a41c4354d -EBUILD globespan-adsl-0.11-r1.ebuild 1267 BLAKE2B 775b79ada672b68edc60a050a30cae47f40340a1cb29e64d8bcffbe9ff15b3c9aab1684aebc885854166a050fa4cd51d97e48285b6e3cff65ddbdcc253dfb162 SHA512 629a653a6bc5c51782b3cc230beae36f1a421745df511a53ebfc31118e4449ea1efdc9a05df1aa6e3e8eba17568880a8ebc5673941d4fe7d78b1346e0a8066ca -EBUILD globespan-adsl-0.12.ebuild 1105 BLAKE2B ef702067bf75b67436b4200fa71e0235f39b7e5a564086f7133f781c964fb6c5ba8f4bc963d74afad261638eaf8660ca5f4daade6fd8fc9ad186c7134e921155 SHA512 561ecd96c9cad11ed8886be27df7b4ca354fc35f16fa0fc634d9747289c83728d5f3dc128dc06396d29a0fda30cedfb864927e3e6a15eaa526eb5a891580020a -MISC metadata.xml 247 BLAKE2B 9d4b0bf2b96105768c483477078977244f0d5f4bdc478f5515336bdd4000dfbc75f7f519c85ebfe403d10f9351e64dbf54874573c4db7afeb32313eb0ab0f032 SHA512 20fb6e12a8b7ba83efda9ae4b4146674eeb64cb9c4603b2e690a3af236f8dadedc676d8c9fd1caa7aa52f62a1c3c0683c52d74ea9db35371415b9ecf4d96371d 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 deleted file mode 100644 index dcb2141197c4..000000000000 --- a/net-dialup/globespan-adsl/files/globespan-adsl-0.11-pagesize.patch +++ /dev/null @@ -1,31 +0,0 @@ ---- eciadsl-usermode-0.11/pusb-linux.c.orig 2007-11-24 23:05:42.000000000 +0100 -+++ eciadsl-usermode-0.11/pusb-linux.c 2007-11-24 23:12:15.000000000 +0100 -@@ -29,7 +29,6 @@ - #include <string.h> - - #include "pusb-linux.h" --#include <asm/page.h> - - struct pusb_endpoint_t - { -@@ -392,13 +391,18 @@ - { - struct usbdevfs_bulktransfer bulk; - int ret, received = 0; -+ static long pagesize = 0; -+ -+ if (pagesize == 0) -+ pagesize = sysconf(_SC_PAGESIZE); -+ - - do - { - bulk.ep = ep; - bulk.len = size; -- if (bulk.len > PAGE_SIZE) -- bulk.len = PAGE_SIZE; -+ if (size > pagesize) -+ bulk.len = pagesize; - bulk.timeout = timeout; - bulk.data = buf; - 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 deleted file mode 100644 index 344ec3ddbd28..000000000000 --- a/net-dialup/globespan-adsl/files/globespan-adsl-0.11-synch.patch +++ /dev/null @@ -1,85 +0,0 @@ -diff --git a/eciadsl-synch.c b/eciadsl-synch.c -index 27c1f34..31c51dc 100644 ---- a/eciadsl-synch.c -+++ b/eciadsl-synch.c -@@ -322,7 +322,7 @@ void read_endpoint(pusb_endpoint_t ep_int, int epnum){ - device. So we revert to the old behaviour : NO TIMEOUTS ... - */ - -- ret = pusb_endpoint_read(ep_int, lbuf, sizeof(lbuf), 0); -+ ret = pusb_endpoint_read_int(ep_int, lbuf, sizeof(lbuf)); - - if (ret < 0) - { -diff --git a/pusb-linux.c b/pusb-linux.c -index 79b7545..b5bf1dd 100644 ---- a/pusb-linux.c -+++ b/pusb-linux.c -@@ -340,6 +340,54 @@ int pusb_endpoint_rw_no_timeout(int fd, int ep, - return(purb->actual_length); - } - -+int pusb_endpoint_read_int_no_timeout(int fd, int ep, -+ unsigned char* buf, int size) -+{ -+ struct usbdevfs_urb urb, *purb = &urb; -+ int ret; -+ -+ memset(purb, 0, sizeof(urb)); -+ -+ purb->type = USBDEVFS_URB_TYPE_INTERRUPT; -+ purb->endpoint = ep; -+ purb->flags = 0; -+ purb->buffer = buf; -+ purb->buffer_length = size; -+ purb->signr = 0; -+ -+ do -+ { -+ ret = ioctl(fd, USBDEVFS_SUBMITURB, purb); -+ } -+ while (ret < 0 && errno == EINTR); -+ -+ if (ret < 0) -+ return(ret); -+ -+ do -+ { -+ ret = ioctl(fd, USBDEVFS_REAPURB, &purb); -+ } -+ while (ret < 0 && errno == EINTR); -+ -+ if (ret < 0) -+ return(ret); -+ -+ if (purb != &urb) -+ printf("purb=%p, &urb=%p\n", (void*)purb, (void*)&urb); -+ -+ if (purb->buffer != buf) -+ printf("purb->buffer=%p, buf=%p\n", (void*)purb->buffer, (void*)buf); -+ -+ return(purb->actual_length); -+} -+ -+int pusb_endpoint_read_int(pusb_endpoint_t ep, -+ unsigned char* buf, int size) -+{ -+ return(pusb_endpoint_read_int_no_timeout(ep->fd, ep->ep|USB_DIR_IN, buf, size)); -+} -+ - int pusb_endpoint_rw(int fd, int ep, unsigned char* buf, int size, int timeout) - { - struct usbdevfs_bulktransfer bulk; -diff --git a/pusb.h b/pusb.h -index 921543b..112e41f 100644 ---- a/pusb.h -+++ b/pusb.h -@@ -30,6 +30,8 @@ int pusb_release_interface(pusb_device_t dev,int interface); - pusb_endpoint_t pusb_endpoint_open(pusb_device_t dev, int epnum, int flags); - int pusb_endpoint_read(pusb_endpoint_t ep, - unsigned char *buf, int size, int timeout); -+int pusb_endpoint_read_int(pusb_endpoint_t ep, -+ unsigned char *buf, int size); - int pusb_endpoint_write(pusb_endpoint_t ep, - const unsigned char *buf, int size, int timeout); - 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 deleted file mode 100644 index efed69327251..000000000000 --- a/net-dialup/globespan-adsl/files/globespan-adsl-0.12-pagesize.patch +++ /dev/null @@ -1,34 +0,0 @@ -diff -Nru eciadsl-usermode-0.12.orig/pusb-linux.c eciadsl-usermode-0.12/pusb-linux.c ---- eciadsl-usermode-0.12.orig/pusb-linux.c 2007-08-25 08:41:28.000000000 +0300 -+++ eciadsl-usermode-0.12/pusb-linux.c 2007-08-25 08:42:27.000000000 +0300 -@@ -29,7 +29,6 @@ - #include <string.h> - - #include "pusb-linux.h" --#include <asm/page.h> - - #include "pusb.h" - -@@ -430,16 +429,20 @@ - { - static struct usbdevfs_bulktransfer bulk; - static int ret; -+ static long pagesize = 0; - int received = 0; - -+ if (pagesize == 0) -+ pagesize = sysconf(_SC_PAGESIZE); -+ - do - { - bulk.ep = ep; - - bulk.len = size; - -- if (size > PAGE_SIZE) -- bulk.len = PAGE_SIZE; -+ if (size > pagesize) -+ bulk.len = pagesize; - - bulk.timeout = timeout; - bulk.data = buf; diff --git a/net-dialup/globespan-adsl/globespan-adsl-0.11-r1.ebuild b/net-dialup/globespan-adsl/globespan-adsl-0.11-r1.ebuild deleted file mode 100644 index 251a2feebbd6..000000000000 --- a/net-dialup/globespan-adsl/globespan-adsl-0.11-r1.ebuild +++ /dev/null @@ -1,50 +0,0 @@ -# Copyright 1999-2018 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=0 - -inherit eutils - -MY_PN="eciadsl-usermode-${PV}" - -DESCRIPTION="Driver for various ADSL modems. Also known as EciAdsl" -SRC_URI="http://eciadsl.flashtux.org/download/${MY_PN}.tar.gz" -HOMEPAGE="http://eciadsl.flashtux.org" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="amd64 ~x86" -IUSE="tk" - -DEPEND="net-dialup/ppp" -RDEPEND="${DEPEND} - dev-lang/perl - tk? ( >=dev-lang/tk-8.3.4 )" - -S="${WORKDIR}/${MY_PN}" - -src_unpack() { - unpack ${A} - cd "${S}" - epatch "${FILESDIR}"/${P}-synch.patch - epatch "${FILESDIR}"/${P}-pagesize.patch -} - -src_install() { - make DESTDIR="${D}" install || die "make install failed" - dodoc README* TROUBLESHOOTING* ChangeLog || die "failed to install documentation" -} - -pkg_postinst() { - elog - elog "Package succesfully installed you should now run " - elog "eciconf.sh (graphical, requires TCL/TK) or eciconftxt.sh" - elog - elog "Paquetage installé avec succés vous devriez maintenant" - elog "executer eciconf.sh (qui requiert TCL/TK) ou eciconftxt.sh" - elog - ewarn "Please note that if you're using a 2.6.x kernel you'll" - ewarn "probably need to apply a patch to fix a USB bug. See" - ewarn "http://eciadsl.flashtux.org/download/beta/" - ewarn -} diff --git a/net-dialup/globespan-adsl/globespan-adsl-0.12.ebuild b/net-dialup/globespan-adsl/globespan-adsl-0.12.ebuild deleted file mode 100644 index 29a0ed1e3e9c..000000000000 --- a/net-dialup/globespan-adsl/globespan-adsl-0.12.ebuild +++ /dev/null @@ -1,48 +0,0 @@ -# Copyright 1999-2018 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=0 - -inherit eutils - -MY_PN="eciadsl-usermode-${PV}" - -DESCRIPTION="Driver for various ADSL modems. Also known as EciAdsl" -SRC_URI="http://eciadsl.flashtux.org/download/${MY_PN}.tar.gz" -HOMEPAGE="http://eciadsl.flashtux.org" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="-amd64 x86" -IUSE="tk" - -DEPEND="net-dialup/ppp" -RDEPEND="${DEPEND} - dev-lang/perl - tk? ( >=dev-lang/tk-8.3.4 )" - -S="${WORKDIR}/${MY_PN}" - -src_unpack() { - unpack ${A} - cd "${S}" - epatch "${FILESDIR}"/${P}-pagesize.patch -} - -src_install() { - make DESTDIR="${D}" install || die "make install failed" - if ! use tk ; then - rm "${D}"/usr/bin/eciadsl-config-tk - fi - dodoc README* TROUBLESHOOTING* ChangeLog || die "failed to install documentation" -} - -pkg_postinst() { - elog - elog "Package succesfully installed you should now run " - elog "eciconf.sh (graphical, requires TCL/TK) or eciconftxt.sh" - elog - elog "Paquetage installé avec succés vous devriez maintenant" - elog "executer eciconf.sh (qui requiert TCL/TK) ou eciconftxt.sh" - elog -} diff --git a/net-dialup/globespan-adsl/metadata.xml b/net-dialup/globespan-adsl/metadata.xml deleted file mode 100644 index a814de526b50..000000000000 --- a/net-dialup/globespan-adsl/metadata.xml +++ /dev/null @@ -1,6 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> -<!-- maintainer-needed --> -<longdescription>ADSL modem driver for Globespan/ECI chipsets.</longdescription> -</pkgmetadata> |