wok-current annotate rrdtool-lite/receipt @ rev 25659

Update expat CVE-2023-52425,CVE-2023-52426, patch libxml2 CVE-2024-25062
author Stanislas Leduc <shann@slitaz.org>
date Sun Feb 18 10:03:28 2024 +0000 (10 months ago)
parents 453c249b6219
children
rev   line source
pascal@19081 1 # SliTaz package receipt.
pascal@19081 2
pascal@19081 3 PACKAGE="rrdtool-lite"
Hans-G?nter@23618 4 VERSION="1.7.2"
pascal@19081 5 CATEGORY="misc"
Hans-G?nter@23618 6 TAGS="logs"
pascal@19081 7 SHORT_DESC="Data logging system for time series data."
pascal@24728 8 LICENSE="GPL2"
pascal@19081 9 MAINTAINER="pascal.bellard@slitaz.org"
Hans-G?nter@23618 10 WEB_SITE="https://oss.oetiker.ch/rrdtool/"
Hans-G?nter@23618 11
Hans-G?nter@23618 12 SOURCE="rrdtool"
pascal@19081 13 TARBALL="$SOURCE-$VERSION.tar.gz"
Hans-G?nter@23618 14 WGET_URL="${WEB_SITE}pub/$TARBALL"
Hans-G?nter@23618 15
Hans-G?nter@23618 16 DEPENDS="glib libxml2 zlib"
Hans-G?nter@23618 17 BUILD_DEPENDS="glib-dev groff libxml2-dev pkg-config"
Hans-G?nter@23618 18
pascal@19088 19 HOST_ARCH="i486 arm"
pascal@19081 20
pascal@24425 21 # What is the latest version available today?
pascal@24425 22 current_version()
pascal@24425 23 {
pascal@24425 24 wget -O - ${WGET_URL%/*} 2>/dev/null | \
pascal@24425 25 sed "/latest/d;/$SOURCE-/!d;/tar/!d;s|.*$SOURCE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
pascal@24425 26 }
pascal@24425 27
pascal@19081 28 # Rules to configure and make the package.
pascal@19081 29 compile_rules()
pascal@19081 30 {
Hans-G?nter@23618 31 ./configure \
Hans-G?nter@23618 32 --prefix=/usr \
Hans-G?nter@23618 33 --infodir=/usr/share/info \
Hans-G?nter@23618 34 --disable-rrdcgi \
Hans-G?nter@23618 35 --disable-rrd_graph \
Hans-G?nter@23618 36 --disable-nls \
Hans-G?nter@23618 37 --disable-libdbi \
Hans-G?nter@23618 38 --disable-libwrap \
Hans-G?nter@23618 39 --disable-perl \
Hans-G?nter@23618 40 --disable-ruby \
Hans-G?nter@23618 41 --disable-lua \
Hans-G?nter@23618 42 --disable-tcl \
Hans-G?nter@23618 43 --disable-python \
Hans-G?nter@23618 44 --mandir=/usr/share/man \
Hans-G?nter@23618 45 $CONFIGURE_ARGS &&
pascal@19081 46 make &&
pascal@19081 47 make DESTDIR=$DESTDIR install
pascal@19081 48 }
pascal@19081 49
pascal@19081 50 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@19081 51 genpkg_rules()
pascal@19081 52 {
pascal@19081 53 mkdir -p $fs/usr/lib
Hans-G?nter@23618 54
Hans-G?nter@23618 55 cp -a $install/usr/lib/*.so* $fs/usr/lib
Hans-G?nter@23618 56 cp -a $install/usr/bin $fs/usr
pascal@19081 57 }