wok view cmospwd/receipt @ rev 25293
updated rust and rust-cargo (1.47.0 -> 1.62.0)
author | Hans-G?nter Theisgen |
---|---|
date | Tue Jul 19 11:14:38 2022 +0100 (2022-07-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 }