wok-6.x rev 11100

dropbear: Clean up.
author Christopher Rogers <slaxemulator@gmail.com>
date Mon Oct 17 02:57:07 2011 +0000 (2011-10-17)
parents 4be4e813f841
children e8de562dc20b
files dropbear/receipt
line diff
     1.1 --- a/dropbear/receipt	Mon Oct 17 02:52:51 2011 +0000
     1.2 +++ b/dropbear/receipt	Mon Oct 17 02:57:07 2011 +0000
     1.3 @@ -27,13 +27,13 @@
     1.4  		options.h
     1.5  	./configure --prefix=/usr --without-pam $CONFIGURE_ARGS &&
     1.6  	make PROGRAMS="dropbear $DROPBEARS" MULTI=1 &&
     1.7 -	install -d -m 755 $PWD/_pkg/usr/sbin &&
     1.8 -	install -m 755 dropbearmulti $PWD/_pkg/usr/sbin/dropbear &&
     1.9 -	chown root $PWD/_pkg/usr/sbin/dropbear &&
    1.10 -	chgrp 0 $PWD/_pkg/usr/sbin/dropbear &&
    1.11 -	install -d -m 755 $PWD/_pkg/usr/bin &&
    1.12 +	install -d -m 755 $DESTDIR/usr/sbin &&
    1.13 +	install -m 755 dropbearmulti $DESTDIR/usr/sbin/dropbear &&
    1.14 +	chown root $DESTDIR/usr/sbin/dropbear &&
    1.15 +	chgrp 0 $DESTDIR/usr/sbin/dropbear &&
    1.16 +	install -d -m 755 $DESTDIR/usr/bin &&
    1.17  	for i in $DROPBEARS ssh; do
    1.18 -		ln -s ../sbin/dropbear $PWD/_pkg/usr/bin/$i
    1.19 +		ln -s ../sbin/dropbear $DESTDIR/usr/bin/$i
    1.20  	done
    1.21  }
    1.22  
    1.23 @@ -45,9 +45,9 @@
    1.24  	cp -a $_pkg/usr/sbin $fs/usr
    1.25  	# Config file and init script.
    1.26  	mkdir -p $fs/etc
    1.27 -	cp -a stuff/dropbear $fs/etc
    1.28 -	cp -a stuff/init.d $fs/etc
    1.29 -	cp -a stuff/sshx $fs/usr/bin
    1.30 +	cp -a $stuff/dropbear $fs/etc
    1.31 +	cp -a $stuff/init.d $fs/etc
    1.32 +	cp -a $stuff/sshx $fs/usr/bin
    1.33  	touch   $fs/etc/dropbear/dropbear_dss_host_key \
    1.34  		$fs/etc/dropbear/dropbear_rsa_host_key
    1.35