summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorJean-Baptiste Note <jean-baptiste.note@m4x.org>2025-09-18 17:41:03 +0200
committerAndreas Enge <andreas@enge.fr>2025-09-23 10:24:31 +0200
commiteb893dbdd5ceae1e51c8b611e122e717f974a5c4 (patch)
treedc1ec066c103f62e392f9962a8438c130552ebae /gnu
parent1aa6da547dac764f72476b155b26844e3d93b632 (diff)
gnu: hashcat: Remove nonfree unrar bundled dependency.
Fixes: guix/guix#2784. * gnu/packages/password-utils.scm (hashcat)[source]: Remove "deps/unrar" from compiled directories. [arguments]<#:make-flags>: Add "ENABLE_UNRAR=0". Signed-off-by: Andreas Enge <andreas@enge.fr>
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/password-utils.scm4
1 files changed, 3 insertions, 1 deletions
diff --git a/gnu/packages/password-utils.scm b/gnu/packages/password-utils.scm
index fd431989946..566e4849158 100644
--- a/gnu/packages/password-utils.scm
+++ b/gnu/packages/password-utils.scm
@@ -1684,7 +1684,8 @@ your online accounts makes it necessary.")
(snippet
;; TODO: Unbundle LZMA-SDK as well
#~(for-each delete-file-recursively
- '("deps/zlib" "deps/xxHash" "deps/OpenCL-Headers")))))
+ '("deps/unrar" ;; nonfree license
+ "deps/zlib" "deps/xxHash" "deps/OpenCL-Headers")))))
(inputs (list minizip opencl-headers xxhash zlib))
(build-system gnu-build-system)
(arguments
@@ -1692,6 +1693,7 @@ your online accounts makes it necessary.")
#:make-flags #~(list (string-append "PREFIX=" #$output)
(string-append "AR=" #$(ar-for-target))
(string-append "CC=" #$(cc-for-target))
+ (string-append "ENABLE_UNRAR=0")
(string-append "USE_SYSTEM_ZLIB=1")
(string-append "USE_SYSTEM_OPENCL=1")
(string-append "USE_SYSTEM_XXHASH=1"))