summaryrefslogtreecommitdiff
path: root/network
diff options
context:
space:
mode:
authorT3slider <t3slider@gmail.com>2015-06-14 22:31:27 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2015-06-15 10:20:24 +0700
commit0ebfcef994410b0a23b9031254c45a4c79e15791 (patch)
tree0fedc836c936bcb6f1a8bbd0bf2b58775d32bf19 /network
parentfa660babe1265346663713446d41f14e7c1ed5a1 (diff)
downloadslackbuilds-0ebfcef994410b0a23b9031254c45a4c79e15791.tar.gz
network/dnscrypt-proxy: Updated for version 1.5.0.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'network')
-rw-r--r--network/dnscrypt-proxy/dnscrypt-proxy.SlackBuild2
-rw-r--r--network/dnscrypt-proxy/dnscrypt-proxy.default6
-rw-r--r--network/dnscrypt-proxy/dnscrypt-proxy.info6
-rw-r--r--network/dnscrypt-proxy/rc.dnscrypt-proxy3
4 files changed, 13 insertions, 4 deletions
diff --git a/network/dnscrypt-proxy/dnscrypt-proxy.SlackBuild b/network/dnscrypt-proxy/dnscrypt-proxy.SlackBuild
index a970af10ca..5ae91c2d71 100644
--- a/network/dnscrypt-proxy/dnscrypt-proxy.SlackBuild
+++ b/network/dnscrypt-proxy/dnscrypt-proxy.SlackBuild
@@ -28,7 +28,7 @@
# value of this script!
PRGNAM=dnscrypt-proxy
-VERSION=${VERSION:-1.4.3}
+VERSION=${VERSION:-1.5.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
diff --git a/network/dnscrypt-proxy/dnscrypt-proxy.default b/network/dnscrypt-proxy/dnscrypt-proxy.default
index b1b70406be..a1b62d82f9 100644
--- a/network/dnscrypt-proxy/dnscrypt-proxy.default
+++ b/network/dnscrypt-proxy/dnscrypt-proxy.default
@@ -36,6 +36,12 @@ RESOLVERSLIST[0]="/usr/share/dnscrypt-proxy/dnscrypt-resolvers.csv"
#PROVIDERNAME[0]="2.dnscrypt-cert.opendns.com"
#PROVIDERKEY[0]="B735:1140:206F:225D:3E2B:D822:D7FD:691E:A1C3:3CC8:D666:8D0C:BE04:BFAB:CA43:FB79"
+# By default, queries are always sent with the same public key, allowing
+# providers to link this public key to the different IP addresses you
+# are using. Enabling ephemeral keys requires extra CPU cycles, but
+# mitigates this by computing an ephemeral key pair for every query.
+#EPHEMERALKEYS[0]="no"
+
# Transparently add an OPT pseudo-RR to outgoing queries in order to enable
# the EDNS0 extension mechanism. The payload size is the size of the largest
# response we accept from the resolver before retrying over TCP. This feature
diff --git a/network/dnscrypt-proxy/dnscrypt-proxy.info b/network/dnscrypt-proxy/dnscrypt-proxy.info
index f6a7411ffd..e98578ba3b 100644
--- a/network/dnscrypt-proxy/dnscrypt-proxy.info
+++ b/network/dnscrypt-proxy/dnscrypt-proxy.info
@@ -1,8 +1,8 @@
PRGNAM="dnscrypt-proxy"
-VERSION="1.4.3"
+VERSION="1.5.0"
HOMEPAGE="http://dnscrypt.org/"
-DOWNLOAD="http://download.dnscrypt.org/dnscrypt-proxy/dnscrypt-proxy-1.4.3.tar.bz2"
-MD5SUM="2ec9829589c909ad88eb68f6642d18f6"
+DOWNLOAD="http://download.dnscrypt.org/dnscrypt-proxy/dnscrypt-proxy-1.5.0.tar.bz2"
+MD5SUM="7811ae38c6cd2be06dd024f3f73bcc9e"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="libsodium"
diff --git a/network/dnscrypt-proxy/rc.dnscrypt-proxy b/network/dnscrypt-proxy/rc.dnscrypt-proxy
index 84eb12c74d..781c78a1ba 100644
--- a/network/dnscrypt-proxy/rc.dnscrypt-proxy
+++ b/network/dnscrypt-proxy/rc.dnscrypt-proxy
@@ -59,6 +59,9 @@ start_instance() {
if [ -z "${RESOLVERNAME[$1]}" ] && [ -n "${PROVIDERKEY[$1]}" ]; then
OPTIONS="${OPTIONS} --provider-key=${PROVIDERKEY[$1]}"
fi
+ if [ "${EPHEMERALKEYS[$1]}" == "yes" ]; then
+ OPTIONS="${OPTIONS} --ephemeral-keys"
+ fi
if [ -n "${EDNSPAYLOADSIZE[$1]}" ]; then
OPTIONS="${OPTIONS} --edns-payload-size=${EDNSPAYLOADSIZE[$1]}"
fi