mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2025-01-19 05:57:04 +01:00
gnu: lib3mf: Update to 2.1.1 [security fixes].
Non-exhaustively, fixes CVE-2021-21772. * gnu/packages/engineering.scm (lib3mf): Update to 2.1.1. [arguments]<#:phases>: Remove. [arguments]<#:configure-flags>: Do not use zlib, libzip, gtest and libressl vendored sources. [native-inputs]: Remove googletest-source, add googletest and pkg-config. [inputs]: Add libzip, libressl and zlib.
This commit is contained in:
parent
6c5d358cc2
commit
b610e4b9a7
1 changed files with 14 additions and 13 deletions
|
@ -2458,7 +2458,7 @@ (define-public cutter
|
|||
(define-public lib3mf
|
||||
(package
|
||||
(name "lib3mf")
|
||||
(version "1.8.1")
|
||||
(version "2.1.1")
|
||||
(source
|
||||
(origin
|
||||
(method git-fetch)
|
||||
|
@ -2467,20 +2467,21 @@ (define-public lib3mf
|
|||
(file-name (git-file-name name version))
|
||||
(sha256
|
||||
(base32
|
||||
"11wpk6n9ga2p57h1dcrp37w77mii0r7r6mlrgmykf7rvii1rzgqd"))))
|
||||
"1417xlxc1y5jnipixhbjfrrjgkrprbbraj8647sff9051m3hpxc3"))))
|
||||
(build-system cmake-build-system)
|
||||
(native-inputs
|
||||
`(("googletest-source" ,(package-source googletest))))
|
||||
(inputs
|
||||
`(("libuuid" ,util-linux "lib")))
|
||||
(arguments
|
||||
`(#:phases
|
||||
(modify-phases %standard-phases
|
||||
(add-after 'unpack 'unpack-googletest
|
||||
(lambda* (#:key inputs #:allow-other-keys)
|
||||
(copy-recursively (assoc-ref inputs "googletest-source")
|
||||
"UnitTests/googletest")
|
||||
#t)))))
|
||||
`(#:configure-flags (list "-DUSE_INCLUDED_ZLIB=0"
|
||||
"-DUSE_INCLUDED_LIBZIP=0"
|
||||
"-DUSE_INCLUDED_GTEST=0"
|
||||
"-DUSE_INCLUDED_SSL=0")))
|
||||
(native-inputs
|
||||
`(("googletest" ,googletest)
|
||||
("pkg-config" ,pkg-config)))
|
||||
(inputs
|
||||
`(("libuuid" ,util-linux "lib")
|
||||
("libzip" ,libzip)
|
||||
("libressl" ,libressl)
|
||||
("zlib" ,zlib)))
|
||||
(synopsis "Implementation of the 3D Manufacturing Format (3MF) file standard")
|
||||
(description
|
||||
"Lib3MF is a C++ implementation of the 3D Manufacturing Format (3MF) file
|
||||
|
|
Loading…
Reference in a new issue