wok view aircrack-ng-oui/receipt @ rev 25632
Up gtklife (5.3)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Dec 23 14:06:29 2023 +0000 (8 months ago) |
parents | 01119cbefbc3 |
children | a66f312c374b |
line source
1 # SliTaz package receipt.
3 PACKAGE="aircrack-ng-oui"
4 VERSION="20190127"
5 CATEGORY="misc"
6 SHORT_DESC="archive of oui.txt file for airdump-ng"
7 MAINTAINER="slaxemulator@gmail.com"
8 LICENSE="GPL2"
9 WEB_SITE="https://standards.ieee.org/products-services/regauth/oui/"
10 TARBALL="oui-$VERSION.txt"
11 WGET_URL="https://standards-oui.ieee.org/oui.txt"
12 HOST_ARCH="any"
14 # What is the latest version available today?
15 current_version()
16 {
17 wget -O - https://github.com/royhills/arp-scan/commits/master/ieee-oui.txt 2>/dev/null | \
18 sed '/Commits on/!d;s|.*on |"|;s|<.*|"|;q' | xargs date +%Y%m%d -d
19 }
21 # Rules to configure and make the package.
22 compile_rules()
23 {
24 # get the logic from airodump-ng-oui-update + dos2unix & sort
25 mkdir -p $install/etc/aircrack-ng
26 grep '(hex)' $TARBALL \
27 | sed 's/^[ \t]*//g;s/[ \t]*$//g' \
28 | dos2unix \
29 | sort \
30 > $install/etc/aircrack-ng/airodump-ng-oui.txt
31 }
33 # Rules to gen a SliTaz package suitable for Tazpkg.
34 genpkg_rules()
35 {
36 cp -a $install/etc $fs
37 }