+++ /dev/null
-drwxr-xr-x root/root etc/
-drwxr-xr-x root/root etc/dropbear/
-drwxr-xr-x root/root etc/rc.d/
--rwxr-xr-x root/root etc/rc.d/dropbear
-drwxr-xr-x root/root usr/
-drwxr-xr-x root/root usr/bin/
--rwxr-xr-x root/root usr/bin/dbclient
--rwxr-xr-x root/root usr/bin/dropbearconvert
--rwxr-xr-x root/root usr/bin/dropbearkey
--rwxr-xr-x root/root usr/bin/scp
-lrwxrwxrwx root/root usr/bin/ssh -> dbclient
-drwxr-xr-x root/root usr/man/
-drwxr-xr-x root/root usr/man/man1/
--rw-r--r-- root/root usr/man/man1/dbclient.1.gz
-drwxr-xr-x root/root usr/man/man8/
--rw-r--r-- root/root usr/man/man8/dropbear.8.gz
--rw-r--r-- root/root usr/man/man8/dropbearkey.8.gz
-drwxr-xr-x root/root usr/sbin/
--rwxr-xr-x root/root usr/sbin/dropbear
+++ /dev/null
-e499ac93e2ce3c14c3806c4f74e74371 dropbear
-6b8d901859d9b8a18e2f6bfe0a892a03 dropbear-0.53.1.tar.gz
+++ /dev/null
-# Description: Small and secure SSH2 server and client
-# URL: http://matt.ucc.asn.au/dropbear/dropbear.html
-# Maintainer: Juergen Daubert, juergen dot daubert at t-online dot de
-# Arch Maintainer: CRUX-ARM System Team, devel at crux-arm dot nu
-# Depends on: zlib
-
-name=dropbear
-version=0.53.1
-release=1
-source=(http://matt.ucc.asn.au/$name/releases/$name-$version.tar.gz
- $name)
-
-build () {
- cd $name-$version
- ./configure --build=$CHOST \
- --host=$CTARGET \
- --prefix=/usr
-
- make PROGRAMS="dropbear dbclient scp dropbearkey dropbearconvert" SCPPROGRESS=1
- make DESTDIR=$PKG install
- install -m 755 scp $PKG/usr/bin
- install -d $PKG/{etc/{rc.d,$name},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/$name $PKG/etc/rc.d
- ln -s dbclient $PKG/usr/bin/ssh
-}
+++ /dev/null
-#!/bin/sh
-#
-# /etc/rc.d/dropbear: start/stop dropbear ssh daemon
-#
-
-CONV=/usr/bin/dropbearconvert
-KEYG=/usr/bin/dropbearkey
-
-RSA=/etc/dropbear/dropbear_rsa_host_key
-DSS=/etc/dropbear/dropbear_dss_host_key
-
-case $1 in
-start)
- if [ ! -f $RSA ]; then
- if [ -f /etc/ssh/ssh_host_rsa_key ]; then
- $CONV openssh dropbear /etc/ssh/ssh_host_rsa_key $RSA
- else
- $KEYG -t rsa -f $RSA
- fi
- fi
- if [ ! -f $DSS ]; then
- if [ -f /etc/ssh/ssh_host_dsa_key ]; then
- $CONV openssh dropbear /etc/ssh/ssh_host_dsa_key $DSS
- else
- $KEYG -t dss -f $DSS
- fi
- fi
- /usr/sbin/dropbear
- ;;
-stop)
- killall -q /usr/sbin/dropbear
- ;;
-restart)
- $0 stop
- sleep 2
- $0 start
- ;;
-*)
- echo "usage: $0 [start|stop|restart]"
- ;;
-esac
-
-# End of file