guix-commits
[Top][All Lists]
Advanced

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

branch master updated: gnu: Remove bsdiff.


From: guix-commits
Subject: branch master updated: gnu: Remove bsdiff.
Date: Fri, 12 Mar 2021 20:34:27 -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 373c7b5  gnu: Remove bsdiff.
373c7b5 is described below

commit 373c7b5791acd8f377455be47260948b843dd5db
Author: Léo Le Bouter <lle-bout@zaclys.net>
AuthorDate: Sat Mar 13 02:31:53 2021 +0100

    gnu: Remove bsdiff.
    
    As discussed in
    <https://lists.gnu.org/archive/html/guix-devel/2021-03/msg00154.html>, 
remove
    because of unpatched CVE-2020-14315 with no non-FreeBSD patch in sight.
    
    * gnu/packages/compression.scm (bsdiff): Remove.
---
 gnu/packages/compression.scm | 39 ---------------------------------------
 1 file changed, 39 deletions(-)

diff --git a/gnu/packages/compression.scm b/gnu/packages/compression.scm
index 8e2a3a7..99569f6 100644
--- a/gnu/packages/compression.scm
+++ b/gnu/packages/compression.scm
@@ -953,45 +953,6 @@ possible and can compress in parallel.  This is especially 
useful for large
 tarballs.")
     (license license:bsd-2)))
 
-(define-public bsdiff
-  (package
-    (name "bsdiff")
-    (version "4.3")
-    (home-page "https://www.daemonology.net/bsdiff/";)
-    (source (origin
-              (method url-fetch)
-              (uri (string-append home-page name "-" version ".tar.gz"))
-              (sha256
-               (base32
-                "0j2zm3z271x5aw63mwhr3vymzn45p2vvrlrpm9cz2nywna41b0hq"))
-              (patches (search-patches "bsdiff-CVE-2014-9862.patch"))))
-    (build-system gnu-build-system)
-    (arguments
-     `(#:make-flags (list "INSTALL=install"
-                          (string-append "CC=" ,(cc-for-target))
-                          (string-append "PREFIX=" (assoc-ref %outputs "out")))
-       #:phases (modify-phases %standard-phases
-                  (delete 'configure)
-                  (add-before 'build 'fix-Makefile
-                    (lambda _
-                      (substitute* "Makefile"
-                        ;; Adjust syntax to make it compatible with GNU Make.
-                        (("^\\.") "")
-                        ;; Help install(1) create the target directory.
-                        (("\\$\\{PREFIX\\}") "-D -t ${PREFIX}"))
-                      #t)))
-       #:tests? #f)) ;no tests
-    (inputs
-     `(("bzip2" ,bzip2)))
-    (synopsis "Patch binary files")
-    (description
-     "@command{bsdiff} and @command{bspatch} are tools for building and
-applying patches to binary files.  By using suffix sorting (specifically
-Larsson and Sadakane's @code{qsufsort}) and taking advantage of how
-executable files change, bsdiff routinely produces binary patches 50-80%
-smaller than those produced by @code{Xdelta}.")
-    (license license:bsd-2)))
-
 (define-public cabextract
  (package
    (name "cabextract")



reply via email to

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