summaryrefslogtreecommitdiff
path: root/sys-fs
diff options
context:
space:
mode:
authorSamuli Suominen <ssuominen@gentoo.org>2012-12-03 02:23:12 +0000
committerSamuli Suominen <ssuominen@gentoo.org>2012-12-03 02:23:12 +0000
commit6985a2b3cc86b3496a441ab2d5f017430e4f9807 (patch)
tree6f119d10fb61d4ab1171b6ed2269f672c76971be /sys-fs
parentold (diff)
downloadgentoo-2-6985a2b3cc86b3496a441ab2d5f017430e4f9807.tar.gz
gentoo-2-6985a2b3cc86b3496a441ab2d5f017430e4f9807.tar.bz2
gentoo-2-6985a2b3cc86b3496a441ab2d5f017430e4f9807.zip
Use virtual/udev instead of sys-fs/udev wrt #444398
(Portage version: 2.2.0_alpha144/cvs/Linux x86_64, signed Manifest commit with key 4868F14D)
Diffstat (limited to 'sys-fs')
-rw-r--r--sys-fs/vhba/ChangeLog6
-rw-r--r--sys-fs/vhba/vhba-20110915.ebuild10
-rw-r--r--sys-fs/vhba/vhba-20120422-r1.ebuild11
3 files changed, 15 insertions, 12 deletions
diff --git a/sys-fs/vhba/ChangeLog b/sys-fs/vhba/ChangeLog
index 691f92e405a5..f32f0088721a 100644
--- a/sys-fs/vhba/ChangeLog
+++ b/sys-fs/vhba/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for sys-fs/vhba
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-fs/vhba/ChangeLog,v 1.42 2012/12/03 02:18:44 ssuominen Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-fs/vhba/ChangeLog,v 1.43 2012/12/03 02:23:12 ssuominen Exp $
+
+ 03 Dec 2012; Samuli Suominen <ssuominen@gentoo.org> vhba-20110915.ebuild,
+ vhba-20120422-r1.ebuild:
+ Use virtual/udev instead of sys-fs/udev wrt #444398
03 Dec 2012; Samuli Suominen <ssuominen@gentoo.org> -vhba-20120422.ebuild:
old
diff --git a/sys-fs/vhba/vhba-20110915.ebuild b/sys-fs/vhba/vhba-20110915.ebuild
index 68cd2f3306c0..c0a0fc91eb56 100644
--- a/sys-fs/vhba/vhba-20110915.ebuild
+++ b/sys-fs/vhba/vhba-20110915.ebuild
@@ -1,10 +1,10 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-fs/vhba/vhba-20110915.ebuild,v 1.9 2012/08/05 10:49:31 jer Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-fs/vhba/vhba-20110915.ebuild,v 1.10 2012/12/03 02:23:12 ssuominen Exp $
EAPI="4"
-inherit eutils linux-mod user
+inherit eutils linux-mod user udev
MY_P=vhba-module-${PV}
DESCRIPTION="Virtual (SCSI) Host Bus Adapter kernel module for the CDEmu suite"
@@ -16,7 +16,7 @@ SLOT="0"
KEYWORDS="amd64 ~hppa x86"
IUSE=""
-RDEPEND=">=sys-fs/udev-125"
+RDEPEND="virtual/udev"
DEPEND=""
S=${WORKDIR}/${MY_P}
@@ -46,8 +46,8 @@ src_install() {
linux-mod_src_install
einfo "Generating udev rules ..."
- dodir /lib/udev/rules.d/
- cat > "${D}"/lib/udev/rules.d/70-vhba.rules <<-EOF || die
+ dodir "$(udev_get_udevdir)"/rules.d
+ cat > "${D}/$(udev_get_udevdir)"/rules.d/70-vhba.rules <<-EOF || die
# do not edit this file, it will be overwritten on update
#
KERNEL=="vhba_ctl", MODE="0660", OWNER="root", GROUP="cdemu"
diff --git a/sys-fs/vhba/vhba-20120422-r1.ebuild b/sys-fs/vhba/vhba-20120422-r1.ebuild
index 711c55780caa..80bf0798d5c3 100644
--- a/sys-fs/vhba/vhba-20120422-r1.ebuild
+++ b/sys-fs/vhba/vhba-20120422-r1.ebuild
@@ -1,10 +1,10 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-fs/vhba/vhba-20120422-r1.ebuild,v 1.3 2012/11/21 10:12:55 ago Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-fs/vhba/vhba-20120422-r1.ebuild,v 1.4 2012/12/03 02:23:12 ssuominen Exp $
EAPI="4"
-inherit linux-mod user
+inherit linux-mod user udev
MY_P=vhba-module-${PV}
DESCRIPTION="Virtual (SCSI) Host Bus Adapter kernel module for the CDEmu suite"
@@ -16,7 +16,7 @@ SLOT="0"
KEYWORDS="amd64 ~hppa x86"
IUSE=""
-RDEPEND=">=sys-fs/udev-125"
+RDEPEND="virtual/udev"
DEPEND="${RDEPEND}
virtual/pkgconfig"
@@ -45,9 +45,8 @@ src_install() {
linux-mod_src_install
einfo "Generating udev rules ..."
- local udevdir="$($(tc-getPKG_CONFIG) --variable=udevdir udev)"
- dodir "${udevdir}"/rules.d
- cat > "${D}/${udevdir}"/rules.d/70-vhba.rules <<-EOF || die
+ dodir "$(udev_get_udevdir)"/rules.d
+ cat > "${D}/$(udev_get_udevdir)"/rules.d/70-vhba.rules <<-EOF || die
# do not edit this file, it will be overwritten on update
#
KERNEL=="vhba_ctl", MODE="0660", OWNER="root", GROUP="cdemu"