From 90c5f6603a2aa53fb0e58e3187f4d6d9d902fee9 Mon Sep 17 00:00:00 2001 From: Holger Schurig Date: Wed, 9 Mar 2005 07:29:14 +0000 Subject: added DropBear 0.45 (thanks Erik Hovland) deleted DropBear 0.41 and 0.42 because of a exploitable security problem BKrev: 422ea5ca6ZzLSLy0rZbbWRO6CUriTA --- packages/dropbear/dropbear-0.41/allow-nopw.patch | 0 packages/dropbear/dropbear-0.41/configure.patch | 0 packages/dropbear/dropbear-0.41/initd.patch | 0 packages/dropbear/dropbear-0.42/allow-nopw.patch | 0 packages/dropbear/dropbear-0.42/configure.patch | 0 packages/dropbear/dropbear-0.42/multi-binary.patch | 0 packages/dropbear/dropbear-0.45/allow-nopw.patch | 0 packages/dropbear/dropbear-0.45/configure.patch | 0 packages/dropbear/dropbear-0.45/fix-2kb-keys.patch | 0 .../urandom-xauth-changes-to-options.h.patch | 0 packages/dropbear/dropbear_0.41.bb | 0 packages/dropbear/dropbear_0.42.bb | 63 ---------------------- packages/dropbear/dropbear_0.45.bb | 0 13 files changed, 63 deletions(-) delete mode 100644 packages/dropbear/dropbear-0.41/allow-nopw.patch delete mode 100644 packages/dropbear/dropbear-0.41/configure.patch delete mode 100644 packages/dropbear/dropbear-0.41/initd.patch delete mode 100644 packages/dropbear/dropbear-0.42/allow-nopw.patch delete mode 100644 packages/dropbear/dropbear-0.42/configure.patch delete mode 100644 packages/dropbear/dropbear-0.42/multi-binary.patch create mode 100644 packages/dropbear/dropbear-0.45/allow-nopw.patch create mode 100644 packages/dropbear/dropbear-0.45/configure.patch create mode 100644 packages/dropbear/dropbear-0.45/fix-2kb-keys.patch create mode 100644 packages/dropbear/dropbear-0.45/urandom-xauth-changes-to-options.h.patch delete mode 100644 packages/dropbear/dropbear_0.41.bb delete mode 100644 packages/dropbear/dropbear_0.42.bb create mode 100644 packages/dropbear/dropbear_0.45.bb diff --git a/packages/dropbear/dropbear-0.41/allow-nopw.patch b/packages/dropbear/dropbear-0.41/allow-nopw.patch deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/packages/dropbear/dropbear-0.41/configure.patch b/packages/dropbear/dropbear-0.41/configure.patch deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/packages/dropbear/dropbear-0.41/initd.patch b/packages/dropbear/dropbear-0.41/initd.patch deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/packages/dropbear/dropbear-0.42/allow-nopw.patch b/packages/dropbear/dropbear-0.42/allow-nopw.patch deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/packages/dropbear/dropbear-0.42/configure.patch b/packages/dropbear/dropbear-0.42/configure.patch deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/packages/dropbear/dropbear-0.42/multi-binary.patch b/packages/dropbear/dropbear-0.42/multi-binary.patch deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/packages/dropbear/dropbear-0.45/allow-nopw.patch b/packages/dropbear/dropbear-0.45/allow-nopw.patch new file mode 100644 index 0000000000..e69de29bb2 diff --git a/packages/dropbear/dropbear-0.45/configure.patch b/packages/dropbear/dropbear-0.45/configure.patch new file mode 100644 index 0000000000..e69de29bb2 diff --git a/packages/dropbear/dropbear-0.45/fix-2kb-keys.patch b/packages/dropbear/dropbear-0.45/fix-2kb-keys.patch new file mode 100644 index 0000000000..e69de29bb2 diff --git a/packages/dropbear/dropbear-0.45/urandom-xauth-changes-to-options.h.patch b/packages/dropbear/dropbear-0.45/urandom-xauth-changes-to-options.h.patch new file mode 100644 index 0000000000..e69de29bb2 diff --git a/packages/dropbear/dropbear_0.41.bb b/packages/dropbear/dropbear_0.41.bb deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/packages/dropbear/dropbear_0.42.bb b/packages/dropbear/dropbear_0.42.bb deleted file mode 100644 index ef76beb172..0000000000 --- a/packages/dropbear/dropbear_0.42.bb +++ /dev/null @@ -1,63 +0,0 @@ -SECTION = "console/network" -DESCRIPTION = "Dropbear SSH Implementation" -LICENSE = "MIT" -DEPENDS = "zlib" -PR = "r4" - -SRC_URI = "http://matt.ucc.asn.au/dropbear/releases/dropbear-${PV}.tar.bz2 \ - file://configure.patch;patch=1 \ - file://allow-nopw.patch;patch=1 \ - file://multi-binary.patch;patch=1 \ - file://init" -S = "${WORKDIR}/dropbear-${PV}" - -inherit autotools update-rc.d - -INITSCRIPT_NAME = "dropbear" -INITSCRIPT_PARAMS = "defaults 10" - -CFLAGS_prepend = "-I. " -LD = "${CC}" - -do_compile () { - oe_runmake dropbearmulti -} - -do_install () { - install -d ${D}${sysconfdir} \ - ${D}${sysconfdir}/init.d \ - ${D}${sysconfdir}/default \ - ${D}${sysconfdir}/dropbear \ - ${D}${sbindir} \ - ${D}${localstatedir} - - install -m 0755 dropbearmulti ${D}${sbindir}/ - cd ${D}${sbindir}/ && ln -s ./dropbearmulti dropbear && ln -s ./dropbearmulti dropbearkey && ln -s ./dropbearmulti dropbearconvert -# autotools_do_install - cat ${WORKDIR}/init | sed -e 's,/etc,${sysconfdir},g' \ - -e 's,/usr/sbin,${sbindir},g' \ - -e 's,/var,${localstatedir},g' \ - -e 's,/usr/bin,${bindir},g' \ - -e 's,/usr,${prefix},g' > ${D}${sysconfdir}/init.d/dropbear - chmod 755 ${D}${sysconfdir}/init.d/dropbear -} -pkg_postinst_append () { - -if [ -n "$D" ]; then exit 1; fi -if [ ! -f "${sysconfdir}/dropbear/dropbear_rsa_host_key" ]; then - dropbearkey -t rsa -f ${sysconfdir}/dropbear/dropbear_rsa_host_key -fi -#if [ ! -f "${sysconfdir}/dropbear/dropbear_dss_host_key" ]; then -# dropbearkey -t dss -f ${sysconfdir}/dropbear/dropbear_dss_host_key -#fi -} - -pkg_postrm_append () { - -if [ -f "${sysconfdir}/dropbear/dropbear_rsa_host_key" ]; then - rm ${sysconfdir}/dropbear/dropbear_rsa_host_key -fi -if [ -f "${sysconfdir}/dropbear/dropbear_dss_host_key" ]; then - rm ${sysconfdir}/dropbear/dropbear_dss_host_key -fi -} diff --git a/packages/dropbear/dropbear_0.45.bb b/packages/dropbear/dropbear_0.45.bb new file mode 100644 index 0000000000..e69de29bb2 -- cgit v1.2.3