network/dnscrypt-wrapper: Updated for version 0.2.1.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
parent
92dc40f32a
commit
de3ecb8a87
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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"
|
||||
|
|
Loading…
Reference in New Issue