wok-current annotate aircrack-ng-oui/receipt @ rev 24064

Fix mailsync
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Jun 12 11:07:34 2021 +0000 (2021-06-12)
parents 20661c276bcf
children b01314c762e9
rev   line source
slaxemulator@13167 1 # SliTaz package receipt.
slaxemulator@13167 2
slaxemulator@13167 3 PACKAGE="aircrack-ng-oui"
pascal@20682 4 VERSION="20190127"
slaxemulator@13167 5 CATEGORY="misc"
slaxemulator@13167 6 SHORT_DESC="archive of oui.txt file for airdump-ng"
slaxemulator@13167 7 MAINTAINER="slaxemulator@gmail.com"
pascal@15201 8 LICENSE="GPL2"
pascal@20682 9 WEB_SITE="https://standards.ieee.org/products-services/regauth/oui/index.html"
pascal@20682 10 TARBALL="oui-$VERSION.txt"
pascal@20682 11 WGET_URL="http://standards-oui.ieee.org/oui.txt"
pascal@20682 12 HOST_ARCH="any"
slaxemulator@13167 13
pascal@20683 14 # Rules to configure and make the package.
pascal@20683 15 compile_rules()
slaxemulator@13167 16 {
pascal@20682 17 # get the logic from airodump-ng-oui-update + dos2unix & sort
pascal@20683 18 mkdir -p $install/etc/aircrack-ng
pascal@20682 19 grep '(hex)' $TARBALL \
pascal@20682 20 | sed 's/^[ \t]*//g;s/[ \t]*$//g' \
pascal@20682 21 | dos2unix \
pascal@20682 22 | sort \
pascal@20683 23 > $install/etc/aircrack-ng/airodump-ng-oui.txt
slaxemulator@13167 24 }
pascal@20683 25
pascal@20683 26 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@20683 27 genpkg_rules()
pascal@20683 28 {
pascal@20683 29 cp -a $install/etc $fs
pascal@20683 30 }