summaryrefslogtreecommitdiffstats
path: root/package/aircrack-ng
AgeCommit message (Collapse)Author
2014-11-16package/aircrack-ng: fix static buildYann E. MORIN
Two fixes in one: - openssl's libcrypto needs -lz, but because aircrack-ng does not use pkg-config, it misses this dependency. The proper fix would be to use pkg-config, like is done for pcre with patch 0001-Makefile-use-pkg-config-to-find-libpcre-it-s-more-cros.patch but adding -lz is much easier. - sqlite needs -lpthread, so -lpthread must be added _after_ -lsqlite, but we currently add it before. So, force -lpthread after -lsqlite when we are doing a static build. Fixes: http://autobuild.buildroot.net/results/1ea/1ea877851e9d2aeeaf9d320bef12321ec2925b5b/ http://autobuild.buildroot.net/results/cdf/cdf0203fc99d5f7e41e508f6d9edb78a0f0ea732/ Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Cc: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2014-11-11aircrack-ng: security bump to version 1.2-rc1Gustavo Zacarias
Fixes: CVE-2014-8321 - gps_tracer stack overflow CVE-2014-8322 - tcp_test length parameter inconsistency CVE-2014-8323 - buddy-ng missing check in data format CVE-2014-8324 - net_get missing check for invalid values Previous CVE patch dropped since the fix is upstream. Also add hash file. Drop iw runtime dep since it's only one of many required by airmon-zc (a script) which require a ton of conditionals for just that tool. It will tell somewhat nicely if they're missing. These would be: awk - from busybox or gawk ethtool grep - from busybox or grep ip or ifconfig - from busybox, iproute2 or net-tools iw lspci - from pciutils (needs full variant) lsusb - from usbutils (needs full variant) modprobe/modinfo - from busybox or kmod uname - from busybox or coreutils [Peter: drop double -lpthread from sqlite conditional] Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2014-10-25package/aircrack-ng: add missing space to LIBSQLMax Filippov
Signed-off-by: Max Filippov <jcmvbkbc@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2014-10-25aircrack-ng: don't use -ldl in a static lib configurationThomas Petazzoni
This commit gets rid of the -ldl flag used when BR2_PREFER_STATIC_LIB=y. First because it does not make sense: when you use a pure static library configuration, you don't have shared library support, so you don't have libdl. The occurences of -ldl were added in commit 1141d99aae9e1b139509ad71c969e6705417a48b ("aircrack-ng: fix static build") and commit bed1490d0f58dc963d2144f2fe6b705f9f36d848 ("aircrack-ng: fix statically linked build"), at a time were sqlite indeed was linked against libdl even in static library configurations. But this is no longer the case since bd56cd6b4cc75511ffacfe020a8de3c1aad44fc9 ("sqlite: Disable dynamic extention if static library is seleted"). This means we can now get rid of the -ldl flag when building aircrack-ng, which means it can build properly in a pure static library configuration. Fixes: http://autobuild.buildroot.org/results/bfd/bfd1ca4afdd32e3cc251aab7ee2ae5e5293ced1c/ Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2014-01-04package: remove the empty trailing line(s)Jerzy Grzegorek
Signed-off-by: Jerzy Grzegorek <jerzy.grzegorek@trzebnica.net> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2013-12-08packages: remove package clean commandsThomas De Schampheleire
Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2013-12-06packages: remove uninstall commandsThomas De Schampheleire
Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2013-11-10Config.in files: add missing dependencies to toolchain option commentsThomas De Schampheleire
When a package A depends on config option B and toolchain option C, then the comment that is given when C is not fulfilled should also depend on B. For example: config BR2_PACKAGE_A depends on BR2_B depends on BR2_LARGEFILE depends on BR2_WCHAR comment "A needs a toolchain w/ largefile, wchar" depends on !BR2_LARGEFILE || !BR2_WCHAR This comment should actually be: comment "A needs a toolchain w/ largefile, wchar" depends on BR2_B depends on !BR2_LARGEFILE || !BR2_WCHAR or if possible (typically when B is a package config option declared in that same Config.in file): if BR2_B comment "A needs a toolchain w/ largefile, wchar" depends on !BR2_LARGEFILE || !BR2_WCHAR [other config options depending on B] endif Otherwise, the comment would be visible even though the other dependencies are not met. This patch adds such missing dependencies, and changes existing such dependencies from depends on BR2_BASE_DEP && !BR2_TOOLCHAIN_USES_GLIBC to depends on BR2_BASE_DEP depends on !BR2_TOOLCHAIN_USES_GLIBC so that (positive) base dependencies are separate from the (negative) toolchain dependencies. This strategy makes it easier to write such comments (because one can simply copy the base dependency from the actual package config option), but also avoids complex and long boolean expressions. Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com> Acked-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> (untested) Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2013-11-06aircrack-ng: add security patch for CVE-2010-1159Gustavo Zacarias
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2013-10-14Config.in files: unify comments of toolchain option dependenciesThomas De Schampheleire
This patch lines up the comments in Config.in files that clarify which toolchain options the package depends on. Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2013-10-06package: remove the default value of the $(PKG)_SOURCE variableJerzy Grzegorek
Signed-off-by: Jerzy Grzegorek <jerzy.grzegorek@trzebnica.net> Acked-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com) Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2013-08-13aircrack-ng: fix static buildSamuel Martin
When static build and sqlite3 support are enabled together, link flags needs to be defined in the right order. Fixes http://autobuild.buildroot.org/results/a74/a74ced69052c1d0a91dbe32483fd0612d1bf24a Signed-off-by: Samuel Martin <s.martin49@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2013-06-06Normalize separator size to 80Alexandre Belloni
Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2013-06-06Convert headers to lower case when relevantAlexandre Belloni
Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2013-05-16aircrack-ng: don't drop TARGET_LDFLAGSPeter Korsgaard
Reported-by: Arnout Vandecappelle <arnout@mind.be> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2013-05-15aircrack-ng: fix statically linked buildSamuel Martin
Fixe the build failure visible at http://autobuild.buildroot.net/results/2441d8b62323a00f32f2edb7cb781dda71ff7f68 Signed-off-by: Samuel Martin <s.martin49@gmail.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2013-05-05aircrack-ng: fix build failure and install pathGustavo Zacarias
aircrack-ng doesn't account that openssl needs zlib so fix it. Fixes: http://autobuild.buildroot.net/results/97f4f90a7d60a0e3ea81c77f6986f1c1bae8d575/ Also fix the install prefix since it was getting installed to /usr/local Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2013-04-11aircrack-ng: needs toolchain with threads supportgilles.talis@gmail.com
Fixes: http://autobuild.buildroot.org/results/418c9385a9a5a5087a6790001560056d32cd9708 [Peter: drop iw comment] Signed-off-by: Gilles Talis <gilles.talis@gmail.com> Acked-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2013-03-09aircrack-ng: disable on non-MMU systemsThomas Petazzoni
aircrack-ng uses fork() and therefore fails to build on non-MMU systems: aircrack-ng.o: In function `_clean_exit': aircrack-ng.c:(.text+0x555c): undefined reference to `_fork' collect2: ld returned 1 exit status Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2013-03-04aircrack-ng: new packageLaurent Cans
Aircrack-ng is a set of tools for auditing wireless security. [Peter: mention that iw is a runtime dependency, use MAKE1] Signed-off-by: Laurent Cans <laurent.cans@gmail.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>