[gentoo-commits] repo/gentoo:master commit in: sys-fabric/opensm/

2023-07-04 Thread Sam James
commit: 82fad5551012962116d9c4a91e17f1129abf9424
Author: Sam James  gentoo  org>
AuthorDate: Tue Jul  4 22:32:33 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Jul  4 22:32:33 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=82fad555

sys-fabric/opensm: Stabilize 3.3.24-r1 x86, #909654

Signed-off-by: Sam James  gentoo.org>

 sys-fabric/opensm/opensm-3.3.24-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-fabric/opensm/opensm-3.3.24-r1.ebuild 
b/sys-fabric/opensm/opensm-3.3.24-r1.ebuild
index 50dd13bf3e46..f3e45a0d05c3 100644
--- a/sys-fabric/opensm/opensm-3.3.24-r1.ebuild
+++ b/sys-fabric/opensm/opensm-3.3.24-r1.ebuild
@@ -11,7 +11,7 @@ 
SRC_URI="https://github.com/linux-rdma/opensm/releases/download/${PV}/${P}.tar.g
 
 LICENSE="|| ( GPL-2 BSD-2 )"
 SLOT="0"
-KEYWORDS="amd64 ~x86 ~amd64-linux"
+KEYWORDS="amd64 x86 ~amd64-linux"
 IUSE="selinux tools"
 
 DEPEND="sys-cluster/rdma-core"



[gentoo-commits] repo/gentoo:master commit in: sys-fabric/opensm/

2023-07-04 Thread Sam James
commit: 62f08571bcf1ae7afa38db7974de1b4cb1cdadc4
Author: Sam James  gentoo  org>
AuthorDate: Tue Jul  4 22:14:20 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Jul  4 22:14:20 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=62f08571

sys-fabric/opensm: add github upstream metadata

Signed-off-by: Sam James  gentoo.org>

 sys-fabric/opensm/metadata.xml | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/sys-fabric/opensm/metadata.xml b/sys-fabric/opensm/metadata.xml
index d870e3623b0b..40c1097b0989 100644
--- a/sys-fabric/opensm/metadata.xml
+++ b/sys-fabric/opensm/metadata.xml
@@ -13,4 +13,7 @@

Install ssld extra tool

+   
+   linux-rdma/opensm
+   
 



[gentoo-commits] repo/gentoo:master commit in: sys-fabric/opensm/

2023-07-04 Thread Sam James
commit: 7bad4d6465b9c2c1146deea4d0c2d742ca7b5124
Author: Sam James  gentoo  org>
AuthorDate: Tue Jul  4 22:13:29 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Jul  4 22:13:29 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7bad4d64

sys-fabric/opensm: Stabilize 3.3.24-r1 amd64, #909654

Signed-off-by: Sam James  gentoo.org>

 sys-fabric/opensm/opensm-3.3.24-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-fabric/opensm/opensm-3.3.24-r1.ebuild 
b/sys-fabric/opensm/opensm-3.3.24-r1.ebuild
index 3f0563f02f42..50dd13bf3e46 100644
--- a/sys-fabric/opensm/opensm-3.3.24-r1.ebuild
+++ b/sys-fabric/opensm/opensm-3.3.24-r1.ebuild
@@ -11,7 +11,7 @@ 
SRC_URI="https://github.com/linux-rdma/opensm/releases/download/${PV}/${P}.tar.g
 
 LICENSE="|| ( GPL-2 BSD-2 )"
 SLOT="0"
-KEYWORDS="~amd64 ~x86 ~amd64-linux"
+KEYWORDS="amd64 ~x86 ~amd64-linux"
 IUSE="selinux tools"
 
 DEPEND="sys-cluster/rdma-core"



[gentoo-commits] repo/gentoo:master commit in: sys-fabric/opensm/

2023-05-11 Thread Sam James
commit: 2599786f2ae694cbc4622b6a0ee260008f40a9d6
Author: David Seifert  gentoo  org>
AuthorDate: Mon May  8 20:56:04 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Thu May 11 20:03:42 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2599786f

sys-fabric/opensm: switch to virtual/openssh

Signed-off-by: David Seifert  gentoo.org>
Signed-off-by: Sam James  gentoo.org>

 .../opensm/{opensm-3.3.23-r1.ebuild => opensm-3.3.23-r2.ebuild}   | 4 ++--
 sys-fabric/opensm/{opensm-3.3.24.ebuild => opensm-3.3.24-r1.ebuild}   | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/sys-fabric/opensm/opensm-3.3.23-r1.ebuild 
b/sys-fabric/opensm/opensm-3.3.23-r2.ebuild
similarity index 96%
rename from sys-fabric/opensm/opensm-3.3.23-r1.ebuild
rename to sys-fabric/opensm/opensm-3.3.23-r2.ebuild
index b42297aa7112..b1d5ad37ce8b 100644
--- a/sys-fabric/opensm/opensm-3.3.23-r1.ebuild
+++ b/sys-fabric/opensm/opensm-3.3.23-r2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI="7"
@@ -19,7 +19,7 @@ RDEPEND="${DEPEND}
selinux? ( sec-policy/selinux-opensm )
 tools? (
net-misc/iputils
-   net-misc/openssh
+   virtual/openssh
)"
 
 PATCHES=( "${FILESDIR}/${PN}-3.3.17-sldd.patch" )

diff --git a/sys-fabric/opensm/opensm-3.3.24.ebuild 
b/sys-fabric/opensm/opensm-3.3.24-r1.ebuild
similarity index 96%
rename from sys-fabric/opensm/opensm-3.3.24.ebuild
rename to sys-fabric/opensm/opensm-3.3.24-r1.ebuild
index b4f1a52cb72b..3f0563f02f42 100644
--- a/sys-fabric/opensm/opensm-3.3.24.ebuild
+++ b/sys-fabric/opensm/opensm-3.3.24-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -19,7 +19,7 @@ RDEPEND="${DEPEND}
selinux? ( sec-policy/selinux-opensm )
 tools? (
net-misc/iputils
-   net-misc/openssh
+   virtual/openssh
)"
 
 PATCHES=( "${FILESDIR}"/${PN}-3.3.17-sldd.patch )



[gentoo-commits] repo/gentoo:master commit in: sys-fabric/opensm/

2022-12-23 Thread Kenton Groombridge
commit: d7aef7b27eecd1df82e7a18946266605a1e965e0
Author: Kenton Groombridge  gentoo  org>
AuthorDate: Fri Dec 23 18:42:16 2022 +
Commit: Kenton Groombridge  gentoo  org>
CommitDate: Fri Dec 23 20:08:56 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d7aef7b2

sys-fabric/opensm: add USE=selinux

Signed-off-by: Kenton Groombridge  gentoo.org>

 sys-fabric/opensm/opensm-3.3.23-r1.ebuild | 5 +++--
 sys-fabric/opensm/opensm-3.3.24.ebuild| 3 ++-
 2 files changed, 5 insertions(+), 3 deletions(-)

diff --git a/sys-fabric/opensm/opensm-3.3.23-r1.ebuild 
b/sys-fabric/opensm/opensm-3.3.23-r1.ebuild
index c0302c3bd2fe..b42297aa7112 100644
--- a/sys-fabric/opensm/opensm-3.3.23-r1.ebuild
+++ b/sys-fabric/opensm/opensm-3.3.23-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI="7"
@@ -10,12 +10,13 @@ DESCRIPTION="OpenSM - InfiniBand Subnet Manager and 
Administration for OpenIB"
 
 SRC_URI="https://github.com/linux-rdma/${PN}/archive/${PV}.tar.gz -> 
${P}.tar.gz"
 KEYWORDS="amd64 x86 ~amd64-linux"
-IUSE="tools"
+IUSE="selinux tools"
 SLOT="0"
 LICENSE="|| ( GPL-2 BSD-2 )"
 
 DEPEND="sys-cluster/rdma-core"
 RDEPEND="${DEPEND}
+   selinux? ( sec-policy/selinux-opensm )
 tools? (
net-misc/iputils
net-misc/openssh

diff --git a/sys-fabric/opensm/opensm-3.3.24.ebuild 
b/sys-fabric/opensm/opensm-3.3.24.ebuild
index b80d8348a508..b4f1a52cb72b 100644
--- a/sys-fabric/opensm/opensm-3.3.24.ebuild
+++ b/sys-fabric/opensm/opensm-3.3.24.ebuild
@@ -12,10 +12,11 @@ 
SRC_URI="https://github.com/linux-rdma/opensm/releases/download/${PV}/${P}.tar.g
 LICENSE="|| ( GPL-2 BSD-2 )"
 SLOT="0"
 KEYWORDS="~amd64 ~x86 ~amd64-linux"
-IUSE="tools"
+IUSE="selinux tools"
 
 DEPEND="sys-cluster/rdma-core"
 RDEPEND="${DEPEND}
+   selinux? ( sec-policy/selinux-opensm )
 tools? (
net-misc/iputils
net-misc/openssh



[gentoo-commits] repo/gentoo:master commit in: sys-fabric/opensm/files/

2022-02-22 Thread Conrad Kostecki
commit: 3d0c8a7bd4aceec452cea74929cada5da7dae98b
Author: Michael Mair-Keimberger  levelnine  at>
AuthorDate: Fri Feb 18 18:54:20 2022 +
Commit: Conrad Kostecki  gentoo  org>
CommitDate: Tue Feb 22 18:58:42 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3d0c8a7b

sys-fabric/opensm: remove unused patch

Closes: https://github.com/gentoo/gentoo/pull/24257
Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Michael Mair-Keimberger  levelnine.at>
Signed-off-by: Conrad Kostecki  gentoo.org>

 sys-fabric/opensm/files/opensm-3.3.17-norpm.patch | 32 ---
 1 file changed, 32 deletions(-)

diff --git a/sys-fabric/opensm/files/opensm-3.3.17-norpm.patch 
b/sys-fabric/opensm/files/opensm-3.3.17-norpm.patch
deleted file mode 100644
index 1300d923eb7d..
--- a/sys-fabric/opensm/files/opensm-3.3.17-norpm.patch
+++ /dev/null
@@ -1,32 +0,0 @@
 opensm-3.3.17/configure.in.orig2014-01-30 23:13:35.0 +0400
-+++ opensm-3.3.17/configure.in 2014-12-27 02:48:11.264876067 +0300
-@@ -17,11 +17,7 @@
-[name of the RDMA service: "rdma" when using 
/etc/init.d/rdma to start RDMA services; "openibd" when using 
/etc/init.d/openibd to start RDMA services [default=${default_rdma_service}]]))
- AC_SUBST(RDMA_SERVICE, ${with_rdma_service:-${default_rdma_service}})
- 
--if { rpm -q sles-release || rpm -q openSUSE-release; } >/dev/null 2>&1; then
--   default_stop="0 1 4 6"
--else
--   default_stop="0 1 6"
--fi
-+default_stop="0 1 6"
- 
- default_start="null"
- 
-@@ -282,4 +278,4 @@
- AC_CONFIG_FILES([man/opensm.8 man/torus-2QoS.8 man/torus-2QoS.conf.5 
scripts/opensm.init scripts/redhat-opensm.init scripts/sldd.sh])
- 
- dnl Create the following Makefiles
--AC_OUTPUT([include/opensm/osm_version.h Makefile include/Makefile 
complib/Makefile libvendor/Makefile opensm/Makefile osmeventplugin/Makefile 
osmtest/Makefile opensm.spec])
-+AC_OUTPUT([include/opensm/osm_version.h Makefile include/Makefile 
complib/Makefile libvendor/Makefile opensm/Makefile osmeventplugin/Makefile 
osmtest/Makefile])
 opensm-3.3.17/Makefile.am.orig 2013-02-07 11:46:28.0 +0400
-+++ opensm-3.3.17/Makefile.am  2014-12-27 02:48:45.133654187 +0300
-@@ -19,7 +19,7 @@
-   doc/partition-config.txt doc/opensm-sriov.txt \
-   doc/opensm_release_notes-3.3.txt
- 
--EXTRA_DIST = autogen.sh opensm.spec $(various_scripts) $(man_MANS) $(docs)
-+EXTRA_DIST = autogen.sh $(various_scripts) $(man_MANS) $(docs)
- 
- dist-hook: $(EXTRA_DIST)
-   if [ -x $(top_srcdir)/gen_chlog.sh ] ; then \



[gentoo-commits] repo/gentoo:master commit in: sys-fabric/opensm/

2022-02-15 Thread Jakov Smolić
commit: 763ebb8e02ca1b79c9df0baafbdf5aa1b9d9e70d
Author: Jakov Smolić  gentoo  org>
AuthorDate: Tue Feb 15 09:07:58 2022 +
Commit: Jakov Smolić  gentoo  org>
CommitDate: Tue Feb 15 09:22:30 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=763ebb8e

sys-fabric/opensm: drop 3.3.17-r1

Closes: https://bugs.gentoo.org/783747
Closes: https://bugs.gentoo.org/806290
Signed-off-by: Jakov Smolić  gentoo.org>

 sys-fabric/opensm/Manifest|  1 -
 sys-fabric/opensm/opensm-3.3.17-r1.ebuild | 60 ---
 2 files changed, 61 deletions(-)

diff --git a/sys-fabric/opensm/Manifest b/sys-fabric/opensm/Manifest
index db504d42dedd..b838c0f936a1 100644
--- a/sys-fabric/opensm/Manifest
+++ b/sys-fabric/opensm/Manifest
@@ -1,3 +1,2 @@
-DIST OFED-3.12-rc1.tgz 22055476 BLAKE2B 
49e6411721392f418369a292513709f396fbb0f17001687aa15b5c0acdc91013cc67354e5978df56452178af7fbbd338a7ff408592ff9126a3045b9bb27375fe
 SHA512 
9f834d6982ab7e8ab47a8b5c958ab2e4c238ef983e47798e7f06655f69672ea1e996297939b381f26ed8c39552f6e62156173d5ddd2f0a7b6cad6aecdd973944
 DIST opensm-3.3.23.tar.gz 1357906 BLAKE2B 
7f085dc1e0a1f284baf1410661aa247ef7e48cdaa696c38ef8a38d5a214e03966b54fb75c035103ac0d6ab9e0a37500d5fad51b0b52c7f5edffb3c3ddfa86eb4
 SHA512 
249143fcf2cac0504923992d46dfbd6821aad3da55ecc12c92b273b4e59196f88d9d1802d9f58ae6f1ace49958e0222424aea9b48e5aba519e5a5736fc51c3fe
 DIST opensm-3.3.24.tar.gz 1359599 BLAKE2B 
0498ea95e83f47d2a60696bbec7242ecd5f538fa3bcdeb083a5473c3f0fd660382cd661b8bce0ac152f64bf7bcd934ca8007e7a9f528b7bd15c25af963780b85
 SHA512 
292449b1282008589ce6cf6a649bb64afabf359d23a8fa4afa38217801256a6a5f06912c9e463c0fdac30039aff9eceb212e8560bf05c7253c4e73080e16072e

diff --git a/sys-fabric/opensm/opensm-3.3.17-r1.ebuild 
b/sys-fabric/opensm/opensm-3.3.17-r1.ebuild
deleted file mode 100644
index f612001e3792..
--- a/sys-fabric/opensm/opensm-3.3.17-r1.ebuild
+++ /dev/null
@@ -1,60 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI="5"
-
-OFED_VER="3.12"
-OFED_RC="1"
-OFED_RC_VER="1"
-OFED_SUFFIX="1"
-
-inherit autotools epatch openib
-
-DESCRIPTION="OpenSM - InfiniBand Subnet Manager and Administration for OpenIB"
-KEYWORDS="amd64 x86 ~amd64-linux"
-IUSE="tools"
-
-DEPEND="
-   sys-fabric/libibmad:${SLOT}
-   sys-fabric/libibumad:${SLOT}"
-RDEPEND="${DEPEND}
-tools? (
-   net-misc/iputils
-   net-misc/openssh
-   )"
-block_other_ofed_versions
-
-src_prepare() {
-   epatch "${FILESDIR}/${P}-norpm.patch"
-   epatch "${FILESDIR}/${P}-sldd.patch"
-   eautoreconf
-}
-
-src_configure() {
-   econf \
-   --enable-perf-mgr \
-   --enable-default-event-plugin \
-   --with-osmv="openib"
-}
-
-src_install() {
-   default
-   newconfd "${FILESDIR}/opensm.conf.d" opensm
-   newinitd "${FILESDIR}/opensm.init.d" opensm
-   insinto /etc/logrotate.d
-   newins "${S}/scripts/opensm.logrotate" opensm
-   # we dont nee this int script
-   rm "${ED}/etc/init.d/opensmd" || die "Dropping of upstream initscript 
failed"
-
-   if use tools; then
-   dosbin scripts/sldd.sh
-   newconfd "${FILESDIR}/sldd.conf.d" sldd
-   newinitd "${FILESDIR}/sldd.init.d" sldd
-   fi
-}
-
-pkg_postinst() {
-   einfo "To automatically configure the infiniband subnet manager on 
boot,"
-   einfo "edit /etc/opensm.conf and add opensm to your start-up scripts:"
-   einfo "\`rc-update add opensm default\`"
-}



[gentoo-commits] repo/gentoo:master commit in: sys-fabric/opensm/

2022-01-15 Thread David Seifert
commit: a822d01fbb93072086d6548b181c36ca9636f374
Author: David Seifert  gentoo  org>
AuthorDate: Sat Jan 15 23:34:02 2022 +
Commit: David Seifert  gentoo  org>
CommitDate: Sat Jan 15 23:34:02 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a822d01f

sys-fabric/opensm: add 3.3.24

Signed-off-by: David Seifert  gentoo.org>

 sys-fabric/opensm/Manifest |  1 +
 sys-fabric/opensm/opensm-3.3.24.ebuild | 62 ++
 2 files changed, 63 insertions(+)

diff --git a/sys-fabric/opensm/Manifest b/sys-fabric/opensm/Manifest
index 2e1884a41089..db504d42dedd 100644
--- a/sys-fabric/opensm/Manifest
+++ b/sys-fabric/opensm/Manifest
@@ -1,2 +1,3 @@
 DIST OFED-3.12-rc1.tgz 22055476 BLAKE2B 
49e6411721392f418369a292513709f396fbb0f17001687aa15b5c0acdc91013cc67354e5978df56452178af7fbbd338a7ff408592ff9126a3045b9bb27375fe
 SHA512 
9f834d6982ab7e8ab47a8b5c958ab2e4c238ef983e47798e7f06655f69672ea1e996297939b381f26ed8c39552f6e62156173d5ddd2f0a7b6cad6aecdd973944
 DIST opensm-3.3.23.tar.gz 1357906 BLAKE2B 
7f085dc1e0a1f284baf1410661aa247ef7e48cdaa696c38ef8a38d5a214e03966b54fb75c035103ac0d6ab9e0a37500d5fad51b0b52c7f5edffb3c3ddfa86eb4
 SHA512 
249143fcf2cac0504923992d46dfbd6821aad3da55ecc12c92b273b4e59196f88d9d1802d9f58ae6f1ace49958e0222424aea9b48e5aba519e5a5736fc51c3fe
+DIST opensm-3.3.24.tar.gz 1359599 BLAKE2B 
0498ea95e83f47d2a60696bbec7242ecd5f538fa3bcdeb083a5473c3f0fd660382cd661b8bce0ac152f64bf7bcd934ca8007e7a9f528b7bd15c25af963780b85
 SHA512 
292449b1282008589ce6cf6a649bb64afabf359d23a8fa4afa38217801256a6a5f06912c9e463c0fdac30039aff9eceb212e8560bf05c7253c4e73080e16072e

diff --git a/sys-fabric/opensm/opensm-3.3.24.ebuild 
b/sys-fabric/opensm/opensm-3.3.24.ebuild
new file mode 100644
index ..b80d8348a508
--- /dev/null
+++ b/sys-fabric/opensm/opensm-3.3.24.ebuild
@@ -0,0 +1,62 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit autotools
+
+DESCRIPTION="OpenSM - InfiniBand Subnet Manager and Administration for OpenIB"
+HOMEPAGE="https://github.com/linux-rdma/opensm/;
+SRC_URI="https://github.com/linux-rdma/opensm/releases/download/${PV}/${P}.tar.gz;
+
+LICENSE="|| ( GPL-2 BSD-2 )"
+SLOT="0"
+KEYWORDS="~amd64 ~x86 ~amd64-linux"
+IUSE="tools"
+
+DEPEND="sys-cluster/rdma-core"
+RDEPEND="${DEPEND}
+tools? (
+   net-misc/iputils
+   net-misc/openssh
+   )"
+
+PATCHES=( "${FILESDIR}"/${PN}-3.3.17-sldd.patch )
+
+src_prepare() {
+   default
+   eautoreconf
+}
+
+src_configure() {
+   econf \
+   --enable-perf-mgr \
+   --enable-default-event-plugin \
+   --with-osmv="openib"
+}
+
+src_install() {
+   default
+
+   newconfd "${FILESDIR}"/opensm.conf.d opensm
+   newinitd "${FILESDIR}"/opensm.init.d.2 opensm
+
+   insinto /etc/logrotate.d
+   newins scripts/opensm.logrotate opensm
+   # we dont need this int script
+   rm "${ED}"/etc/init.d/opensmd || die "Dropping of upstream initscript 
failed"
+
+   if use tools; then
+   dosbin scripts/sldd.sh
+   newconfd "${FILESDIR}"/sldd.conf.d sldd
+   newinitd "${FILESDIR}"/sldd.init.d sldd
+   fi
+
+   find "${ED}" -name '*.la' -delete || die
+}
+
+pkg_postinst() {
+   einfo "To automatically configure the infiniband subnet manager on 
boot,"
+   einfo "edit /etc/opensm.conf and add opensm to your start-up scripts:"
+   einfo "\`rc-update add opensm default\`"
+}



[gentoo-commits] repo/gentoo:master commit in: sys-fabric/opensm/

2021-06-29 Thread Sam James
commit: aa48ff6b13bbc1d5062e8039b49c28337950b5b8
Author: Sam James  gentoo  org>
AuthorDate: Tue Jun 29 21:24:38 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Jun 29 21:24:38 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=aa48ff6b

sys-fabric/opensm: Stabilize 3.3.23-r1 x86, #783747

Signed-off-by: Sam James  gentoo.org>

 sys-fabric/opensm/opensm-3.3.23-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-fabric/opensm/opensm-3.3.23-r1.ebuild 
b/sys-fabric/opensm/opensm-3.3.23-r1.ebuild
index 2d7d30b5af1..c0302c3bd2f 100644
--- a/sys-fabric/opensm/opensm-3.3.23-r1.ebuild
+++ b/sys-fabric/opensm/opensm-3.3.23-r1.ebuild
@@ -9,7 +9,7 @@ HOMEPAGE="https://github.com/linux-rdma/opensm/;
 DESCRIPTION="OpenSM - InfiniBand Subnet Manager and Administration for OpenIB"
 
 SRC_URI="https://github.com/linux-rdma/${PN}/archive/${PV}.tar.gz -> 
${P}.tar.gz"
-KEYWORDS="amd64 ~x86 ~amd64-linux"
+KEYWORDS="amd64 x86 ~amd64-linux"
 IUSE="tools"
 SLOT="0"
 LICENSE="|| ( GPL-2 BSD-2 )"



[gentoo-commits] repo/gentoo:master commit in: sys-fabric/opensm/

2021-06-29 Thread Sam James
commit: 2a3f8fb1bf74638927cfb6578ad1ee2aa3543e59
Author: Sam James  gentoo  org>
AuthorDate: Tue Jun 29 21:23:53 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Jun 29 21:23:53 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2a3f8fb1

sys-fabric/opensm: Stabilize 3.3.23-r1 amd64, #783747

Signed-off-by: Sam James  gentoo.org>

 sys-fabric/opensm/opensm-3.3.23-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-fabric/opensm/opensm-3.3.23-r1.ebuild 
b/sys-fabric/opensm/opensm-3.3.23-r1.ebuild
index 79bc440f5e5..2d7d30b5af1 100644
--- a/sys-fabric/opensm/opensm-3.3.23-r1.ebuild
+++ b/sys-fabric/opensm/opensm-3.3.23-r1.ebuild
@@ -9,7 +9,7 @@ HOMEPAGE="https://github.com/linux-rdma/opensm/;
 DESCRIPTION="OpenSM - InfiniBand Subnet Manager and Administration for OpenIB"
 
 SRC_URI="https://github.com/linux-rdma/${PN}/archive/${PV}.tar.gz -> 
${P}.tar.gz"
-KEYWORDS="~amd64 ~x86 ~amd64-linux"
+KEYWORDS="amd64 ~x86 ~amd64-linux"
 IUSE="tools"
 SLOT="0"
 LICENSE="|| ( GPL-2 BSD-2 )"



[gentoo-commits] repo/gentoo:master commit in: sys-fabric/opensm/

2021-05-16 Thread Sam James
commit: 3683b143b1611972b5726cfefca81c4226e12ed5
Author: Sam James  gentoo  org>
AuthorDate: Sun May 16 19:53:13 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Sun May 16 19:53:13 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3683b143

sys-fabric/opensm: Stabilize 3.3.17-r1 x86, #643122

Signed-off-by: Sam James  gentoo.org>

 sys-fabric/opensm/opensm-3.3.17-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-fabric/opensm/opensm-3.3.17-r1.ebuild 
b/sys-fabric/opensm/opensm-3.3.17-r1.ebuild
index 734bf09bc04..f612001e379 100644
--- a/sys-fabric/opensm/opensm-3.3.17-r1.ebuild
+++ b/sys-fabric/opensm/opensm-3.3.17-r1.ebuild
@@ -11,7 +11,7 @@ OFED_SUFFIX="1"
 inherit autotools epatch openib
 
 DESCRIPTION="OpenSM - InfiniBand Subnet Manager and Administration for OpenIB"
-KEYWORDS="amd64 ~x86 ~amd64-linux"
+KEYWORDS="amd64 x86 ~amd64-linux"
 IUSE="tools"
 
 DEPEND="



[gentoo-commits] repo/gentoo:master commit in: sys-fabric/opensm/, sys-fabric/opensm/files/

2021-03-01 Thread 罗百科
commit: aacb74f137b5f2dd6f9a0edeef3fa1dcd80897c7
Author: Patrick Lauer  gentoo  org>
AuthorDate: Mon Mar  1 16:51:13 2021 +
Commit: 罗百科  gentoo  org>
CommitDate: Mon Mar  1 16:52:09 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=aacb74f1

sys-fabric/opensm: Fix init script

Package-Manager: Portage-3.0.16, Repoman-3.0.2
Signed-off-by: Patrick Lauer  gentoo.org>

 sys-fabric/opensm/files/opensm.init.d.2| 22 ++
 ...pensm-3.3.23.ebuild => opensm-3.3.23-r1.ebuild} |  2 +-
 2 files changed, 23 insertions(+), 1 deletion(-)

diff --git a/sys-fabric/opensm/files/opensm.init.d.2 
b/sys-fabric/opensm/files/opensm.init.d.2
new file mode 100644
index 000..238449cb3f4
--- /dev/null
+++ b/sys-fabric/opensm/files/opensm.init.d.2
@@ -0,0 +1,22 @@
+#!/sbin/openrc-run
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+depend() {
+after net# ip net seems to be needed to perform management.
+}
+
+prog=/usr/sbin/opensm
+
+start() {
+ebegin "Starting OpenSM Infiniband Subnet Manager"
+start-stop-daemon --start --background --exec $prog -- $OSM_OPTIONS
+eend $?
+}
+
+stop() {
+ebegin "Stopping OpenSM Infiniband Subnet Manager"
+start-stop-daemon --stop --exec $prog
+eend $?
+}
+

diff --git a/sys-fabric/opensm/opensm-3.3.23.ebuild 
b/sys-fabric/opensm/opensm-3.3.23-r1.ebuild
similarity index 96%
rename from sys-fabric/opensm/opensm-3.3.23.ebuild
rename to sys-fabric/opensm/opensm-3.3.23-r1.ebuild
index ffcf8f39bf1..12fc2994bc5 100644
--- a/sys-fabric/opensm/opensm-3.3.23.ebuild
+++ b/sys-fabric/opensm/opensm-3.3.23-r1.ebuild
@@ -38,7 +38,7 @@ src_configure() {
 src_install() {
default
newconfd "${FILESDIR}/opensm.conf.d" opensm
-   newinitd "${FILESDIR}/opensm.init.d" opensm
+   newinitd "${FILESDIR}/opensm.init.d.2" opensm
insinto /etc/logrotate.d
newins "${S}/scripts/opensm.logrotate" opensm
# we dont need this int script



[gentoo-commits] repo/gentoo:master commit in: sys-fabric/opensm/

2021-03-01 Thread 罗百科
commit: be40870874711d398762b80ed81c2f3dd7242c58
Author: Patrick Lauer  gentoo  org>
AuthorDate: Mon Mar  1 15:42:35 2021 +
Commit: 罗百科  gentoo  org>
CommitDate: Mon Mar  1 15:43:00 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=be408708

sys-fabric/opensm: Bump

Package-Manager: Portage-3.0.16, Repoman-3.0.2
Signed-off-by: Patrick Lauer  gentoo.org>

 sys-fabric/opensm/Manifest |  1 +
 sys-fabric/opensm/opensm-3.3.23.ebuild | 58 ++
 2 files changed, 59 insertions(+)

diff --git a/sys-fabric/opensm/Manifest b/sys-fabric/opensm/Manifest
index b3649eecb82..2e1884a4108 100644
--- a/sys-fabric/opensm/Manifest
+++ b/sys-fabric/opensm/Manifest
@@ -1 +1,2 @@
 DIST OFED-3.12-rc1.tgz 22055476 BLAKE2B 
49e6411721392f418369a292513709f396fbb0f17001687aa15b5c0acdc91013cc67354e5978df56452178af7fbbd338a7ff408592ff9126a3045b9bb27375fe
 SHA512 
9f834d6982ab7e8ab47a8b5c958ab2e4c238ef983e47798e7f06655f69672ea1e996297939b381f26ed8c39552f6e62156173d5ddd2f0a7b6cad6aecdd973944
+DIST opensm-3.3.23.tar.gz 1357906 BLAKE2B 
7f085dc1e0a1f284baf1410661aa247ef7e48cdaa696c38ef8a38d5a214e03966b54fb75c035103ac0d6ab9e0a37500d5fad51b0b52c7f5edffb3c3ddfa86eb4
 SHA512 
249143fcf2cac0504923992d46dfbd6821aad3da55ecc12c92b273b4e59196f88d9d1802d9f58ae6f1ace49958e0222424aea9b48e5aba519e5a5736fc51c3fe

diff --git a/sys-fabric/opensm/opensm-3.3.23.ebuild 
b/sys-fabric/opensm/opensm-3.3.23.ebuild
new file mode 100644
index 000..ffcf8f39bf1
--- /dev/null
+++ b/sys-fabric/opensm/opensm-3.3.23.ebuild
@@ -0,0 +1,58 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="7"
+
+inherit autotools eutils
+
+HOMEPAGE="https://github.com/linux-rdma/opensm/;
+DESCRIPTION="OpenSM - InfiniBand Subnet Manager and Administration for OpenIB"
+
+SRC_URI="https://github.com/linux-rdma/${PN}/archive/${PV}.tar.gz -> 
${P}.tar.gz"
+KEYWORDS="~amd64 ~x86 ~amd64-linux"
+IUSE="tools"
+SLOT="0"
+LICENSE="|| ( GPL-2 BSD-2 )"
+
+DEPEND="sys-cluster/rdma-core"
+RDEPEND="$DEPEND
+tools? (
+   net-misc/iputils
+   net-misc/openssh
+   )"
+
+PATCHES=( "${FILESDIR}/${PN}-3.3.17-sldd.patch" )
+
+src_prepare() {
+   default
+   eautoreconf
+}
+
+src_configure() {
+   econf \
+   --enable-perf-mgr \
+   --enable-default-event-plugin \
+   --with-osmv="openib"
+}
+
+src_install() {
+   default
+   newconfd "${FILESDIR}/opensm.conf.d" opensm
+   newinitd "${FILESDIR}/opensm.init.d" opensm
+   insinto /etc/logrotate.d
+   newins "${S}/scripts/opensm.logrotate" opensm
+   # we dont need this int script
+   rm "${ED}/etc/init.d/opensmd" || die "Dropping of upstream initscript 
failed"
+
+   if use tools; then
+   dosbin scripts/sldd.sh
+   newconfd "${FILESDIR}/sldd.conf.d" sldd
+   newinitd "${FILESDIR}/sldd.init.d" sldd
+   fi
+}
+
+pkg_postinst() {
+   einfo "To automatically configure the infiniband subnet manager on 
boot,"
+   einfo "edit /etc/opensm.conf and add opensm to your start-up scripts:"
+   einfo "\`rc-update add opensm default\`"
+}



[gentoo-commits] repo/gentoo:master commit in: sys-fabric/opensm/

2018-04-22 Thread Aaron Bauman
commit: 6a82cc7a2f5099332689a07eaaa238492e704437
Author: Aaron Bauman  gentoo  org>
AuthorDate: Mon Apr 23 00:19:58 2018 +
Commit: Aaron Bauman  gentoo  org>
CommitDate: Mon Apr 23 00:19:58 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6a82cc7a

sys-fabric/opensm: amd64 stable wrt bug #643122

Bug: https://bugs.gentoo.org/643122
Package-Manager: Portage-2.3.31, Repoman-2.3.9

 sys-fabric/opensm/opensm-3.3.17-r1.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/sys-fabric/opensm/opensm-3.3.17-r1.ebuild 
b/sys-fabric/opensm/opensm-3.3.17-r1.ebuild
index 6c66e3edf0e..51b8c921183 100644
--- a/sys-fabric/opensm/opensm-3.3.17-r1.ebuild
+++ b/sys-fabric/opensm/opensm-3.3.17-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI="5"
@@ -11,7 +11,7 @@ OFED_SUFFIX="1"
 inherit autotools eutils openib
 
 DESCRIPTION="OpenSM - InfiniBand Subnet Manager and Administration for OpenIB"
-KEYWORDS="~amd64 ~x86 ~amd64-linux"
+KEYWORDS="amd64 ~x86 ~amd64-linux"
 IUSE="tools"
 
 DEPEND="