This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
set -e | |
apt update -y | |
apt install -y build-essential git perl python2.7 python2.7-dev zlib1g-dev autoconf libicu-dev pkg-config perl ccache | |
OPENSSL_TAG=OpenSSL_1_1_1-stable | |
QBITTORRENT_TAG=v4_2_x | |
LIBTORRENT_TAG=RC_1_2 | |
QT5_TAG=5.14 | |
BOOST_VER=1.72.0 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
set -e | |
apt install -y build-essential git perl python2.7 libboost-all-dev libboost-tools-dev zlib1g-dev autoconf libssl-dev | |
QBITTORRENT_TAG=v4_2_x | |
LIBTORRENT_TAG=RC_1_2 | |
QT5_TAG=5.12 | |
rm -rf work | |
mkdir work |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# Requires also checking out freshtomato-arm source code | |
# and adding in kernel/config_base: CONFIG_NF_CT_NETLINK=m | |
# and then compiling the kernel, then extracting nf_conntrack_netlink.ko | |
# and insmod before using conntrack utility. | |
BUILDROOT=/home/android/freshtomato/buildroot-2019.02.3 | |
BUILDHOST=arm-buildroot-linux-uclibcgnueabi | |
BUILDROOT_BIN=$BUILDROOT/output/host/bin |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Unit] | |
Description=TunSafe VPN Service - %i | |
Wants=network-online.target | |
After=network-online.target | |
After=multi-user.target | |
[Service] | |
Type=simple | |
User=root | |
WorkingDirectory=/etc/tunsafe |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
set -e | |
#cpp -D__ARM_ARCH__=7 crypto/chacha20/chacha20-arm.s > crypto/chacha20/chacha20-arm.preprocessed.s | |
#cpp -D__ARM_ARCH__=7 crypto/poly1305/poly1305-arm.s > crypto/poly1305/poly1305-arm.preprocessed.s | |
~/freshtomato/buildroot-2019.02.2/output/host/bin/arm-linux-g++ \ | |
-march=armv7-a -mtune=cortex-a9 -mfloat-abi=soft -mthumb \ | |
-I . -g -O2 -DNDEBUG -DWITH_NETWORK_BSD=1 \ | |
-fno-omit-frame-pointer -pthread -lrt -o tunsafe \ |