wok-6.x annotate depmod/receipt @ rev 17548
glibc: CVE-2015-0235 fix (again)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Jan 29 13:01:35 2015 +0100 (2015-01-29) |
parents | 9624c47bd4ee |
children | 36278632a653 |
rev | line source |
---|---|
pascal@2925 | 1 # SliTaz package receipt. |
pascal@2925 | 2 |
pascal@2925 | 3 PACKAGE="depmod" |
gokhlayeh@7897 | 4 VERSION="3.12" |
pascal@2925 | 5 CATEGORY="base-system" |
pascal@2925 | 6 SHORT_DESC="Kernel modules dependancy tool." |
pascal@2925 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@15000 | 8 LICENSE="GPL2" |
pascal@2925 | 9 WEB_SITE="http://ftp.kernel.org/pub/linux/utils/kernel/module-init-tools/" |
pascal@2925 | 10 WANTED="module-init-tools" |
pascal@2925 | 11 |
pascal@15000 | 12 DEPENDS="glibc-base gcc-lib-base zlib lzlib" |
pascal@15000 | 13 |
pascal@2925 | 14 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@2925 | 15 genpkg_rules() |
pascal@2925 | 16 { |
pascal@2925 | 17 mkdir -p $fs/sbin |
pascal@15000 | 18 cp $install/sbin/depmod $fs/sbin |
pascal@2925 | 19 } |
rcx@3742 | 20 |
pascal@8875 | 21 # Overlap busybox |
pascal@8875 | 22 pre_install() |
pascal@8875 | 23 { |
pascal@8875 | 24 rm -f $1/sbin/depmod |
pascal@8875 | 25 } |
pascal@8875 | 26 |
pascal@8875 | 27 post_remove() |
pascal@8875 | 28 { |
slaxemulator@9691 | 29 ln -s /bin/busybox $1/sbin/depmod |
pascal@8875 | 30 } |