wok-current diff aircrack-ng-oui/receipt @ rev 20682
Update some WEB_SITE
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Jan 27 17:42:10 2019 +0100 (2019-01-27) |
parents | f4c22f009037 |
children | aa1584474883 |
line diff
1.1 --- a/aircrack-ng-oui/receipt Sat Sep 07 18:25:02 2013 +0000 1.2 +++ b/aircrack-ng-oui/receipt Sun Jan 27 17:42:10 2019 +0100 1.3 @@ -1,18 +1,24 @@ 1.4 # SliTaz package receipt. 1.5 1.6 PACKAGE="aircrack-ng-oui" 1.7 -VERSION="20120730" 1.8 +VERSION="20190127" 1.9 CATEGORY="misc" 1.10 SHORT_DESC="archive of oui.txt file for airdump-ng" 1.11 MAINTAINER="slaxemulator@gmail.com" 1.12 LICENSE="GPL2" 1.13 -WEB_SITE="http://standards.ieee.org/regauth/oui" 1.14 -TARBALL="oui.txt" 1.15 -WGET_URL="$WEB_SITE/$TARBALL" 1.16 +WEB_SITE="https://standards.ieee.org/products-services/regauth/oui/index.html" 1.17 +TARBALL="oui-$VERSION.txt" 1.18 +WGET_URL="http://standards-oui.ieee.org/oui.txt" 1.19 +HOST_ARCH="any" 1.20 1.21 # Rules to gen a SliTaz package suitable for Tazpkg. 1.22 genpkg_rules() 1.23 { 1.24 + # get the logic from airodump-ng-oui-update + dos2unix & sort 1.25 mkdir -p $fs/etc/aircrack-ng 1.26 - cp -a $src/oui.txt $fs/etc/aircrack-ng 1.27 + grep '(hex)' $TARBALL \ 1.28 + | sed 's/^[ \t]*//g;s/[ \t]*$//g' \ 1.29 + | dos2unix \ 1.30 + | sort \ 1.31 + > $etc/etc/aircrack-ng/airodump-ng-oui.txt 1.32 }