1 # Description: Small and secure SSH2 server and client
2 # URL: http://matt.ucc.asn.au/dropbear/dropbear.html
3 # Maintainer: Juergen Daubert, juergen dot daubert at t-online dot de
4 # Arch Maintainer: CRUX-ARM System Team, devel at crux-arm dot nu
10 source=(http://matt.ucc.asn.au/$name/releases/$name-$version.tar.gz \
11 $name $name-$version.patch-scp_and_progressmeter)
15 patch -p1 -i $SRC/$name-$version.patch-scp_and_progressmeter
16 sed -i 's|libexec|lib/ssh|; s|X11R6/bin|bin|' options.h
17 ./configure --build=$CHOST \
21 make PROGRAMS="dropbear dbclient scp dropbearkey dropbearconvert" SCPPROGRESS=1
22 make DESTDIR=$PKG install
23 install -m 755 scp $PKG/usr/bin
24 install -d $PKG/{etc/{rc.d,$name},usr/man/man{1,8}}
25 install -m 644 dbclient.1 $PKG/usr/man/man1
26 install -m 644 dropbear{.8,key.8} $PKG/usr/man/man8
27 install -m 755 $SRC/$name $PKG/etc/rc.d
28 ln -s dbclient $PKG/usr/bin/ssh