23 lines
705 B
Plaintext
23 lines
705 B
Plaintext
# Description: Small and secure SSH2 server and client
|
|
# URL: http://matt.ucc.asn.au/dropbear/dropbear.html
|
|
# Maintainer: Jürgen Daubert, juergen dot daubert at t-online dot de
|
|
# Depends on: zlib
|
|
|
|
name=dropbear
|
|
version=0.49
|
|
release=1
|
|
source=(http://matt.ucc.asn.au/$name/releases/$name-$version.tar.gz \
|
|
$name)
|
|
|
|
build () {
|
|
cd $name-$version
|
|
sed -i 's|libexec|lib/ssh|; s|X11R6/bin|bin|' options.h
|
|
./configure --prefix=/usr
|
|
make
|
|
make DESTDIR=$PKG install
|
|
install -d $PKG/{etc/{rc.d,dropbear},usr/man/man{1,8}}
|
|
install -m 644 dbclient.1 $PKG/usr/man/man1
|
|
install -m 644 dropbear{.8,key.8} $PKG/usr/man/man8
|
|
install -m 755 $SRC/dropbear $PKG/etc/rc.d
|
|
}
|