gnu: opensm: Update to 3.3.21.
* gnu/packages/fabric-management.scm (opensm): Update to 3.3.21. [source]: Update tarball URI. [native-inputs]: Add autoconf, automake, and libtool. [arguments]: Rename 'doc' phase to 'install-doc'. Omit AUTHORS and ChangeLog files. They are more than a decade old.
This commit is contained in:
parent
9cac043cc0
commit
4702d45280
|
@ -1,5 +1,6 @@
|
||||||
;;; GNU Guix --- Functional package management for GNU
|
;;; GNU Guix --- Functional package management for GNU
|
||||||
;;; Copyright © 2017 Dave Love <fx@gnu.org>
|
;;; Copyright © 2017 Dave Love <fx@gnu.org>
|
||||||
|
;;; Copyright © 2018 Tobias Geerinckx-Rice <me@tobias.gr>
|
||||||
;;;
|
;;;
|
||||||
;;; This file is part of GNU Guix.
|
;;; This file is part of GNU Guix.
|
||||||
;;;
|
;;;
|
||||||
|
@ -41,33 +42,38 @@
|
||||||
(define-public opensm
|
(define-public opensm
|
||||||
(package
|
(package
|
||||||
(name "opensm")
|
(name "opensm")
|
||||||
(version "3.3.20")
|
(version "3.3.21")
|
||||||
(source
|
(source
|
||||||
(origin
|
(origin
|
||||||
(method url-fetch)
|
(method url-fetch)
|
||||||
(uri
|
(uri
|
||||||
(string-append "https://www.openfabrics.org/downloads/management/opensm-"
|
(string-append "https://github.com/linux-rdma/opensm/releases/download/"
|
||||||
version ".tar.gz"))
|
version "/opensm-" version ".tar.gz"))
|
||||||
(sha256 (base32 "162sg1w7kgy8ayl8a4dcbrfacmnfy2lr9a2yjyq0k65rmd378zg1"))))
|
(sha256
|
||||||
|
(base32 "0j4vp118w1l47vs4had46ynybklyacxjlya0r15jg0y01l4j9l2h"))))
|
||||||
(build-system gnu-build-system)
|
(build-system gnu-build-system)
|
||||||
(native-inputs
|
(native-inputs
|
||||||
`(("flex" ,flex)
|
`(("bison" ,bison)
|
||||||
("bison" ,bison)))
|
("flex" ,flex)
|
||||||
|
|
||||||
|
;; The 3.3.21 'release' tarball isn't properly bootstrapped.
|
||||||
|
("autoconf" ,autoconf)
|
||||||
|
("automake" ,automake)
|
||||||
|
("libtool" ,libtool)))
|
||||||
(inputs
|
(inputs
|
||||||
`(("rdma-core" ,rdma-core)))
|
`(("rdma-core" ,rdma-core)))
|
||||||
(arguments
|
(arguments
|
||||||
`(#:configure-flags '("--disable-static")
|
`(#:configure-flags '("--disable-static")
|
||||||
#:phases
|
#:phases
|
||||||
(modify-phases %standard-phases
|
(modify-phases %standard-phases
|
||||||
(add-after 'install 'doc
|
(add-after 'install 'install-doc
|
||||||
(lambda* (#:key outputs #:allow-other-keys)
|
(lambda* (#:key outputs #:allow-other-keys)
|
||||||
(let* ((base (assoc-ref outputs "out"))
|
(let* ((base (assoc-ref outputs "out"))
|
||||||
(doc (string-append base "/share/doc/"
|
(doc (string-append base "/share/doc/"
|
||||||
,name "-" ,version)))
|
,name "-" ,version)))
|
||||||
(for-each (lambda (file)
|
(for-each (lambda (file)
|
||||||
(install-file file doc))
|
(install-file file doc))
|
||||||
(append (list "AUTHORS" "COPYING" "ChangeLog")
|
(find-files "doc"))
|
||||||
(find-files "doc")))
|
|
||||||
#t))))))
|
#t))))))
|
||||||
(home-page "https://www.openfabrics.org/")
|
(home-page "https://www.openfabrics.org/")
|
||||||
(synopsis "OpenIB InfiniBand Subnet Manager and management utilities")
|
(synopsis "OpenIB InfiniBand Subnet Manager and management utilities")
|
||||||
|
|
Loading…
Reference in New Issue