Add support for building snaps (#820)

This commit is contained in:
igorljubuncic 2019-05-22 16:43:47 +01:00 committed by Frank Denis
parent bc5e4f0544
commit 0f3e8d32c6
1 changed files with 25 additions and 0 deletions

25
snapcraft.yaml Normal file
View File

@ -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