Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 158365

Summary: app-vim/udev-syntax-20051016 does not detect udev-rule files of newer udev
Product: Gentoo Linux Reporter: Matthias Schwarzott <zzam>
Component: New packagesAssignee: Vim Maintainers <vim>
Status: RESOLVED FIXED    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: Modifiy detect-routine to work on newer udev-filenames
Ebuild-Changes

Description Matthias Schwarzott gentoo-dev 2006-12-17 05:44:35 UTC
app-vim/udev-syntax-20051016 is not able to automatically switch vim to mode for udev-rules files, it seems to have the old name of the rules-file hardcoded.
Comment 1 Matthias Schwarzott gentoo-dev 2006-12-17 06:08:01 UTC
The filename is no longer udev.rules, but /etc/udev/rules.d/*.rules

Perhaps one can match "udev/rules.d"
Comment 2 Matthias Schwarzott gentoo-dev 2007-01-10 15:25:29 UTC
Created attachment 106376 [details, diff]
Modifiy detect-routine to work on newer udev-filenames

This patch changes detection to test for existance of udev/rules.d inside the path.
Comment 3 Matthias Schwarzott gentoo-dev 2007-01-10 15:26:13 UTC
Created attachment 106378 [details, diff]
Ebuild-Changes
Comment 4 Mike Kelly (RETIRED) gentoo-dev 2007-01-11 04:09:53 UTC
Fixed in CVS. Thanks for the report and the patch.