* [PATCH] gnu: Add Aircrack-ng.
@ 2016-08-11 12:58 ericbavier
2016-08-12 18:01 ` Leo Famulari
0 siblings, 1 reply; 5+ messages in thread
From: ericbavier @ 2016-08-11 12:58 UTC (permalink / raw)
To: guix-devel; +Cc: Eric Bavier
From: Eric Bavier <bavier@member.fsf.org>
* 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 <me@tobias.gr>
;;; Copyright © 2016 John Darrington <jmd@gnu.org>
;;; Copyright © 2016 Nicolas Goaziou <mail@nicolasgoaziou.fr>
+;;; Copyright © 2016 Eric Bavier <bavier@member.fsf.org>
;;;
;;; 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
^ permalink raw reply related [flat|nested] 5+ messages in thread
* Re: [PATCH] gnu: Add Aircrack-ng.
2016-08-11 12:58 [PATCH] gnu: Add Aircrack-ng ericbavier
@ 2016-08-12 18:01 ` Leo Famulari
2016-08-12 18:34 ` Eric Bavier
0 siblings, 1 reply; 5+ messages in thread
From: Leo Famulari @ 2016-08-12 18:01 UTC (permalink / raw)
To: ericbavier; +Cc: guix-devel, Eric Bavier
On Thu, Aug 11, 2016 at 07:58:17AM -0500, ericbavier@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.
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH] gnu: Add Aircrack-ng.
2016-08-12 18:01 ` Leo Famulari
@ 2016-08-12 18:34 ` Eric Bavier
0 siblings, 0 replies; 5+ messages in thread
From: Eric Bavier @ 2016-08-12 18:34 UTC (permalink / raw)
To: Leo Famulari; +Cc: guix-devel
On 2016-08-12 13:01, Leo Famulari wrote:
> On Thu, Aug 11, 2016 at 07:58:17AM -0500, ericbavier@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
^ permalink raw reply [flat|nested] 5+ messages in thread
[parent not found: <mailman.11812.1470920318.26858.guix-devel@gnu.org>]
end of thread, other threads:[~2016-08-12 18:34 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-08-11 12:58 [PATCH] gnu: Add Aircrack-ng ericbavier
2016-08-12 18:01 ` Leo Famulari
2016-08-12 18:34 ` Eric Bavier
[not found] <mailman.11812.1470920318.26858.guix-devel@gnu.org>
2016-08-11 18:11 ` rennes
2016-08-11 19:16 ` Eric Bavier
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.