From ef3e4cb6eeceda6bffc5fe5c43bae9c8d566e548 Mon Sep 17 00:00:00 2001 From: Frank Denis Date: Fri, 24 May 2019 22:48:44 +0200 Subject: [PATCH] snap: use classic confinement, copy config files, remove network-control --- snapcraft.yaml | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/snapcraft.yaml b/snapcraft.yaml index e44fa42c..09f40d22 100644 --- a/snapcraft.yaml +++ b/snapcraft.yaml @@ -1,10 +1,10 @@ name: dnscrypt-proxy -version: '1.0' +version: "2.0.24" 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 +confinement: classic base: core18 parts: dnscrypt-proxy: @@ -12,7 +12,15 @@ parts: source: https://github.com/jedisct1/dnscrypt-proxy.git go-importpath: github.com/jedisct1/dnscrypt-proxy build-packages: - - build-essential + - gcc + example-config-files: + plugin: dump + source: . + organize: + dnscrypt-proxy/example-dnscrypt-proxy.toml: etc/dnscrypt-proxy.toml + dnscrypt-proxy/*.txt: etc/ + stage: + - etc apps: dnscrypt-proxy: command: bin/dnscrypt-proxy @@ -22,4 +30,3 @@ apps: - home - network - network-bind - - network-control