wok diff openssh-pam/receipt @ rev 18123

Add xorg-dri3proto
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Jun 11 10:44:32 2015 +0200 (2015-06-11)
parents 3a08bc61e4ee
children c3364b33da58
line diff
     1.1 --- a/openssh-pam/receipt	Mon Dec 29 13:36:32 2014 -0500
     1.2 +++ b/openssh-pam/receipt	Thu Jun 11 10:44:32 2015 +0200
     1.3 @@ -1,7 +1,7 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="openssh-pam"
     1.7 -VERSION="6.7p1"
     1.8 +VERSION="6.8p1"
     1.9  CATEGORY="security"
    1.10  SHORT_DESC="Openbsd Secure Shell using PAM."
    1.11  MAINTAINER="pascal.bellard@slitaz.org"
    1.12 @@ -11,23 +11,29 @@
    1.13  WEB_SITE="http://www.openssh.org/"
    1.14  WGET_URL="ftp://ftp.fr.openbsd.org/pub/OpenBSD/OpenSSH/portable/$TARBALL"
    1.15  CONFIG_FILES="/etc/ssh /etc/inetd.conf"
    1.16 -TAZPANEL_DAEMON="man::sshd|edit::/etc/ssh/sshd_config|options::OPENSSH_OPTIONS|web::$WEB_SITE"
    1.17 +TAGS="ssh security"
    1.18 +
    1.19  PROVIDE="openssh:pam ssh:pam"
    1.20 -TAGS="ssh"
    1.21 -
    1.22  DEPENDS="sftp-server libcrypto zlib pam"
    1.23  BUILD_DEPENDS="libcrypto-dev zlib-dev openssl-dev pam pam-dev"
    1.24 +TAZPANEL_DAEMON="man::sshd|edit::/etc/ssh/sshd_config|options::OPENSSH_OPTIONS|web::$WEB_SITE"
    1.25  
    1.26  # Rules to configure and make the package.
    1.27  compile_rules()
    1.28  {
    1.29 -	cd $src
    1.30 -	./configure --prefix=/usr --sysconfdir=/etc/ssh --with-pam \
    1.31 -		--with-privsep-user=nobody --with-privsep-path=/var/run/sshd \
    1.32 +	unset LD # for cross compiling with --disable-strip
    1.33 +	./configure \
    1.34 +		--prefix=/usr \
    1.35 +		--sysconfdir=/etc/ssh \
    1.36 +		--libexecdir=/usr/sbin \
    1.37 +		--with-privsep-user=nobody \
    1.38  		--with-xauth=/usr/bin/xauth \
    1.39 -		--libexecdir=/usr/sbin \
    1.40 +		--with-privsep-path=/var/run/sshd \
    1.41 +		--without-ssh1 \
    1.42 +		--with-pam \
    1.43 +		--disable-strip \
    1.44  		$CONFIGURE_ARGS &&
    1.45 -	make &&
    1.46 +	make STRIP_OPT="" &&
    1.47  	make DESTDIR=$DESTDIR install
    1.48  }
    1.49  
    1.50 @@ -40,6 +46,8 @@
    1.51  	cp -a $install/etc $fs
    1.52  	cp ../$SOURCE/stuff/openssh $fs/etc/init.d
    1.53  	sed -i 's/.*UsePAM.*/UsePAM yes/' $fs/etc/ssh/sshd_config
    1.54 +	sed -i 's|/usr/libexec/sftp-server|/usr/sbin/sftp-server|' \
    1.55 +		$fs/etc/ssh/sshd_config
    1.56  }
    1.57  
    1.58  post_install()