summaryrefslogtreecommitdiff
path: root/network/dnscrypt-wrapper
diff options
context:
space:
mode:
authorT3slider <t3slider@gmail.com>2015-06-24 23:32:00 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2015-06-24 23:32:00 +0700
commit9f1f05e1028b84b16c7b25a61a85c21484dbf9ff (patch)
treef80d047ef96272cd174331626712f194fdc6761b /network/dnscrypt-wrapper
parentbad41dc34d99be0fb1e9acbe5e1f5d08e1671107 (diff)
downloadslackbuilds-9f1f05e1028b84b16c7b25a61a85c21484dbf9ff.tar.gz
network/dnscrypt-wrapper: Updated for version 0.1.16.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'network/dnscrypt-wrapper')
-rw-r--r--network/dnscrypt-wrapper/Makefile.patch6
-rw-r--r--network/dnscrypt-wrapper/dnscrypt-wrapper.85
-rw-r--r--network/dnscrypt-wrapper/dnscrypt-wrapper.SlackBuild3
-rw-r--r--network/dnscrypt-wrapper/dnscrypt-wrapper.default4
-rw-r--r--network/dnscrypt-wrapper/dnscrypt-wrapper.info6
-rw-r--r--network/dnscrypt-wrapper/rc.dnscrypt-wrapper5
6 files changed, 19 insertions, 10 deletions
diff --git a/network/dnscrypt-wrapper/Makefile.patch b/network/dnscrypt-wrapper/Makefile.patch
index 587dde3705..f3ad6ca159 100644
--- a/network/dnscrypt-wrapper/Makefile.patch
+++ b/network/dnscrypt-wrapper/Makefile.patch
@@ -1,6 +1,6 @@
---- Makefile.orig 2015-01-05 09:31:31.000000000 -0500
-+++ Makefile 2015-01-09 17:08:08.892614735 -0500
-@@ -158,7 +158,6 @@
+--- Makefile.orig 2015-06-20 10:56:49.000000000 -0400
++++ Makefile 2015-06-22 11:05:36.003617280 -0400
+@@ -165,7 +165,6 @@
@$(MAKE) -C argparse libargparse.a
argparse/argparse.h:
diff --git a/network/dnscrypt-wrapper/dnscrypt-wrapper.8 b/network/dnscrypt-wrapper/dnscrypt-wrapper.8
index 7141ed6d53..0988f49dc2 100644
--- a/network/dnscrypt-wrapper/dnscrypt-wrapper.8
+++ b/network/dnscrypt-wrapper/dnscrypt-wrapper.8
@@ -1,5 +1,5 @@
.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.43.3.
-.TH DNSCRYPT-WRAPPER "8" "January 2015" "dnscrypt-wrapper 0.1.15" "System Administration Utilities"
+.TH DNSCRYPT-WRAPPER "8" "June 2015" "dnscrypt-wrapper 0.1.16" "System Administration Utilities"
.SH NAME
dnscrypt-wrapper \- A server-side DNSCrypt proxy that adds DNSCrypt support to any name resolver.
.SH SYNOPSIS
@@ -28,6 +28,9 @@ run as daemon (default: off)
\fB\-p\fR, \fB\-\-pidfile=\fR<str>
pid stored file
.TP
+\fB\-U\fR, \fB\-\-unauthenticated\fR
+allow and forward unauthenticated queries (default: off)
+.TP
\fB\-V\fR, \fB\-\-verbose\fR
show verbose logs (specify more \fB\-VVV\fR to increase verbosity)
.TP
diff --git a/network/dnscrypt-wrapper/dnscrypt-wrapper.SlackBuild b/network/dnscrypt-wrapper/dnscrypt-wrapper.SlackBuild
index 98970fb961..4f9b771c3a 100644
--- a/network/dnscrypt-wrapper/dnscrypt-wrapper.SlackBuild
+++ b/network/dnscrypt-wrapper/dnscrypt-wrapper.SlackBuild
@@ -26,7 +26,7 @@
# suggestion.
PRGNAM=dnscrypt-wrapper
-VERSION=${VERSION:-0.1.15}
+VERSION=${VERSION:-0.1.16}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -103,7 +103,6 @@ CXXFLAGS="$SLKCFLAGS" \
--build=$ARCH-slackware-linux
make
-mkdir -p $PKG/usr/bin
make install prefix=$PKG/usr
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
diff --git a/network/dnscrypt-wrapper/dnscrypt-wrapper.default b/network/dnscrypt-wrapper/dnscrypt-wrapper.default
index 4d97d997d2..f3e381be98 100644
--- a/network/dnscrypt-wrapper/dnscrypt-wrapper.default
+++ b/network/dnscrypt-wrapper/dnscrypt-wrapper.default
@@ -55,6 +55,10 @@ PROVIDERCERTFILE[0]="/var/lib/dnscrypt-wrapper/dnscrypt.cert"
# point it there. You may wish to use the nameserver from /etc/resolv.conf.
RESOLVERADDRESS[0]="8.8.8.8:53"
+# Allow and forward unauthenticated queries (not recommended). Defaults to off
+# ("no").
+#UNAUTHENTICATED[0]="no"
+
# Where to log.
LOGFILE[0]="/var/log/dnscrypt-wrapper/dnscrypt-wrapper.log"
diff --git a/network/dnscrypt-wrapper/dnscrypt-wrapper.info b/network/dnscrypt-wrapper/dnscrypt-wrapper.info
index 805cebe733..fadd6383f4 100644
--- a/network/dnscrypt-wrapper/dnscrypt-wrapper.info
+++ b/network/dnscrypt-wrapper/dnscrypt-wrapper.info
@@ -1,9 +1,9 @@
PRGNAM="dnscrypt-wrapper"
-VERSION="0.1.15"
+VERSION="0.1.16"
HOMEPAGE="https://github.com/Cofyc/dnscrypt-wrapper"
-DOWNLOAD="https://github.com/Cofyc/dnscrypt-wrapper/archive/v0.1.15.tar.gz \
+DOWNLOAD="https://github.com/Cofyc/dnscrypt-wrapper/archive/v0.1.16.tar.gz \
https://github.com/Cofyc/argparse/archive/2f310edc35e5adacaf738ccb9d73d9c23f4e38b1.tar.gz"
-MD5SUM="b18f29f599feffc65dad0b0d87043a8e \
+MD5SUM="f393f3962fb5c9e596623ffa8553353a \
8165f08226ca5ee68c08d5fa9b706202"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
diff --git a/network/dnscrypt-wrapper/rc.dnscrypt-wrapper b/network/dnscrypt-wrapper/rc.dnscrypt-wrapper
index 4f84021dd3..edde4ebb06 100644
--- a/network/dnscrypt-wrapper/rc.dnscrypt-wrapper
+++ b/network/dnscrypt-wrapper/rc.dnscrypt-wrapper
@@ -1,7 +1,7 @@
#!/bin/bash
CONFIGFILE="/etc/default/dnscrypt-wrapper"
-DAEMON="/usr/bin/dnscrypt-wrapper"
+DAEMON="/usr/sbin/dnscrypt-wrapper"
. $CONFIGFILE
@@ -76,6 +76,9 @@ start_instance() {
if [ -n "${PROVIDERCERTFILE[$1]}" ]; then
OPTIONS="${OPTIONS} --provider-cert-file=${PROVIDERCERTFILE[$1]}"
fi
+ if [ "${UNAUTHENTICATED[$1]}" == "yes" ]; then
+ OPTIONS="${OPTIONS} --unauthenticated"
+ fi
if [ -n "${LOGFILE[$1]}" ]; then
OPTIONS="${OPTIONS} --logfile=${LOGFILE[$1]}"
fi