From 638f6eb07dce187dd11509c320331269535cde91 Mon Sep 17 00:00:00 2001 From: Stephan Raue Date: Tue, 3 May 2011 14:34:12 +0200 Subject: [PATCH] dropbear: remove package 'dropbear' Signed-off-by: Stephan Raue --- packages/network/dropbear/build | 47 ---------------- packages/network/dropbear/init.d/51_sshd | 72 ------------------------ packages/network/dropbear/install | 42 -------------- packages/network/dropbear/meta | 36 ------------ 4 files changed, 197 deletions(-) delete mode 100755 packages/network/dropbear/build delete mode 100644 packages/network/dropbear/init.d/51_sshd delete mode 100755 packages/network/dropbear/install delete mode 100644 packages/network/dropbear/meta diff --git a/packages/network/dropbear/build b/packages/network/dropbear/build deleted file mode 100755 index b77923a970..0000000000 --- a/packages/network/dropbear/build +++ /dev/null @@ -1,47 +0,0 @@ -#!/bin/sh - -################################################################################ -# This file is part of OpenELEC - http://www.openelec.tv -# Copyright (C) 2009-2011 Stephan Raue (stephan@openelec.tv) -# -# This Program is free software; you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation; either version 2, or (at your option) -# any later version. -# -# This Program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with OpenELEC.tv; see the file COPYING. If not, write to -# the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. -# http://www.gnu.org/copyleft/gpl.html -################################################################################ - -. config/options $1 - -cd $PKG_BUILD -./configure --host=$TARGET_NAME \ - --build=$HOST_NAME \ - --prefix=/usr \ - --sysconfdir=/etc \ - --localstatedir=/var \ - --enable-largefile \ - --enable-zlib \ - --disable-pam \ - --enable-openpty \ - --enable-syslog \ - --enable-shadow \ - --disable-lastlog \ - --disable-utmp \ - --disable-utmpx \ - --disable-wtmp \ - --disable-wtmpx \ - --disable-loginfunc \ - --disable-pututline \ - --disable-pututxline \ - -make MULTI=1 -make scp diff --git a/packages/network/dropbear/init.d/51_sshd b/packages/network/dropbear/init.d/51_sshd deleted file mode 100644 index 59a0f798d4..0000000000 --- a/packages/network/dropbear/init.d/51_sshd +++ /dev/null @@ -1,72 +0,0 @@ -################################################################################ -# Copyright (C) 2009-2010 OpenELEC.tv -# http://www.openelec.tv -# -# This Program is free software; you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation; either version 2, or (at your option) -# any later version. -# -# This Program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with OpenELEC.tv; see the file COPYING. If not, write to -# the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. -# http://www.gnu.org/copyleft/gpl.html -################################################################################ - -# start ssh server -# -# runlevels: openelec, textmode - -( - RSA_KEY_FILE="/storage/.cache/dropbear/dropbear_rsa_host_key" - RSAPUB_KEY_FILE="/storage/.cache/dropbear/dropbear_rsa_host_key.pub" - DSS_KEY_FILE="/storage/.cache/dropbear/dropbear_dss_host_key" - - # Check for the Dropbear RSA key - if [ ! -f $RSA_KEY_FILE ] ; then - progress "SSH: generating rsa key" - - mkdir -p /storage/.cache/dropbear - dropbearkey -t rsa -f $RSA_KEY_FILE > /dev/null 2>&1 - fi - - # Check for the Dropbear RSA public key - if [ ! -f $RSAPUB_KEY_FILE ] ; then - progress "SSH: generating rsa public key" - - mkdir -p /storage/.cache/dropbear - dropbearkey -f $RSA_KEY_FILE -y > $RSAPUB_KEY_FILE - fi - - # Check for the Dropbear DSS key - if [ ! -f $DSS_KEY_FILE ] ; then - progress "SSH: generating dsa key" - - mkdir -p /storage/.cache/dropbear - dropbearkey -t dss -f $DSS_KEY_FILE > /dev/null 2>&1 - fi - - # Check for predifined known hosts file - if [ -f /etc/ssh/known_hosts -a ! -f $HOME/.ssh/known_hosts ] ; then - progress "SSH: setup predifined known hosts" - - mkdir -p /$HOME/.ssh - cp /etc/ssh/known_hosts $HOME/.ssh - fi - - progress "Starting SSH Server" - - $IONICE mkdir -p /var/log - $IONICE touch /var/log/lastlog - $IONICE touch /var/log/wtmp - - wait_for_network - - dropbear -b /etc/issue -P /var/run/dropbear.pid - -)& diff --git a/packages/network/dropbear/install b/packages/network/dropbear/install deleted file mode 100755 index 80365cabc5..0000000000 --- a/packages/network/dropbear/install +++ /dev/null @@ -1,42 +0,0 @@ -#!/bin/sh - -################################################################################ -# This file is part of OpenELEC - http://www.openelec.tv -# Copyright (C) 2009-2011 Stephan Raue (stephan@openelec.tv) -# -# This Program is free software; you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation; either version 2, or (at your option) -# any later version. -# -# This Program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with OpenELEC.tv; see the file COPYING. If not, write to -# the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. -# http://www.gnu.org/copyleft/gpl.html -################################################################################ - -. config/options $1 - -mkdir -p $INSTALL/usr/bin - cp $PKG_BUILD/dropbearmulti $INSTALL/usr/bin/ - ln -sf dropbearmulti $INSTALL/usr/bin/dbclient - ln -sf dropbearmulti $INSTALL/usr/bin/dropbearconvert - ln -sf dropbearmulti $INSTALL/usr/bin/dropbearkey - ln -sf dropbearmulti $INSTALL/usr/bin/ssh - cp $PKG_BUILD/scp $INSTALL/usr/bin - -mkdir -p $INSTALL/usr/sbin - ln -sf ../bin/dropbearmulti $INSTALL/usr/sbin/dropbear - -mkdir -p $INSTALL/etc - ln -s /storage/.cache/dropbear $INSTALL/etc/dropbear - -if [ -f $PROJECT_DIR/$PROJECT/ssh/known_hosts ]; then - mkdir -p $INSTALL/etc/ssh - cp $PROJECT_DIR/$PROJECT/ssh/known_hosts $INSTALL/etc/ssh -fi diff --git a/packages/network/dropbear/meta b/packages/network/dropbear/meta deleted file mode 100644 index c021700e9e..0000000000 --- a/packages/network/dropbear/meta +++ /dev/null @@ -1,36 +0,0 @@ -################################################################################ -# This file is part of OpenELEC - http://www.openelec.tv -# Copyright (C) 2009-2011 Stephan Raue (stephan@openelec.tv) -# -# This Program is free software; you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation; either version 2, or (at your option) -# any later version. -# -# This Program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with OpenELEC.tv; see the file COPYING. If not, write to -# the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. -# http://www.gnu.org/copyleft/gpl.html -################################################################################ - -PKG_NAME="dropbear" -PKG_VERSION="0.53.1" -PKG_REV="1" -PKG_ARCH="any" -PKG_LICENSE="MIT" -PKG_SITE="http://matt.ucc.asn.au/dropbear/dropbear.html" -PKG_URL="http://matt.ucc.asn.au/dropbear/$PKG_NAME-$PKG_VERSION.tar.bz2" -PKG_DEPENDS="zlib connman" -PKG_BUILD_DEPENDS="toolchain zlib" -PKG_PRIORITY="optional" -PKG_SECTION="security" -PKG_SHORTDESC="dropbear: A relatively small SSH 2 server and client" -PKG_LONGDESC="Dropbear is a relatively small SSH 2 server and client suitable for embedded systems. It runs on a variety of POSIX-based platforms." -PKG_IS_ADDON="no" - -PKG_AUTORECONF="yes"