wok diff openssh-pam/receipt @ rev 2188

Add openssh-pam
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Feb 09 09:51:37 2009 +0000 (2009-02-09)
parents
children 05bf8fea0033
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/openssh-pam/receipt	Mon Feb 09 09:51:37 2009 +0000
     1.3 @@ -0,0 +1,36 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="openssh-pam"
     1.7 +VERSION="5.0p1"
     1.8 +CATEGORY="security"
     1.9 +SHORT_DESC="Openbsd Secure Shell using PAM."
    1.10 +MAINTAINER="pascal.bellard@slitaz.org"
    1.11 +SOURCE="openssh"
    1.12 +TARBALL="$SOURCE-$VERSION.tar.gz"
    1.13 +WEB_SITE="http://www.openssh.org/"
    1.14 +WGET_URL="ftp://ftp.fr.openbsd.org/pub/OpenBSD/OpenSSH/portable/$TARBALL"
    1.15 +DEPENDS="libcrypto zlib pam"
    1.16 +BUILD_DEPENDS="libcrypto-dev zlib-dev openssl-dev pam pam-dev"
    1.17 +PROVIDE="openssh:pam"
    1.18 +
    1.19 +# Rules to configure and make the package.
    1.20 +compile_rules()
    1.21 +{
    1.22 +	cd $src
    1.23 +	./configure --prefix=/usr --sysconfdir=/etc/ssh --with-pam \
    1.24 +		--with-privsep-user=nobody --with-privsep-path=/var/run/sshd \
    1.25 +		$CONFIGURE_ARGS &&
    1.26 +	make &&
    1.27 +	make DESTDIR=$PWD/_pkg install
    1.28 +}
    1.29 +
    1.30 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.31 +genpkg_rules()
    1.32 +{
    1.33 +	mkdir -p $fs/usr/share $fs/etc/init.d $fs/etc/ssh $fs/var/run/sshd
    1.34 +	cp -a $_pkg/usr/share/Ssh.bin $fs/usr/share
    1.35 +	cp -a $_pkg/usr/sbin $_pkg/usr/bin $_pkg/usr/libexec $fs/usr
    1.36 +	cp -a $_pkg/etc $fs
    1.37 +	cp stuff/openssh $fs/etc/init.d
    1.38 +}
    1.39 +