mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-09 00:23:52 +02:00
aircrack-ng: add libcap to enable more utilities
Closes: #34380 [via git-merge-pr]
This commit is contained in:
parent
154287c26c
commit
36a9c112ae
2 changed files with 16 additions and 2 deletions
14
srcpkgs/aircrack-ng/patches/getopt.patch
Normal file
14
srcpkgs/aircrack-ng/patches/getopt.patch
Normal file
|
@ -0,0 +1,14 @@
|
||||||
|
argv[1] is a file name argument, musl getopt_long will permute it
|
||||||
|
to a later position, so skip it for argument parsing.
|
||||||
|
|
||||||
|
--- aircrack-ng-1.6/src/airolib-ng/airolib-ng.c.orig
|
||||||
|
+++ aircrack-ng-1.6/src/airolib-ng/airolib-ng.c
|
||||||
|
@@ -1309,7 +1309,7 @@
|
||||||
|
signal(SIGTERM, sighandler);
|
||||||
|
|
||||||
|
option = getopt_long(
|
||||||
|
- argc, argv, "bc:d:e:hi:s:t:v:", long_options, &option_index);
|
||||||
|
+ argc-1, argv+1, "bc:d:e:hi:s:t:v:", long_options, &option_index);
|
||||||
|
|
||||||
|
if (option > 0)
|
||||||
|
{
|
|
@ -1,10 +1,10 @@
|
||||||
# Template file for 'aircrack-ng'
|
# Template file for 'aircrack-ng'
|
||||||
pkgname=aircrack-ng
|
pkgname=aircrack-ng
|
||||||
version=1.6
|
version=1.6
|
||||||
revision=3
|
revision=4
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
hostmakedepends="automake libtool pkg-config"
|
hostmakedepends="automake libtool pkg-config"
|
||||||
makedepends="libnl3-devel openssl-devel sqlite-devel zlib-devel"
|
makedepends="libnl3-devel openssl-devel sqlite-devel zlib-devel libcap-devel"
|
||||||
short_desc="Complete suite of tools to assess WiFi network security"
|
short_desc="Complete suite of tools to assess WiFi network security"
|
||||||
maintainer="Orphaned <orphan@voidlinux.org>"
|
maintainer="Orphaned <orphan@voidlinux.org>"
|
||||||
license="GPL-2.0-or-later, BSD-3-Clause, OpenSSL"
|
license="GPL-2.0-or-later, BSD-3-Clause, OpenSSL"
|
||||||
|
|
Loading…
Add table
Reference in a new issue