wok view aircrack-ng-oui/receipt @ rev 25436

Up bacon (4.5), clex (4.7), rcssmin (1.1.1), remind (04.00.03)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Aug 31 16:18:16 2022 +0000 (20 months ago)
parents b01314c762e9
children 73f36875e5a7
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="http://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 }