termux-packages/packages/tor/build.sh
Vishal Biswas 27fa8f3854 tor update and enable squid cache server (#1077)
* tor: update from 0.3.0.7 to 0.3.0.8

* squid: update from 3.5.25 to 3.5.26 & enable package
2017-06-12 01:47:45 +02:00

18 lines
629 B
Bash

TERMUX_PKG_HOMEPAGE=https://www.torproject.org
TERMUX_PKG_DESCRIPTION="The Onion Router anonymizing overlay network"
TERMUX_PKG_DEPENDS="libevent, openssl"
TERMUX_PKG_VERSION=0.3.0.8
TERMUX_PKG_SRCURL=https://www.torproject.org/dist/tor-$TERMUX_PKG_VERSION.tar.gz
TERMUX_PKG_SHA256=663a3ba7b8a124c0f8a7351eaa2dda6fd518de3f3c4ee28fff869bfb03860d48
TERMUX_PKG_CONFFILES="etc/tor/torrc"
TERMUX_PKG_MAINTAINER="Vishal Biswas @vishalbiswas"
termux_step_pre_configure () {
LDFLAGS="$LDFLAGS -llog"
}
termux_step_post_make_install () {
# use default config
mv "$TERMUX_PREFIX/etc/tor/torrc.sample" "$TERMUX_PREFIX/etc/tor/torrc"
}