guix-commits
[Top][All Lists]
Advanced

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

01/14: gnu: file: Incorporate grafted changes.


From: guix-commits
Subject: 01/14: gnu: file: Incorporate grafted changes.
Date: Thu, 7 Feb 2019 18:02:42 -0500 (EST)

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

commit cc43d807c08af02d31770a011881990d46428737
Author: Marius Bakke <address@hidden>
Date:   Thu Feb 7 21:28:38 2019 +0100

    gnu: file: Incorporate grafted changes.
    
    * gnu/packages/file.scm (file)[replacement]: Remove.
    [source](patches): New field.
    (file/fixed): Remove variable.
---
 gnu/packages/file.scm | 9 +--------
 1 file changed, 1 insertion(+), 8 deletions(-)

diff --git a/gnu/packages/file.scm b/gnu/packages/file.scm
index 4518c8d..24ed37a 100644
--- a/gnu/packages/file.scm
+++ b/gnu/packages/file.scm
@@ -31,11 +31,11 @@
   (package
     (name "file")
     (version "5.33")
-    (replacement file/fixed)
     (source (origin
               (method url-fetch)
               (uri (string-append "ftp://ftp.astron.com/pub/file/file-";
                                   version ".tar.gz"))
+              (patches (search-patches "file-CVE-2018-10360.patch"))
               (sha256
                (base32
                 "1iipnwjkag7q04zjkaqic41r9nlw0ml6mhqian6qkkbisb1whlhw"))))
@@ -53,10 +53,3 @@ extensions to tell you the type of a file, but looks at the 
actual contents
 of the file.  This package provides the libmagic library.")
    (license bsd-2)
    (home-page "https://www.darwinsys.com/file/";)))
-
-(define file/fixed
-  (package
-    (inherit file)
-    (source
-      (origin (inherit (package-source file))
-              (patches (search-patches "file-CVE-2018-10360.patch"))))))



reply via email to

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