# $Id: PKGBUILD 82 2009-07-17 19:56:55Z aaron $ # Maintainer: Sergej Pupykin # Contributor: Sergej Pupykin pkgname=ssh2 pkgver=2.0.13 pkgrel=5 pkgdesc="ssh implementation from ssh.com" arch=(i686 x86_64) url="http://www.ssh.com/" license=('GPL') depends=(zlib shadow libsm libx11) makedepends=(xorg-xauth) source=(http://archlinux-stuff.googlecode.com/files/ssh2_2.0.13.orig.tar.gz \ http://archlinux-stuff.googlecode.com/files/ssh2_2.0.13-7.diff.gz) md5sums=('1853aba4c7c9c501545c9e56a71fa9c3' '95579867c3a4f90d839ebd4f18ca2cee') build() { cd ${startdir}/src/ssh-${pkgver} patch -Np1 <../ssh2_$pkgver-7.diff ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var --includedir=/usr/include/ssh2 \ --enable-tcp-port-forwarding \ --enable-X11-forwarding \ --without-pgp \ --with-x make || return 1 make DESTDIR=$startdir/pkg install || return 1 mkdir -p $startdir/pkg/usr/share && \ mv $startdir/pkg/usr/man $startdir/pkg/usr/share/ || return 1 rm -f $startdir/pkg/usr/bin/scp \ $startdir/pkg/usr/bin/sftp \ $startdir/pkg/usr/bin/sftp-server \ $startdir/pkg/usr/bin/ssh-askpass \ $startdir/pkg/usr/bin/ssh-signer \ $startdir/pkg/usr/bin/ssh \ $startdir/pkg/usr/bin/ssh-add \ $startdir/pkg/usr/bin/ssh-agent \ $startdir/pkg/usr/bin/ssh-keygen \ $startdir/pkg/usr/share/man/man1/scp.1 \ $startdir/pkg/usr/share/man/man1/sftp.1 \ $startdir/pkg/usr/share/man/man1/ssh-add.1 \ $startdir/pkg/usr/share/man/man1/ssh-agent.1 \ $startdir/pkg/usr/share/man/man1/ssh-keygen.1 \ $startdir/pkg/usr/share/man/man1/ssh.1 \ $startdir/pkg/usr/share/man/man8/sshd.8 \ $startdir/pkg/usr/sbin/sshd }