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:
parent
7ecb7fa0e6
commit
f0c1760b6c
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:f7aac28c6a60404683d436072b89d18ed3bb309f8d8a95c8e87ad250da190821
|
|
||||||
size 2721610
|
|
3
dnscrypt-proxy-2.1.0.tar.gz
Normal file
3
dnscrypt-proxy-2.1.0.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:4af43a2143a1d0f9b430f5f08981417cb4475cc590daf79d11c9a0487f72fadc
|
||||||
|
size 6248378
|
@ -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
|
Sat Jan 30 12:00:00 UTC 2021 - cunix@mail.de
|
||||||
|
|
||||||
|
@ -25,7 +25,7 @@
|
|||||||
%define vlic_dir vendored
|
%define vlic_dir vendored
|
||||||
|
|
||||||
Name: dnscrypt-proxy
|
Name: dnscrypt-proxy
|
||||||
Version: 2.0.45
|
Version: 2.1.0
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: A tool for securing communications between a client and a DNS resolver
|
Summary: A tool for securing communications between a client and a DNS resolver
|
||||||
License: ISC
|
License: ISC
|
||||||
@ -49,7 +49,7 @@ BuildRequires: golang-packaging
|
|||||||
BuildRequires: pkgconfig
|
BuildRequires: pkgconfig
|
||||||
BuildRequires: shadow
|
BuildRequires: shadow
|
||||||
BuildRequires: systemd-rpm-macros
|
BuildRequires: systemd-rpm-macros
|
||||||
BuildRequires: golang(API) >= 1.15
|
BuildRequires: golang(API) >= 1.16
|
||||||
BuildRequires: pkgconfig(libsystemd)
|
BuildRequires: pkgconfig(libsystemd)
|
||||||
# For systemd pidfile solution.
|
# For systemd pidfile solution.
|
||||||
Requires: bash
|
Requires: bash
|
||||||
@ -65,7 +65,8 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|||||||
|
|
||||||
%description
|
%description
|
||||||
A flexible DNS proxy, with support for modern encrypted DNS protocols
|
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
|
%prep
|
||||||
%setup -q -n %{name}-%{version}
|
%setup -q -n %{name}-%{version}
|
||||||
|
@ -22,10 +22,12 @@ s/ # allowed_names_file = 'allowed-names.txt'/ # allowed_names_file = '\/etc\/
|
|||||||
s/ # log_file = 'allowed-names.log'/ # log_file = '\/var\/log\/dnscrypt-proxy\/allowed-names.log'/
|
s/ # log_file = 'allowed-names.log'/ # log_file = '\/var\/log\/dnscrypt-proxy\/allowed-names.log'/
|
||||||
s/ # allowed_ips_file = 'allowed-ips.txt'/ # allowed_ips_file = '\/etc\/dnscrypt-proxy\/allowed-ips.txt'/
|
s/ # allowed_ips_file = 'allowed-ips.txt'/ # allowed_ips_file = '\/etc\/dnscrypt-proxy\/allowed-ips.txt'/
|
||||||
s/ # log_file = 'allowed-ips.log'/ # log_file = '\/var\/log\/dnscrypt-proxy\/allowed-ips.log'/
|
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 = '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 = 'relays.md'/ cache_file = '\/var\/lib\/dnscrypt-proxy\/relays.md'/
|
||||||
s/ # cache_file = 'quad9-resolvers.md'/ # cache_file = '\/var\/lib\/dnscrypt-proxy\/quad9-resolvers.md'/
|
s/ # cache_file = 'odoh-servers.md'/ # cache_file = '\/var\/lib\/dnscrypt-proxy\/odoh-servers.md'/
|
||||||
s/ # cache_file = 'parental-control.md'/ # cache_file = '\/var\/lib\/dnscrypt-proxy\/parental-control.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'/
|
||||||
|
|
||||||
# package directory instead of source code directory
|
# package directory instead of source code directory
|
||||||
s/## `utils\/generate-domains-blocklists` directory of the dnscrypt-proxy source code./## '\/usr\/share\/dnscrypt-proxy\/generate-domains-blocklists' directory./
|
s/## `utils\/generate-domains-blocklists` directory of the dnscrypt-proxy source code./## '\/usr\/share\/dnscrypt-proxy\/generate-domains-blocklists' directory./
|
||||||
|
@ -16,6 +16,7 @@ licenses_file=$(mktemp /tmp/license_files_XXXXXXXXXX.txt)
|
|||||||
goahead=0
|
goahead=0
|
||||||
hash_list=()
|
hash_list=()
|
||||||
filename_list=()
|
filename_list=()
|
||||||
|
legal_file_names="copying copyright legal licence license notice patents unlicense"
|
||||||
|
|
||||||
if [[ -z "$vendor_licenses_dir" ]]
|
if [[ -z "$vendor_licenses_dir" ]]
|
||||||
then
|
then
|
||||||
@ -35,10 +36,11 @@ if [[ -z "$vendor_licenses_dir" ]]
|
|||||||
then
|
then
|
||||||
echo Searching for licenses ...
|
echo Searching for licenses ...
|
||||||
rm $licenses_file
|
rm $licenses_file
|
||||||
find ./*/ -iname "license*" | sort > $licenses_file
|
for item in $legal_file_names
|
||||||
find ./*/ -iname "copying*" | sort >> $licenses_file
|
do
|
||||||
find ./*/ -iname "notice*" | sort >> $licenses_file
|
echo searching for file names starting with $item
|
||||||
find ./*/ -iname "patents*" | sort >> $licenses_file
|
find ./*/ -iname "$item*" | sort >> $licenses_file
|
||||||
|
done
|
||||||
goahead=1
|
goahead=1
|
||||||
else
|
else
|
||||||
echo "$vendor_licenses_dir" is not a directory.
|
echo "$vendor_licenses_dir" is not a directory.
|
||||||
|
Loading…
Reference in New Issue
Block a user