wok-current view cmospwd/receipt @ rev 25029
lives: back out wget_url update
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu May 19 19:43:34 2022 +0000 (2022-05-19) |
parents | 39fb10403b4b |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="cmospwd"
4 VERSION="5.1"
5 CATEGORY="misc"
6 TAGS="CMOS"
7 SHORT_DESC="Decrypts password stored in cmos used to access BIOS SETUP."
8 MAINTAINER="pascal.bellard@slitaz.org"
9 LICENSE="GPL2"
10 WEB_SITE="https://www.cgsecurity.org/wiki/CmosPwd"
12 TARBALL="$PACKAGE-$VERSION.tar.bz2"
13 WGET_URL="https://www.cgsecurity.org/$TARBALL"
15 # What is the latest version available today?
16 current_version()
17 {
18 wget -O - $WEB_SITE 2>/dev/null | \
19 sed '/cmospwd-/!d;/tar..z/!d;s|.*cmospwd-||;s|.tar.*||;q'
20 }
22 # Rules to configure and make the package.
23 compile_rules()
24 {
25 cd $src/src
26 rm -f cmospwd
27 make
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 mkdir -p $fs/usr/bin
34 cp -a $src/src/cmospwd $fs/usr/bin
35 }