Browse Source

dropbear: Add back scp

Make openssh conflict with dropbear as it also contains scp.
android-5
Fredrik Fornwall 7 years ago
parent
commit
e18c260e49
  1. 12
      packages/dropbear/Makefile.in.patch
  2. 1
      packages/dropbear/build.sh
  3. 2
      packages/openssh/build.sh

12
packages/dropbear/Makefile.in.patch

@ -0,0 +1,12 @@
diff -uNr dropbear-2018.76/Makefile.in dropbear-2018.76.mod/Makefile.in
--- dropbear-2018.76/Makefile.in 2018-02-27 16:25:10.000000000 +0200
+++ dropbear-2018.76.mod/Makefile.in 2018-04-21 14:05:03.923792282 +0300
@@ -9,7 +9,7 @@
# dbclient functionality, and includes the progress-bar functionality in scp.
ifndef PROGRAMS
- PROGRAMS=dropbear dbclient dropbearkey dropbearconvert
+ PROGRAMS=dropbear dbclient dropbearkey dropbearconvert scp
endif
STATIC_LTC=libtomcrypt/libtomcrypt.a

1
packages/dropbear/build.sh

@ -3,6 +3,7 @@ TERMUX_PKG_DESCRIPTION="Small SSH server and client"
TERMUX_PKG_DEPENDS="libutil, readline" TERMUX_PKG_DEPENDS="libutil, readline"
TERMUX_PKG_CONFLICTS="openssh" TERMUX_PKG_CONFLICTS="openssh"
TERMUX_PKG_VERSION=2018.76 TERMUX_PKG_VERSION=2018.76
TERMUX_PKG_REVISION=1
TERMUX_PKG_SRCURL=https://matt.ucc.asn.au/dropbear/releases/dropbear-${TERMUX_PKG_VERSION}.tar.bz2 TERMUX_PKG_SRCURL=https://matt.ucc.asn.au/dropbear/releases/dropbear-${TERMUX_PKG_VERSION}.tar.bz2
TERMUX_PKG_SHA256=f2fb9167eca8cf93456a5fc1d4faf709902a3ab70dd44e352f3acbc3ffdaea65 TERMUX_PKG_SHA256=f2fb9167eca8cf93456a5fc1d4faf709902a3ab70dd44e352f3acbc3ffdaea65
TERMUX_PKG_EXTRA_CONFIGURE_ARGS="--disable-syslog --disable-utmp --disable-utmpx --disable-wtmp" TERMUX_PKG_EXTRA_CONFIGURE_ARGS="--disable-syslog --disable-utmp --disable-utmpx --disable-wtmp"

2
packages/openssh/build.sh

@ -1,9 +1,11 @@
TERMUX_PKG_HOMEPAGE=https://www.openssh.com/ TERMUX_PKG_HOMEPAGE=https://www.openssh.com/
TERMUX_PKG_DESCRIPTION="Secure shell for logging into a remote machine" TERMUX_PKG_DESCRIPTION="Secure shell for logging into a remote machine"
TERMUX_PKG_VERSION=7.7p1 TERMUX_PKG_VERSION=7.7p1
TERMUX_PKG_REVISION=1
TERMUX_PKG_SHA256=d73be7e684e99efcd024be15a30bffcbe41b012b2f7b3c9084aed621775e6b8f TERMUX_PKG_SHA256=d73be7e684e99efcd024be15a30bffcbe41b012b2f7b3c9084aed621775e6b8f
TERMUX_PKG_SRCURL=https://fastly.cdn.openbsd.org/pub/OpenBSD/OpenSSH/portable/openssh-${TERMUX_PKG_VERSION}.tar.gz TERMUX_PKG_SRCURL=https://fastly.cdn.openbsd.org/pub/OpenBSD/OpenSSH/portable/openssh-${TERMUX_PKG_VERSION}.tar.gz
TERMUX_PKG_DEPENDS="libandroid-support, ldns, openssl, libedit, libutil" TERMUX_PKG_DEPENDS="libandroid-support, ldns, openssl, libedit, libutil"
TERMUX_PKG_CONFLICTS="dropbear"
# --disable-strip to prevent host "install" command to use "-s", which won't work for target binaries: # --disable-strip to prevent host "install" command to use "-s", which won't work for target binaries:
TERMUX_PKG_EXTRA_CONFIGURE_ARGS=" TERMUX_PKG_EXTRA_CONFIGURE_ARGS="
--disable-etc-default-login --disable-etc-default-login

Loading…
Cancel
Save