Avoid empty examples files

Fixes #348

Keep the ciphers list commented out by default to be safe
This commit is contained in:
Frank Denis 2018-04-11 14:03:25 +02:00
parent 432be62cb2
commit c33ebd229b
2 changed files with 2 additions and 11 deletions

View File

@ -18,7 +18,6 @@ script:
- mkdir win32
- ln dnscrypt-proxy.exe win32/
- cp ../LICENSE example-dnscrypt-proxy.toml example-*.txt win32/
- rm -f example-dnscrypt-proxy.toml ; sed 's/^tls_cipher_suite/# tls_cipher_suite/' example-dnscrypt-proxy.toml > example-dnscrypt-proxy.toml
- for i in win32/LICENSE win32/*.toml win32/*.txt; do ex -bsc '%!awk "{sub(/$/,\"\r\")}1"' -cx "$i"; done
- ln ../windows/* win32/
- zip -9 -r dnscrypt-proxy-win32-${TRAVIS_TAG:-dev}.zip win32
@ -28,7 +27,6 @@ script:
- mkdir win64
- ln dnscrypt-proxy.exe win64/
- cp ../LICENSE example-dnscrypt-proxy.toml example-*.txt win64/
- rm -f example-dnscrypt-proxy.toml ; sed 's/^tls_cipher_suite/# tls_cipher_suite/' example-dnscrypt-proxy.toml > example-dnscrypt-proxy.toml
- for i in win64/LICENSE win64/*.toml win64/*.txt; do ex -bsc '%!awk "{sub(/$/,\"\r\")}1"' -cx "$i"; done
- ln ../windows/* win64/
- zip -9 -r dnscrypt-proxy-win64-${TRAVIS_TAG:-dev}.zip win64
@ -45,7 +43,6 @@ script:
- mkdir openbsd-amd64
- ln dnscrypt-proxy openbsd-amd64/
- ln ../LICENSE example-dnscrypt-proxy.toml example-*.txt openbsd-amd64/
- rm -f example-dnscrypt-proxy.toml ; sed 's/^tls_cipher_suite/# tls_cipher_suite/' example-dnscrypt-proxy.toml > example-dnscrypt-proxy.toml
- tar czpvf dnscrypt-proxy-openbsd_amd64-${TRAVIS_TAG:-dev}.tar.gz openbsd-amd64
- go clean
@ -60,7 +57,6 @@ script:
- mkdir freebsd-amd64
- ln dnscrypt-proxy freebsd-amd64/
- ln ../LICENSE example-dnscrypt-proxy.toml example-*.txt freebsd-amd64/
- rm -f example-dnscrypt-proxy.toml ; sed 's/^tls_cipher_suite/# tls_cipher_suite/' example-dnscrypt-proxy.toml > example-dnscrypt-proxy.toml
- tar czpvf dnscrypt-proxy-freebsd_amd64-${TRAVIS_TAG:-dev}.tar.gz freebsd-amd64
- go clean
@ -75,7 +71,6 @@ script:
- mkdir dragonflybsd-amd64
- ln dnscrypt-proxy dragonflybsd-amd64/
- ln ../LICENSE example-dnscrypt-proxy.toml example-*.txt dragonflybsd-amd64/
- rm -f example-dnscrypt-proxy.toml ; sed 's/^tls_cipher_suite/# tls_cipher_suite/' example-dnscrypt-proxy.toml > example-dnscrypt-proxy.toml
- tar czpvf dnscrypt-proxy-dragonflybsd_amd64-${TRAVIS_TAG:-dev}.tar.gz dragonflybsd-amd64
- go clean
@ -90,7 +85,6 @@ script:
- mkdir netbsd-amd64
- ln dnscrypt-proxy netbsd-amd64/
- ln ../LICENSE example-dnscrypt-proxy.toml example-*.txt netbsd-amd64/
- rm -f example-dnscrypt-proxy.toml ; sed 's/^tls_cipher_suite/# tls_cipher_suite/' example-dnscrypt-proxy.toml > example-dnscrypt-proxy.toml
- tar czpvf dnscrypt-proxy-netbsd_amd64-${TRAVIS_TAG:-dev}.tar.gz netbsd-amd64
- go clean
@ -105,7 +99,6 @@ script:
- mkdir linux-x86_64
- ln dnscrypt-proxy linux-x86_64/
- ln ../LICENSE ../systemd/* example-dnscrypt-proxy.toml example-*.txt linux-x86_64/
- rm -f example-dnscrypt-proxy.toml ; sed 's/^tls_cipher_suite/# tls_cipher_suite/' example-dnscrypt-proxy.toml > example-dnscrypt-proxy.toml
- tar czpvf dnscrypt-proxy-linux_x86_64-${TRAVIS_TAG:-dev}.tar.gz linux-x86_64
- go clean
@ -155,7 +148,6 @@ script:
- mkdir macos
- ln dnscrypt-proxy macos/
- ln ../LICENSE example-dnscrypt-proxy.toml example-*.txt macos/
- rm -f example-dnscrypt-proxy.toml ; sed 's/^tls_cipher_suite/# tls_cipher_suite/' example-dnscrypt-proxy.toml > example-dnscrypt-proxy.toml
- tar czpvf dnscrypt-proxy-macos-${TRAVIS_TAG:-dev}.tar.gz macos
- go clean
@ -184,7 +176,6 @@ script:
- mkdir android-x86_64
- ln dnscrypt-proxy android-x86_64/
- cp ../LICENSE example-dnscrypt-proxy.toml example-*.txt android-x86_64/
- rm -f example-dnscrypt-proxy.toml ; sed 's/^tls_cipher_suite/# tls_cipher_suite/' example-dnscrypt-proxy.toml > example-dnscrypt-proxy.toml
- zip -9 -r dnscrypt-proxy-android_x86_64-${TRAVIS_TAG:-dev}.zip android-x86_64
- ls -l dnscrypt-proxy-*.tar.gz dnscrypt-proxy-*.zip

View File

@ -128,13 +128,13 @@ cert_refresh_delay = 240
## 52393 = TLS_ECDHE_ECDSA_WITH_CHACHA20_POLY1305
##
## On non-Intel CPUs such as MIPS routers and ARM systems (Android, Raspberry Pi...),
## the following suite improves performance. RSA verification is faster than ECDSA.
## the following suite improves performance.
## This may also help on Intel CPUs running 32-bit operating systems.
##
## Delete or comment the next line if you have issues fetching sources or
## connecting to some DoH servers. Google and Cloudflare are fine with it.
tls_cipher_suite = [52392, 49199]
# tls_cipher_suite = [52392, 49199]
## Fallback resolver