guix-commits
[Top][All Lists]
Advanced

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

02/02: gnu: libarchive: Incorporate grafted security patches.


From: Leo Famulari
Subject: 02/02: gnu: libarchive: Incorporate grafted security patches.
Date: Mon, 3 Oct 2016 21:08:54 +0000 (UTC)

lfam pushed a commit to branch core-updates
in repository guix.

commit 6524c1cfcf6088c5574e6ff21f540dfb22f944bf
Author: Leo Famulari <address@hidden>
Date:   Mon Oct 3 16:55:21 2016 -0400

    gnu: libarchive: Incorporate grafted security patches.
    
    * gnu/packages/backup.scm (libarchive)[source]: Add patches from
    libarchive/fixed.
    [replacement]: Remove field.
    (libarchive/fixed): Remove variable.
---
 gnu/packages/backup.scm |   17 +++++------------
 1 file changed, 5 insertions(+), 12 deletions(-)

diff --git a/gnu/packages/backup.scm b/gnu/packages/backup.scm
index 797c06e..fca601f 100644
--- a/gnu/packages/backup.scm
+++ b/gnu/packages/backup.scm
@@ -172,13 +172,17 @@ backups (called chunks) to allow easy burning to CD/DVD.")
 (define-public libarchive
   (package
     (name "libarchive")
-    (replacement libarchive/fixed)
     (version "3.2.1")
     (source
      (origin
        (method url-fetch)
        (uri (string-append "http://libarchive.org/downloads/libarchive-";
                            version ".tar.gz"))
+       (patches (search-patches
+                  "libarchive-7zip-heap-overflow.patch"
+                  "libarchive-fix-symlink-check.patch"
+                  "libarchive-fix-filesystem-attacks.patch"
+                  "libarchive-safe_fprintf-buffer-overflow.patch"))
        (sha256
         (base32
          "1lngng84k1kkljl74q0cdqc3s82vn2kimfm02dgm4d6m7x71mvkj"))))
@@ -228,17 +232,6 @@ archive.  In particular, note that there is currently no 
built-in support for
 random access nor for in-place modification.")
     (license license:bsd-2)))
 
-(define libarchive/fixed
-  (package
-    (inherit libarchive)
-    (source (origin
-              (inherit (package-source libarchive))
-              (patches (search-patches
-                         "libarchive-7zip-heap-overflow.patch"
-                         "libarchive-fix-symlink-check.patch"
-                         "libarchive-fix-filesystem-attacks.patch"
-                         "libarchive-safe_fprintf-buffer-overflow.patch"))))))
-
 (define-public rdup
   (package
     (name "rdup")



reply via email to

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