* [bug#55829] [PATCH 1/2] gnu: hcxtools: Use gexps.
@ 2022-06-07 10:19 phodina via Guix-patches via
2022-06-16 21:20 ` bug#55829: " Ludovic Courtès
0 siblings, 1 reply; 2+ messages in thread
From: phodina via Guix-patches via @ 2022-06-07 10:19 UTC (permalink / raw)
To: 55829
[-- Attachment #1.1: Type: text/plain, Size: 58 bytes --]
Hi,
here's patch for hcxtools: update + gexps.
----
Petr
[-- Attachment #1.2: Type: text/html, Size: 157 bytes --]
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: 0001-gnu-hcxtools-Use-gexps.patch --]
[-- Type: text/x-patch; name=0001-gnu-hcxtools-Use-gexps.patch, Size: 1765 bytes --]
From 751167feff404c81dfbfb5e447b854a5dbc44c89 Mon Sep 17 00:00:00 2001
From: Petr Hodina <phodina@protonmail.com>
Date: Tue, 7 Jun 2022 12:07:42 +0200
Subject: [PATCH 1/2] gnu: hcxtools: Use gexps.
* gnu/packages/networking.scm (hcxtools)[arguments]: Link libraries and use PREFIX instead of INSTALL_DIR.
[phases]: Use gexps.
diff --git a/gnu/packages/networking.scm b/gnu/packages/networking.scm
index bfa956149d..5b82516812 100644
--- a/gnu/packages/networking.scm
+++ b/gnu/packages/networking.scm
@@ -3232,16 +3232,20 @@ (define-public hcxtools
(base32 "0k2qlq9hz5zc21nyc6yrnfqzga7hydn5mm0x3rpl2fhkwl81lxcn"))
(file-name (git-file-name name version))))
(build-system gnu-build-system)
- (inputs
- (list curl libpcap openssl zlib))
+ (native-inputs (list pkg-config))
+ (inputs (list curl libpcap openssl zlib))
(arguments
- `(#:make-flags
- (list ,(string-append "CC=" (cc-for-target))
- (string-append "INSTALLDIR=" (assoc-ref %outputs "out") "/bin"))
- #:tests? #f ; no test suite
- #:phases
- (modify-phases %standard-phases
- (delete 'configure))))
+ (list #:make-flags
+ #~(list (string-append "CC="
+ #$(cc-for-target)) "LDFLAGS+=-lcrypto"
+ "LDFLAGS+=-lcurl" "LDFLAGS+=-lz"
+ (string-append "PREFIX="
+ #$output))
+ #:tests?
+ #f ;no test suite
+ #:phases
+ #~(modify-phases %standard-phases
+ (delete 'configure))))
(home-page "https://github.com/ZerBea/hcxtools")
(synopsis "Capture wlan traffic to hashcat and John the Ripper")
(description
--
2.35.1
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #3: 0002-gnu-hcxtools-Update-to-6.2.7.patch --]
[-- Type: text/x-patch; name=0002-gnu-hcxtools-Update-to-6.2.7.patch, Size: 1084 bytes --]
From 66dd167a01e0eec4a3d0064115e617ba155131ed Mon Sep 17 00:00:00 2001
From: Petr Hodina <phodina@protonmail.com>
Date: Tue, 7 Jun 2022 12:05:54 +0200
Subject: [PATCH 2/2] gnu: hcxtools: Update to 6.2.7.
* gnu/packages/networking.scm (hcxtools): Update to 6.2.7.
diff --git a/gnu/packages/networking.scm b/gnu/packages/networking.scm
index 5b82516812..ccb0ded0aa 100644
--- a/gnu/packages/networking.scm
+++ b/gnu/packages/networking.scm
@@ -3221,7 +3221,7 @@ (define-public ubridge
(define-public hcxtools
(package
(name "hcxtools")
- (version "5.2.0")
+ (version "6.2.7")
(source
(origin
(method git-fetch)
@@ -3229,7 +3229,7 @@ (define-public hcxtools
(url "https://github.com/ZerBea/hcxtools")
(commit version)))
(sha256
- (base32 "0k2qlq9hz5zc21nyc6yrnfqzga7hydn5mm0x3rpl2fhkwl81lxcn"))
+ (base32 "0460dxbc04w60l3g06rk007yyb6qprgyii59y2zdki0vy7q63m8b"))
(file-name (git-file-name name version))))
(build-system gnu-build-system)
(native-inputs (list pkg-config))
--
2.35.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* bug#55829: [PATCH 1/2] gnu: hcxtools: Use gexps.
2022-06-07 10:19 [bug#55829] [PATCH 1/2] gnu: hcxtools: Use gexps phodina via Guix-patches via
@ 2022-06-16 21:20 ` Ludovic Courtès
0 siblings, 0 replies; 2+ messages in thread
From: Ludovic Courtès @ 2022-06-16 21:20 UTC (permalink / raw)
To: phodina; +Cc: 55829-done
phodina <phodina@protonmail.com> skribis:
> From 751167feff404c81dfbfb5e447b854a5dbc44c89 Mon Sep 17 00:00:00 2001
> From: Petr Hodina <phodina@protonmail.com>
> Date: Tue, 7 Jun 2022 12:07:42 +0200
> Subject: [PATCH 1/2] gnu: hcxtools: Use gexps.
>
> * gnu/packages/networking.scm (hcxtools)[arguments]: Link libraries and use PREFIX instead of INSTALL_DIR.
> [phases]: Use gexps.
[...]
> From 66dd167a01e0eec4a3d0064115e617ba155131ed Mon Sep 17 00:00:00 2001
> From: Petr Hodina <phodina@protonmail.com>
> Date: Tue, 7 Jun 2022 12:05:54 +0200
> Subject: [PATCH 2/2] gnu: hcxtools: Update to 6.2.7.
>
> * gnu/packages/networking.scm (hcxtools): Update to 6.2.7.
Applied, thanks!
Ludo'.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2022-06-16 21:21 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-06-07 10:19 [bug#55829] [PATCH 1/2] gnu: hcxtools: Use gexps phodina via Guix-patches via
2022-06-16 21:20 ` bug#55829: " Ludovic Courtès
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).