guix-commits
[Top][All Lists]
Advanced

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

branch master updated: gnu: java-xz: Mark source as zipbomb.


From: guix-commits
Subject: branch master updated: gnu: java-xz: Mark source as zipbomb.
Date: Sun, 11 Jul 2021 07:47:55 -0400

This is an automated email from the git hooks/post-receive script.

efraim pushed a commit to branch master
in repository guix.

The following commit(s) were added to refs/heads/master by this push:
     new 7760d28  gnu: java-xz: Mark source as zipbomb.
7760d28 is described below

commit 7760d28920a920791645c4485f1345af45ee7787
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Sun Jul 11 14:07:00 2021 +0300

    gnu: java-xz: Mark source as zipbomb.
    
    * gnu/packages/java-compression.scm (java-xz)[source]: Download source
    as zipbomb.
    [argments]: Remove custom 'chdir phase.
---
 gnu/packages/java-compression.scm | 8 +-------
 1 file changed, 1 insertion(+), 7 deletions(-)

diff --git a/gnu/packages/java-compression.scm 
b/gnu/packages/java-compression.scm
index 5f653bc..19b1195 100644
--- a/gnu/packages/java-compression.scm
+++ b/gnu/packages/java-compression.scm
@@ -291,7 +291,7 @@ It can be used as a replacement for the Apache 
@code{CBZip2InputStream} /
     (name "java-xz")
     (version "1.6")
     (source (origin
-              (method url-fetch)
+              (method url-fetch/zipbomb)
               (uri (string-append "https://tukaani.org/xz/xz-java-"; version 
".zip"))
               (sha256
                (base32
@@ -301,12 +301,6 @@ It can be used as a replacement for the Apache 
@code{CBZip2InputStream} /
      `(#:tests? #f; no tests
        #:phases
        (modify-phases %standard-phases
-         (add-after 'unpack 'chdir
-           (lambda _
-             ;; Our build system enters the first directory in the archive, but
-             ;; the package is not contained in a subdirectory
-             (chdir "..")
-             #t))
          (add-before 'install 'generate-pom
            (lambda _
              (copy-file "maven/pom_template.xml" "pom.xml")



reply via email to

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