wok view openssh/receipt @ rev 1591

gnupg: update 1.4.9
author Paul Issott <paul@slitaz.org>
date Fri Oct 17 13:06:12 2008 +0000 (2008-10-17)
parents 6e606489151e
children 3b05beb4a5db
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.openssl.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 \
19 --with-privsep-user=nobody --with-privsep-path=/var/run/sshd \
20 $CONFIGURE_ARGS &&
21 make &&
22 make DESTDIR=$PWD/_pkg install
23 }
25 # Rules to gen a SliTaz package suitable for Tazpkg.
26 genpkg_rules()
27 {
28 mkdir -p $fs/usr/share $fs/etc/init.d $fs/etc/ssh $fs/var/run/sshd
29 cp -a $_pkg/usr/share/Ssh.bin $fs/usr/share
30 cp -a $_pkg/usr/sbin $_pkg/usr/bin $_pkg/usr/libexec $fs/usr
31 cp -a $_pkg/etc $fs
32 cp stuff/openssh $fs/etc/init.d
33 }