mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-29 13:46:49 +00:00
dropbear: remove package 'dropbear'
Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
parent
134831e164
commit
638f6eb07d
@ -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
|
@ -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
|
||||
|
||||
)&
|
@ -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
|
@ -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"
|
Loading…
x
Reference in New Issue
Block a user