wok view busybox-static/receipt @ rev 20283

security fixes from 0.3.1.9 (2017 Dec 1) and 0.3.1.10 (March 3)... further info: https://blog.torproject.org/new-stable-tor-releases-security-fixes-and-dos-prevention-03210-03110-02915
author Erkan Yilmaz <erkan@slitaz.org>
date Tue Mar 27 11:09:07 2018 +0000 (2018-03-27)
parents 7d67d2dcb0f6
children 03bd0cf0b57b
line source
1 # SliTaz package receipt.
3 PACKAGE="busybox-static"
4 VERSION="1.27.2"
5 CATEGORY="base-system"
6 SHORT_DESC="Busybox combines tiny versions of many common UNIX utilities."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="http://www.busybox.net/"
10 CONFIG_FILES=""
12 WANTED="busybox"
13 DEPENDS=""
15 # Rules to gen a SliTaz package suitable for Tazpkg.
16 genpkg_rules()
17 {
18 mkdir -p $fs/usr/share/boot
19 CHOICE=static
20 for i in uclibc musl diet ; do
21 [ -x $src/busybox-$i ] || continue
22 [ -x $src/busybox-$CHOICE ] &&
23 [ $(stat -c %s $src/busybox-$i) -ge \
24 $(stat -c %s $src/busybox-$CHOICE) ] &&
25 continue
26 CHOICE=$i
27 done
28 cp -a $src/busybox-$CHOICE $fs/usr/share/boot/busybox-static
29 }
31 post_install()
32 {
33 chmod 4755 "$1/usr/share/boot/busybox-static"
34 }