SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "aircrack-ng-oui"

# SliTaz package receipt.

PACKAGE="aircrack-ng-oui"
VERSION="20190127"
CATEGORY="misc"
SHORT_DESC="archive of oui.txt file for airdump-ng"
MAINTAINER="slaxemulator@gmail.com"
LICENSE="GPL2"
WEB_SITE="https://standards.ieee.org/products-services/regauth/oui/"
TARBALL="oui-$VERSION.txt"
WGET_URL="https://standards-oui.ieee.org/oui.txt"
HOST_ARCH="any"

# What is the latest version available today?
current_version()
{
    wget -O - https://github.com/royhills/arp-scan/commits/master/ieee-oui.txt 2>/dev/null | \
    sed 's|",|&\n|g' | sed '/committedDate/!d;s|.*":"||;s|T.*||;s|-||g;q'
}

# Rules to configure and make the package.
compile_rules()
{
    # get the logic from airodump-ng-oui-update + dos2unix & sort
    mkdir -p $install/etc/aircrack-ng
    grep '(hex)' $TARBALL \
    | sed 's/^[ \t]*//g;s/[ \t]*$//g' \
    | dos2unix \
    | sort \
    > $install/etc/aircrack-ng/airodump-ng-oui.txt
}

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
    cp -a $install/etc $fs
}
5935 packages and 845883 files in cooking database (Thu Jun 27 00:01:54 2024)