wok annotate balance/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 9af0e03b8ad0
children 120dd6158093
rev   line source
pascal@1742 1 # SliTaz package receipt.
pascal@1742 2
pascal@1742 3 PACKAGE="balance"
Hans-G?nter@20738 4 VERSION="3.57"
pascal@24373 5 CATEGORY="network"
Hans-G?nter@20738 6 TAGS="web internet load-balancing proxy tcp ipv6"
pascal@1742 7 SHORT_DESC="Generic tcp proxy with round robin load balancing and failover."
pascal@1742 8 MAINTAINER="pascal.bellard@slitaz.org"
pascal@15482 9 LICENSE="GPL2"
Hans-G?nter@20738 10 WEB_SITE="https://www.inlab.net/balance/"
Hans-G?nter@20738 11
pascal@24994 12 TARBALL="$PACKAGE-$VERSION.tar"
pascal@24994 13 WGET_URL="https://download.inlab.net/Balance/$VERSION/$TARBALL"
pascal@1742 14
pascal@24373 15 # What is the latest version available today?
pascal@24373 16 current_version()
pascal@24373 17 {
pascal@24373 18 wget -O - https://download.inlab.net/Balance/ 2>/dev/null | \
pascal@24373 19 sed '/href="[0-9]/!d;s|.*href="||;s|/.*||;q'
pascal@24373 20 }
pascal@24373 21
pascal@1742 22 # Rules to configure and make the package.
pascal@1742 23 compile_rules()
pascal@1742 24 {
al@19275 25 mkdir -p $install/usr/sbin $install/usr/share/man/man1 2>/dev/null
al@19279 26 sed -i 's|/man/|/share/man/|' $src/Makefile
al@19275 27
pascal@1742 28 make &&
pascal@15482 29 make DESTDIR=$DESTDIR install
pascal@1742 30 }
pascal@1742 31
pascal@1742 32 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@1742 33 genpkg_rules()
pascal@1742 34 {
pascal@1742 35 mkdir -p $fs/usr
pascal@15482 36 cp -a $install/usr/sbin $fs/usr
pascal@1742 37 }
al@19275 38
al@19275 39 post_install()
al@19275 40 {
al@19275 41 mkdir -p "$1/var/run/balance"
al@19275 42 }