wok-6.x rev 3628

Add sftp-server
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Jul 02 09:05:44 2009 +0200 (2009-07-02)
parents da5ab4503dc5
children c1b4bc6a56f2
files dropbear-pam/receipt dropbear/receipt openssh-pam/receipt openssh/receipt sftp-server/receipt
line diff
     1.1 --- a/dropbear-pam/receipt	Wed Jul 01 07:34:12 2009 +0000
     1.2 +++ b/dropbear-pam/receipt	Thu Jul 02 09:05:44 2009 +0200
     1.3 @@ -9,6 +9,7 @@
     1.4  TARBALL="$SOURCE-$VERSION.tar.gz"
     1.5  DEPENDS="zlib pam"
     1.6  BUILD_DEPENDS="zlib zlib-dev pam pam-dev"
     1.7 +SUGGESTED="sftp-server"
     1.8  WEB_SITE="http://matt.ucc.asn.au/dropbear/dropbear.html"
     1.9  WGET_URL="http://matt.ucc.asn.au/dropbear/releases/$TARBALL"
    1.10  CONFIG_FILES="/etc/dropbear"
    1.11 @@ -23,6 +24,7 @@
    1.12  	cd $src
    1.13  	rm -rf _pkg
    1.14  	sed -i  -e 's|/usr/X11R6/bin/xauth|/usr/bin/xauth|' \
    1.15 +		-e 's|/usr/libexec/sftp-server|/usr/sbin/sftp-server|' \
    1.16   		-e 's|ENABLE_SVR_PASSWORD_AUTH|ENABLE_SVR_PAM_AUTH|' \
    1.17  		options.h
    1.18  	./configure --prefix=/usr --enable-pam $CONFIGURE_ARGS &&
     2.1 --- a/dropbear/receipt	Wed Jul 01 07:34:12 2009 +0000
     2.2 +++ b/dropbear/receipt	Thu Jul 02 09:05:44 2009 +0200
     2.3 @@ -8,6 +8,7 @@
     2.4  TARBALL="$PACKAGE-$VERSION.tar.gz"
     2.5  DEPENDS="zlib"
     2.6  BUILD_DEPENDS="zlib-dev"
     2.7 +SUGGESTED="sftp-server"
     2.8  WEB_SITE="http://matt.ucc.asn.au/dropbear/dropbear.html"
     2.9  WGET_URL="http://matt.ucc.asn.au/dropbear/releases/$TARBALL"
    2.10  CONFIG_FILES="/etc/dropbear"
    2.11 @@ -19,7 +20,9 @@
    2.12  	local DROPBEARS
    2.13  	DROPBEARS="dropbearkey dropbearconvert dbclient scp"
    2.14  	cd $src
    2.15 -	sed -i 's|/usr/X11R6/bin/xauth|/usr/bin/xauth|' options.h
    2.16 +	sed -i  -e 's|/usr/X11R6/bin/xauth|/usr/bin/xauth|' \
    2.17 +		-e 's|/usr/libexec/sftp-server|/usr/sbin/sftp-server|' \
    2.18 +		options.h
    2.19  	./configure --prefix=/usr --without-pam $CONFIGURE_ARGS &&
    2.20  	make PROGRAMS="dropbear $DROPBEARS" MULTI=1 &&
    2.21  	install -d -m 755 $PWD/_pkg/usr/sbin &&
     3.1 --- a/openssh-pam/receipt	Wed Jul 01 07:34:12 2009 +0000
     3.2 +++ b/openssh-pam/receipt	Thu Jul 02 09:05:44 2009 +0200
     3.3 @@ -9,7 +9,7 @@
     3.4  TARBALL="$SOURCE-$VERSION.tar.gz"
     3.5  WEB_SITE="http://www.openssh.org/"
     3.6  WGET_URL="ftp://ftp.fr.openbsd.org/pub/OpenBSD/OpenSSH/portable/$TARBALL"
     3.7 -DEPENDS="libcrypto zlib pam"
     3.8 +DEPENDS="sftp-server libcrypto zlib pam"
     3.9  BUILD_DEPENDS="libcrypto-dev zlib-dev openssl-dev pam pam-dev"
    3.10  PROVIDE="openssh:pam"
    3.11  
    3.12 @@ -31,6 +31,7 @@
    3.13  	mkdir -p $fs/usr/share $fs/etc/init.d $fs/etc/ssh $fs/var/run/sshd
    3.14  	cp -a $_pkg/usr/share/Ssh.bin $fs/usr/share
    3.15  	cp -a $_pkg/usr/sbin $_pkg/usr/bin $fs/usr
    3.16 +	rm -f $fs/usr/sbin/sftp-server
    3.17  	cp -a $_pkg/etc $fs
    3.18  	cp ../$SOURCE/stuff/openssh $fs/etc/init.d
    3.19  }
     4.1 --- a/openssh/receipt	Wed Jul 01 07:34:12 2009 +0000
     4.2 +++ b/openssh/receipt	Thu Jul 02 09:05:44 2009 +0200
     4.3 @@ -8,7 +8,7 @@
     4.4  TARBALL="$PACKAGE-$VERSION.tar.gz"
     4.5  WEB_SITE="http://www.openssh.org/"
     4.6  WGET_URL="ftp://ftp.fr.openbsd.org/pub/OpenBSD/OpenSSH/portable/$TARBALL"
     4.7 -DEPENDS="libcrypto zlib"
     4.8 +DEPENDS="sftp-server libcrypto zlib"
     4.9  BUILD_DEPENDS="libcrypto-dev zlib-dev openssl-dev"
    4.10  
    4.11  # Rules to configure and make the package.
    4.12 @@ -29,6 +29,7 @@
    4.13  	mkdir -p $fs/usr/share $fs/etc/init.d $fs/etc/ssh $fs/var/run/sshd
    4.14  	cp -a $_pkg/usr/share/Ssh.bin $fs/usr/share
    4.15  	cp -a $_pkg/usr/sbin $_pkg/usr/bin $fs/usr
    4.16 +	rm -f $fs/usr/sbin/sftp-server
    4.17  	cp -a $_pkg/etc $fs
    4.18  	cp stuff/openssh $fs/etc/init.d
    4.19  	sed -i 's|/usr/libexec/sftp-server|/usr/sbin/sftp-server|' \
     5.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     5.2 +++ b/sftp-server/receipt	Thu Jul 02 09:05:44 2009 +0200
     5.3 @@ -0,0 +1,18 @@
     5.4 +# SliTaz package receipt.
     5.5 +
     5.6 +PACKAGE="sftp-server"
     5.7 +VERSION="5.0p1"
     5.8 +CATEGORY="security"
     5.9 +SHORT_DESC="Openbsd Secure FTP server."
    5.10 +MAINTAINER="pascal.bellard@slitaz.org"
    5.11 +WEB_SITE="http://www.openssh.org/"
    5.12 +DEPENDS="libcrypto zlib"
    5.13 +WANTED="openssh"
    5.14 +
    5.15 +# Rules to gen a SliTaz package suitable for Tazpkg.
    5.16 +genpkg_rules()
    5.17 +{
    5.18 +	mkdir -p $fs/usr/sbin
    5.19 +	cp -a $_pkg/usr/sbin/sftp-server $fs/usr/sbin
    5.20 +}
    5.21 +