wok-stable diff busybox/receipt @ rev 9492
Up: tazpkg (4.4) - New notification and stuff from GoKhlaYeh branch (I dont want branch...)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Wed Apr 06 01:56:27 2011 +0200 (2011-04-06) |
parents | 6f9407bd4ad5 |
children | 3dc7c4a7f5ef |
line diff
1.1 --- a/busybox/receipt Sun Mar 13 09:36:17 2011 +0100 1.2 +++ b/busybox/receipt Wed Apr 06 01:56:27 2011 +0200 1.3 @@ -18,7 +18,7 @@ 1.4 while read file; do 1.5 [ -f done.$file ] && continue 1.6 echo "Apply $file..." 1.7 - patch -p1 < ../stuff/$PACKAGE-${VERSION%.*}-$file || return 1 1.8 + patch -p1 < $stuff/$PACKAGE-${VERSION%.*}-$file || return 1 1.9 touch done.$file 1.10 done <<EOT 1.11 tar.u 1.12 @@ -29,7 +29,7 @@ 1.13 cmdline.u 1.14 conspy.u 1.15 EOT 1.16 - cp ../stuff/$PACKAGE-${VERSION%.*}.config .config 1.17 + cp $stuff/$PACKAGE-${VERSION%.*}.config .config 1.18 } 1.19 1.20 # Rules to compile & install the temporary toolchain. 1.21 @@ -55,7 +55,7 @@ 1.22 sed -i 's/# CONFIG_PAM is not set/CONFIG_PAM=y/' .config 1.23 make oldconfig && make || return 1 1.24 mv busybox busybox-pam 1.25 - cp ../stuff/$PACKAGE-${VERSION%.*}.config-static .config 1.26 + cp $stuff/$PACKAGE-${VERSION%.*}.config-static .config 1.27 make oldconfig && make || return 1 1.28 mv busybox busybox-static 1.29 } 1.30 @@ -67,33 +67,33 @@ 1.31 rm -f $fs/bin/bbconfig $fs/usr/bin/ar 1.32 mkdir -p $fs/etc/init.d 1.33 # Busybox config files. 1.34 - cp stuff/busybox.conf $fs/etc 1.35 + cp $stuff/busybox.conf $fs/etc 1.36 chmod 600 $fs/etc/busybox.conf 1.37 - cp stuff/dnsd.conf $fs/etc 1.38 - cp stuff/udhcpd.conf $fs/etc 1.39 + cp $stuff/dnsd.conf $fs/etc 1.40 + cp $stuff/udhcpd.conf $fs/etc 1.41 touch $fs/etc/resolv.conf 1.42 - cp stuff/inetd.conf $fs/etc 1.43 - cp stuff/daemon $fs/etc/init.d 1.44 - for i in crond dnsd ftpd httpd inetd klogd ntpd syslogd telnetd tftpd \ 1.45 - udhcpd zcip ; do 1.46 - grep -qi config_$i=y $src/.config && 1.47 + cp $stuff/inetd.conf $fs/etc 1.48 + cp $stuff/daemon $fs/etc/init.d 1.49 + DAEMON="crond dnsd ftpd httpd inetd klogd ntpd syslogd telnetd tftpd udhcpd zcip" 1.50 + for i in $DAEMON; do 1.51 + grep -qi config_$i=y $stuff/$PACKAGE-${VERSION%.*}.config && 1.52 ln -s daemon $fs/etc/init.d/$i 1.53 done 1.54 - cp stuff/init $fs 1.55 + cp $stuff/init $fs 1.56 rm $fs/linuxrc 1.57 mkdir -p $fs/etc/modprobe.d 1.58 # Udhcpc stuff. 1.59 mkdir -p $fs/usr/share/udhcpc 1.60 - cp stuff/udhcp.script $fs/usr/share/udhcpc/default.script 1.61 + cp $stuff/udhcp.script $fs/usr/share/udhcpc/default.script 1.62 chmod +x $fs/usr/share/udhcpc/default.script 1.63 # ZeroConf stuff. 1.64 - cp stuff/zcip.script $fs/etc 1.65 + cp $stuff/zcip.script $fs/etc 1.66 # Httpd stuff. 1.67 - cp stuff/httpd_helper.sh $fs/usr/bin 1.68 + cp $stuff/httpd_helper.sh $fs/usr/bin 1.69 chmod +x $fs/usr/bin/httpd_helper.sh 1.70 # .desktop stuff 1.71 mkdir -p $fs/usr/share 1.72 - cp -a stuff/applications $fs/usr/share 1.73 + cp -a $stuff/applications $fs/usr/share 1.74 } 1.75 1.76 # Force glibc-2.7 reinstall if 2.3.6 still in use.