wok diff dropbear-pam/receipt @ rev 2236

dropbear-pam: add /etc/pam.d/
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Feb 14 10:09:37 2009 +0000 (2009-02-14)
parents a21224b0a7b8
children 22ab8eb50d81
line diff
     1.1 --- a/dropbear-pam/receipt	Mon Feb 09 14:46:03 2009 +0000
     1.2 +++ b/dropbear-pam/receipt	Sat Feb 14 10:09:37 2009 +0000
     1.3 @@ -21,7 +21,10 @@
     1.4  	local DROPBEARS
     1.5  	DROPBEARS="dropbearkey dropbearconvert dbclient scp"
     1.6  	cd $src
     1.7 -	sed -i 's|/usr/X11R6/bin/xauth|/usr/bin/xauth|' options.h
     1.8 +	rm -rf _pkg
     1.9 +	sed -i  -e 's|/usr/X11R6/bin/xauth|/usr/bin/xauth|' \
    1.10 + 		-e 's|ENABLE_SVR_PASSWORD_AUTH|ENABLE_SVR_PAM_AUTH|' \
    1.11 +		options.h
    1.12  	./configure --prefix=/usr --enable-pam $CONFIGURE_ARGS &&
    1.13  	make PROGRAMS="dropbear $DROPBEARS" MULTI=1 &&
    1.14  	install -d -m 755 $PWD/_pkg/usr/sbin &&
    1.15 @@ -46,6 +49,7 @@
    1.16  	mkdir -p $fs/etc
    1.17  	cp -a stuff/dropbear $fs/etc
    1.18  	cp -a stuff/init.d $fs/etc
    1.19 +	cp -a stuff/pam.d $fs/etc
    1.20  	touch   $fs/etc/dropbear/dropbear_dss_host_key \
    1.21  		$fs/etc/dropbear/dropbear_rsa_host_key
    1.22