wok annotate strace/receipt @ rev 25463

Up expat (2.4.9) fixes CVE-2022-40674
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Sep 29 20:05:23 2022 +0000 (20 months ago)
parents 5ea0ce1cecc0
children 0262035dc1e7
rev   line source
erjo@442 1 # SliTaz package receipt.
erjo@442 2
erjo@442 3 PACKAGE="strace"
Hans-G?nter@25332 4 VERSION="5.18"
pascal@741 5 CATEGORY="development"
Hans-G?nter@21977 6 TAGS="analysis debugger diagnostic"
Hans-G?nter@21977 7 SHORT_DESC="System call tracer."
erjo@784 8 MAINTAINER="erjo@slitaz.org"
pascal@15593 9 LICENSE="BSD"
Hans-G?nter@21977 10 WEB_SITE="https://strace.io/"
Hans-G?nter@21977 11
al@19168 12 TARBALL="$PACKAGE-$VERSION.tar.xz"
Hans-G?nter@21977 13 WGET_URL="https://github.com/$PACKAGE/$PACKAGE/releases/download/v$VERSION/$TARBALL"
pascal@15593 14
Hans-G?nter@25332 15 SUGGESTED="perl" # for strace-graph
Hans-G?nter@25332 16
pascal@24055 17 current_version()
pascal@24055 18 {
pascal@24055 19 wget -O - ${WGET_URL%/down*} 2>/dev/null | \
pascal@24055 20 sed '/archive.*tar/!d;s|.*/v\(.*\).tar.*|\1|;q'
pascal@24055 21 }
pascal@24055 22
erjo@442 23 # Rules to configure and make the package.
erjo@442 24 compile_rules()
erjo@442 25 {
Hans-G?nter@21977 26 ./configure $CONFIGURE_ARGS &&
Hans-G?nter@21977 27 make &&
Hans-G?nter@21977 28 make install
Hans-G?nter@25332 29 cp -a src/strace-graph $install/usr/bin
Hans-G?nter@23673 30
al@19168 31 find $install -name strace.1 -exec gzip -9 \{\} \;
erjo@442 32 }
erjo@442 33
erjo@442 34 # Rules to gen a SliTaz package suitable for Tazpkg.
erjo@442 35 genpkg_rules()
erjo@442 36 {
Hans-G?nter@23673 37 cp -a $install/* $fs
erjo@442 38 }