wok-current view aircrack-ng-oui/receipt @ rev 25338
updated svkbd packages ( -> 0.4.1)
author | Hans-G?nter Theisgen |
---|---|
date | Sun Jul 24 10:22:05 2022 +0100 (2022-07-24) |
parents | aa1584474883 |
children | 01119cbefbc3 |
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/index.html"
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 }