summaryrefslogtreecommitdiff
path: root/network
diff options
context:
space:
mode:
authorT3slider <t3slider@gmail.com>2016-12-04 11:44:21 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2016-12-04 11:44:21 +0700
commitde3ecb8a87ad3734ce2914bedeaeeea77c543472 (patch)
tree68c53d3ec571e89fdb8b5ed003f33f0278f15744 /network
parent92dc40f32a56bcdbe6e92d083c2812395432819d (diff)
downloadslackbuilds-de3ecb8a87ad3734ce2914bedeaeeea77c543472.tar.gz
network/dnscrypt-wrapper: Updated for version 0.2.1.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'network')
-rw-r--r--network/dnscrypt-wrapper/dnscrypt-wrapper.843
-rw-r--r--network/dnscrypt-wrapper/dnscrypt-wrapper.SlackBuild12
-rw-r--r--network/dnscrypt-wrapper/dnscrypt-wrapper.info6
3 files changed, 32 insertions, 29 deletions
diff --git a/network/dnscrypt-wrapper/dnscrypt-wrapper.8 b/network/dnscrypt-wrapper/dnscrypt-wrapper.8
index 3e5bca2c9a..902b9771b6 100644
--- a/network/dnscrypt-wrapper/dnscrypt-wrapper.8
+++ b/network/dnscrypt-wrapper/dnscrypt-wrapper.8
@@ -1,24 +1,15 @@
-.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.43.3.
-.TH DNSCRYPT-WRAPPER "8" "August 2015" "dnscrypt-wrapper 0.2" "System Administration Utilities"
+.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.46.5.
+.TH DNSCRYPT-WRAPPER "8" "December 2016" "dnscrypt-wrapper 0.2.1" "System Administration Utilities"
.SH NAME
dnscrypt-wrapper \- A server-side DNSCrypt proxy that adds DNSCrypt support to any name resolver.
.SH SYNOPSIS
.B dnscrypt-wrapper
-[\fIoptions\fR]
+[\fI\,options\/\fR]
.SH DESCRIPTION
.TP
\fB\-h\fR, \fB\-\-help\fR
show this help message and exit
.TP
-\fB\-d\fR, \fB\-\-daemonize\fR
-run as daemon (default: off)
-.TP
-\fB\-\-cert\-file\-expire\-days=\fR<int>
-cert file expire days (default: 365)
-.TP
-\fB\-\-crypt\-secretkey\-file=\fR<str>
-crypt secret key file (default: ./crypt_secret.key)
-.TP
\fB\-\-gen\-cert\-file\fR
generate pre\-signed certificate
.TP
@@ -28,14 +19,8 @@ generate crypt key pair
\fB\-\-gen\-provider\-keypair\fR
generate provider key pair
.TP
-\fB\-a\fR, \fB\-\-listen\-address=\fR<str>
-local address to listen (default: 0.0.0.0:53)
-.TP
-\fB\-l\fR, \fB\-\-logfile=\fR<str>
-log file path (default: stdout)
-.TP
-\fB\-p\fR, \fB\-\-pidfile=\fR<str>
-pid stored file
+\fB\-\-show\-provider\-publickey\-fingerprint\fR
+display provider public key fingerprint
.TP
\fB\-\-provider\-cert\-file=\fR<str>
certificate file (default: ./dnscrypt.cert)
@@ -49,6 +34,15 @@ provider public key file (default: ./public.key)
\fB\-\-provider\-secretkey\-file=\fR<str>
provider secret key file (default: ./secret.key)
.TP
+\fB\-\-crypt\-secretkey\-file=\fR<str>
+crypt secret key file (default: ./crypt_secret.key)
+.TP
+\fB\-\-cert\-file\-expire\-days=\fR<int>
+cert file expire days (default: 365)
+.TP
+\fB\-a\fR, \fB\-\-listen\-address=\fR<str>
+local address to listen (default: 0.0.0.0:53)
+.TP
\fB\-r\fR, \fB\-\-resolver\-address=\fR<str>
upstream dns resolver server (<address:port>)
.TP
@@ -58,6 +52,15 @@ allow and forward unauthenticated queries (default: off)
\fB\-u\fR, \fB\-\-user=\fR<str>
run as given user
.TP
+\fB\-l\fR, \fB\-\-logfile=\fR<str>
+log file path (default: stdout)
+.TP
+\fB\-p\fR, \fB\-\-pidfile=\fR<str>
+pid stored file
+.TP
+\fB\-d\fR, \fB\-\-daemonize\fR
+run as daemon (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 4c7a9a29de..403520f826 100644
--- a/network/dnscrypt-wrapper/dnscrypt-wrapper.SlackBuild
+++ b/network/dnscrypt-wrapper/dnscrypt-wrapper.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for dnscrypt-wrapper
-# Copyright 2013 T3slider
+# Copyright 2016 T3slider <t3slider@gmail.com>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -26,13 +26,13 @@
# suggestion.
PRGNAM=dnscrypt-wrapper
-VERSION=${VERSION:-0.2}
+VERSION=${VERSION:-0.2.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
@@ -43,8 +43,8 @@ TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@@ -89,7 +89,7 @@ CXXFLAGS="$SLKCFLAGS" \
--build=$ARCH-slackware-linux
make
-make install prefix=$PKG/usr
+make install DESTDIR=$PKG
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
diff --git a/network/dnscrypt-wrapper/dnscrypt-wrapper.info b/network/dnscrypt-wrapper/dnscrypt-wrapper.info
index 6b6b45d16c..9b42fdcd62 100644
--- a/network/dnscrypt-wrapper/dnscrypt-wrapper.info
+++ b/network/dnscrypt-wrapper/dnscrypt-wrapper.info
@@ -1,8 +1,8 @@
PRGNAM="dnscrypt-wrapper"
-VERSION="0.2"
+VERSION="0.2.1"
HOMEPAGE="https://github.com/Cofyc/dnscrypt-wrapper"
-DOWNLOAD="https://github.com/Cofyc/dnscrypt-wrapper/archive/v0.2.tar.gz"
-MD5SUM="82a5cdc237be25309544db64cbd4c87b"
+DOWNLOAD="https://github.com/Cofyc/dnscrypt-wrapper/archive/v0.2.1.tar.gz"
+MD5SUM="bf970f17d4a695d863833f39e1830f47"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="libsodium"