wok-6.x diff busybox/receipt @ rev 5684
Up busybox (1.16.1)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Jun 04 17:00:07 2010 +0200 (2010-06-04) |
parents | b26d43c2908c |
children | 2eef070456a4 |
line diff
1.1 --- a/busybox/receipt Tue May 04 09:18:25 2010 +0200 1.2 +++ b/busybox/receipt Fri Jun 04 17:00:07 2010 +0200 1.3 @@ -1,7 +1,7 @@ 1.4 # SliTaz package receipt. 1.5 1.6 PACKAGE="busybox" 1.7 -VERSION="1.12.0" 1.8 +VERSION="1.16.1" 1.9 CATEGORY="base-system" 1.10 SHORT_DESC="Busybox combines tiny versions of many common UNIX utilities." 1.11 MAINTAINER="pascal.bellard@slitaz.org" 1.12 @@ -23,28 +23,19 @@ 1.13 touch done.$file 1.14 done <<EOT 1.15 vcsa2txt.u 1.16 -dhcpc.u 1.17 +ftpd.u 1.18 cpio-mkdir.u 1.19 tar.u 1.20 stat.u 1.21 -zmodules.u 1.22 -modinfo.u 1.23 -modprobe.u 1.24 -paths.u 1.25 -mkswap.u 1.26 -install.u 1.27 -basename.u 1.28 -unlzma.u 1.29 -replay.u 1.30 ris.u 1.31 dpkg_deb.u 1.32 -ionice.u 1.33 syslogd.u 1.34 -iptunnel.u 1.35 -rpm2cpio.u 1.36 +modinfo.u 1.37 +zmodules.u 1.38 EOT 1.39 cp ../stuff/$PACKAGE-$VERSION.config .config 1.40 make oldconfig 1.41 + # "CFLAGS=-O0" is a workaround for GCC 4.5.0 1.42 make "CFLAGS=-O0" && make "CFLAGS=-O0" install 1.43 echo "Chmod 4755 on busybox binary..." 1.44 chmod 4755 _install/bin/busybox 1.45 @@ -64,19 +55,23 @@ 1.46 touch $fs/etc/resolv.conf 1.47 cp stuff/inetd.conf $fs/etc 1.48 cp stuff/daemon $fs/etc/init.d 1.49 - for i in dnsd inetd udhcpd zcip crond ; do 1.50 - ln -s daemon $fs/etc/init.d/$i 1.51 + for i in crond dnsd ftpd httpd inetd klogd ntpd syslogd telnetd tftpd \ 1.52 + udhcpd zcip ; do 1.53 + grep -qi config_$i=y $src/.config && 1.54 + ln -s daemon $fs/etc/init.d/$i 1.55 done 1.56 cp stuff/init $fs 1.57 rm $fs/linuxrc 1.58 mkdir -p $fs/etc/modprobe.d 1.59 # Udhcpc stuff. 1.60 mkdir -p $fs/usr/share/udhcpc 1.61 - cp stuff/udhcp.script \ 1.62 - $fs/usr/share/udhcpc/default.script 1.63 + cp stuff/udhcp.script $fs/usr/share/udhcpc/default.script 1.64 chmod +x $fs/usr/share/udhcpc/default.script 1.65 # ZeroConf stuff. 1.66 cp stuff/zcip.script $fs/etc 1.67 + # Httpd stuff. 1.68 + cp stuff/httpd_helper.sh $fs/usr/bin 1.69 + chmod +x $fs/usr/bin/httpd_helper.sh 1.70 } 1.71 1.72 # Force glibc-2.7 reinstall if 2.3.6 still in use. 1.73 @@ -110,4 +105,3 @@ 1.74 [ -e $ROOT$i-busybox-install ] || continue 1.75 mv $ROOT$i-busybox-install $ROOT$i 1.76 done < $1$INSTALLED/$PACKAGE/files.list 1.77 -}