From 0f3e8d32c6a07a03ed7dd4662ca940a4bfd85dae Mon Sep 17 00:00:00 2001 From: igorljubuncic <43789966+igorljubuncic@users.noreply.github.com> Date: Wed, 22 May 2019 16:43:47 +0100 Subject: [PATCH] Add support for building snaps (#820) --- snapcraft.yaml | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 snapcraft.yaml diff --git a/snapcraft.yaml b/snapcraft.yaml new file mode 100644 index 00000000..e44fa42c --- /dev/null +++ b/snapcraft.yaml @@ -0,0 +1,25 @@ +name: dnscrypt-proxy +version: '1.0' +summary: A flexible DNS proxy, with support for encrypted DNS protocols +description: | + A flexible DNS proxy, with support for encrypted DNS protocols. +grade: stable +confinement: strict +base: core18 +parts: + dnscrypt-proxy: + plugin: go + source: https://github.com/jedisct1/dnscrypt-proxy.git + go-importpath: github.com/jedisct1/dnscrypt-proxy + build-packages: + - build-essential +apps: + dnscrypt-proxy: + command: bin/dnscrypt-proxy + daemon: simple + restart-condition: on-abnormal + plugs: + - home + - network + - network-bind + - network-control