diff options
author | V3n3RiX <venerix@koprulu.sector> | 2022-01-16 20:27:28 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2022-01-16 20:27:28 +0000 |
commit | 2fd57282f0262ca084e05b0f2c63fbada395d02b (patch) | |
tree | 4e0f23cea9ce9fd972e70ebc5214bf36fed465cc /sys-fabric/opensm | |
parent | c3bc61051d7f12b4c682efa7a5460bbc8815649e (diff) |
gentoo resync : 16.01.2021
Diffstat (limited to 'sys-fabric/opensm')
-rw-r--r-- | sys-fabric/opensm/Manifest | 2 | ||||
-rw-r--r-- | sys-fabric/opensm/opensm-3.3.24.ebuild | 62 |
2 files changed, 64 insertions, 0 deletions
diff --git a/sys-fabric/opensm/Manifest b/sys-fabric/opensm/Manifest index a36c43bedb11..e26e456bf501 100644 --- a/sys-fabric/opensm/Manifest +++ b/sys-fabric/opensm/Manifest @@ -7,6 +7,8 @@ AUX sldd.conf.d 459 BLAKE2B 6a61a958a295812153ad254d38503c967d029375b9fcc40231ce AUX sldd.init.d 612 BLAKE2B 970ac3512d62e5dd849a7a4a897bc96d32fbed84f9b8806bcc0cc962b0e30cc69a0fc8ada2cea7ef03d7ffbe0f6a171f9eeaf0e914c7816da99474c340e35259 SHA512 e939ddd800e9f077aff28e30b1e1a7ffa07b1fe779cb212f34e789b4f2bb421da34fcf5b5c186971ebea9b419e2307bfa02296350451938a48646b3bcac1a882 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 EBUILD opensm-3.3.17-r1.ebuild 1365 BLAKE2B 5b1110ba3b6fa014ff2cad78f0ae559ca6cc723e541ae57a938bffddd2754faa8573c2991551772e15ae34c5b3ba4ea2daef634aab383e8125382117904f9416 SHA512 4e2074d3d4aa27ff2224f5d95facded79d998e30d83f9341625f375b5ec8d2c81b01c6a401838881d5388798a3c46ef42b61ed19df5d1c31441c04a1db3f3397 EBUILD opensm-3.3.23-r1.ebuild 1382 BLAKE2B 0cb70c6e55a5d5b3ed3926825a4395bf9dee9d1e030462d0940bb6e30c79b7796be294a368c786a5c13c3810c5b155ac9f760f21ab84a43fe3ae4038d2c0d9bd SHA512 6c5ea2c14cdb8db5aa820387bad8266cd42b27f09cff669bdf8155ff934a4a0b9ba4c2918756e88274a239c6d58d3d985405ed5fe393b0f726e5badc3d49dc25 +EBUILD opensm-3.3.24.ebuild 1421 BLAKE2B fa410ae1d9d25cdc39b5aff0d95ff25b029ca22351c9831d9803e8485d70f77a3111517a30bf937ec2eb60b489013ca25950800dacfb449d16cc8050f2b78f2b SHA512 d446d9dd919677041525e39935fd906dc8b31d436ee20220d4b4e462a688e786749c65d5fa0324458752f86a52beaa47e8633929f70e23cbc9211d89ba8d76e7 MISC metadata.xml 580 BLAKE2B fab05a96ab931792c27ab807b71c77f4fafba4120f9eab33f1d457c1c7de027893c63e08407126730e774474dabd0b0fa7128b2ee8ae085a7c918c45b1b31284 SHA512 4d08c63f85944e69ca7acd64295210989fa9344176eba815ff181fa404aed8122216a10cb80795fddf8f2011b096dbbeebcb11e602bf1c54d3e1c542835f6a66 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 000000000000..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\`" +} |