guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

branch master updated: gnu: lib3mf: Update to 2.1.1 [security fixes].


From: guix-commits
Subject: branch master updated: gnu: lib3mf: Update to 2.1.1 [security fixes].
Date: Wed, 10 Mar 2021 16:31:01 -0500

This is an automated email from the git hooks/post-receive script.

lle_bout pushed a commit to branch master
in repository guix.

The following commit(s) were added to refs/heads/master by this push:
     new b610e4b  gnu: lib3mf: Update to 2.1.1 [security fixes].
b610e4b is described below

commit b610e4b9a7d4423603cac1da4f16475fb1e03e83
Author: Léo Le Bouter <lle-bout@zaclys.net>
AuthorDate: Wed Mar 10 22:22:04 2021 +0100

    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.
---
 gnu/packages/engineering.scm | 25 +++++++++++++------------
 1 file changed, 13 insertions(+), 12 deletions(-)

diff --git a/gnu/packages/engineering.scm b/gnu/packages/engineering.scm
index f560a15..b4ffc5f 100644
--- a/gnu/packages/engineering.scm
+++ b/gnu/packages/engineering.scm
@@ -2458,7 +2458,7 @@ engineers for reverse engineers.")
 (define-public lib3mf
   (package
     (name "lib3mf")
-    (version "1.8.1")
+    (version "2.1.1")
     (source
      (origin
       (method git-fetch)
@@ -2467,20 +2467,21 @@ engineers for reverse engineers.")
       (file-name (git-file-name name version))
       (sha256
        (base32
-        "11wpk6n9ga2p57h1dcrp37w77mii0r7r6mlrgmykf7rvii1rzgqd"))))
+        "1417xlxc1y5jnipixhbjfrrjgkrprbbraj8647sff9051m3hpxc3"))))
     (build-system cmake-build-system)
+    (arguments
+     `(#:configure-flags (list "-DUSE_INCLUDED_ZLIB=0"
+                               "-DUSE_INCLUDED_LIBZIP=0"
+                               "-DUSE_INCLUDED_GTEST=0"
+                               "-DUSE_INCLUDED_SSL=0")))
     (native-inputs
-     `(("googletest-source" ,(package-source googletest))))
+     `(("googletest" ,googletest)
+       ("pkg-config" ,pkg-config)))
     (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)))))
+     `(("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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]