wok annotate partclone/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 6e8b1bcb30e2
children
rev   line source
erjo@13424 1 # SliTaz package receipt.
erjo@13424 2
erjo@13424 3 PACKAGE="partclone"
erkan@20505 4 VERSION="0.2.70"
erjo@13424 5 CATEGORY="system-tools"
erjo@13424 6 SHORT_DESC="Utilities to smartly backup partitions."
erjo@13424 7 MAINTAINER="erjo@slitaz.org"
pascal@15001 8 LICENSE="GPL2"
pascal@20671 9 WEB_SITE="https://partclone.org/"
erjo@13424 10 TARBALL="$PACKAGE-$VERSION.tar.gz"
pascal@13426 11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
pascal@18239 12 TAGS="backup"
erjo@13424 13
erkan@20505 14 DEPENDS="ncursesw ntfs-3g e2fsprogs"
erkan@20503 15 BUILD_DEPENDS="util-linux-blkid-dev util-linux-uuid-dev libxslt e2fsprogs-dev \
pascal@15029 16 ncursesw-dev ntfsprogs-dev ntfs-3g-dev docbook-xsl"
erjo@13424 17
pascal@24396 18 # What is the latest version available today?
pascal@24396 19 current_version()
pascal@24396 20 {
pascal@24396 21 wget -O - https://sourceforge.net/projects/partclone/files/source/ 2>/dev/null | \
pascal@24396 22 sed '/scope="row/!d;s|.*/partclone-||;s|.tar.*||;q'
pascal@24396 23 }
pascal@24396 24
erjo@13424 25 # Rules to configure and make the package.
erjo@13424 26 compile_rules()
erjo@13424 27 {
pascal@19798 28 ./configure LDFLAGS="$LDFLAGS -lcom_err" $CONFIGURE_ARGS \
erjo@13424 29 --enable-extfs \
erjo@13424 30 --enable-fat \
erjo@13424 31 --enable-exfat \
erjo@13424 32 --enable-ntfs \
pascal@13429 33 --enable-btrfs \
pascal@13429 34 --enable-hfsp \
pascal@15313 35 --enable-ncursesw &&
pascal@15313 36 make && make install 2>&1 | sed "s/8': No such/8': no such/"
erjo@13424 37 }
erjo@13424 38
erjo@13424 39 # Rules to gen a SliTaz package suitable for Tazpkg.
erjo@13424 40 genpkg_rules()
erjo@13424 41 {
erjo@13424 42 mkdir -p $fs/usr/share/local
erjo@13424 43 cp -a $install/usr/sbin* $fs/usr
erjo@13424 44 }