|
|
|
@ -0,0 +1,23 @@ |
|
|
|
#!/bin/bash |
|
|
|
|
|
|
|
echo "Automated prepare Installer for Freetz by TRONX2100 01/2022" |
|
|
|
|
|
|
|
if [ ! -d freetz-ng ] ; then |
|
|
|
wget -nc http://ftp.no.debian.org/debian/pool/main/p/prelink/execstack_0.0.20131005-1+b10_amd64.deb |
|
|
|
sudo apt update |
|
|
|
sudo apt-get -y install imagemagick subversion git \ |
|
|
|
gcc g++ binutils autoconf automake autopoint libtool-bin \ |
|
|
|
make bzip2 libncurses5-dev libreadline-dev zlib1g-dev flex bison patch \ |
|
|
|
texinfo tofrodos gettext pkg-config ecj fastjar coreutils perl libstring-crc32-perl \ |
|
|
|
ruby ruby1.8 gawk python3 libusb-dev unzip intltool libacl1-dev libcap-dev \ |
|
|
|
libc6-dev-i386 lib32ncurses5-dev gcc-multilib lib32stdc++6 libglib2.0-dev paxtest \ |
|
|
|
subversion ftp |
|
|
|
|
|
|
|
sudo apt install ./execstack_0.0.20131005-1+b10_amd64.deb |
|
|
|
echo "Done" |
|
|
|
git clone https://github.com/Freetz-NG/freetz-ng ./freetz-ng |
|
|
|
fi |
|
|
|
cd freetz-ng |
|
|
|
make menuconfig |
|
|
|
make |
|
|
|
cd .. |