diff options
author | Bernard Cafarelli <voyageur@gentoo.org> | 2010-04-07 21:27:33 +0000 |
---|---|---|
committer | Bernard Cafarelli <voyageur@gentoo.org> | 2010-04-07 21:27:33 +0000 |
commit | 44c6d7a4e948f6c1163f3907be175ad243df5246 (patch) | |
tree | aa0382accde70eaec235c6225c27f633ff859e45 /app-misc/razertool | |
parent | Drop accessibility requirement on qt. Per bug #309677 (diff) | |
download | gentoo-2-44c6d7a4e948f6c1163f3907be175ad243df5246.tar.gz gentoo-2-44c6d7a4e948f6c1163f3907be175ad243df5246.tar.bz2 gentoo-2-44c6d7a4e948f6c1163f3907be175ad243df5246.zip |
plugdev is created by hal, use usb group by default instead
(Portage version: 2.2_rc67/cvs/Linux x86_64)
Diffstat (limited to 'app-misc/razertool')
-rw-r--r-- | app-misc/razertool/ChangeLog | 8 | ||||
-rw-r--r-- | app-misc/razertool/razertool-0.0.7-r3.ebuild (renamed from app-misc/razertool/razertool-0.0.7-r2.ebuild) | 11 |
2 files changed, 15 insertions, 4 deletions
diff --git a/app-misc/razertool/ChangeLog b/app-misc/razertool/ChangeLog index 76dd4ad36975..95fccb62b521 100644 --- a/app-misc/razertool/ChangeLog +++ b/app-misc/razertool/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for app-misc/razertool # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-misc/razertool/ChangeLog,v 1.6 2010/04/06 21:05:58 voyageur Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-misc/razertool/ChangeLog,v 1.7 2010/04/07 21:27:33 voyageur Exp $ + +*razertool-0.0.7-r3 (07 Apr 2010) + + 07 Apr 2010; Bernard Cafarelli <voyageur@gentoo.org> + -razertool-0.0.7-r2.ebuild, +razertool-0.0.7-r3.ebuild: + plugdev is created by hal, use usb group by default instead *razertool-0.0.7-r2 (06 Apr 2010) diff --git a/app-misc/razertool/razertool-0.0.7-r2.ebuild b/app-misc/razertool/razertool-0.0.7-r3.ebuild index c0c432ac2992..78265e221acb 100644 --- a/app-misc/razertool/razertool-0.0.7-r2.ebuild +++ b/app-misc/razertool/razertool-0.0.7-r3.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2010 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-misc/razertool/razertool-0.0.7-r2.ebuild,v 1.1 2010/04/06 21:05:58 voyageur Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-misc/razertool/razertool-0.0.7-r3.ebuild,v 1.1 2010/04/07 21:27:33 voyageur Exp $ EAPI=2 inherit eutils @@ -26,6 +26,11 @@ src_prepare() { sed -i razertool.rules.example \ -e 's:ACTION=="add", ::;s:BUS=:SUBSYSTEMS=:;s:SYSFS{:ATTRS{:g' \ || die "sed razertool.rules.example action failed" + + # plugdev group may not exist (created by hal), default to usb + sed -i razertool.rules.example \ + -e 's:plugdev:usb:' \ + || die "sed razertool.rules.example plugdev failed" } src_configure() { @@ -50,8 +55,8 @@ pkg_postinst() { elog "Razer Copperhead mice need firmware version 6.20 or higher" elog "to work properly. Running ${PN} on mice with older firmwares" elog "might lead to random USB-disconnects." - elog "To run as non-root, add yourself to the plugdev group:" - elog " gpasswd -a <user> plugdev" + elog "To run as non-root, add yourself to the usb group:" + elog " gpasswd -a <user> usb" elog "or adapt permissions/owner/group in:" elog " /etc/udev/rules.d/90-razertool.rules" elog "Then unplug and plug in the mouse." |