Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: profiles/, net-dialup/ueagle4-atm/files/, net-dialup/ueagle4-atm/
Date: Tue, 11 Dec 2018 13:34:37
Message-Id: 1544535186.c3c70ff5e1b0349b0459ceede024383b7788eb55.mgorny@gentoo
1 commit: c3c70ff5e1b0349b0459ceede024383b7788eb55
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Tue Dec 11 13:33:06 2018 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Tue Dec 11 13:33:06 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c3c70ff5
7
8 net-dialup/ueagle4-atm: Remove last-rited pkg
9
10 Closes: https://bugs.gentoo.org/661884
11 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
12
13 net-dialup/ueagle4-atm/Manifest | 1 -
14 net-dialup/ueagle4-atm/files/README | 235 --------------------------
15 net-dialup/ueagle4-atm/metadata.xml | 7 -
16 net-dialup/ueagle4-atm/ueagle4-atm-1.0.ebuild | 56 ------
17 profiles/package.mask | 1 -
18 5 files changed, 300 deletions(-)
19
20 diff --git a/net-dialup/ueagle4-atm/Manifest b/net-dialup/ueagle4-atm/Manifest
21 deleted file mode 100644
22 index 5f00994926e..00000000000
23 --- a/net-dialup/ueagle4-atm/Manifest
24 +++ /dev/null
25 @@ -1 +0,0 @@
26 -DIST ueagle4-data-1.0.tar.gz 217512 BLAKE2B 3714bcb268e5a9e7d504e1eb618cf23a441b3a19ef675eeb2cf10f8a6979ebaa5896de7101572206a6f9e5ee9764329ce2cd180d456bb869e58f39f2326110ac SHA512 3d47150eb288865432e7201390669262e0d12239f5d45d194da8abe535e69cabcb53ef6b8757ab7e3c495394ecd74b781ac724635918b70c479a1219b3bcaa74
27
28 diff --git a/net-dialup/ueagle4-atm/files/README b/net-dialup/ueagle4-atm/files/README
29 deleted file mode 100644
30 index 20067824f30..00000000000
31 --- a/net-dialup/ueagle4-atm/files/README
32 +++ /dev/null
33 @@ -1,235 +0,0 @@
34 -Introduction
35 -============
36 -
37 -This ebuild installs firmware files necessary for Eagle USB E4 ADSL
38 -Modem driver which first appeared in kernel 2.6.16.
39 -
40 -Configuration
41 -=============
42 -
43 -Most ADSL modems are connected via the ATM protocol, rather
44 -than Ethernet. For ATM, run the following:
45 - euse -E atm && emerge net-dialup/ppp net-dialup/ueagle-atm
46 -
47 -It is necessary to choose an interface number for the connection. This
48 -is arbitrary - the only requirement is that the connection number is
49 -not already in use. The first available number is 0, and it is usual to
50 -choose the lowest unused number. For the purposes of this document, 0
51 -will be chosen.
52 -
53 -Add the following lines from the appropriate section below to
54 -/etc/conf.d/net, then customize them as per the inline comments.
55 -
56 -
57 -a) PPPoATM configuration:
58 -
59 -config_ppp0='ppp' # Runs /lib/rcscripts/net/pppd.sh
60 -# The 2 numbers represent the VPI & VCI of your ISP, and they are separated
61 -# by a dot. Ask your ISP about those numbers.
62 -link_ppp0='0.38'
63 -plugins_ppp0='pppoa'
64 -# 'man pppd' shows other options. Compression is disabled because it is
65 -# rarely taken advantage of, and may interfere with the connection.
66 -# Add option 'usepeerdns' to populate /etc/resolv.conf
67 -pppd_ppp0='updetach noauth debug defaultroute noaccomp nobsdcomp noccp
68 - nodeflate nopcomp novj novjccomp child-timeout 60'
69 -username_ppp0='username@×××.com' # ADSL login, assigned by your ISP
70 -password_ppp0='password' # ADSL password, assigned by your ISP
71 -
72 -# If the kernel modules are not built-in, then they must be loaded
73 -# before starting the PPP daemon:
74 -function preup() {
75 - if [[ "$1" = "ppp0" ]] ; then
76 - modprobe -q ueagle-atm
77 - return 0
78 - fi
79 -}
80 -
81 -
82 -b) PPPoE configuration:
83 -
84 -# Configure first the RFC2684 bridge interface
85 -config_nas0='null'
86 -# Use "-e 0" for LLC mux or "-e 1" for VC mux.
87 -# The 2 numbers after "-a" represent the VPI & VCI of your ISP, and
88 -# they are separated by a dot. Ask your ISP about those numbers.
89 -br2684ctl_nas0='-e 0 -a 0.38'
90 -
91 -config_ppp0='ppp' # Runs /lib/rcscripts/net/pppd.sh
92 -link_ppp0='nas0' # The name of the RFC2684 bridge interface
93 -plugins_ppp0='pppoe'
94 -# 'man pppd' shows other options. Compression is disabled because it is
95 -# rarely taken advantage of, and may interfere with the connection.
96 -# Add option 'usepeerdns' to populate /etc/resolv.conf
97 -pppd_ppp0='updetach noauth debug defaultroute noaccomp nobsdcomp noccp
98 - nodeflate nopcomp novj novjccomp child-timeout 60'
99 -username_ppp0='username@×××.com' # ADSL login, assigned by your ISP
100 -password_ppp0='password' # ADSL password, assigned by your ISP
101 -
102 -depend_ppp0() {
103 - need net.nas0
104 -}
105 -
106 -# If the kernel modules are not built-in, then they must be loaded
107 -# before starting the RFC2684 bridge:
108 -function preup() {
109 - if [[ "$1" = "nas0" ]] ; then
110 - modprobe -q ueagle-atm
111 - return 0
112 - fi
113 -}
114 -
115 -
116 -Configuration continued
117 -=======================
118 -
119 -Create a symlink for the new network interface, for it to be enabled by
120 -baselayout:
121 - cd /etc/init.d && ln -sfn net.lo net.ppp0
122 -If you use PPPoE, you should also create the symlink for the RFC2684
123 -bridge interface:
124 - cd /etc/init.d && ln -sfn net.lo net.nas0
125 -
126 -The "debug" option adds some extra commentary from pppd regarding the
127 -connection to /var/log/messages, e.g.:
128 -"sent [LCP ConfReq id=0x1 <magic 0x7bea6ef1>]". It is wise to keep the
129 -option on permanently, due to its usefulness when debugging.
130 -
131 -Set RC_NET_STRICT_CHECKING="yes" in /etc/conf.d/rc, to prevent Internet
132 -services in /etc/init.d/ from starting before the Internet connection
133 -is established. Other options are to start/stop programs in
134 -/etc/ppp/ip-{up,down}.local, and to customize initscript dependencies
135 -as described in:
136 - http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?part=2&chap=4
137 -
138 -
139 -Starting the Connection
140 -=======================
141 -
142 -To start manually, with the modem connected:
143 - /etc/init.d/net.ppp0 start
144 -
145 -To start automatically when the PC boots:
146 - rc-update add net.ppp0 default
147 -
148 -
149 -Kernel Configuration
150 -====================
151 -
152 -The ebuild, during an emerge, checks that the required kernel modules
153 -are present.
154 -
155 -Note that in the list below, "[*]" means that the option is compiled
156 -into the kernel, whereas "[M]" means that the option can either be
157 -compiled into the kernel, or as a module. Compiling them into the
158 -kernel is recommended, to guarantee that the modules are already loaded
159 -when they are needed, and it will improve the bootup time by a couple
160 -of seconds.
161 -
162 -In "make menuconfig", you can press "/" and search on e.g. "eagle"
163 -to see exactly where an option is - the location of an option and its
164 -dependencies can change between kernel versions.
165 -
166 -Check that the following kernel options are configured as shown (this
167 -list includes the prerequisites, e.g. USB_UEAGLEATM depends on USB):
168 -
169 - Code maturity level options --->
170 - [*] Prompt for development and/or incomplete code/drivers
171 - - CONFIG_EXPERIMENTAL
172 -
173 - Device Drivers --->
174 - Generic Driver Options --->
175 - [ ] Select only drivers that don't need compile-time external
176 - firmware (*unselected*) - CONFIG_STANDALONE
177 - [*] Hotplug firmware loading support - CONFIG_FW_LOADER
178 -
179 - Networking --->
180 - [*] Networking support - CONFIG_NET
181 - Networking options --->
182 - [*] Packet socket - CONFIG_PACKET
183 - [M] Asynchronous Transfer Mode (ATM) - CONFIG_ATM
184 - [M] RFC1483/2684 Bridged protocols - CONFIG_ATM_BR2684 (only needed for PPPoE)
185 -
186 - Device Drivers --->
187 - Network device support --->
188 - [*] Network device support - CONFIG_NETDEVICES
189 - [*] PPP (point-to-point protocol) support - CONFIG_PPP
190 - [M] PPP Deflate compression - CONFIG_PPP_DEFLATE (only useful if
191 - compression is supported - rare)
192 - [M] PPP BSD-Compress compression - CONFIG_PPP_BSDCOMP (only useful
193 - if compression is supported - rare)
194 - [M] PPP over Ethernet - CONFIG_PPPOE (only needed for PPPoE)
195 - [M] PPP over ATM - CONFIG_PPPOATM (only needed for PPPoATM)
196 - USB support --->
197 - [*] Support for Host-side USB - CONFIG_USB
198 - [*] USB device filesystem - CONFIG_USB_DEVICEFS
199 - [M] (O or U)HCI HCD support
200 - USB DSL modem support --->
201 - [M] USB DSL modem support - CONFIG_USB_ATM
202 - [M] ADI 930 and eagle USB DSL modem - CONFIG_USB_UEAGLEATM
203 -
204 -
205 -
206 -Troubleshooting
207 -===============
208 -
209 -Try "emerge ueagle-atm" again, because the ebuild checks that the
210 -required kernel modules are present (showing a warning message if
211 -appropriate), and creates the firmware files in /lib/firmware/ueagle-atm.
212 -
213 -If the modem is unresponsive, then run "/etc/init.d/net.ppp0 stop" and
214 -unplug the modem for 30 seconds, to drain its memory. Then reconnect
215 -the modem to the PC and run "/etc/init.d/net.ppp0 start"
216 -
217 -To check the modem's connection progress, run:
218 - tail -f /var/log/messages
219 -/var/log/messages should show e.g.:
220 -
221 -pppd[nnn]: Plugin pppoatm.so loaded.
222 -pppd[nnn]: pppd n.n.n started by root, uid 0
223 -pppd[nnn]: Using interface ppp0
224 -pppd[nnn]: Connect: ppp0 <--> n.nn
225 -ADSL line is synchronising
226 -DSL line goes up
227 -ADSL line is up (nnn Kib/s down | nnn Kib/s up)
228 -pppd[nnn]: CHAP authentication succeeded
229 -pppd[nnn]: local IP address nnn.nnn.nnn.nnn
230 -pppd[nnn]: remote IP address nnn.nnn.nnn.nnn
231 -
232 -
233 -If the authentification fails, then check username_ppp0 and
234 -password_ppp0.
235 -
236 -If the ADSL connection is not established, then check the options in
237 -pppd_ppp0. "man pppd" explains all the options in that file.
238 -
239 -If the ADSL connection seems to have worked, but no websites can be
240 -contacted, then check that /etc/resolv.conf is populated, and possibly
241 -add the "usepeerdns" option (to use the ISP's DNS) to pppd_ppp0 in
242 -/etc/conf.d/net .
243 -
244 -If the problem is still not resolved, post to the Gentoo Forums at
245 -http://forums.gentoo.org/ and ultimately, if there is no answer,
246 -file a bug at http://bugs.gentoo.org/ .
247 -
248 -
249 -Compression
250 -===========
251 -
252 -Some ISPs require compression to be disabled in order for the
253 -connection to work, so the default configuration described above
254 -disables compression. Few ISPs support ADSL compression anyway. If you
255 -are lucky enough to have an ISP which *does* support compression
256 -(Google is your best friend for determining this), then compression can
257 -be enabled by following these steps:
258 -
259 -* Compile the kernel modules CONFIG_PPP_DEFLATE and CONFIG_PPP_BSDCOMP
260 -(only one is strictly necessary - pppd prefers "deflate" compression).
261 -Add them to /etc/modules.autoload.d/kernel-2.6 or /etc/conf.d/net above
262 -the "pppoatm" line, if they are not built-in.
263 -* Remove the following options in pppd_ppp0:
264 - noaccomp nobsdcomp noccp nodeflate nopcomp novj novjccomp
265 -* Ensure that "debug" is in the pppd_ppp0 options, to check that
266 -compression is being utilized. Note that "module registered" in
267 -/var/log/messages only confirms that the kernel module is loaded -
268 -it does not indicate that the connection is compressed.
269
270 diff --git a/net-dialup/ueagle4-atm/metadata.xml b/net-dialup/ueagle4-atm/metadata.xml
271 deleted file mode 100644
272 index 331b50f53b6..00000000000
273 --- a/net-dialup/ueagle4-atm/metadata.xml
274 +++ /dev/null
275 @@ -1,7 +0,0 @@
276 -<?xml version="1.0" encoding="UTF-8"?>
277 -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
278 -<pkgmetadata>
279 - <!-- maintainer-needed -->
280 - <longdescription>Firmware and configuration instructions for Eagle USB E4 ADSL Modem driver
281 -available in kernels &gt;= 2.6.16.</longdescription>
282 -</pkgmetadata>
283
284 diff --git a/net-dialup/ueagle4-atm/ueagle4-atm-1.0.ebuild b/net-dialup/ueagle4-atm/ueagle4-atm-1.0.ebuild
285 deleted file mode 100644
286 index 80b2ba00625..00000000000
287 --- a/net-dialup/ueagle4-atm/ueagle4-atm-1.0.ebuild
288 +++ /dev/null
289 @@ -1,56 +0,0 @@
290 -# Copyright 1999-2017 Gentoo Foundation
291 -# Distributed under the terms of the GNU General Public License v2
292 -
293 -EAPI=6
294 -
295 -inherit eutils linux-info
296 -
297 -DESCRIPTION="Firmware and configuration instructions for Eagle USB E4 ADSL Modem driver"
298 -HOMEPAGE="https://gna.org/projects/ueagleatm/"
299 -SRC_URI="http://eagle-usb.org/ueagle-atm/non-free/ueagle4-data-${PV}.tar.gz"
300 -
301 -LICENSE="Ikanos"
302 -SLOT="0"
303 -KEYWORDS="~amd64 ~x86"
304 -
305 -DEPEND=""
306 -RDEPEND="net-dialup/ppp
307 - !sys-kernel/linux-firmware"
308 -
309 -S="${WORKDIR}/ueagle4-data-${PV}"
310 -
311 -src_install() {
312 - # Copy to the firmware directory
313 - insinto /lib/firmware/ueagle-atm
314 - doins *
315 -
316 - # Documentation necessary to complete the setup
317 - dodoc "${FILESDIR}/README"
318 -}
319 -
320 -pkg_postinst() {
321 - # Check kernel configuration
322 - local CONFIG_CHECK="~FW_LOADER ~NET ~PACKET ~ATM ~NETDEVICES ~USB_DEVICEFS ~USB_ATM ~USB_UEAGLEATM \
323 - ~PPP ~PPPOATM ~PPPOE ~ATM_BR2684"
324 - local WARNING_PPPOATM="CONFIG_PPPOATM:\t is not set (required for PPPoA links)"
325 - local WARNING_PPPOE="CONFIG_PPPOE:\t is not set (required for PPPoE links)"
326 - local WARNING_ATM_BR2684="CONFIG_ATM_BR2684:\t is not set (required for PPPoE links)"
327 - check_extra_config
328 - echo
329 -
330 - # Check user-space for PPPoA support
331 - if ! has_version net-dialup/ppp[atm] ; then
332 - ewarn "Run the following command if connecting via PPPoA protocol:"
333 - ewarn " euse -E atm && emerge net-dialup/ppp"
334 - echo
335 - fi
336 - # Check user-space for PPPoE support
337 - if ! has_version net-dialup/linux-atm ; then
338 - ewarn "Run the following command if connecting via PPPoE protocol:"
339 - ewarn " emerge net-dialup/linux-atm"
340 - echo
341 - fi
342 -
343 - ewarn "To complete the installation, you must read the documentation in"
344 - ewarn " ${ROOT}usr/share/doc/${PF}"
345 -}
346
347 diff --git a/profiles/package.mask b/profiles/package.mask
348 index f5e0ef34bd6..b37616d3cec 100644
349 --- a/profiles/package.mask
350 +++ b/profiles/package.mask
351 @@ -244,7 +244,6 @@ games-roguelike/mangband
352 # Nobody is taking care of them, use the ones provided by the maintained
353 # sys-kernel/linux-firmware package (#661884). Removal in a month.
354 net-dialup/ueagle-atm
355 -net-dialup/ueagle4-atm
356
357 # Pacho Ramos <pacho@g.o> (11 Nov 2018)
358 # Fails to build (#662000), not compatible with kernel-4, use kernel driver rtsx_pci