Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 82540 Details for
Bug 110665
speedtouch ebuild to deprecate modem_run
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
speedtouch-usb-3.0.1.2.ebuild.diff
spdiff.diff (text/plain), 3.78 KB, created by
Paul Bredbury
on 2006-03-19 05:34:14 UTC
(
hide
)
Description:
speedtouch-usb-3.0.1.2.ebuild.diff
Filename:
MIME Type:
Creator:
Paul Bredbury
Created:
2006-03-19 05:34:14 UTC
Size:
3.78 KB
patch
obsolete
>--- speedtouch-usb-3.0.1.2.ebuild-old 2006-03-19 09:24:58.000000000 +0000 >+++ speedtouch-usb-3.0.1.2.ebuild 2006-03-19 13:21:31.000000000 +0000 >@@ -12,16 +12,10 @@ > LICENSE="SpeedTouch-USB-Firmware" > SLOT="0" > KEYWORDS="~x86" >-IUSE="" >- >-# udev replaces hotplug, as mentioned at >-# http://www.linux-usb.org/SpeedTouch/firmware/firmware.html >-# hotplug only needs to be *installed*, to create /etc/hotplug/usb/ - it does >-# not need to be running. >+IUSE="atm" > > RDEPEND=">=net-dialup/ppp-2.4.3-r11 >- >=sys-apps/hotplug-20040923-r1 >- >=sys-fs/udev-079-r1 >+ >=sys-fs/udev-086 > !net-dialup/speedtouch" > DEPEND="${RDEPEND} > app-arch/unzip" >@@ -38,8 +32,8 @@ > fi > > if ! has_version '>=sys-apps/baselayout-1.12.0_pre16' ; then >- ewarn "The best way of using speedtouch driver is through pppd net module of the" >- ewarn ">=sys-apps/baselayout-1.12.0_pre16 package, which is also the only" >+ ewarn "The best way of using this driver is through the pppd net module of" >+ ewarn ">=sys-apps/baselayout-1.12.0_pre16, which is also the only" > ewarn "documented mode of using ${CATEGORY}/${PN}." > ewarn "Please install baselayout-1.12.0_pre16 or else you will be on your own!" > ebeep >@@ -83,42 +77,46 @@ > ln -sfn speedtch-${stub}${n}.bin.4 speedtch-${n}.bin.3 > done > >- insinto /etc/hotplug/usb >- insopts -m 644 >- doins "${FILESDIR}/speedtch.usermap" || die "doins usermap failed" >- >- # The documentation necessary to complete the setup >+ # Documentation necessary to complete the setup > dodoc "${FILESDIR}/README" || die "dodoc failed" > } > > pkg_postinst() { >- [[ -e /etc/hotplug/usb.usermap ]] && egrep -q " 0x06[bB]9 +0x4061 " /etc/hotplug/usb.usermap && \ >+ local kernel_modules >+ >+ [[ -e /etc/hotplug/usb.usermap ]] && egrep -q " 0x06[bB]9 +0x4061 " \ >+ /etc/hotplug/usb.usermap && \ > ewarn "Please remove the SpeedTouch line from /etc/hotplug/usb.usermap" > >- #Check kernel configuration >+ # Check kernel configuration >+ if use atm ; then >+ kernel_modules="~PPPOATM" >+ else >+ kernel_modules="~PPPOE ~ATM_BR2684" >+ fi > CONFIG_CHECK="~FW_LOADER ~NET ~PACKET ~ATM ~NETDEVICES \ >- ~PPP ~PPPOATM ~ATM_BR2684 ~USB_DEVICEFS ~USB_ATM ~USB_SPEEDTOUCH" >+ ~PPP ${kernel_modules} ~USB_DEVICEFS ~USB_ATM ~USB_SPEEDTOUCH" > check_extra_config >- einfo "Note: All the above kernel configurations are required except the following:" >- einfo " - CONFIG_ATM_BR2684 is needed only for PPPoE links, while" >- einfo " - CONFIG_PPPOATM is needed only for PPPoA links." >- echo >- >- # Check user space for PPPoA support >- if ! built_with_use net-dialup/ppp atm ; then >- eerror "PPPoA support: net-dialup/ppp should be built with 'atm' USE flag enabled!" >- ewarn "Run the following command if you need PPPoA support:" >- einfo " euse -E atm && emerge net-dialup/ppp" >- echo >- fi >- # Check user space PPPoE support >- if ! has_version net-misc/br2684ctl ; then >- eerror "PPPoE support: net-misc/br2684ctl is not installed!" >- ewarn "Run the following command if you need PPPoE support:" >- einfo " emerge net-misc/br2684ctl" >- echo >+ >+ if use atm ; then >+ # Check for PPPoA support >+ if ! built_with_use net-dialup/ppp atm ; then >+ eerror "PPPoA support: net-dialup/ppp should be built with 'atm' USE flag enabled!" >+ eerror "Run the following command if you need PPPoA support:" >+ eerror " euse -E atm && emerge net-dialup/ppp" >+ echo >+ fi >+ else >+ # Check for PPPoE support >+ einfo "Defaulting to PPPoE - the 'atm' USE flag is not enabled" >+ if ! has_version net-misc/br2684ctl ; then >+ eerror "PPPoE support: net-misc/br2684ctl is not installed!" >+ eerror "Run the following command if you need PPPoE support:" >+ eerror " emerge net-misc/br2684ctl" >+ echo >+ fi > fi > > ewarn "To complete the installation, you must read the documentation available in" >- ewarn " ${ROOT}usr/share/doc/${PF}" >+ ewarn " ${ROOT}usr/share/doc/${PF}" > }
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 110665
:
71602
|
71603
|
71604
|
71605
|
71606
|
71607
|
71608
|
71609
|
71610
|
71755
|
71756
|
72142
|
72368
|
73449
|
75860
|
79207
|
80819
|
80820
|
80882
|
80910
| 82540 |
82541