2014-03-09 04:21:46 +00:00
|
|
|
all: clean multi-tor start_router haproxy check_install rc-local polipo-config tor-router-update rsyslog crontab
|
2014-03-09 03:34:23 +00:00
|
|
|
|
|
|
|
clean:
|
|
|
|
rm -rvf build
|
|
|
|
|
|
|
|
multi-tor:
|
|
|
|
mkdir -pv build/usr/local/bin
|
|
|
|
php multi-tor.sh.php > build/usr/local/bin/multi-tor.sh
|
|
|
|
chmod +x build/usr/local/bin/multi-tor.sh
|
|
|
|
|
|
|
|
start_router:
|
|
|
|
mkdir -pv build/usr/local/bin
|
|
|
|
php start_router.sh.php > build/usr/local/bin/start_router.sh
|
|
|
|
chmod +x build/usr/local/bin/start_router.sh
|
|
|
|
|
|
|
|
haproxy:
|
|
|
|
mkdir -pv build/etc/haproxy
|
|
|
|
php haproxy.cfg.php > build/etc/haproxy/haproxy.cfg
|
|
|
|
|
|
|
|
check_install:
|
|
|
|
mkdir -pv build/usr/local/bin
|
|
|
|
php check_install.sh.php > build/usr/local/bin/check_install.sh
|
|
|
|
chmod +x build/usr/local/bin/check_install.sh
|
|
|
|
|
|
|
|
rc-local:
|
|
|
|
mkdir -pv build/etc
|
|
|
|
php rc.local.php > build/etc/rc.local
|
|
|
|
chmod +x build/etc/rc.local
|
|
|
|
|
|
|
|
polipo-config:
|
|
|
|
mkdir -pv build/etc/polipo
|
|
|
|
php polipo-config.php > build/etc/polipo/config
|
2014-03-09 04:21:46 +00:00
|
|
|
chmod +x build/etc/polipo/config
|
|
|
|
|
|
|
|
tor-router-update:
|
|
|
|
mkdir -pv build/usr/local/bin
|
|
|
|
php tor-router-update.sh.php > build/usr/local/bin/tor-router-update.sh
|
|
|
|
chmod +x build/usr/local/bin/tor-router-update.sh
|
|
|
|
|
|
|
|
install: all
|
|
|
|
cp -rv build/* /
|
|
|
|
|
|
|
|
rsyslog:
|
|
|
|
mkdir -pv build/etc
|
|
|
|
php rsyslog.conf.php > build/etc/rsyslog.conf
|
|
|
|
|
|
|
|
crontab:
|
|
|
|
mkdir -pv build/etc
|
|
|
|
php crontab.php > build/etc/crontab
|