wok-current annotate linux-pae-ipv6/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 (10 months ago) |
parents | db14014acdba |
children | b24b6ee1d4d2 |
rev | line source |
---|---|
shann@25642 | 1 # SliTaz package receipt. |
shann@25642 | 2 |
shann@25642 | 3 PACKAGE="linux-pae-ipv6" |
shann@25697 | 4 VERSION="5.10.215" |
shann@25642 | 5 CATEGORY="base-system" |
shann@25642 | 6 SHORT_DESC="The Linux kernel ipv6 modules." |
shann@25642 | 7 MAINTAINER="devel@slitaz.org" |
shann@25642 | 8 LICENSE="GPL2" |
shann@25642 | 9 DEPENDS="linux-pae" |
shann@25642 | 10 WANTED="linux" |
shann@25642 | 11 PROVIDE="linux-ipv6:linux-pae" |
shann@25642 | 12 WEB_SITE="https://www.kernel.org/" |
shann@25642 | 13 |
shann@25642 | 14 # Rules to gen a SliTaz package suitable for Tazpkg. |
shann@25642 | 15 genpkg_rules() |
shann@25642 | 16 { |
shann@25642 | 17 local path |
shann@25642 | 18 src=$WOK/linux-pae/source/tmp |
shann@25642 | 19 install=$install/linux-pae |
shann@25642 | 20 path=lib/modules/$VERSION-slitaz-pae/kernel |
shann@25642 | 21 mkdir -p $fs/$path |
shann@25642 | 22 export src |
shann@25642 | 23 export install |
shann@25642 | 24 $wanted_stuff/list_modules.sh net/ipv6 | while read module; do |
shann@25642 | 25 dir=$path/$(dirname $module) |
shann@25642 | 26 [ -d $fs/$dir ] || mkdir -p $fs/$dir |
shann@25642 | 27 cp -a $install/$path/$module $fs/$dir |
shann@25642 | 28 done |
shann@25642 | 29 |
shann@25642 | 30 for i in $(cat $wanted_stuff/modules.list); do |
shann@25642 | 31 if [ -f $fs/$path/$i ]; then |
shann@25642 | 32 rm -f $fs/$path/$i |
shann@25642 | 33 fi |
shann@25642 | 34 done |
shann@25642 | 35 } |
shann@25642 | 36 |
shann@25642 | 37 # Post install/remove commands for Tazpkg. |
shann@25642 | 38 post_install() |
shann@25642 | 39 { |
shann@25642 | 40 chroot "$root/" depmod -a $VERSION-slitaz-pae |
shann@25642 | 41 } |
shann@25642 | 42 |
shann@25642 | 43 post_remove() |
shann@25642 | 44 { |
shann@25642 | 45 chroot "$root/" depmod -a $VERSION-slitaz-pae |
shann@25642 | 46 } |
shann@25642 | 47 |