From 1483d2dcd356951fb105230dbb7ea29d21d3de0b Mon Sep 17 00:00:00 2001 From: Robert-André Mauchin Date: Dec 22 2019 22:15:21 +0000 Subject: Release 2.0.36 (#1784844) Signed-off-by: Robert-André Mauchin --- diff --git a/.gitignore b/.gitignore index 18675c1..ddde0f2 100644 --- a/.gitignore +++ b/.gitignore @@ -13,3 +13,4 @@ /dnscrypt-proxy-2.0.33.tar.gz /dnscrypt-proxy-2.0.34.tar.gz /dnscrypt-proxy-2.0.35.tar.gz +/dnscrypt-proxy-2.0.36.tar.gz diff --git a/dnscrypt-proxy-2.0.34-custom_config.patch b/dnscrypt-proxy-2.0.34-custom_config.patch deleted file mode 100644 index 568e216..0000000 --- a/dnscrypt-proxy-2.0.34-custom_config.patch +++ /dev/null @@ -1,126 +0,0 @@ -diff -up dnscrypt-proxy-2.0.34/dnscrypt-proxy/example-dnscrypt-proxy.toml.orig dnscrypt-proxy-2.0.34/dnscrypt-proxy/example-dnscrypt-proxy.toml ---- dnscrypt-proxy-2.0.34/dnscrypt-proxy/example-dnscrypt-proxy.toml.orig 2019-12-03 13:04:58.000000000 +0100 -+++ dnscrypt-proxy-2.0.34/dnscrypt-proxy/example-dnscrypt-proxy.toml 2019-12-03 23:23:34.859131199 +0100 -@@ -34,7 +34,7 @@ - ## Example with both IPv4 and IPv6: - ## listen_addresses = ['127.0.0.1:53', '[::1]:53'] - --listen_addresses = ['127.0.0.1:53'] -+listen_addresses = [] - - - ## Maximum number of simultaneous client connections to accept -@@ -140,12 +140,12 @@ keepalive = 30 - - ## log file for the application - --# log_file = 'dnscrypt-proxy.log' -+# log_file = '/var/log/dnscrypt-proxy/dnscrypt-proxy.log' - - - ## Use the system logger (syslog on Unix, Event Log on Windows) - --# use_syslog = true -+use_syslog = true - - - ## Delay, in minutes, after which certificates are reloaded -@@ -282,7 +282,7 @@ reject_ttl = 600 - ## example.com 9.9.9.9 - ## example.net 9.9.9.9,8.8.8.8,1.1.1.1 - --# forwarding_rules = 'forwarding-rules.txt' -+# forwarding_rules = '/etc/dnscrypt-proxy/forwarding-rules.txt' - - - -@@ -298,7 +298,7 @@ reject_ttl = 600 - ## example.com 10.1.1.1 - ## www.google.com forcesafesearch.google.com - --# cloaking_rules = 'cloaking-rules.txt' -+# cloaking_rules = '/etc/dnscrypt-proxy/cloaking-rules.txt' - - ## TTL used when serving entries in cloaking-rules.txt - -@@ -382,7 +382,7 @@ cache_neg_max_ttl = 600 - ## Path to the query log file (absolute, or relative to the same directory as the executable file) - ## Can be /dev/stdout to log to the standard output (and set log_files_max_size to 0) - -- # file = 'query.log' -+ # file = '/var/log/dnscrypt-proxy/query.log' - - - ## Query log format (currently supported: tsv and ltsv) -@@ -408,7 +408,7 @@ cache_neg_max_ttl = 600 - - ## Path to the query log file (absolute, or relative to the same directory as the executable file) - -- # file = 'nx.log' -+ # file = '/var/log/dnscrypt-proxy/nx.log' - - - ## Query log format (currently supported: tsv and ltsv) -@@ -438,12 +438,12 @@ cache_neg_max_ttl = 600 - - ## Path to the file of blocking rules (absolute, or relative to the same directory as the executable file) - -- # blacklist_file = 'blacklist.txt' -+ # blacklist_file = '/etc/dnscrypt-proxy/blacklist.txt' - - - ## Optional path to a file logging blocked queries - -- # log_file = 'blocked.log' -+ # log_file = '/var/log/dnscrypt-proxy/blocked.log' - - - ## Optional log format: tsv or ltsv (default: tsv) -@@ -466,12 +466,12 @@ cache_neg_max_ttl = 600 - - ## Path to the file of blocking rules (absolute, or relative to the same directory as the executable file) - -- # blacklist_file = 'ip-blacklist.txt' -+ # blacklist_file = '/etc/dnscrypt-proxy/ip-blacklist.txt' - - - ## Optional path to a file logging blocked queries - -- # log_file = 'ip-blocked.log' -+ # log_file = '/var/log/dnscrypt-proxy/ip-blocked.log' - - - ## Optional log format: tsv or ltsv (default: tsv) -@@ -494,12 +494,12 @@ cache_neg_max_ttl = 600 - - ## Path to the file of whitelisting rules (absolute, or relative to the same directory as the executable file) - -- # whitelist_file = 'whitelist.txt' -+ # whitelist_file = '/etc/dnscrypt-proxy/whitelist.txt' - - - ## Optional path to a file logging whitelisted queries - -- # log_file = 'whitelisted.log' -+ # log_file = '/var/log/dnscrypt-proxy/whitelisted.log' - - - ## Optional log format: tsv or ltsv (default: tsv) -@@ -569,7 +569,7 @@ cache_neg_max_ttl = 600 - - [sources.'public-resolvers'] - urls = ['https://raw.githubusercontent.com/DNSCrypt/dnscrypt-resolvers/master/v2/public-resolvers.md', 'https://download.dnscrypt.info/resolvers-list/v2/public-resolvers.md'] -- cache_file = 'public-resolvers.md' -+ cache_file = '/var/cache/dnscrypt-proxy/public-resolvers.md' - minisign_key = 'RWQf6LRCGA9i53mlYecO4IzT51TGPpvWucNSCh1CBM0QTaLn73Y7GFO3' - prefix = '' - -@@ -595,7 +595,7 @@ cache_neg_max_ttl = 600 - - # [sources.'parental-control'] - # urls = ['https://raw.githubusercontent.com/DNSCrypt/dnscrypt-resolvers/master/v2/parental-control.md', 'https://download.dnscrypt.info/resolvers-list/v2/parental-control.md'] -- # cache_file = 'parental-control.md' -+ # cache_file = '/var/cache/dnscrypt-proxy/parental-control.md' - # minisign_key = 'RWQf6LRCGA9i53mlYecO4IzT51TGPpvWucNSCh1CBM0QTaLn73Y7GFO3' - - diff --git a/dnscrypt-proxy-2.0.36-custom_config.patch b/dnscrypt-proxy-2.0.36-custom_config.patch new file mode 100644 index 0000000..2222035 --- /dev/null +++ b/dnscrypt-proxy-2.0.36-custom_config.patch @@ -0,0 +1,126 @@ +diff -up dnscrypt-proxy-2.0.36/dnscrypt-proxy/example-dnscrypt-proxy.toml.orig dnscrypt-proxy-2.0.36/dnscrypt-proxy/example-dnscrypt-proxy.toml +--- dnscrypt-proxy-2.0.36/dnscrypt-proxy/example-dnscrypt-proxy.toml.orig 2019-12-21 21:29:13.000000000 +0100 ++++ dnscrypt-proxy-2.0.36/dnscrypt-proxy/example-dnscrypt-proxy.toml 2019-12-22 23:09:08.095111857 +0100 +@@ -34,7 +34,7 @@ + ## Example with both IPv4 and IPv6: + ## listen_addresses = ['127.0.0.1:53', '[::1]:53'] + +-listen_addresses = ['127.0.0.1:53'] ++listen_addresses = [] + + + ## Maximum number of simultaneous client connections to accept +@@ -140,12 +140,12 @@ keepalive = 30 + + ## log file for the application + +-# log_file = 'dnscrypt-proxy.log' ++# log_file = '/var/log/dnscrypt-proxy/dnscrypt-proxy.log' + + + ## Use the system logger (syslog on Unix, Event Log on Windows) + +-# use_syslog = true ++use_syslog = true + + + ## Delay, in minutes, after which certificates are reloaded +@@ -297,7 +297,7 @@ reject_ttl = 600 + ## example.com 9.9.9.9 + ## example.net 9.9.9.9,8.8.8.8,1.1.1.1 + +-# forwarding_rules = 'forwarding-rules.txt' ++# forwarding_rules = '/etc/dnscrypt-proxy/forwarding-rules.txt' + + + +@@ -313,7 +313,7 @@ reject_ttl = 600 + ## example.com 10.1.1.1 + ## www.google.com forcesafesearch.google.com + +-# cloaking_rules = 'cloaking-rules.txt' ++# cloaking_rules = '/etc/dnscrypt-proxy/cloaking-rules.txt' + + ## TTL used when serving entries in cloaking-rules.txt + +@@ -397,7 +397,7 @@ cache_neg_max_ttl = 600 + ## Path to the query log file (absolute, or relative to the same directory as the config file) + ## Can be /dev/stdout to log to the standard output (and set log_files_max_size to 0) + +- # file = 'query.log' ++ # file = '/var/log/dnscrypt-proxy/query.log' + + + ## Query log format (currently supported: tsv and ltsv) +@@ -423,7 +423,7 @@ cache_neg_max_ttl = 600 + + ## Path to the query log file (absolute, or relative to the same directory as the config file) + +- # file = 'nx.log' ++ # file = '/var/log/dnscrypt-proxy/nx.log' + + + ## Query log format (currently supported: tsv and ltsv) +@@ -453,12 +453,12 @@ cache_neg_max_ttl = 600 + + ## Path to the file of blocking rules (absolute, or relative to the same directory as the config file) + +- # blacklist_file = 'blacklist.txt' ++ # blacklist_file = '/etc/dnscrypt-proxy/blacklist.txt' + + + ## Optional path to a file logging blocked queries + +- # log_file = 'blocked.log' ++ # log_file = '/var/log/dnscrypt-proxy/blocked.log' + + + ## Optional log format: tsv or ltsv (default: tsv) +@@ -481,12 +481,12 @@ cache_neg_max_ttl = 600 + + ## Path to the file of blocking rules (absolute, or relative to the same directory as the config file) + +- # blacklist_file = 'ip-blacklist.txt' ++ # blacklist_file = '/etc/dnscrypt-proxy/ip-blacklist.txt' + + + ## Optional path to a file logging blocked queries + +- # log_file = 'ip-blocked.log' ++ # log_file = '/var/log/dnscrypt-proxy/ip-blocked.log' + + + ## Optional log format: tsv or ltsv (default: tsv) +@@ -509,12 +509,12 @@ cache_neg_max_ttl = 600 + + ## Path to the file of whitelisting rules (absolute, or relative to the same directory as the config file) + +- # whitelist_file = 'whitelist.txt' ++ # whitelist_file = '/etc/dnscrypt-proxy/whitelist.txt' + + + ## Optional path to a file logging whitelisted queries + +- # log_file = 'whitelisted.log' ++ # log_file = '/var/log/dnscrypt-proxy/whitelisted.log' + + + ## Optional log format: tsv or ltsv (default: tsv) +@@ -584,7 +584,7 @@ cache_neg_max_ttl = 600 + + [sources.'public-resolvers'] + urls = ['https://raw.githubusercontent.com/DNSCrypt/dnscrypt-resolvers/master/v2/public-resolvers.md', 'https://download.dnscrypt.info/resolvers-list/v2/public-resolvers.md'] +- cache_file = 'public-resolvers.md' ++ cache_file = '/var/cache/dnscrypt-proxy/public-resolvers.md' + minisign_key = 'RWQf6LRCGA9i53mlYecO4IzT51TGPpvWucNSCh1CBM0QTaLn73Y7GFO3' + prefix = '' + +@@ -610,7 +610,7 @@ cache_neg_max_ttl = 600 + + # [sources.'parental-control'] + # urls = ['https://raw.githubusercontent.com/DNSCrypt/dnscrypt-resolvers/master/v2/parental-control.md', 'https://download.dnscrypt.info/resolvers-list/v2/parental-control.md'] +- # cache_file = 'parental-control.md' ++ # cache_file = '/var/cache/dnscrypt-proxy/parental-control.md' + # minisign_key = 'RWQf6LRCGA9i53mlYecO4IzT51TGPpvWucNSCh1CBM0QTaLn73Y7GFO3' + + diff --git a/dnscrypt-proxy.spec b/dnscrypt-proxy.spec index 0d4d900..30fd075 100644 --- a/dnscrypt-proxy.spec +++ b/dnscrypt-proxy.spec @@ -3,8 +3,8 @@ # https://github.com/jedisct1/dnscrypt-proxy %global goipath github.com/jedisct1/dnscrypt-proxy -Version: 2.0.35 -%global tag 2.0.35 +Version: 2.0.36 +%global tag 2.0.36 %gometa @@ -46,7 +46,7 @@ Source2: dnscrypt-proxy.socket # Largely inspired by Arch packaging # https://git.archlinux.org/svntogit/community.git/tree/trunk/configuration.diff?h=packages/dnscrypt-proxy -Patch0: dnscrypt-proxy-2.0.34-custom_config.patch +Patch0: dnscrypt-proxy-2.0.36-custom_config.patch BuildRequires: systemd BuildRequires: golang(github.com/BurntSushi/toml) @@ -160,6 +160,9 @@ fi %{_unitdir}/%{name}.* %changelog +* Sun Dec 22 23:03:34 CET 2019 Robert-André Mauchin - 2.0.36-1 +- Release 2.0.36 (#1784844) + * Tue Dec 03 23:16:24 CET 2019 Robert-André Mauchin - 2.0.35-1 - Release 2.0.35 (#1782348) diff --git a/sources b/sources index 15d262b..0461a9a 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (dnscrypt-proxy-2.0.35.tar.gz) = 41e3c0646e215da3ce00e9ff9f22a4d3468b6589c424343ce0649c5a47cdbce26c2d9ffc3abf61c35d85eda964c499877d6f13619ce2308fe045a0272b1ca0e9 +SHA512 (dnscrypt-proxy-2.0.36.tar.gz) = b1e3ed2a0226eaf35980b9f1125e0794640bcd837f99b8f2a0346498770305f04e27f13ccf97f01f0639285ef35f63cbbf72e9f2b419d592b615f6b07cdf7f2d