summaryrefslogtreecommitdiff
path: root/packages/dropbear
diff options
context:
space:
mode:
authorKoen Kooi <koen@openembedded.org>2005-08-03 09:41:04 +0000
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>2005-08-03 09:41:04 +0000
commit11a2c0bf83920ce4c312883ca17ad27ef3705eee (patch)
tree47d22809cb86841347dcfd98398a68f19e424a2c /packages/dropbear
parent46a255a27b2f4561c64e2f9da5701d45a4170a40 (diff)
parent37f6c0f509d71161d27fbe78573ef21d335272ef (diff)
merge of 7a7b09b428b0fc588bb40bec9d545736c70956e8
and 7ab1b01cd9231fe128eea9ab71f6ec45d2dbd6bf
Diffstat (limited to 'packages/dropbear')
-rw-r--r--packages/dropbear/dropbear_0.46.bb17
1 files changed, 12 insertions, 5 deletions
diff --git a/packages/dropbear/dropbear_0.46.bb b/packages/dropbear/dropbear_0.46.bb
index 3a2b54072f..739950ed1a 100644
--- a/packages/dropbear/dropbear_0.46.bb
+++ b/packages/dropbear/dropbear_0.46.bb
@@ -3,7 +3,7 @@ HOMEPAGE = "http://matt.ucc.asn.au/dropbear/dropbear.html"
SECTION = "console/network"
LICENSE = "MIT"
DEPENDS = "zlib"
-PR = "r1"
+PR = "r2"
PROVIDES = "ssh sshd"
SRC_URI = "http://matt.ucc.asn.au/dropbear/releases/dropbear-${PV}.tar.bz2 \
@@ -41,10 +41,12 @@ do_install() {
${D}${localstatedir}
install -m 0755 dropbearmulti ${D}${sbindir}/
- for i in ${BINCOMMANDS}
- do
- ln -s ${sbindir}/dropbearmulti ${D}${bindir}/$i
- done
+# for i in ${BINCOMMANDS}
+# do
+# ln -s ${sbindir}/dropbearmulti ${D}${bindir}/$i
+# done
+ ln -s ${sbindir}/dropbearmulti ${D}${bindir}/dbclient
+
for i in ${SBINCOMMANDS}
do
ln -s ./dropbearmulti ${D}${sbindir}/$i
@@ -57,6 +59,11 @@ do_install() {
chmod 755 ${D}${sysconfdir}/init.d/dropbear
}
+pkg_postinst () {
+ update-alternatives --install ${bindir}/scp scp ${sbindir}/dropbearmulti 20
+ update-alternatives --install ${bindir}/ssh ssh ${sbindir}/dropbearmulti 20
+}
+
pkg_postrm_append () {
if [ -f "${sysconfdir}/dropbear/dropbear_rsa_host_key" ]; then
rm ${sysconfdir}/dropbear/dropbear_rsa_host_key