Accepting request 912292 from home:cunix:server_dns

Update to version 2.1.0

OBS-URL: https://build.opensuse.org/request/show/912292
OBS-URL: https://build.opensuse.org/package/show/server:dns/dnscrypt-proxy?expand=0&rev=37
This commit is contained in:
c unix 2021-08-17 14:30:07 +00:00 committed by Git OBS Bridge
parent 7ecb7fa0e6
commit f0c1760b6c
6 changed files with 35 additions and 14 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:f7aac28c6a60404683d436072b89d18ed3bb309f8d8a95c8e87ad250da190821
size 2721610

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:4af43a2143a1d0f9b430f5f08981417cb4475cc590daf79d11c9a0487f72fadc
size 6248378

View File

@ -1,3 +1,19 @@
-------------------------------------------------------------------
Sun Aug 15 12:00:00 UTC 2021 - cunix@mail.de - 2.1.0
- Update to version 2.1.0
* "fallback_resolvers" was renamed to "bootstrap_resolvers"
Please update your configuration file accordingly.
* Support for Oblivious DoH.
* If the proxy is overloaded, cached and synthetic queries now
keep being served, while non-cached queries are delayed.
* Source URLs are now randomized.
* Default "reject_ttl" reduced from 600 to 10
- Minimum golang version now at 1.16
- Find more "legal" files to include.
-------------------------------------------------------------------
Sat Jan 30 12:00:00 UTC 2021 - cunix@mail.de

View File

@ -25,7 +25,7 @@
%define vlic_dir vendored
Name: dnscrypt-proxy
Version: 2.0.45
Version: 2.1.0
Release: 0
Summary: A tool for securing communications between a client and a DNS resolver
License: ISC
@ -49,7 +49,7 @@ BuildRequires: golang-packaging
BuildRequires: pkgconfig
BuildRequires: shadow
BuildRequires: systemd-rpm-macros
BuildRequires: golang(API) >= 1.15
BuildRequires: golang(API) >= 1.16
BuildRequires: pkgconfig(libsystemd)
# For systemd pidfile solution.
Requires: bash
@ -65,7 +65,8 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
A flexible DNS proxy, with support for modern encrypted DNS protocols
such as DNSCrypt v2, DNS-over-HTTPS and Anonymized DNSCrypt.
such as DNSCrypt v2, DNS-over-HTTPS, Anonymized DNSCrypt
and ODoH (Oblivious DoH).
%prep
%setup -q -n %{name}-%{version}

View File

@ -24,6 +24,8 @@ s/ # allowed_ips_file = 'allowed-ips.txt'/ # allowed_ips_file = '\/etc\/dnscry
s/ # log_file = 'allowed-ips.log'/ # log_file = '\/var\/log\/dnscrypt-proxy\/allowed-ips.log'/
s/ cache_file = 'public-resolvers.md'/ cache_file = '\/var\/lib\/dnscrypt-proxy\/public-resolvers.md'/
s/ cache_file = 'relays.md'/ cache_file = '\/var\/lib\/dnscrypt-proxy\/relays.md'/
s/ # cache_file = 'odoh-servers.md'/ # cache_file = '\/var\/lib\/dnscrypt-proxy\/odoh-servers.md'/
s/ # cache_file = 'odoh-relays.md'/ # cache_file = '\/var\/lib\/dnscrypt-proxy\/odoh-relays.md'/
s/ # cache_file = 'quad9-resolvers.md'/ # cache_file = '\/var\/lib\/dnscrypt-proxy\/quad9-resolvers.md'/
s/ # cache_file = 'parental-control.md'/ # cache_file = '\/var\/lib\/dnscrypt-proxy\/parental-control.md'/

View File

@ -16,6 +16,7 @@ licenses_file=$(mktemp /tmp/license_files_XXXXXXXXXX.txt)
goahead=0
hash_list=()
filename_list=()
legal_file_names="copying copyright legal licence license notice patents unlicense"
if [[ -z "$vendor_licenses_dir" ]]
then
@ -35,10 +36,11 @@ if [[ -z "$vendor_licenses_dir" ]]
then
echo Searching for licenses ...
rm $licenses_file
find ./*/ -iname "license*" | sort > $licenses_file
find ./*/ -iname "copying*" | sort >> $licenses_file
find ./*/ -iname "notice*" | sort >> $licenses_file
find ./*/ -iname "patents*" | sort >> $licenses_file
for item in $legal_file_names
do
echo searching for file names starting with $item
find ./*/ -iname "$item*" | sort >> $licenses_file
done
goahead=1
else
echo "$vendor_licenses_dir" is not a directory.