dropbear: update to 2020.81
This commit is contained in:
parent
48e3cf2434
commit
e3247d0fca
@ -1,9 +1,9 @@
|
||||
TERMUX_PKG_HOMEPAGE=https://matt.ucc.asn.au/dropbear/dropbear.html
|
||||
TERMUX_PKG_DESCRIPTION="Small SSH server and client"
|
||||
TERMUX_PKG_LICENSE="BSD"
|
||||
TERMUX_PKG_VERSION=2020.80
|
||||
TERMUX_PKG_VERSION=2020.81
|
||||
TERMUX_PKG_SRCURL=https://matt.ucc.asn.au/dropbear/releases/dropbear-${TERMUX_PKG_VERSION}.tar.bz2
|
||||
TERMUX_PKG_SHA256=d927941b91f2da150b2033f1a88b6a47999bf0afb1493a73e9216cffdb5d7949
|
||||
TERMUX_PKG_SHA256=48235d10b37775dbda59341ac0c4b239b82ad6318c31568b985730c788aac53b
|
||||
TERMUX_PKG_DEPENDS="termux-auth, zlib"
|
||||
TERMUX_PKG_CONFLICTS="openssh"
|
||||
TERMUX_PKG_BUILD_IN_SRC=true
|
||||
@ -15,22 +15,22 @@ TERMUX_PKG_EXTRA_CONFIGURE_ARGS+=" ac_cv_lib_crypt_crypt=no"
|
||||
TERMUX_PKG_EXTRA_MAKE_ARGS="MULTI=1 SCPPROGRESS=1"
|
||||
|
||||
termux_step_pre_configure() {
|
||||
export LIBS="-ltermux-auth"
|
||||
export LIBS="-ltermux-auth"
|
||||
}
|
||||
|
||||
termux_step_post_make_install() {
|
||||
ln -sf "dropbearmulti" "${TERMUX_PREFIX}/bin/ssh"
|
||||
ln -sf "dropbearmulti" "${TERMUX_PREFIX}/bin/ssh"
|
||||
}
|
||||
|
||||
termux_step_create_debscripts() {
|
||||
{
|
||||
{
|
||||
echo "#!$TERMUX_PREFIX/bin/sh"
|
||||
echo "mkdir -p $TERMUX_PREFIX/etc/dropbear"
|
||||
echo "for a in rsa dss ecdsa; do"
|
||||
echo " KEYFILE=$TERMUX_PREFIX/etc/dropbear/dropbear_\${a}_host_key"
|
||||
echo " test ! -f \$KEYFILE && dropbearkey -t \$a -f \$KEYFILE"
|
||||
echo " KEYFILE=$TERMUX_PREFIX/etc/dropbear/dropbear_\${a}_host_key"
|
||||
echo " test ! -f \$KEYFILE && dropbearkey -t \$a -f \$KEYFILE"
|
||||
echo "done"
|
||||
echo "exit 0"
|
||||
} > postinst
|
||||
chmod 0755 postinst
|
||||
} > postinst
|
||||
chmod 0755 postinst
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user