wok-4.x rev 12434

openssh-pam: fix xauth path
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Jun 16 10:51:49 2014 +0200 (2014-06-16)
parents 2790c18fd1f8
children d28895ab8895
files openssh-pam/receipt
line diff
     1.1 --- a/openssh-pam/receipt	Mon Jun 16 10:43:59 2014 +0200
     1.2 +++ b/openssh-pam/receipt	Mon Jun 16 10:51:49 2014 +0200
     1.3 @@ -19,7 +19,7 @@
     1.4  	cd $src
     1.5  	./configure --prefix=/usr --sysconfdir=/etc/ssh --with-pam \
     1.6  		--with-privsep-user=nobody --with-privsep-path=/var/run/sshd \
     1.7 -		--libexecdir=/usr/sbin \
     1.8 +		--with-xauth=/usr/bin/xauth --libexecdir=/usr/sbin \
     1.9  		$CONFIGURE_ARGS &&
    1.10  	make &&
    1.11  	make DESTDIR=$DESTDIR install
    1.12 @@ -40,7 +40,7 @@
    1.13  post_install()
    1.14  {
    1.15  	while read dropbear openssh ; do
    1.16 -		[ -s $dropbear ] || continue
    1.17 +		[ -s $1$dropbear ] || continue
    1.18  		dropbearconvert dropbear openssh $1$dropbear $1$openssh
    1.19  		dropbearkey -y -f $1$dropbear | grep ssh > $1$openssh.pub
    1.20  		dropbearkey -y -f $1$dropbear | grep Fingerprint