mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-20 19:41:34 +01:00
network/dnscrypt-wrapper: Updated for version 0.1.16.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
parent
bad41dc34d
commit
9f1f05e102
6 changed files with 19 additions and 10 deletions
|
@ -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:
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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 \
|
||||
|
|
|
@ -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"
|
||||
|
||||
|
|
|
@ -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=""
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue