aports/testing/dnscrypt-proxy/dnscrypt-proxy.pre-install
IT Offshore 73e5eb1a52 testing/dnscrypt-proxy: upgrade to to 1.33
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
2013-11-15 15:23:46 +00:00

5 lines
131 B
Bash

#!/bin/sh
addgroup -S dnscrypt 2>/dev/null
adduser -S -H -h /var/empty -g dnscrypt -D -s /sbin/nologin dnscrypt 2>/dev/null
exit 0