summary refs log tree commit diff
path: root/gnu
diff options
context:
space:
mode:
authorLeo Famulari <leo@famulari.name>2020-04-30 18:46:56 -0400
committerLeo Famulari <leo@famulari.name>2020-04-30 21:31:11 -0400
commit65fd3f0ac367747086abb6997f1aa27957c9b65b (patch)
treef6aa53e1b585114063cc858f7e01cb319da601a0 /gnu
parent02ee43e48637dd6308858a4ca4c7a1e91e39c9f1 (diff)
downloadguix-65fd3f0ac367747086abb6997f1aa27957c9b65b.tar.gz
gnu: libmicrodns: Update to 0.1.2 [security fixes].
This fixes CVE-2020-6071, CVE-2020-6072, CVE-2020-6073, CVE-2020-6077,
CVE-2020-6078, and CVE-2020-6079.

* gnu/packages/dns.scm (libmicrodns): Update to 0.1.2.
[source]: Build from a tarball.
[build-system]: Use the meson-build-system.
[native-inputs]: Remove field.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/dns.scm21
1 files changed, 8 insertions, 13 deletions
diff --git a/gnu/packages/dns.scm b/gnu/packages/dns.scm
index 86569b5493..15c6c23d70 100644
--- a/gnu/packages/dns.scm
+++ b/gnu/packages/dns.scm
@@ -15,6 +15,7 @@
 ;;; Copyright © 2019 Rutger Helling <rhelling@mykolab.com>
 ;;; Copyright © 2020 Pierre Langlois <pierre.langlois@gmx.com>
 ;;; Copyright © 2020 Arun Isaac <arunisaac@systemreboot.net>
+;;; Copyright © 2020 Leo Famulari <leo@famulari.name>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -878,22 +879,16 @@ System (HNS) peer-to-peer network.")
 (define-public libmicrodns
   (package
     (name "libmicrodns")
-    (version "0.0.10")
+    (version "0.1.2")
     (source (origin
-              (method git-fetch)
-              (uri (git-reference
-                    (url "https://github.com/videolabs/libmicrodns")
-                    (commit version)))
-              (file-name (git-file-name name version))
+              (method url-fetch)
+              (uri (string-append "https://github.com/videolabs/libmicrodns/"
+                                  "releases/download/" version "/microdns-"
+                                  version ".tar.xz"))
               (sha256
                (base32
-                "1xvl9k49ng35wbsqmnjnyqvkyjf8dcq2ywsq3jp3wh0rgmxhq2fh"))))
-    (build-system gnu-build-system)
-    (native-inputs
-     `(("pkg-config" ,pkg-config)
-       ("autoconf" ,autoconf)
-       ("automake" ,automake)
-       ("libtool" ,libtool)))
+                "0p4va18zxgmzcdwhlbg2mmjwswlbgqy4ay5vaxrw7cxmhsflnv36"))))
+    (build-system meson-build-system)
     (home-page "https://github.com/videolabs/libmicrodns")
     (synopsis "Minimal mDNS resolver library")
     (description "@code{libmicrodns} provides a minimal implementation of a