Mail archive
alpine-devel

Re: [alpine-devel] [PATCH 2/2] dnscrypt-proxy Version Bump to v.1.33 / updated APKBUILD for new sources

From: Natanael Copa <ncopa_at_alpinelinux.org>
Date: Fri, 8 Nov 2013 11:19:03 +0100

On Fri, 8 Nov 2013 00:25:10 +0000
IT Offshore <developer_at_it-offshore.co.uk> wrote:

> The sources URL was not working even with the version bump so I amended it to
> work with GIT. Added make-depends to build with autoconf / make.
>
> dnscrypt-proxy no longer has libsodium sources included. Separate patch added for
> libsodium / libsodium-dev.
>
> /usr/bin/dnscrypt-config added (run by the post-install script) to choose the
> DNS Resolver dnscrypt queries (the default OpenDNS resolver keeps logs - the other
> Resolvers do not)
>
> dnscrypt ip:port can be changed & optionally unbound can be installed for dns caching.
> ---
> testing/dnscrypt-proxy/APKBUILD | 51 +++---
> testing/dnscrypt-proxy/dnscrypt-config | 201 +++++++++++++++++++++
> testing/dnscrypt-proxy/dnscrypt-proxy.post-install | 6 +
> 3 files changed, 236 insertions(+), 22 deletions(-)
> create mode 100644 testing/dnscrypt-proxy/dnscrypt-config
> create mode 100644 testing/dnscrypt-proxy/dnscrypt-proxy.post-install
>

What is this:
> +# update init script
> +START='ebegin "Starting dnscrypt-proxy"'
> +CMD='start-stop-daemon --start --quiet --pidfile=${PID} --exec /usr/sbin/dnscrypt-proxy -- -p ${PID} -l ${DNSCRYPT_LOGFILE} -d -u ${DNSCRYPT_GROUP} -a ${DNSCRYPT_LOCALIP} -r ${RESOLVER} -k ${PUBKEY} -N ${PROVIDER}'
> +sed -e '/start-stop-daemon --start/d' -e "s|$START|&\n $CMD|g" /etc/init.d/dnscrypt-proxy -i

It edits the init.d script?

If that is needed something must be terribly wrong...

-nc


---
Unsubscribe:  alpine-devel+unsubscribe_at_lists.alpinelinux.org
Help:         alpine-devel+help_at_lists.alpinelinux.org
---
Received on Fri Nov 08 2013 - 11:19:03 GMT