From: | "Alexey Shvetsov (alexxy)" <alexxy@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in sys-infiniband/opensm: metadata.xml ChangeLog opensm-3.3.9.ebuild |
Date: | Thu, 30 Jun 2011 22:05:04 |
Message-Id: | 20110630220454.D6AE420054@flycatcher.gentoo.org |
1 | alexxy 11/06/30 22:04:54 |
2 | |
3 | Added: metadata.xml ChangeLog opensm-3.3.9.ebuild |
4 | Log: |
5 | [sys-infiniband/opensm] Initial import to tree |
6 | |
7 | (Portage version: 2.2.0_alpha41/cvs/Linux x86_64) |
8 | |
9 | Revision Changes Path |
10 | 1.1 sys-infiniband/opensm/metadata.xml |
11 | |
12 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-infiniband/opensm/metadata.xml?rev=1.1&view=markup |
13 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-infiniband/opensm/metadata.xml?rev=1.1&content-type=text/plain |
14 | |
15 | Index: metadata.xml |
16 | =================================================================== |
17 | <?xml version="1.0" encoding="UTF-8"?> |
18 | <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
19 | <pkgmetadata> |
20 | <herd>cluster</herd> |
21 | <longdescription> |
22 | OpenSM provides an implementation for an InfiniBand Subnet Manager and |
23 | Administrator. Such a software entity is required to run for in order to |
24 | initialize the InfiniBand hardware (at least one per each InfiniBand subnet). |
25 | </longdescription> |
26 | </pkgmetadata> |
27 | |
28 | |
29 | |
30 | 1.1 sys-infiniband/opensm/ChangeLog |
31 | |
32 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-infiniband/opensm/ChangeLog?rev=1.1&view=markup |
33 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-infiniband/opensm/ChangeLog?rev=1.1&content-type=text/plain |
34 | |
35 | Index: ChangeLog |
36 | =================================================================== |
37 | # ChangeLog for sys-infiniband/opensm |
38 | # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 |
39 | # $Header: /var/cvsroot/gentoo-x86/sys-infiniband/opensm/ChangeLog,v 1.1 2011/06/30 22:04:54 alexxy Exp $ |
40 | |
41 | *opensm-3.3.9 (30 Jun 2011) |
42 | |
43 | 30 Jun 2011; Alexey Shvetsov <alexxy@g.o> +opensm-3.3.9.ebuild, |
44 | +files/opensm.init.d, +metadata.xml: |
45 | Initial import to tree |
46 | |
47 | |
48 | |
49 | |
50 | 1.1 sys-infiniband/opensm/opensm-3.3.9.ebuild |
51 | |
52 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-infiniband/opensm/opensm-3.3.9.ebuild?rev=1.1&view=markup |
53 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-infiniband/opensm/opensm-3.3.9.ebuild?rev=1.1&content-type=text/plain |
54 | |
55 | Index: opensm-3.3.9.ebuild |
56 | =================================================================== |
57 | # Copyright 1999-2011 Gentoo Foundation |
58 | # Distributed under the terms of the GNU General Public License v2 |
59 | # $Header: /var/cvsroot/gentoo-x86/sys-infiniband/opensm/opensm-3.3.9.ebuild,v 1.1 2011/06/30 22:04:54 alexxy Exp $ |
60 | |
61 | EAPI="4" |
62 | |
63 | OFED_VER="1.5.3.1" |
64 | OFED_SUFFIX="1" |
65 | |
66 | inherit openib |
67 | |
68 | DESCRIPTION="OpenSM - InfiniBand Subnet Manager and Administration for OpenIB" |
69 | KEYWORDS="~amd64 ~x86" |
70 | IUSE="" |
71 | |
72 | DEPEND=" |
73 | >=sys-infiniband/libibmad-1.3.7 |
74 | >=sys-infiniband/libibumad-1.3.7" |
75 | RDEPEND="$DEPEND |
76 | sys-infiniband/openib-files |
77 | net-misc/iputils" |
78 | |
79 | src_configure() { |
80 | econf \ |
81 | --enable-perf-mgr \ |
82 | --enable-default-event-plugin \ |
83 | --with-osmv="openib" |
84 | } |
85 | |
86 | src_install() { |
87 | default |
88 | newconfd "${S}/scripts/opensm.sysconfig" opensm |
89 | newinitd "${FILESDIR}/opensm.init.d" opensm |
90 | insinto /etc/logrotate.d |
91 | newins "${S}/scripts/opensm.logrotate" opensm |
92 | # we dont nee this int script |
93 | rm "${D}/etc/init.d/opensmd" || die "Dropping of upstream initscript failed" |
94 | } |
95 | |
96 | pkg_postinst() { |
97 | einfo "To automatically configure the infiniband subnet manager on boot," |
98 | einfo "edit /etc/opensm.conf and add opensm to your start-up scripts:" |
99 | einfo "\`rc-update add opensm default\`" |
100 | } |