guix-commits
[Top][All Lists]
Advanced

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

01/01: gnu: libtar: Update to 1.2.20 [fixes CVE-2013-4397, CVE-2013-4420


From: Efraim Flashner
Subject: 01/01: gnu: libtar: Update to 1.2.20 [fixes CVE-2013-4397, CVE-2013-4420].
Date: Sun, 29 May 2016 19:47:56 +0000 (UTC)

efraim pushed a commit to branch master
in repository guix.

commit 89d80159b1da81c4017b46a575c3ec5dd9a96c90
Author: Efraim Flashner <address@hidden>
Date:   Sun May 29 22:46:29 2016 +0300

    gnu: libtar: Update to 1.2.20 [fixes CVE-2013-4397, CVE-2013-4420].
    
    * gnu/packages/compression.scm (libtar): Update to 1.2.20.
    [source]: Add Debian mirror.
    [arguments]: Add 'autoconf phase.
    [native-inputs]: Add autoconf, automake, libtool.
    [inputs]: Add zlib.
    [home-page]: Point to temporary home.
---
 gnu/packages/compression.scm |   29 ++++++++++++++++++++++-------
 1 file changed, 22 insertions(+), 7 deletions(-)

diff --git a/gnu/packages/compression.scm b/gnu/packages/compression.scm
index 8043422..8148ecb 100644
--- a/gnu/packages/compression.scm
+++ b/gnu/packages/compression.scm
@@ -110,22 +110,37 @@ utility.  Instead of being written in Java, FastJar is 
written in C.")
 (define-public libtar
   (package
    (name "libtar")
-   (version "1.2.11")
+   (version "1.2.20")
    (source (origin
             (method url-fetch)
-            (uri (string-append
-                  "ftp://ftp.feep.net/pub/software/libtar/libtar-";
-                  version ".tar.gz"))
+            (uri (list
+                   (string-append
+                     "ftp://ftp.feep.net/pub/software/libtar/libtar-";
+                     version ".tar.gz")
+                   (string-append
+                     "mirror://debian/pool/main/libt/libtar/libtar_"
+                     version ".orig.tar.gz")))
             (sha256
              (base32
-              "1f3vx1wa69a6c5y0z0aakd81gygirdcm0vimazg433q8nyvfybja"))))
+              "02cihzl77ia0dcz7z2cga2412vyhhs5pa2355q4wpwbyga2lrwjh"))))
    (build-system gnu-build-system)
-   (arguments `(#:tests? #f)) ;no "check" target
+   (arguments
+    `(#:tests? #f ;no "check" target
+      #:phases
+      (modify-phases %standard-phases
+        (add-after 'unpack 'autoconf
+          (lambda _ (zero? (system* "sh" "autoreconf" "-vfi")))))))
+   (native-inputs
+    `(("autoconf" ,autoconf)
+      ("automake" ,automake)
+      ("libtool" ,libtool)))
+   (inputs
+    `(("zlib" ,zlib)))
    (synopsis "C library for manipulating POSIX tar files")
    (description
     "libtar is a C library for manipulating POSIX tar files.  It handles
 adding and extracting files to/from a tar archive.")
-   (home-page "http://www.feep.net/libtar/";)
+   (home-page "https://repo.or.cz/libtar.git";)
    (license license:bsd-3)))
 
 (define-public gzip



reply via email to

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