mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-12-07 02:21:39 +01:00
Complete patch to bump dnscrypt-proxy to version 1.33 Minor changes to APKBUILD to build with the new sources & make-depends. confd / initd changed to include the additional configurations to set the alternative resolver ip / public keys. Separate patch created to build dnscrypt's dependency libsodium / libsodium-dev (as it no longer forms part of dnscrypt's sources). Post-install script is just status / info using the $STRONG / $RED / $GREEN system colours. Added /sbin/setup-dnscrypt for changing the resolver dnscrypt queries & optionally installing unbound for dns caching. This also uses the system terminal colours. This no longer makes any changes to init.d, it only updates conf.d
15 lines
295 B
Bash
15 lines
295 B
Bash
#!/bin/sh
|
|
|
|
NORMAL="\033[1;0m"
|
|
STRONG="\033[1;1m"
|
|
GREEN="\033[1;32m"
|
|
|
|
print_strong() {
|
|
local prompt="${STRONG}$1 ${GREEN}$2${NORMAL}"
|
|
printf "${prompt} %s\n"
|
|
}
|
|
|
|
print_strong "\nTo configure alternative DNS Resolvers & DNS caching please run:" "\n\n/sbin/setup-dnscrypt\n"
|
|
exit 0
|
|
|