wok annotate pysdm/receipt @ rev 25496

Up expat (2.5.0), CVE-2022-43680. Again.
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Dec 02 10:26:08 2022 +0000 (18 months ago)
parents 080c1dff8494
children 29df00e1e19d
rev   line source
pascal@15376 1 # SliTaz package receipt.
pascal@15376 2
pascal@11563 3 PACKAGE="pysdm"
pascal@11563 4 VERSION="0.4.1"
pascal@11563 5 CATEGORY="system-tools"
pascal@11563 6 SHORT_DESC="A Storage Device Manager via udev (and not fstab)."
pascal@11563 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@15376 8 LICENSE="GPL2"
pascal@11563 9 TARBALL="$PACKAGE-$VERSION.tar.gz"
pascal@25460 10 WEB_SITE="https://pysdm.sourceforge.net/"
pascal@11563 11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
pascal@11563 12
pascal@11563 13 DEPENDS="pygtk"
pascal@11563 14 BUILD_DEPENDS="python python-dev"
pascal@11563 15
pascal@24396 16 # What is the latest version available today?
pascal@24396 17 current_version()
pascal@24396 18 {
pascal@24396 19 wget -O - https://sourceforge.net/projects/pysdm/files/pysdm/ 2>/dev/null | \
pascal@24396 20 sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
pascal@24396 21 sed '/scope="row/!d;/tar/!d;s|.*/pysdm-||;s|.tar.*||;q'
pascal@24396 22 }
pascal@24396 23
pascal@11563 24 # Rules to configure and make the package.
pascal@11563 25 compile_rules()
pascal@11563 26 {
pascal@11563 27
pascal@11563 28 cd $src
pascal@11563 29 sed -i 's/gksudo/subox/;s/Settings;//' data/pysdm.desktop
pascal@11563 30 ./configure --prefix=/usr --infodir=/usr/share/info \
pascal@11563 31 --mandir=/usr/share/man \
pascal@11563 32 $CONFIGURE_ARGS &&
pascal@11563 33 make &&
pascal@11563 34 make DESTDIR=$DESTDIR install
pascal@11563 35 }
pascal@11563 36
pascal@11563 37 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@11563 38 genpkg_rules()
pascal@11563 39 {
pascal@15376 40 cp -a $install/usr $fs
pascal@11563 41 }