File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2929LSODIUMINST=false
3030DNSCRYPTINST=false
3131DNSCRYPTCONF=false
32- LSODIUMVER=0.6.1
33- DNSCRYPTVER=1.4.0
34- LSODIUMURL=" https://github.com/jedisct1/libsodium/releases/download/0.6.1 "
35- DNSCRYPTURL=" https://github.com/jedisct1/dnscrypt-proxy/releases/download/1.4.0 "
32+ LSODIUMVER=1.0.0
33+ DNSCRYPTVER=1.4.1
34+ LSODIUMURL=" https://github.com/jedisct1/libsodium/releases/download/1.0.0 "
35+ DNSCRYPTURL=" https://github.com/jedisct1/dnscrypt-proxy/releases/download/1.4.1 "
3636GPGURL_LS=" https://download.libsodium.org/libsodium/releases"
3737GPGURL_DC=" http://download.dnscrypt.org/dnscrypt-proxy"
3838INITURL=" https://raw.github.com/simonclausen/dnscrypt-autoinstall/master/init-scripts"
239239
240240 tar -zxf libsodium-$LSODIUMVER .tar.gz
241241 pushd libsodium-$LSODIUMVER
242- ./configure && make && make check && \
242+ ./configure --enable-minimal && make && make check && \
243243 sudo bash << EOF
244244 make install
245245
Original file line number Diff line number Diff line change 2929LSODIUMINST=false
3030DNSCRYPTINST=false
3131DNSCRYPTCONF=false
32- LSODIUMVER=0.6.1
33- DNSCRYPTVER=1.4.0
34- LSODIUMURL=" https://github.com/jedisct1/libsodium/releases/download/0.6.1 "
35- DNSCRYPTURL=" https://github.com/jedisct1/dnscrypt-proxy/releases/download/1.4.0 "
32+ LSODIUMVER=1.0.0
33+ DNSCRYPTVER=1.4.1
34+ LSODIUMURL=" https://github.com/jedisct1/libsodium/releases/download/1.0.0 "
35+ DNSCRYPTURL=" https://github.com/jedisct1/dnscrypt-proxy/releases/download/1.4.1 "
3636GPGURL_LS=" https://download.libsodium.org/libsodium/releases"
3737GPGURL_DC=" http://download.dnscrypt.org/dnscrypt-proxy"
3838INITURL=" https://raw.github.com/simonclausen/dnscrypt-autoinstall/master/init-scripts"
237237
238238 tar -zxf libsodium-$LSODIUMVER .tar.gz
239239 pushd libsodium-$LSODIUMVER
240- ./configure && make && make check && \
240+ ./configure --enable-minimal && make && make check && \
241241 sudo bash << EOF
242242 make install
243243 ldconfig
Original file line number Diff line number Diff line change @@ -29,10 +29,14 @@ case "$1" in
2929 ;;
3030 stop)
3131 echo " Stopping $NAME "
32- pkill -f dnscrypt-proxy
32+ pkill -f $DAEMON
33+ ;;
34+ restart)
35+ $0 stop
36+ $0 start
3337 ;;
3438 * )
35- echo " Usage: /etc/init.d/dnscrypt-proxy {start|stop}"
39+ echo " Usage: /etc/init.d/dnscrypt-proxy {start|stop|restart }"
3640 exit 1
3741 ;;
3842esac
Original file line number Diff line number Diff line change @@ -29,10 +29,14 @@ case "$1" in
2929 ;;
3030 stop)
3131 echo " Stopping $NAME "
32- pkill -f dnscrypt-proxy
32+ pkill -f $DAEMON
33+ ;;
34+ restart)
35+ $0 stop
36+ $0 start
3337 ;;
3438 * )
35- echo " Usage: /etc/init.d/dnscrypt-proxy {start|stop}"
39+ echo " Usage: /etc/init.d/dnscrypt-proxy {start|stop|restart }"
3640 exit 1
3741 ;;
3842esac
Original file line number Diff line number Diff line change @@ -22,10 +22,14 @@ case "$1" in
2222 ;;
2323 stop)
2424 echo " Stopping $NAME "
25- pkill -f dnscrypt-proxy
25+ pkill -f $DAEMON
26+ ;;
27+ restart)
28+ $0 stop
29+ $0 start
2630 ;;
2731 * )
28- echo " Usage: /etc/init.d/dnscrypt-proxy {start|stop}"
32+ echo " Usage: /etc/init.d/dnscrypt-proxy {start|stop|restart }"
2933 exit 1
3034 ;;
3135esac
Original file line number Diff line number Diff line change @@ -29,10 +29,14 @@ case "$1" in
2929 ;;
3030 stop)
3131 echo " Stopping $NAME "
32- pkill -f dnscrypt-proxy
32+ pkill -f $DAEMON
33+ ;;
34+ restart)
35+ $0 stop
36+ $0 start
3337 ;;
3438 * )
35- echo " Usage: /etc/init.d/dnscrypt-proxy {start|stop}"
39+ echo " Usage: /etc/init.d/dnscrypt-proxy {start|stop|restart }"
3640 exit 1
3741 ;;
3842esac
Original file line number Diff line number Diff line change @@ -25,10 +25,14 @@ case "$1" in
2525 ;;
2626 stop)
2727 echo " Stopping $NAME "
28- pkill -f dnscrypt-proxy
28+ pkill -f $DAEMON
29+ ;;
30+ restart)
31+ $0 stop
32+ $0 start
2933 ;;
3034 * )
31- echo " Usage: /etc/init.d/dnscrypt-proxy {start|stop}"
35+ echo " Usage: /etc/init.d/dnscrypt-proxy {start|stop|restart }"
3236 exit 1
3337 ;;
3438esac
Original file line number Diff line number Diff line change @@ -25,10 +25,14 @@ case "$1" in
2525 ;;
2626 stop)
2727 echo " Stopping $NAME "
28- pkill -f dnscrypt-proxy
28+ pkill -f $DAEMON
29+ ;;
30+ restart)
31+ $0 stop
32+ $0 start
2933 ;;
3034 * )
31- echo " Usage: /etc/init.d/dnscrypt-proxy {start|stop}"
35+ echo " Usage: /etc/init.d/dnscrypt-proxy {start|stop|restart }"
3236 exit 1
3337 ;;
3438esac
You can’t perform that action at this time.
0 commit comments