summaryrefslogtreecommitdiffstats
path: root/testing/dnscrypt-proxy/dnscrypt-proxy.pre-install
diff options
context:
space:
mode:
authorIT Offshore <developer@it-offshore.co.uk>2013-11-10 09:58:57 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2013-11-15 15:23:46 +0000
commit73e5eb1a52eb7b0bfe192c3f0d59a58b43fc4731 (patch)
tree44bf4cb3bac66c1c1f4cdef437baaef05473e15f /testing/dnscrypt-proxy/dnscrypt-proxy.pre-install
parentb6f38e06bc6f83474fd5c74632fe0cbd6d11ece8 (diff)
downloadaports-73e5eb1a52eb7b0bfe192c3f0d59a58b43fc4731.tar.bz2
aports-73e5eb1a52eb7b0bfe192c3f0d59a58b43fc4731.tar.xz
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
Diffstat (limited to 'testing/dnscrypt-proxy/dnscrypt-proxy.pre-install')
-rw-r--r--testing/dnscrypt-proxy/dnscrypt-proxy.pre-install3
1 files changed, 2 insertions, 1 deletions
diff --git a/testing/dnscrypt-proxy/dnscrypt-proxy.pre-install b/testing/dnscrypt-proxy/dnscrypt-proxy.pre-install
index 300ea6b37..9c51b6b9e 100644
--- a/testing/dnscrypt-proxy/dnscrypt-proxy.pre-install
+++ b/testing/dnscrypt-proxy/dnscrypt-proxy.pre-install
@@ -1,3 +1,4 @@
#!/bin/sh
-adduser -H -h /var/empty -g dnscrypt -D -s /bin/false dnscrypt 2>/dev/null
+addgroup -S dnscrypt 2>/dev/null
+adduser -S -H -h /var/empty -g dnscrypt -D -s /sbin/nologin dnscrypt 2>/dev/null
exit 0