wok diff openssh-pam/receipt @ rev 14991

Up: expedite (1.7.8)
author Dominique Corbex <domcox@slitaz.org>
date Fri Aug 09 22:18:24 2013 +0200 (2013-08-09)
parents ad59999b3fce
children 595b6d418abe
line diff
     1.1 --- a/openssh-pam/receipt	Wed Jun 05 16:21:04 2013 +0200
     1.2 +++ b/openssh-pam/receipt	Fri Aug 09 22:18:24 2013 +0200
     1.3 @@ -10,9 +10,11 @@
     1.4  TARBALL="$SOURCE-$VERSION.tar.gz"
     1.5  WEB_SITE="http://www.openssh.org/"
     1.6  WGET_URL="ftp://ftp.fr.openbsd.org/pub/OpenBSD/OpenSSH/portable/$TARBALL"
     1.7 +TAZPANEL_DAEMON="man::sshd|edit::/etc/ssh/sshd_config|options::OPENSSH_OPTIONS|web::$WEB_SITE"
     1.8 +PROVIDE="openssh:pam ssh:pam"
     1.9 +
    1.10  DEPENDS="sftp-server libcrypto zlib pam"
    1.11  BUILD_DEPENDS="libcrypto-dev zlib-dev openssl-dev pam pam-dev"
    1.12 -PROVIDE="openssh:pam ssh:pam"
    1.13  
    1.14  # Rules to configure and make the package.
    1.15  compile_rules()
    1.16 @@ -30,9 +32,9 @@
    1.17  genpkg_rules()
    1.18  {
    1.19  	mkdir -p $fs/usr $fs/etc/init.d $fs/etc/ssh 
    1.20 -	cp -a $_pkg/usr/sbin $_pkg/usr/bin $fs/usr
    1.21 +	cp -a $install/usr/sbin $install/usr/bin $fs/usr
    1.22  	rm -f $fs/usr/sbin/sftp-server
    1.23 -	cp -a $_pkg/etc $fs
    1.24 +	cp -a $install/etc $fs
    1.25  	cp ../$SOURCE/stuff/openssh $fs/etc/init.d
    1.26  	sed -i 's/.*UsePAM.*/UsePAM yes/' $fs/etc/ssh/sshd_config
    1.27  }
    1.28 @@ -40,7 +42,7 @@
    1.29  # Pre and post install commands for Tazpkg.
    1.30  pre_install()
    1.31  {
    1.32 -       mkdir -p /var/run/sshd
    1.33 +       mkdir -p $1/var/run/sshd
    1.34  }        
    1.35  
    1.36  post_install()
    1.37 @@ -59,5 +61,5 @@
    1.38  # Pre and post remove commands for Tazpkg.
    1.39  post_remove()
    1.40  {
    1.41 -       rm -fr /var/run/sshd
    1.42 +       rm -fr $1/var/run/sshd
    1.43  }