Re: [PATCH] gnu: Add Aircrack-ng.
On 2016-08-12 13:01, Leo Famulari wrote: On Thu, Aug 11, 2016 at 07:58:17AM -0500, ericbav...@openmailbox.org wrote: * gnu/packages/networking.scm (aircrack-ng): New variable. +(inputs + `(("libgcrypt" ,libgcrypt) + ("libnl" ,libnl) + ("ethtool" ,ethtool) + ("pcre" ,pcre) + ("sqlite" ,sqlite) + ("zlib" ,zlib))) The output does not refer to ethtool: $ guix gc --references $(./pre-inst-env guix build aircrack-ng) /gnu/store/5992iq1v7arqa14ym3di58n4la0893nv-zlib-1.2.8 /gnu/store/9nifwk709wajpyfwa0jzaa3p6mf10vxs-gcc-4.9.3-lib /gnu/store/m9vxvhdj691bq1f85lpflvnhcvrdilih-glibc-2.23 /gnu/store/mpm281yzwcxzfc9n86krr61yhs2ja6gd-libgcrypt-1.7.0 /gnu/store/xiskld167yl4nqy57glqmcl3yp3bknh0-sqlite-3.12.2 /gnu/store/ykzwykkvr2c80rw4l1qh3mvfdkl7jibi-bash-4.3.42 /gnu/store/yydfpvk513c16ixgq8kdvi3g4l6clw2w-libnl-3.2.25 /gnu/store/zwc6ck9j0wv80kz5snw5acwb39ws88m1-pcre-8.38 Do you think that's a problem? I realize now after testing the tools some more that ethtool is a runtime script dependency that gets called as just "ethtool". I think I'll try to track down the reference and substitute the absolute file name. +(arguments + `(#:make-flags `("sqlite=true" + "gcrypt=true" + "libnl=true" + "pcre=true" + "experimental=true" I think this flag deserves an explanatory comment. Sure. The "experimental" flag builds a few extra tools like "wesside-ng" and "easside-ng". Thanks for checking it out! `~Eric
Re: [PATCH] gnu: Add Aircrack-ng.
On Thu, Aug 11, 2016 at 07:58:17AM -0500, ericbav...@openmailbox.org wrote: > * gnu/packages/networking.scm (aircrack-ng): New variable. > +(inputs > + `(("libgcrypt" ,libgcrypt) > + ("libnl" ,libnl) > + ("ethtool" ,ethtool) > + ("pcre" ,pcre) > + ("sqlite" ,sqlite) > + ("zlib" ,zlib))) The output does not refer to ethtool: $ guix gc --references $(./pre-inst-env guix build aircrack-ng) /gnu/store/5992iq1v7arqa14ym3di58n4la0893nv-zlib-1.2.8 /gnu/store/9nifwk709wajpyfwa0jzaa3p6mf10vxs-gcc-4.9.3-lib /gnu/store/m9vxvhdj691bq1f85lpflvnhcvrdilih-glibc-2.23 /gnu/store/mpm281yzwcxzfc9n86krr61yhs2ja6gd-libgcrypt-1.7.0 /gnu/store/xiskld167yl4nqy57glqmcl3yp3bknh0-sqlite-3.12.2 /gnu/store/ykzwykkvr2c80rw4l1qh3mvfdkl7jibi-bash-4.3.42 /gnu/store/yydfpvk513c16ixgq8kdvi3g4l6clw2w-libnl-3.2.25 /gnu/store/zwc6ck9j0wv80kz5snw5acwb39ws88m1-pcre-8.38 Do you think that's a problem? > +(arguments > + `(#:make-flags `("sqlite=true" > + "gcrypt=true" > + "libnl=true" > + "pcre=true" > + "experimental=true" I think this flag deserves an explanatory comment.
Re: [PATCH] gnu: Add Aircrack-ng.
On 2016-08-11 13:11, ren...@openmailbox.org wrote: Hello, +(description + "Aircrack-ng is a complete suite of tools to assess WiFi nnetwork perhaps the word is network instead nnetwork. Indeed. Thanks. -- `~Eric
Re: [PATCH] gnu: Add Aircrack-ng.
Hello, +(description + "Aircrack-ng is a complete suite of tools to assess WiFi nnetwork perhaps the word is network instead nnetwork.
[PATCH] gnu: Add Aircrack-ng.
From: Eric Bavier * gnu/packages/networking.scm (aircrack-ng): New variable. --- gnu/packages/networking.scm | 44 1 file changed, 44 insertions(+) diff --git a/gnu/packages/networking.scm b/gnu/packages/networking.scm index 77207c0..90e290e 100644 --- a/gnu/packages/networking.scm +++ b/gnu/packages/networking.scm @@ -7,6 +7,7 @@ ;;; Copyright © 2016 Tobias Geerinckx-Rice ;;; Copyright © 2016 John Darrington ;;; Copyright © 2016 Nicolas Goaziou +;;; Copyright © 2016 Eric Bavier ;;; ;;; This file is part of GNU Guix. ;;; @@ -38,6 +39,7 @@ #:use-module (gnu packages bison) #:use-module (gnu packages check) #:use-module (gnu packages compression) + #:use-module (gnu packages databases) #:use-module (gnu packages flex) #:use-module (gnu packages gettext) #:use-module (gnu packages gnupg) @@ -46,6 +48,7 @@ #:use-module (gnu packages lua) #:use-module (gnu packages mit-krb5) #:use-module (gnu packages ncurses) + #:use-module (gnu packages pcre) #:use-module (gnu packages perl) #:use-module (gnu packages pkg-config) #:use-module (gnu packages python) @@ -415,6 +418,47 @@ by firewalls or when you want to monitor the response time of the actual web application stack itself.") (license license:gpl2))); with permission to link with OpenSSL +(define-public aircrack-ng + (package +(name "aircrack-ng") +(version "1.2-rc4") +(source + (origin + (method url-fetch) + (uri (string-append "http://download.aircrack-ng.org/aircrack-ng-"; + version ".tar.gz")) + (sha256 +(base32 + "0dpzx9kddxpgzmgvdpl3rxn0jdaqhm5wxxndp1xd7d75mmmc2fnr" +(build-system gnu-build-system) +(native-inputs + `(("pkg-config" ,pkg-config))) +(inputs + `(("libgcrypt" ,libgcrypt) + ("libnl" ,libnl) + ("ethtool" ,ethtool) + ("pcre" ,pcre) + ("sqlite" ,sqlite) + ("zlib" ,zlib))) +(arguments + `(#:make-flags `("sqlite=true" + "gcrypt=true" + "libnl=true" + "pcre=true" + "experimental=true" + "AVX2FLAG=N" "AVX1FLAG=N" "SSEFLAG=Y" + ,(string-append "prefix=" %output)) + #:phases (modify-phases %standard-phases + (delete 'configure ;no configure phase +(home-page "http://www.aircrack-ng.org";) +(synopsis "Assess WiFi network security") +(description + "Aircrack-ng is a complete suite of tools to assess WiFi nnetwork +security. It focuses on different areas of WiFi security: monitoring, +attacking, testing, and cracking. All tools are command-line driven, which +allows for heavy scripting.") +(license (list license:gpl2+ license:bsd-3 + (define-public perl-net-dns (package (name "perl-net-dns") -- 2.9.2