Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 223125 Details for
Bug 300047
net-dialup/ltmodem does not compile
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
ltmodem-20090420.ebuild
ltmodem-20090420.ebuild (text/plain), 2.22 KB, created by
Roger
on 2010-03-11 10:01:15 UTC
(
hide
)
Description:
ltmodem-20090420.ebuild
Filename:
MIME Type:
Creator:
Roger
Created:
2010-03-11 10:01:15 UTC
Size:
2.22 KB
patch
obsolete
># Copyright 1999-2010 Gentoo Foundation ># Distributed under the terms of the GNU General Public License v2 ># $Header: $ > >inherit linux-mod eutils > >DESCRIPTION="Winmodems with Lucent Apollo (ISA) and Mars (PCI) chipsets" >HOMEPAGE="http://linmodems.technion.ac.il/" >SRC_URI="http://linmodems.technion.ac.il/packages/ltmodem/kernel-2.6/${P}.tar.gz" > >LICENSE="GPL-2 AgereSystems-WinModem" >KEYWORDS="-* ~x86" >IUSE="" > >RESTRICT="userpriv" > >DEPEND="" >RDEPEND="" > >S=${WORKDIR}/${PN} > >MODULE_NAMES="ltmodem(ltmodem:) ungrab-serial(ltmodem:) v8250(ltmodem:)" >MODULESD_LTMODEM_ALIASES=( > "char-major-62 v8250" > "/dev/tts/LT0 v8250" > "/dev/modem v8250" >) >CONFIG_CHECK="SERIAL_8250" >SERIAL_8250_ERROR="This driver requires you to compile your kernel with serial core (CONFIG_SERIAL_8250) support." > >pkg_setup() { > linux-mod_pkg_setup > > if kernel_is 2 4; then > eerror "This driver works only with 2.6 kernels!" > die "unsupported kernel detected" > fi > > BUILD_TARGETS="modules" > BUILD_PARAMS="KERNEL_DIR='${KV_DIR}'" >} > >src_unpack() { > unpack ${A} > > epatch "${FILESDIR}"/${P}.patch > > if kernel_is ge 2 6 32; then > epatch "${FILESDIR}"/ltmodem-20090420-kernel-2.6.32.patch > fi >} > > >src_install() { > # Add configuration for udev > insinto /etc/udev/rules.d/; newins "${FILESDIR}/ltmodem_udev" 55-ltmodem.rules > > # install kernel module > linux-mod_src_install >} > >pkg_postinst() { > linux-mod_pkg_postinst > > if [ "$ROOT" = "/" ]; then > /sbin/update-modules > fi > > # Make some devices if we aren't using udev > if [ -e "${ROOT}/dev/.udev" ]; then > ebegin "Restarting udev to reread udev rules" > udevadm control --reload-rules > eend $? > else > mknod --mode=0660 /dev/ttySLTM0 c 62 64 && chgrp dialout /dev/ttySLTM0 > fi > elog "Use /dev/ttySLTM0 to access modem" > > echo > ewarn "Remember, in order to access the modem," > ewarn "you have to be in the 'dialout' group." > ewarn "Also, if your dialing application use locking mechanism (e.g wvdial)," > ewarn "you should have write access to /var/lock directory." > > if linux_chkconfig_present SMP ; then > ewarn > ewarn "Please note that Linux support for SMP (symmetric multi processor)" > ewarn "is reported to be incompatible with this driver!" > ewarn "In case it doesn't work, you should try first to disable CONFIG_SMP in your kernel." > fi >}
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 Raw
Actions:
View
Attachments on
bug 300047
:
215669
|
215805
|
215806
|
215809
|
215898
|
223093
|
223095
| 223125