wok-current annotate linux-jffs2/receipt @ rev 25697

Up apache (CVE-2023-38709, CVE-2024-24795, CVE-2024-27316), up libarchive, qemu, add amdgpu/touchpad support and clean modules.list, up website for repology
author Stanislas Leduc <shann@slitaz.org>
date Tue Apr 16 17:00:21 2024 +0000 (2 months ago)
parents db14014acdba
children b24b6ee1d4d2
rev   line source
shann@25629 1 # SliTaz package receipt.
shann@25629 2
shann@25629 3 PACKAGE="linux-jffs2"
shann@25697 4 VERSION="5.10.215"
shann@25629 5 CATEGORY="base-system"
shann@25629 6 SHORT_DESC="The Linux kernel jffs2 module."
shann@25629 7 MAINTAINER="devel@slitaz.org"
shann@25629 8 LICENSE="GPL2"
shann@25629 9 DEPENDS="linux"
shann@25629 10 WANTED="linux"
shann@25629 11 WEB_SITE="https://www.kernel.org/"
shann@25629 12 CONFIG_FILES="/etc/filesystems"
shann@25629 13
shann@25629 14 # Rules to gen a SliTaz package suitable for Tazpkg.
shann@25629 15 genpkg_rules()
shann@25629 16 {
shann@25629 17 local path
shann@25629 18 path=lib/modules/$VERSION-slitaz/kernel
shann@25629 19 mkdir -p $fs/$path $fs/etc
shann@25629 20 export src install
shann@25629 21 $wanted_stuff/list_modules.sh fs/${PACKAGE#*-} | while read module; do
shann@25629 22 dir=$path/$(dirname $module)
shann@25629 23 [ -d $fs/$dir ] || mkdir -p $fs/$dir
shann@25629 24 cp -a $install/$path/$module $fs/$dir
shann@25629 25 done
shann@25629 26 touch $fs/etc/filesystems
shann@25629 27 }
shann@25629 28
shann@25629 29 # Post install/remove commands for Tazpkg.
shann@25629 30 post_install()
shann@25629 31 {
shann@25629 32 grep -qs ^${PACKAGE#*-}$ "$1/etc/filesystems" || \
shann@25629 33 echo "${PACKAGE#*-}" >> "$1/etc/filesystems"
shann@25629 34 chroot "$1/" depmod -a $VERSION-slitaz
shann@25629 35 }
shann@25629 36
shann@25629 37 post_remove()
shann@25629 38 {
shann@25629 39 sed -i "/^${PACKAGE#*-}\$/d" "$1/etc/filesystems"
shann@25629 40 chroot "$1/" depmod -a $VERSION-slitaz
shann@25629 41 }