wok annotate libdrm-mach64/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 a78610b2eb47
children
rev   line source
gokhlayeh@8808 1 # SliTaz package receipt.
gokhlayeh@8808 2
gokhlayeh@8808 3 PACKAGE="libdrm-mach64"
pascal@20285 4 VERSION="20140830"
gokhlayeh@8808 5 CATEGORY="x-window"
gokhlayeh@8808 6 SHORT_DESC="DRM Library for mach64 (deprecated but no alternative)."
gokhlayeh@8808 7 MAINTAINER="gokhlayeh@slitaz.org"
pascal@15472 8 LICENSE="MIT"
pascal@20669 9 WEB_SITE="https://dri.freedesktop.org/wiki/DRM"
slaxemulator@9623 10 SOURCE="mach64"
slaxemulator@9623 11 TARBALL="$SOURCE-$VERSION.tar.gz"
gokhlayeh@8808 12 WGET_URL="http://trya.alwaysdata.net/linux/$TARBALL"
gokhlayeh@8808 13
pascal@15472 14 DEPENDS="linux"
pascal@15472 15 BUILD_DEPENDS="linux-module-headers"
pascal@15472 16
pascal@24447 17 # What is the latest version available today?
pascal@24447 18 current_version()
pascal@24447 19 {
pascal@24447 20 wget -O - ${WGET_URL%/*} 2>/dev/null | \
pascal@24447 21 sed "/latest/d;/$SOURCE-[0-9]/!d;/tar/!d;s|.*$SOURCE-\\(.*\\).tar.*|\\1|" | sort -Vr | sed q
pascal@24447 22 }
pascal@24447 23
gokhlayeh@8808 24 # Rules to configure and make the package.
gokhlayeh@8808 25 compile_rules()
gokhlayeh@8808 26 {
pascal@8908 27 find -name Makefile | xargs sed -i \
pascal@8908 28 "s|/lib/modules/\`uname -r\`/build|/usr/src/linux|"
gokhlayeh@8808 29 KERN_DIR=/usr/src/linux make
gokhlayeh@8808 30 }
gokhlayeh@8808 31
gokhlayeh@8808 32 # Rules to gen a SliTaz package suitable for Tazpkg.
gokhlayeh@8808 33 genpkg_rules()
gokhlayeh@8808 34 {
gokhlayeh@8808 35 KERNEL_VERSION=`grep ^VERSION= $WOK/linux/receipt | cut -d "=" -f2 | sed -e 's/"//g'`
gokhlayeh@8808 36 install -D -m644 $src/mach64.ko \
gokhlayeh@8808 37 "$fs/lib/modules/$KERNEL_VERSION-slitaz/kernel/drivers/gpu/drm/mach64/mach64.ko"
gokhlayeh@8808 38 }