Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 533676 | Differences between
and this patch

Collapse All | Expand All

(-)opensm-3.3.17.ebuild.orig (-2 / +12 lines)
Lines 13-29 Link Here
13
13
14
DESCRIPTION="OpenSM - InfiniBand Subnet Manager and Administration for OpenIB"
14
DESCRIPTION="OpenSM - InfiniBand Subnet Manager and Administration for OpenIB"
15
KEYWORDS="~amd64 ~x86 ~amd64-linux"
15
KEYWORDS="~amd64 ~x86 ~amd64-linux"
16
IUSE=""
16
IUSE="tools"
17
17
18
DEPEND="
18
DEPEND="
19
	sys-infiniband/libibmad:${SLOT}
19
	sys-infiniband/libibmad:${SLOT}
20
	sys-infiniband/libibumad:${SLOT}"
20
	sys-infiniband/libibumad:${SLOT}"
21
RDEPEND="$DEPEND
21
RDEPEND="$DEPEND
22
	 net-misc/iputils"
22
	 tools? ( 
23
		net-misc/iputils
24
		net-misc/openssh
25
	)"
23
block_other_ofed_versions
26
block_other_ofed_versions
24
27
25
src_prepare() {
28
src_prepare() {
26
	epatch "${FILESDIR}/${P}-norpm.patch"
29
	epatch "${FILESDIR}/${P}-norpm.patch"
30
	epatch "${FILESDIR}/${P}-sldd.patch"
27
	eautoreconf
31
	eautoreconf
28
}
32
}
29
33
Lines 42-47 Link Here
42
	newins "${S}/scripts/opensm.logrotate" opensm
46
	newins "${S}/scripts/opensm.logrotate" opensm
43
	# we dont nee this int script
47
	# we dont nee this int script
44
	rm "${ED}/etc/init.d/opensmd" || die "Dropping of upstream initscript failed"
48
	rm "${ED}/etc/init.d/opensmd" || die "Dropping of upstream initscript failed"
49
50
	if use tools; then
51
		dosbin scripts/sldd.sh
52
		newconfd "${FILESDIR}/sldd.conf.d" sldd
53
		newinitd "${FILESDIR}/sldd.init.d" sldd
54
	fi
45
}
55
}
46
56
47
pkg_postinst() {
57
pkg_postinst() {

Return to bug 533676