shadowsocks/tests/socksify/install.sh

14 lines
420 B
Bash
Raw Normal View History

2014-07-11 09:35:47 +00:00
#!/bin/bash
if [ ! -d dante-1.4.0 ]; then
#wget http://www.inet.no/dante/files/dante-1.4.0.tar.gz || exit 1
wget https://codeload.github.com/notpeter/dante/tar.gz/dante-1.4.0 -O dante-1.4.0.tar.gz || exit 1
2014-07-11 09:35:47 +00:00
tar xf dante-1.4.0.tar.gz || exit 1
#
mv dante-dante-1.4.0 dante-1.4.0
2014-07-11 09:35:47 +00:00
fi
pushd dante-1.4.0
2014-12-11 04:46:52 +00:00
./configure && make -j4 && make install || exit 1
2014-07-11 09:35:47 +00:00
popd
cp tests/socksify/socks.conf /etc/ || exit 1