wok-current annotate pixiewps/receipt @ rev 25725

Patch openssh CVE-2024-6387
author Stanislas Leduc <shann@slitaz.org>
date Mon Jul 01 15:09:44 2024 +0000 (4 months ago)
parents bd7112b1dc19
children
rev   line source
pascal@20018 1 # SliTaz package receipt.
pascal@20018 2
pascal@20018 3 PACKAGE="pixiewps"
Hans-G?nter@21682 4 VERSION="1.4.2"
pascal@20018 5 CATEGORY="network"
pascal@20018 6 SHORT_DESC="An offline WPS brute-force utility."
pascal@20018 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@20018 8 LICENSE="GPL3"
pascal@20018 9 WEB_SITE="https://github.com/wiire-a/pixiewps"
Hans-G?nter@21682 10
pascal@20018 11 TARBALL="$PACKAGE-$VERSION.tar.gz"
pascal@20018 12 WGET_URL="$WEB_SITE/archive/v$VERSION.tar.gz"
pascal@20018 13
pascal@24055 14 current_version()
pascal@24055 15 {
pascal@24055 16 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
pascal@24055 17 sed '/archive.*tar/!d;s|.*/v\(.*\).tar.*|\1|;q'
pascal@24055 18 }
pascal@24055 19
pascal@20018 20 # Rules to configure and make the package.
pascal@20018 21 compile_rules()
pascal@20018 22 {
Hans-G?nter@21683 23 make
pascal@20018 24 }
pascal@20018 25
pascal@20018 26 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@20018 27 genpkg_rules()
pascal@20018 28 {
Hans-G?nter@21682 29 mkdir -p $fs/usr/bin
Hans-G?nter@21682 30 mkdir -p $install/usr/share/doc
Hans-G?nter@21682 31
Hans-G?nter@21683 32 cp -a $src/pixiewps $fs/usr/bin
Hans-G?nter@21682 33 cp -a $src/README.md $install/usr/share/doc
pascal@20018 34 }