wok-4.x rev 11101

dropbear-pam: Clean up.
author Christopher Rogers <slaxemulator@gmail.com>
date Mon Oct 17 02:57:16 2011 +0000 (2011-10-17)
parents 39711785320f
children 901e194c39a1
files dropbear-pam/receipt
line diff
     1.1 --- a/dropbear-pam/receipt	Mon Oct 17 02:57:07 2011 +0000
     1.2 +++ b/dropbear-pam/receipt	Mon Oct 17 02:57:16 2011 +0000
     1.3 @@ -29,13 +29,13 @@
     1.4  		options.h
     1.5  	./configure --prefix=/usr --enable-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 @@ -49,7 +49,8 @@
    1.24  	mkdir -p $fs/etc
    1.25  	cp -a ../$SOURCE/stuff/dropbear $fs/etc
    1.26  	cp -a ../$SOURCE/stuff/init.d $fs/etc
    1.27 -	cp -a stuff/pam.d $fs/etc
    1.28 +	cp -a ../$SOURCE/stuff/sshx $fs/usr/bin
    1.29 +	cp -a $stuff/pam.d $fs/etc
    1.30  	touch   $fs/etc/dropbear/dropbear_dss_host_key \
    1.31  		$fs/etc/dropbear/dropbear_rsa_host_key
    1.32