From de9af52cfceb33b568f7da5b2c856a278a32c445 Mon Sep 17 00:00:00 2001 From: Markus Wagner Date: Fri, 17 Mar 2017 23:22:28 +0100 Subject: [PATCH] add ssh to the apt transports (#851) --- packages/apt/build.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/packages/apt/build.sh b/packages/apt/build.sh index 51f11b749..ef4fbfacf 100644 --- a/packages/apt/build.sh +++ b/packages/apt/build.sh @@ -6,7 +6,7 @@ TERMUX_PKG_DEPENDS="liblzma, dpkg, gpgv" # Updating to apt 1.4 will also get rid of the build hacks used as apt has transitioned # to a clean cmake build system. TERMUX_PKG_VERSION=1.2.12 -TERMUX_PKG_REVISION=1 +TERMUX_PKG_REVISION=2 # TERMUX_PKG_SRCURL=http://ftp.debian.org/debian/pool/main/a/apt/apt_${TERMUX_PKG_VERSION}.tar.xz TERMUX_PKG_SRCURL=https://launchpad.net/ubuntu/+archive/primary/+files/apt_${TERMUX_PKG_VERSION}.tar.xz TERMUX_PKG_SHA256=e820d27cba73476df4abcff27dadd1b5847474bfe85f7e9202a9a07526973ea6 @@ -37,8 +37,9 @@ termux_step_make_install () { mkdir -p $TERMUX_PREFIX/lib/apt/methods $TERMUX_PREFIX/share/man/man{5,8} cp $TERMUX_PKG_BUILDDIR/build/docs/apt{,-cache,-get}.8 $TERMUX_PREFIX/share/man/man8/ cp $TERMUX_PKG_BUILDDIR/build/docs/{apt.conf,sources.list}.5 $TERMUX_PREFIX/share/man/man5/ - cp $TERMUX_PKG_BUILDDIR/build/bin/methods/{copy,file,gpgv,gzip,http,https,store} $TERMUX_PREFIX/lib/apt/methods + cp $TERMUX_PKG_BUILDDIR/build/bin/methods/{copy,file,gpgv,gzip,http,https,rsh,store} $TERMUX_PREFIX/lib/apt/methods (cd $TERMUX_PREFIX/lib/apt/methods; ln -f -s gzip xz) + (cd $TERMUX_PREFIX/lib/apt/methods; ln -f -s rsh ssh) mkdir -p $TERMUX_PREFIX/etc/apt printf "# The main termux repository:\ndeb [arch=all,${TERMUX_ARCH}] http://termux.net stable main\n" > $TERMUX_PREFIX/etc/apt/sources.list