Bug 144841 - net-dialup/slmodem-2.9.11_pre20051101 wrong udev rule
Bug#: 144841 Product:  Gentoo Linux Version: 2006.0 Platform: All
OS/Version: Linux Status: RESOLVED Severity: normal Priority: P2
Resolution: FIXED Assigned To: net-dialup@gentoo.org Reported By: kaz.rag@gmail.com
Component: Ebuilds
URL: 
Summary: net-dialup/slmodem-2.9.11_pre20051101 wrong udev rule
Keywords:  
Status Whiteboard: 
Opened: 2006-08-23 04:20 0000
Description:   Opened: 2006-08-23 04:20 0000
Hi,
I think the udev rules to slmodem need to be corrected, this is the patch (it
is so simple (= -> ==) so I don't put it attached)

--- slmodem-2.9.11_pre20051101.ebuild.origin    2006-08-23 08:17:41.000000000
-0300
+++ slmodem-2.9.11_pre20051101.ebuild   2006-08-23 08:19:13.000000000 -0300
@@ -100,9 +100,9 @@
                insinto /etc/devfs.d/; newins "${FILESDIR}/${PN}-2.9.devfs"
${PN}
        elif [ -e "${ROOT}/dev/.udev" ] ; then
                dodir /etc/udev/rules.d/
-               echo 'KERNEL="slamr", NAME="slamr0" GROUP="dialout"' > \
+               echo 'KERNEL=="slamr", NAME="slamr0" GROUP="dialout"' > \
                         "${D}/etc/udev/rules.d/55-${PN}.rules"
-               echo 'KERNEL="slusb", NAME="slusb0" GROUP="dialout"' >> \
+               echo 'KERNEL=="slusb", NAME="slusb0" GROUP="dialout"' >> \
                         "${D}/etc/udev/rules.d/55-${PN}.rules"
        fi

------- Comment #1 From Emiliano Vavassori 2006-08-27 03:10:24 0000 -------
Same here. Fix works.

------- Comment #2 From Colin Macdonald 2006-08-28 15:12:27 0000 -------
A similar fix is needed for ltmodem.

------- Comment #3 From Alin Năstac 2006-09-09 08:28:40 0000 -------
Corrected in slmodem-2.9.11_pre20051101-r1.