Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 29623 Details for
Bug 47947
slmodem-2.9.9 (was slmodem-2.9.6 half-ebuild)
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
updated slmodem ebuild
slmodem-2.9.6.ebuild (text/plain), 2.33 KB, created by
Simon Cooper
on 2004-04-19 08:51:59 UTC
(
hide
)
Description:
updated slmodem ebuild
Filename:
MIME Type:
Creator:
Simon Cooper
Created:
2004-04-19 08:51:59 UTC
Size:
2.33 KB
patch
obsolete
># Lots of comments, explains whats going on ># Most of the kernel stuff is ripped from other ebuilds, and I don't really know ># what is needed or if I've put too many function calls in > ># atm using the alsa driver steals the sound card, no other program can use it ># cat /dev/urandom > /dev/dsp doesnt even work > >inherit kernel-mod > >DESCRIPTION="Driver for Smart Link modems" >HOMEPAGE="http://www.smlink.com/" >SRC_URI="ftp://ftp.smlink.com/linux/unsupported/${P}.tar.gz" >LICENSE="Smart-Link" >SLOT="0" >KEYWORDS="~x86" # Beta drivers >IUSE="alsa" >RDEPEND="virtual/glibc" > >src_unpack() { > check_KV > kernel-mod_getversion > unpack ${A} >} > >src_compile() { > unset ARCH > if [ -n "`use alsa`" ] > then > emake SUPPORT_ALSA=1 || die 'Alsa support failed, try USE="-alsa"' > else > emake || die > fi >} > >src_install() { > # I could use 'make DESTDIR=${D} install' but I dont know if it then needs the dodoc/doexe stuff > # Could someone please check this, does this conform with 'official' policy? > # This works, however > dodoc README* COPYING Changes > > exeinto /usr/sbin > doexe ${S}/modem/slmodemd > > # Kernel modules > insinto /lib/modules/${KV}/extra > if [ ${KV_MINOR} -gt 4 ] > then > KV_OBJ="ko" > else > KV_OBJ="o" > fi > doins ${S}/drivers/slamr.${KV_OBJ} > doins ${S}/drivers/slusb.${KV_OBJ} > > # slmodemd needs /var/lib/slmodem/, the slocate ebuild uses a .keep file but the gentoo docs > # were very against gratuiously putting .keep files in, so pls confirm this > > # need to handle /dev/{slamr,slusb} (majors 212 & 213) /w devfs & udev > # On my config (udev) the nodes arent created by modprobing slusb (slamr has unknown symbols) > # so they need to be created manually. How do you normally handle this? > > # Install /etc/modules.d/slmodem > insinto /etc/modules.d > newins ${FILESDIR}/${PN}-2.9.modules ${PN} > > # Init scripts > exeinto /etc/init.d > doexe ${FILESDIR}/slmodemd > insinto /etc/conf.d > newins ${FILESDIR}/slmodemd.conf slmodemd >} > >pkg_postinst() { > einfo "If you use the snd-intel8x0 alsa module, and have the modem" > einfo "built into the onboard chip, you can use the snd-intel8x0m" > einfo "module instead of slamr/slusb." > einfo > einfo "Please edit /etc/conf.d/slmodem" > einfo > einfo "/etc/init.d/slmodemd will create /dev/ttySL0 symlink" > einfo "this is the device you should use to dial out on" > einfo > einfo "NOTE: wvdial needs 'Carrier Check = no' in wvdial.conf" > modules-update >}
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 47947
:
29356
|
29623
|
29625
|
29738
|
29739
|
29740
|
29741
|
29742
|
29743
|
32292
|
32293
|
32775
|
32916
|
32917
|
33400
|
33431
|
33432
|
33468
|
33470
|
33516