wok-6.x annotate openssh-pam/receipt @ rev 6017
icedtea6: Upgrade to 1.8.1
author | Matthew Sheets <rcx@zoominternet.net> |
---|---|
date | Sat Aug 14 21:49:48 2010 +0000 (2010-08-14) |
parents | 116ca1384948 |
children | eb7d8ec19f8a |
rev | line source |
---|---|
pascal@2188 | 1 # SliTaz package receipt. |
pascal@2188 | 2 |
pascal@2188 | 3 PACKAGE="openssh-pam" |
pankso@5287 | 4 VERSION="5.5p1" |
pascal@2188 | 5 CATEGORY="security" |
pascal@2188 | 6 SHORT_DESC="Openbsd Secure Shell using PAM." |
pascal@2188 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@2188 | 8 SOURCE="openssh" |
pascal@2188 | 9 TARBALL="$SOURCE-$VERSION.tar.gz" |
pascal@2188 | 10 WEB_SITE="http://www.openssh.org/" |
pascal@2188 | 11 WGET_URL="ftp://ftp.fr.openbsd.org/pub/OpenBSD/OpenSSH/portable/$TARBALL" |
pascal@3628 | 12 DEPENDS="sftp-server libcrypto zlib pam" |
pascal@2188 | 13 BUILD_DEPENDS="libcrypto-dev zlib-dev openssl-dev pam pam-dev" |
pascal@4904 | 14 PROVIDE="openssh:pam ssh:pam" |
pascal@2188 | 15 |
pascal@2188 | 16 # Rules to configure and make the package. |
pascal@2188 | 17 compile_rules() |
pascal@2188 | 18 { |
pascal@2188 | 19 cd $src |
pascal@2188 | 20 ./configure --prefix=/usr --sysconfdir=/etc/ssh --with-pam \ |
pascal@2188 | 21 --with-privsep-user=nobody --with-privsep-path=/var/run/sshd \ |
pankso@2213 | 22 --libexecdir=/usr/sbin \ |
pascal@2188 | 23 $CONFIGURE_ARGS && |
pascal@2188 | 24 make && |
pascal@2188 | 25 make DESTDIR=$PWD/_pkg install |
pascal@2188 | 26 } |
pascal@2188 | 27 |
pascal@2188 | 28 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@2188 | 29 genpkg_rules() |
pascal@2188 | 30 { |
pankso@5295 | 31 mkdir -p $fs/usr $fs/etc/init.d $fs/etc/ssh $fs/var/run/sshd |
pankso@2213 | 32 cp -a $_pkg/usr/sbin $_pkg/usr/bin $fs/usr |
pascal@3628 | 33 rm -f $fs/usr/sbin/sftp-server |
pascal@2188 | 34 cp -a $_pkg/etc $fs |
pascal@2287 | 35 cp ../$SOURCE/stuff/openssh $fs/etc/init.d |
pascal@4432 | 36 sed -i 's/.*UsePAM.*/UsePAM yes/' $fs/etc/sshd/sshd_config |
pascal@2188 | 37 } |
pascal@2188 | 38 |