26 lines
380 B
Bash
Executable File
26 lines
380 B
Bash
Executable File
#!/bin/bash
|
|
rootdir=/opt/tor_static
|
|
|
|
#build zlib
|
|
cd $rootdir/zlib/repo/
|
|
`cat ../config`
|
|
make && make install
|
|
|
|
#build libevent
|
|
cd $rootdir/libevent/repo/
|
|
./autogen.sh
|
|
`cat ../config`
|
|
make && make install
|
|
|
|
#build openssl
|
|
cd $rootdir/openssl/repo/
|
|
./autogen.sh
|
|
`cat ../config`
|
|
make && make install
|
|
|
|
#build static tor
|
|
cd $rootdir/tor
|
|
./autogen.sh
|
|
`cat ../config`
|
|
make && make install
|