wok-6.x annotate asleap/receipt @ rev 25375
Update some current_version
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Jul 30 08:30:06 2022 +0000 (2022-07-30) |
parents | 9af0e03b8ad0 |
children |
rev | line source |
---|---|
slaxemulator@7819 | 1 # SliTaz package receipt. |
slaxemulator@7819 | 2 |
slaxemulator@7819 | 3 PACKAGE="asleap" |
slaxemulator@7819 | 4 VERSION="2.2" |
slaxemulator@7819 | 5 CATEGORY="network" |
slaxemulator@7819 | 6 SHORT_DESC="Actively recover LEAP/PPTP passwords." |
slaxemulator@7819 | 7 MAINTAINER="slaxemulator@gmail.com" |
pascal@15000 | 8 LICENSE="GPL2" |
slaxemulator@7819 | 9 DEPENDS="openssl libpcap" |
slaxemulator@7819 | 10 BUILD_DEPENDS="openssl-dev libpcap-dev" |
slaxemulator@7819 | 11 TARBALL="$PACKAGE-$VERSION.tgz" |
hackdorte@20008 | 12 # WEB_SITE="http://www.willhackforsushi.com/Asleap.html" |
pascal@21145 | 13 WEB_SITE="https://www.willhackforsushi.com/?page_id=41" |
pascal@24974 | 14 WGET_URL="https://www.willhackforsushi.com/code/$PACKAGE/$VERSION/$TARBALL" |
slaxemulator@7819 | 15 |
pascal@24373 | 16 # What is the latest version available today? |
pascal@24373 | 17 current_version() |
pascal@24373 | 18 { |
pascal@24373 | 19 wget -O - $WEB_SITE 2>/dev/null | \ |
pascal@24373 | 20 sed '/code\/asleap/!d;/MD5/!d;s|.*asleap-||;s|.tgz.*||;q' |
pascal@24373 | 21 } |
pascal@24373 | 22 |
slaxemulator@7819 | 23 # Rules to configure and make the package. |
slaxemulator@7819 | 24 compile_rules() |
slaxemulator@7819 | 25 { |
slaxemulator@7819 | 26 cd $src |
slaxemulator@7819 | 27 make |
slaxemulator@12869 | 28 install -D asleap $DESTDIR/usr/bin/asleap |
slaxemulator@12869 | 29 install -D genkeys $DESTDIR/usr/bin/genkeys |
slaxemulator@7819 | 30 |
slaxemulator@7819 | 31 } |
slaxemulator@7819 | 32 |
slaxemulator@7819 | 33 # Rules to gen a SliTaz package suitable for Tazpkg. |
slaxemulator@7819 | 34 genpkg_rules() |
slaxemulator@7819 | 35 { |
slaxemulator@7819 | 36 mkdir -p $fs/usr |
pascal@15603 | 37 cp -a $install/usr/bin $fs/usr |
slaxemulator@7819 | 38 } |
slaxemulator@7819 | 39 |