wok-current view openssh/receipt @ rev 3154

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