wok annotate openssh/receipt @ rev 2757

locale-ru: Use UTF-8 by default
author Christophe Lincoln <pankso@slitaz.org>
date Sun Apr 26 21:07:54 2009 +0200 (2009-04-26)
parents 05bf8fea0033
children a975000773d0
rev   line source
pascal@860 1 # SliTaz package receipt.
pascal@860 2
pascal@860 3 PACKAGE="openssh"
pascal@860 4 VERSION="5.0p1"
pascal@860 5 CATEGORY="security"
pascal@860 6 SHORT_DESC="Openbsd Secure Shell."
pascal@860 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@860 8 TARBALL="$PACKAGE-$VERSION.tar.gz"
pascal@1597 9 WEB_SITE="http://www.openssh.org/"
pascal@860 10 WGET_URL="ftp://ftp.fr.openbsd.org/pub/OpenBSD/OpenSSH/portable/$TARBALL"
pascal@860 11 DEPENDS="libcrypto zlib"
pascal@1514 12 BUILD_DEPENDS="libcrypto-dev zlib-dev openssl-dev"
pascal@860 13
pascal@860 14 # Rules to configure and make the package.
pascal@860 15 compile_rules()
pascal@860 16 {
pascal@860 17 cd $src
pascal@2188 18 ./configure --prefix=/usr --sysconfdir=/etc/ssh --without-pam \
pascal@860 19 --with-privsep-user=nobody --with-privsep-path=/var/run/sshd \
pankso@2213 20 --libexecdir=/usr/sbin \
pascal@1514 21 $CONFIGURE_ARGS &&
pascal@1514 22 make &&
pascal@860 23 make DESTDIR=$PWD/_pkg install
pascal@860 24 }
pascal@860 25
pascal@860 26 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@860 27 genpkg_rules()
pascal@860 28 {
pascal@860 29 mkdir -p $fs/usr/share $fs/etc/init.d $fs/etc/ssh $fs/var/run/sshd
pascal@860 30 cp -a $_pkg/usr/share/Ssh.bin $fs/usr/share
pankso@2213 31 cp -a $_pkg/usr/sbin $_pkg/usr/bin $fs/usr
pascal@860 32 cp -a $_pkg/etc $fs
pascal@860 33 cp stuff/openssh $fs/etc/init.d
pascal@2598 34 sed -i 's|/usr/libexec/sftp-server|/usr/sbin/sftp-server|' \
pascal@2598 35 $fs/etc/ssh/sshd_config
pascal@860 36 }
pascal@860 37