[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
04/06: gnu: hcxtools: Use gexps.
From: |
guix-commits |
Subject: |
04/06: gnu: hcxtools: Use gexps. |
Date: |
Thu, 16 Jun 2022 17:58:42 -0400 (EDT) |
civodul pushed a commit to branch master
in repository guix.
commit 9317cb3e9c6e65af6473818cadaee12f667a1783
Author: Petr Hodina <phodina@protonmail.com>
AuthorDate: Tue Jun 7 12:07:42 2022 +0200
gnu: hcxtools: Use gexps.
* gnu/packages/networking.scm (hcxtools)[arguments]: Link libraries and
use PREFIX instead of INSTALL_DIR.
[phases]: Use gexps.
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
---
gnu/packages/networking.scm | 21 ++++++++++++---------
1 file changed, 12 insertions(+), 9 deletions(-)
diff --git a/gnu/packages/networking.scm b/gnu/packages/networking.scm
index 07ee9d3ea0..1d092e6b96 100644
--- a/gnu/packages/networking.scm
+++ b/gnu/packages/networking.scm
@@ -3289,16 +3289,19 @@ Ethernet and TAP interfaces is supported. Packet
capture is also supported.")
(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
- branch master updated (ab82dd3f58 -> c8803d89fe), guix-commits, 2022/06/16
- 01/06: packages: Change the order of %SUPPORTED-SYSTEMS., guix-commits, 2022/06/16
- 06/06: ui: Improve pager selection logic when less is not installed., guix-commits, 2022/06/16
- 02/06: shell: Do not auto-detect manifest when '-p' is used., guix-commits, 2022/06/16
- 04/06: gnu: hcxtools: Use gexps.,
guix-commits <=
- 03/06: shell: Fix '--export-manifest' for cached profiles and when '-p' is used., guix-commits, 2022/06/16
- 05/06: gnu: hcxtools: Update to 6.2.7., guix-commits, 2022/06/16