termux-packages/packages/proxychains-ng/build.sh
Leonid Pliushch bd6813c490 move proxychains-ng from unstable packages
Can be used as replacement for 'torsocks' which is not working after Android 8.
2019-03-18 22:28:16 +02:00

15 lines
771 B
Bash

TERMUX_PKG_HOMEPAGE=https://github.com/rofl0r/proxychains-ng
TERMUX_PKG_DESCRIPTION="A hook preloader that allows to redirect TCP traffic of existing dynamically linked programs through one or more SOCKS or HTTP proxies"
TERMUX_PKG_LICENSE="GPL-2.0"
TERMUX_PKG_MAINTAINER="Leonid Plyushch <leonid.plyushch@gmail.com> @xeffyr"
TERMUX_PKG_VERSION=4.14
TERMUX_PKG_SRCURL=https://github.com/rofl0r/proxychains-ng/archive/v$TERMUX_PKG_VERSION.tar.gz
TERMUX_PKG_SHA256=ab31626af7177cc2669433bb244b99a8f98c08031498233bb3df3bcc9711a9cc
TERMUX_PKG_BUILD_IN_SRC=yes
termux_step_post_make_install() {
# Remove conf file from previous build, otherwise nothing will be done and it won't be included in the package
rm -f "$TERMUX_PREFIX"/etc/proxychains.conf
make install-config
}