summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIan Stakenvicius <axs@gentoo.org>2012-12-11 19:19:44 +0000
committerIan Stakenvicius <axs@gentoo.org>2012-12-11 19:19:44 +0000
commit3e39ac36084642c8de3245b7bc78a18276d3eab7 (patch)
treee44d41e65f5c937ed3a8de00321a2309d653b77f /sys-infiniband
parentadjusted the dep for virtual/udev (diff)
downloadgentoo-2-3e39ac36084642c8de3245b7bc78a18276d3eab7.tar.gz
gentoo-2-3e39ac36084642c8de3245b7bc78a18276d3eab7.tar.bz2
gentoo-2-3e39ac36084642c8de3245b7bc78a18276d3eab7.zip
install udev rules using udev.eclass to support virtual/udev
(Portage version: 2.1.11.33/cvs/Linux x86_64, signed Manifest commit with key 2B6559ED)
Diffstat (limited to 'sys-infiniband')
-rw-r--r--sys-infiniband/ofed/ChangeLog6
-rw-r--r--sys-infiniband/ofed/ofed-1.5.4.1-r1.ebuild9
-rw-r--r--sys-infiniband/ofed/ofed-3.5.ebuild9
3 files changed, 11 insertions, 13 deletions
diff --git a/sys-infiniband/ofed/ChangeLog b/sys-infiniband/ofed/ChangeLog
index 6397bb7cb301..571d9bd92bd9 100644
--- a/sys-infiniband/ofed/ChangeLog
+++ b/sys-infiniband/ofed/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for sys-infiniband/ofed
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-infiniband/ofed/ChangeLog,v 1.7 2012/10/13 06:48:21 alexxy Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-infiniband/ofed/ChangeLog,v 1.8 2012/12/11 19:19:44 axs Exp $
+
+ 11 Dec 2012; Ian Stakenvicius <axs@gentoo.org> ofed-1.5.4.1-r1.ebuild,
+ ofed-3.5.ebuild:
+ install udev rules using udev.eclass to support virtual/udev
13 Oct 2012; Alexey Shvetsov <alexxy@gentoo.org> ofed-3.5.ebuild:
[sys-infiniband] Update OFED
diff --git a/sys-infiniband/ofed/ofed-1.5.4.1-r1.ebuild b/sys-infiniband/ofed/ofed-1.5.4.1-r1.ebuild
index e4aa4979da7e..d0c85a532cd5 100644
--- a/sys-infiniband/ofed/ofed-1.5.4.1-r1.ebuild
+++ b/sys-infiniband/ofed/ofed-1.5.4.1-r1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-infiniband/ofed/ofed-1.5.4.1-r1.ebuild,v 1.1 2012/08/11 12:51:47 ssuominen Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-infiniband/ofed/ofed-1.5.4.1-r1.ebuild,v 1.2 2012/12/11 19:19:44 axs Exp $
EAPI="4"
@@ -17,7 +17,7 @@ IUSE_OFED_DRIVERS="
ofed_drivers_nes
ofed_drivers_psm"
-inherit openib toolchain-funcs
+inherit openib udev toolchain-funcs
DESCRIPTION="OpenIB system files"
SCRIPTDIR="${S}/ofed_scripts"
@@ -56,10 +56,7 @@ src_configure() { :; }
src_compile() { :; }
src_install() {
- local udevdir=/lib/udev
- has_version sys-fs/udev && udevdir="$($(tc-getPKG_CONFIG) --variable=udevdir udev)"
- insinto "${udevdir}"/rules.d
- newins "${SCRIPTDIR}/90-ib.rules" 40-ib.rules
+ udev_newrules "${SCRIPTDIR}/90-ib.rules" 40-ib.rules
insinto /etc/modprobe.d
newins "${FILESDIR}/openib.modprobe" openib.conf
newenvd "${FILESDIR}/openib.env" 02openib
diff --git a/sys-infiniband/ofed/ofed-3.5.ebuild b/sys-infiniband/ofed/ofed-3.5.ebuild
index 7335e88ecfac..eb4d22372962 100644
--- a/sys-infiniband/ofed/ofed-3.5.ebuild
+++ b/sys-infiniband/ofed/ofed-3.5.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-infiniband/ofed/ofed-3.5.ebuild,v 1.2 2012/10/13 06:48:21 alexxy Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-infiniband/ofed/ofed-3.5.ebuild,v 1.3 2012/12/11 19:19:44 axs Exp $
EAPI="4"
@@ -19,7 +19,7 @@ IUSE_OFED_DRIVERS="
ofed_drivers_nes
ofed_drivers_psm"
-inherit openib toolchain-funcs
+inherit openib udev toolchain-funcs
DESCRIPTION="OpenIB system files"
SCRIPTDIR="${S}/ofed_scripts"
@@ -57,10 +57,7 @@ src_configure() { :; }
src_compile() { :; }
src_install() {
- local udevdir=/lib/udev
- has_version sys-fs/udev && udevdir="$($(tc-getPKG_CONFIG) --variable=udevdir udev)"
- insinto "${udevdir}"/rules.d
- newins "${SCRIPTDIR}/90-ib.rules" 40-ib.rules
+ udev_newrules "${SCRIPTDIR}/90-ib.rules" 40-ib.rules
insinto /etc/modprobe.d
newins "${FILESDIR}/openib.modprobe" openib.conf
newenvd "${FILESDIR}/openib.env" 02openib