[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
02/14: gnu: aircrack-ng: Update to 1.3.
From: |
Tobias Geerinckx-Rice |
Subject: |
02/14: gnu: aircrack-ng: Update to 1.3. |
Date: |
Sun, 9 Sep 2018 09:06:05 -0400 (EDT) |
nckx pushed a commit to branch master
in repository guix.
commit b9114ccbad64db553b88d2b17206a34585b60e37
Author: Tobias Geerinckx-Rice <address@hidden>
Date: Fri Aug 17 16:13:51 2018 +0200
gnu: aircrack-ng: Update to 1.3.
* gnu/packages/networking.scm (aircrack-ng): Update to 1.3.
[native-inputs]: Add autoconf, automake, libtool, and which.
[inputs]: Add libpcap.
[arguments]: Use conventional --options in #:configure-flags.
Restore ‘configure’ phase. Add ‘patch-evalrev’ and customise ‘bootstrap’
phases. Simplify ‘absolutize-tools’ phase.
---
gnu/packages/networking.scm | 48 +++++++++++++++++++++++++--------------------
1 file changed, 27 insertions(+), 21 deletions(-)
diff --git a/gnu/packages/networking.scm b/gnu/packages/networking.scm
index 5a85a9d..abc616d 100644
--- a/gnu/packages/networking.scm
+++ b/gnu/packages/networking.scm
@@ -762,7 +762,7 @@ live network and disk I/O bandwidth monitor.")
(define-public aircrack-ng
(package
(name "aircrack-ng")
- (version "1.2-rc4")
+ (version "1.3")
(source
(origin
(method url-fetch)
@@ -770,42 +770,48 @@ live network and disk I/O bandwidth monitor.")
version ".tar.gz"))
(sha256
(base32
- "0dpzx9kddxpgzmgvdpl3rxn0jdaqhm5wxxndp1xd7d75mmmc2fnr"))))
+ "1jl30d0kibc82447fr3lgw75arik0l9729k94z76l7vl51y8mq4a"))))
(build-system gnu-build-system)
(native-inputs
- `(("pkg-config" ,pkg-config)))
+ `(("autoconf" ,autoconf)
+ ("automake" ,automake)
+ ("libtool" ,libtool)
+ ("pkg-config" ,pkg-config)
+ ("which" ,which)))
(inputs
`(("libgcrypt" ,libgcrypt)
("libnl" ,libnl)
+ ("libpcap" ,libpcap)
("ethtool" ,ethtool)
("pcre" ,pcre)
("sqlite" ,sqlite)
("zlib" ,zlib)))
(arguments
- `(#:make-flags `("sqlite=true"
- "gcrypt=true"
- "libnl=true"
- "pcre=true"
- "experimental=true" ;build wesside-ng, etc.
- "AVX2FLAG=N" "AVX1FLAG=N"
- ,,@(match (%current-system)
- ((or "x86_64-linux" "i686-linux")
- `("SSEFLAG=Y"))
- (_
- `("NEWSSE=false")))
- ,(string-append "prefix=" %output))
+ `(#:configure-flags
+ (list "--with-experimental=yes" ; build wesside-ng, etc.
+ "--with-gcrypt") ; openssl's the default
#:phases (modify-phases %standard-phases
- (delete 'configure) ;no configure phase
+ (add-before 'bootstrap 'patch-evalrev
+ (lambda _
+ ;; Called by ./autogen.sh below, before the default
+ ;; ‘patch-shebangs’ phase has had a chance to run.
+ (substitute* "evalrev"
+ (("/bin/sh")
+ (which "sh")))
+ #t))
+ (replace 'bootstrap
+ (lambda _
+ ;; Patch shebangs in generated files before running
+ ;; ./configure.
+ (setenv "NOCONFIGURE" "please")
+ (invoke "bash" "./autogen.sh")))
(add-after 'build 'absolutize-tools
(lambda* (#:key inputs #:allow-other-keys)
(let ((ethtool (string-append (assoc-ref inputs
"ethtool")
"/sbin/ethtool")))
(substitute* "scripts/airmon-ng"
- (("\\[ ! -x \"\\$\\(command -v ethtool 2>&1)\" \\]")
- (string-append "! " ethtool " --version "
- ">/dev/null 2>&1"))
- (("\\$\\(ethtool")
- (string-append "$(" ethtool)))
+ (("ethtool ")
+ (string-append ethtool " ")))
#t))))))
(home-page "https://www.aircrack-ng.org")
(synopsis "Assess WiFi network security")
- branch master updated (d7f99b3 -> b64e67a), Tobias Geerinckx-Rice, 2018/09/09
- 01/14: gnu: aircrack-ng: Use HTTPS., Tobias Geerinckx-Rice, 2018/09/09
- 03/14: gnu: links: Update to 2.17., Tobias Geerinckx-Rice, 2018/09/09
- 05/14: gnu: perl-datetime: Update to 1.50., Tobias Geerinckx-Rice, 2018/09/09
- 06/14: gnu: perl-namespace-clean: Update to 0.27., Tobias Geerinckx-Rice, 2018/09/09
- 08/14: gnu: perl-extutils-helpers: Update to 0.026., Tobias Geerinckx-Rice, 2018/09/09
- 11/14: gnu: perl-pegex: Update to 0.67., Tobias Geerinckx-Rice, 2018/09/09
- 12/14: gnu: musl: Update to 1.1.20., Tobias Geerinckx-Rice, 2018/09/09
- 02/14: gnu: aircrack-ng: Update to 1.3.,
Tobias Geerinckx-Rice <=
- 10/14: gnu: perl-config-autoconf: Update to 0.317., Tobias Geerinckx-Rice, 2018/09/09
- 09/14: gnu: perl-extutils-installpaths: Update to 0.012., Tobias Geerinckx-Rice, 2018/09/09
- 14/14: gnu: cloc: Update to 1.78., Tobias Geerinckx-Rice, 2018/09/09
- 04/14: gnu: perl-params-validate: Update to 1.29., Tobias Geerinckx-Rice, 2018/09/09
- 07/14: gnu: perl-getopt-long-descriptive: Update to 0.103., Tobias Geerinckx-Rice, 2018/09/09
- 13/14: gnu: signify: Update to 24., Tobias Geerinckx-Rice, 2018/09/09