wok-next diff openssh/receipt @ rev 15143
Up cromfs (1.5.10.1)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Aug 15 12:33:36 2013 +0000 (2013-08-15) |
parents | ad59999b3fce |
children | 64ae641ba66c |
line diff
1.1 --- a/openssh/receipt Wed Jun 05 16:21:04 2013 +0200 1.2 +++ b/openssh/receipt Thu Aug 15 12:33:36 2013 +0000 1.3 @@ -9,10 +9,12 @@ 1.4 TARBALL="$PACKAGE-$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|web::$WEB_SITE" 1.8 +PROVIDE="ssh" 1.9 +TAGS="ssh" 1.10 + 1.11 DEPENDS="sftp-server libcrypto zlib" 1.12 BUILD_DEPENDS="libcrypto-dev zlib-dev openssl-dev" 1.13 -PROVIDE="ssh" 1.14 -TAGS="ssh" 1.15 1.16 # Rules to configure and make the package. 1.17 compile_rules() 1.18 @@ -30,9 +32,9 @@ 1.19 genpkg_rules() 1.20 { 1.21 mkdir -p $fs/usr $fs/etc/init.d $fs/etc/ssh 1.22 - cp -a $_pkg/usr/sbin $_pkg/usr/bin $fs/usr 1.23 + cp -a $install/usr/sbin $install/usr/bin $fs/usr 1.24 rm -f $fs/usr/sbin/sftp-server 1.25 - cp -a $_pkg/etc $fs 1.26 + cp -a $install/etc $fs 1.27 cp $stuff/openssh $fs/etc/init.d 1.28 sed -i 's|/usr/libexec/sftp-server|/usr/sbin/sftp-server|' \ 1.29 $fs/etc/ssh/sshd_config 1.30 @@ -41,7 +43,7 @@ 1.31 # Pre and post install commands for Tazpkg. 1.32 pre_install() 1.33 { 1.34 - mkdir -p /var/run/sshd 1.35 + mkdir -p $1/var/run/sshd 1.36 } 1.37 1.38 post_install() 1.39 @@ -60,6 +62,6 @@ 1.40 # Pre and post remove commands for Tazpkg. 1.41 post_remove() 1.42 { 1.43 - rm -fr /var/run/sshd 1.44 + rm -fr $1/var/run/sshd 1.45 } 1.46