Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
chromebrew
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
chromebrew
Commits
c60564e5
Commit
c60564e5
authored
Feb 23, 2021
by
satmandu
Committed by
GitHub
Feb 23, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix aircrack issues w/ OpenSSL (#5255)
parent
0b25c567
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
41 additions
and
39 deletions
+41
-39
packages/aircrack_ng.rb
packages/aircrack_ng.rb
+41
-39
No files found.
packages/aircrack_ng.rb
View file @
c60564e5
...
@@ -3,51 +3,53 @@ require 'package'
...
@@ -3,51 +3,53 @@ require 'package'
class
Aircrack_ng
<
Package
class
Aircrack_ng
<
Package
description
'Key cracker for the 802.11 WEP and WPA-PSK protocols.'
description
'Key cracker for the 802.11 WEP and WPA-PSK protocols.'
homepage
'https://www.aircrack-ng.org'
homepage
'https://www.aircrack-ng.org'
version
'1.
2-rc4-3
'
version
'1.
6-17f9
'
compatibility
'all'
compatibility
'all'
source_url
'http
://download.aircrack-ng.org/aircrack-ng-1.2-rc4.tar.gz
'
source_url
'http
s://github.com/aircrack-ng/aircrack-ng/archive/17f971cebdaeea0c86e338bde09a52787fcd6d9c.zip
'
source_sha256
'd
93ac16aade5b4d37ab8cdf6ce4b855835096ccf83deb65ffdeff6d666eaff36
'
source_sha256
'd
6dc9078f2ab56671f8fb707aa5ddbbec36d1a732cc7ad9a3d2803a5dbbaae5b
'
binary_url
({
binary_url
({
aarch64:
'https://dl.bintray.com/chromebrew/chromebrew/aircrack_ng-1.
2-rc4-3
-chromeos-armv7l.tar.xz'
,
aarch64:
'https://dl.bintray.com/chromebrew/chromebrew/aircrack_ng-1.
6-17f9
-chromeos-armv7l.tar.xz'
,
armv7l:
'https://dl.bintray.com/chromebrew/chromebrew/aircrack_ng-1.
2-rc4-3
-chromeos-armv7l.tar.xz'
,
armv7l:
'https://dl.bintray.com/chromebrew/chromebrew/aircrack_ng-1.
6-17f9
-chromeos-armv7l.tar.xz'
,
i686:
'https://dl.bintray.com/chromebrew/chromebrew/aircrack_ng-1.
2-rc4-3
-chromeos-i686.tar.xz'
,
i686:
'https://dl.bintray.com/chromebrew/chromebrew/aircrack_ng-1.
6-17f9
-chromeos-i686.tar.xz'
,
x86_64:
'https://dl.bintray.com/chromebrew/chromebrew/aircrack_ng-1.
2-rc4-3-chromeos-x86_64.tar.xz'
,
x86_64:
'https://dl.bintray.com/chromebrew/chromebrew/aircrack_ng-1.
6-17f9-chromeos-x86_64.tar.xz'
})
})
binary_sha256
({
binary_sha256
({
aarch64:
'
6597d9d24115513c16113639a86f62fee44f6464d52ce9f18e782c9ca3ff97dd
'
,
aarch64:
'
7c7b369f40e783ebad0786124f109b50ef9db65ae5b5fa725af55712c8eefea4
'
,
armv7l:
'
6597d9d24115513c16113639a86f62fee44f6464d52ce9f18e782c9ca3ff97dd
'
,
armv7l:
'
7c7b369f40e783ebad0786124f109b50ef9db65ae5b5fa725af55712c8eefea4
'
,
i686:
'
52a3a53e68d690426018758cb0b5dbbe692b7ac70d0b42d0b198adb7010dbe42
'
,
i686:
'
27d67a5bbadb60975451f79e5a019a4567f7241519e248ea54050be4e4c554dc
'
,
x86_64:
'
8331f17911c1eac404a91eefd1a2673b4a2229f3c555155ca7622d534f59ca19'
,
x86_64:
'
5c7cfe8e71c1dc3f5634027855ebee88d458a08f44bca3ed0a01388f0524524c'
})
})
depends_on
'bison'
=>
:build
depends_on
'flex'
=>
:build
depends_on
'libnl3'
depends_on
'libnl3'
depends_on
'libpcap'
depends_on
'libpcap'
depends_on
'sqlite'
depends_on
'rfkill'
depends_on
'rfkill'
depends_on
'zlibpkg'
def
self
.
build
def
self
.
build
# Need to specify TMPDIR to run automatic configuration tool correctly
system
'NOCONFIGURE=1 ./autogen.sh'
system
"TMPDIR=
#{
CREW_PREFIX
}
/tmp make sqlite=true experimental=true"
# system "./configure --help"
# Could also add more specific optimization options:
# --with-static-simd[=x86-sse2|x86-avx|x86-avx2|x86-avx512|ppc-altivec|ppc-power8|arm-neon|arm-asimd],
# use specific SIMD implementation at static link, [default=none]
# --with-avx512[=yes|no] use AVX-512F instruction set, [default=no]
system
"env CFLAGS='-flto=auto' CXXFLAGS='-flto=auto' \
LDFLAGS='-flto=auto' \
TMPDIR=
#{
CREW_PREFIX
}
/tmp \
./configure \
#{
CREW_OPTIONS
}
\
--program-prefix='' --program-suffix='' \
--with-lto \
--with-experimental=yes \
--with-openssl=
#{
CREW_PREFIX
}
\
sbindir=
#{
CREW_PREFIX
}
/sbin \
mandir=
#{
CREW_PREFIX
}
/share/man/man1 \
smandir=
#{
CREW_PREFIX
}
/share/man/man8"
system
'make'
end
end
def
self
.
install
def
self
.
install
system
"make"
,
"DESTDIR=
#{
CREW_DEST_DIR
}
"
,
system
'make'
,
"DESTDIR=
#{
CREW_DEST_DIR
}
"
,
"sqlite=true"
,
'install'
"experimental=true"
,
"prefix=
#{
CREW_PREFIX
}
"
,
"libdir=
#{
CREW_LIB_PREFIX
}
"
,
"bindir=
#{
CREW_PREFIX
}
/bin"
,
"sbindir=
#{
CREW_PREFIX
}
/sbin"
,
"mandir=
#{
CREW_PREFIX
}
/share/man/man1"
,
"smandir=
#{
CREW_PREFIX
}
/share/man/man8"
,
"install"
end
def
self
.
postinstall
# Fix for [*] Run 'airodump-ng-oui-update' as root (or with sudo) to install or update Airodump-ng OUI file (Internet connection required).
# Fix for [*] Run 'airodump-ng-oui-update' as root (or with sudo) to install or update Airodump-ng OUI file (Internet connection required).
#
#
# Before fix:
# Before fix:
...
@@ -61,15 +63,15 @@ class Aircrack_ng < Package
...
@@ -61,15 +63,15 @@ class Aircrack_ng < Package
# [*] Downloading IEEE OUI file...
# [*] Downloading IEEE OUI file...
# [*] Parsing OUI file...
# [*] Parsing OUI file...
# [*] Airodump-ng OUI file successfully updated
# [*] Airodump-ng OUI file successfully updated
system
"sed -i 's,/usr/local,,'
#{
CREW_PREFIX
}
/sbin/airodump-ng-oui-update"
system
"sed -i 's,/usr/local,,'
#{
CREW_
DEST_
PREFIX
}
/sbin/airodump-ng-oui-update"
system
"sed -i 's,/etc,
#{
CREW_PREFIX
}
/etc,g'
#{
CREW_PREFIX
}
/sbin/airodump-ng-oui-update"
system
"sed -i 's,/etc,
#{
CREW_PREFIX
}
/etc,g'
#{
CREW_
DEST_
PREFIX
}
/sbin/airodump-ng-oui-update"
system
"sed -i 's,/usr/share,
#{
CREW_PREFIX
}
/share,'
#{
CREW_PREFIX
}
/sbin/airodump-ng-oui-update"
system
"sed -i 's,/usr/share,
#{
CREW_PREFIX
}
/share,'
#{
CREW_
DEST_
PREFIX
}
/sbin/airodump-ng-oui-update"
end
end
def
self
.
check
def
self
.
check
system
"make"
,
system
'make'
,
"sqlite=true"
,
'sqlite=true'
,
"experimental=true"
,
'experimental=true'
,
"check"
'check'
end
end
end
end
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment