tsu: update to v8.3.2, patch no longer required, fixed upstream

This commit is contained in:
Cswl C 2020-05-09 20:36:04 +00:00 committed by Leonid Pliushch
parent b0d1ff7cfa
commit ab4a3cf78c
2 changed files with 2 additions and 14 deletions

View File

@ -1,12 +1,12 @@
TERMUX_PKG_HOMEPAGE=https://github.com/cswl/tsu
TERMUX_PKG_DESCRIPTION="A su wrapper for Termux"
TERMUX_PKG_LICENSE="ISC"
TERMUX_PKG_VERSION=8.2.0
TERMUX_PKG_VERSION=8.3.2
TERMUX_PKG_REVISION=1
TERMUX_PKG_PLATFORM_INDEPENDENT=true
TERMUX_PKG_BUILD_IN_SRC=true
TERMUX_PKG_SRCURL=(https://github.com/cswl/tsu/archive/v$TERMUX_PKG_VERSION.tar.gz)
TERMUX_PKG_SHA256=(583c5c2a9a2545ae35bddcb50e9759b468f6a37aed68b90029d005403d3f4e24)
TERMUX_PKG_SHA256=(8abb838ad482c9ae321fcd79957405ff52b39b1344cca52b4414d857e0529fc2)
termux_step_make() {
python3 ./extract_usage.py

View File

@ -1,12 +0,0 @@
diff -uNr tsu-8.2.0/shell/tsu.sh tsu-8.2.0.mod/shell/tsu.sh
--- tsu-8.2.0/shell/tsu.sh 2020-05-02 07:00:17.000000000 +0300
+++ tsu-8.2.0.mod/shell/tsu.sh 2020-05-07 18:22:24.320425132 +0300
@@ -182,7 +182,7 @@
# Support for other shells.
# I dont have other shells to test
for SU_BINARY in '/su/bin/su' '/sbin/su' '/system/xbin/su' '/system/bin/su'; do
- if [ -e "$s" ]; then
+ if [ -e "$SU_BINARY" ]; then
# The --preserve-enivorment is used to copy variables
# Since we would have to detect busybox and others
exec "$SU_BINARY" -c "LD_PRELOAD=$LD_PRELOAD $STARTUP_SCRIPT"