wok view openssh-pam/receipt @ rev 4113

Up: glib (2.21.6)
author Christophe Lincoln <pankso@slitaz.org>
date Sat Sep 19 22:43:55 2009 +0200 (2009-09-19)
parents 22ab8eb50d81
children 2c0526004589
line source
1 # SliTaz package receipt.
3 PACKAGE="openssh-pam"
4 VERSION="5.0p1"
5 CATEGORY="security"
6 SHORT_DESC="Openbsd Secure Shell using PAM."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 SOURCE="openssh"
9 TARBALL="$SOURCE-$VERSION.tar.gz"
10 WEB_SITE="http://www.openssh.org/"
11 WGET_URL="ftp://ftp.fr.openbsd.org/pub/OpenBSD/OpenSSH/portable/$TARBALL"
12 DEPENDS="sftp-server libcrypto zlib pam"
13 BUILD_DEPENDS="libcrypto-dev zlib-dev openssl-dev pam pam-dev"
14 PROVIDE="openssh:pam"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
20 ./configure --prefix=/usr --sysconfdir=/etc/ssh --with-pam \
21 --with-privsep-user=nobody --with-privsep-path=/var/run/sshd \
22 --libexecdir=/usr/sbin \
23 $CONFIGURE_ARGS &&
24 make &&
25 make DESTDIR=$PWD/_pkg install
26 }
28 # Rules to gen a SliTaz package suitable for Tazpkg.
29 genpkg_rules()
30 {
31 mkdir -p $fs/usr/share $fs/etc/init.d $fs/etc/ssh $fs/var/run/sshd
32 cp -a $_pkg/usr/share/Ssh.bin $fs/usr/share
33 cp -a $_pkg/usr/sbin $_pkg/usr/bin $fs/usr
34 rm -f $fs/usr/sbin/sftp-server
35 cp -a $_pkg/etc $fs
36 cp ../$SOURCE/stuff/openssh $fs/etc/init.d
37 }