File tree Expand file tree Collapse file tree 8 files changed +46
-22
lines changed Expand file tree Collapse file tree 8 files changed +46
-22
lines changed Original file line number Diff line number Diff line change 29
29
LSODIUMINST=false
30
30
DNSCRYPTINST=false
31
31
DNSCRYPTCONF=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 "
36
36
GPGURL_LS=" https://download.libsodium.org/libsodium/releases"
37
37
GPGURL_DC=" http://download.dnscrypt.org/dnscrypt-proxy"
38
38
INITURL=" https://raw.github.com/simonclausen/dnscrypt-autoinstall/master/init-scripts"
239
239
240
240
tar -zxf libsodium-$LSODIUMVER .tar.gz
241
241
pushd libsodium-$LSODIUMVER
242
- ./configure && make && make check && \
242
+ ./configure --enable-minimal && make && make check && \
243
243
sudo bash << EOF
244
244
make install
245
245
Original file line number Diff line number Diff line change 29
29
LSODIUMINST=false
30
30
DNSCRYPTINST=false
31
31
DNSCRYPTCONF=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 "
36
36
GPGURL_LS=" https://download.libsodium.org/libsodium/releases"
37
37
GPGURL_DC=" http://download.dnscrypt.org/dnscrypt-proxy"
38
38
INITURL=" https://raw.github.com/simonclausen/dnscrypt-autoinstall/master/init-scripts"
237
237
238
238
tar -zxf libsodium-$LSODIUMVER .tar.gz
239
239
pushd libsodium-$LSODIUMVER
240
- ./configure && make && make check && \
240
+ ./configure --enable-minimal && make && make check && \
241
241
sudo bash << EOF
242
242
make install
243
243
ldconfig
Original file line number Diff line number Diff line change @@ -29,10 +29,14 @@ case "$1" in
29
29
;;
30
30
stop)
31
31
echo " Stopping $NAME "
32
- pkill -f dnscrypt-proxy
32
+ pkill -f $DAEMON
33
+ ;;
34
+ restart)
35
+ $0 stop
36
+ $0 start
33
37
;;
34
38
* )
35
- echo " Usage: /etc/init.d/dnscrypt-proxy {start|stop}"
39
+ echo " Usage: /etc/init.d/dnscrypt-proxy {start|stop|restart }"
36
40
exit 1
37
41
;;
38
42
esac
Original file line number Diff line number Diff line change @@ -29,10 +29,14 @@ case "$1" in
29
29
;;
30
30
stop)
31
31
echo " Stopping $NAME "
32
- pkill -f dnscrypt-proxy
32
+ pkill -f $DAEMON
33
+ ;;
34
+ restart)
35
+ $0 stop
36
+ $0 start
33
37
;;
34
38
* )
35
- echo " Usage: /etc/init.d/dnscrypt-proxy {start|stop}"
39
+ echo " Usage: /etc/init.d/dnscrypt-proxy {start|stop|restart }"
36
40
exit 1
37
41
;;
38
42
esac
Original file line number Diff line number Diff line change @@ -22,10 +22,14 @@ case "$1" in
22
22
;;
23
23
stop)
24
24
echo " Stopping $NAME "
25
- pkill -f dnscrypt-proxy
25
+ pkill -f $DAEMON
26
+ ;;
27
+ restart)
28
+ $0 stop
29
+ $0 start
26
30
;;
27
31
* )
28
- echo " Usage: /etc/init.d/dnscrypt-proxy {start|stop}"
32
+ echo " Usage: /etc/init.d/dnscrypt-proxy {start|stop|restart }"
29
33
exit 1
30
34
;;
31
35
esac
Original file line number Diff line number Diff line change @@ -29,10 +29,14 @@ case "$1" in
29
29
;;
30
30
stop)
31
31
echo " Stopping $NAME "
32
- pkill -f dnscrypt-proxy
32
+ pkill -f $DAEMON
33
+ ;;
34
+ restart)
35
+ $0 stop
36
+ $0 start
33
37
;;
34
38
* )
35
- echo " Usage: /etc/init.d/dnscrypt-proxy {start|stop}"
39
+ echo " Usage: /etc/init.d/dnscrypt-proxy {start|stop|restart }"
36
40
exit 1
37
41
;;
38
42
esac
Original file line number Diff line number Diff line change @@ -25,10 +25,14 @@ case "$1" in
25
25
;;
26
26
stop)
27
27
echo " Stopping $NAME "
28
- pkill -f dnscrypt-proxy
28
+ pkill -f $DAEMON
29
+ ;;
30
+ restart)
31
+ $0 stop
32
+ $0 start
29
33
;;
30
34
* )
31
- echo " Usage: /etc/init.d/dnscrypt-proxy {start|stop}"
35
+ echo " Usage: /etc/init.d/dnscrypt-proxy {start|stop|restart }"
32
36
exit 1
33
37
;;
34
38
esac
Original file line number Diff line number Diff line change @@ -25,10 +25,14 @@ case "$1" in
25
25
;;
26
26
stop)
27
27
echo " Stopping $NAME "
28
- pkill -f dnscrypt-proxy
28
+ pkill -f $DAEMON
29
+ ;;
30
+ restart)
31
+ $0 stop
32
+ $0 start
29
33
;;
30
34
* )
31
- echo " Usage: /etc/init.d/dnscrypt-proxy {start|stop}"
35
+ echo " Usage: /etc/init.d/dnscrypt-proxy {start|stop|restart }"
32
36
exit 1
33
37
;;
34
38
esac
You can’t perform that action at this time.
0 commit comments