1
0
mirror of https://github.com/DNSCrypt/dnscrypt-proxy.git synced 2024-12-13 22:46:44 +01:00
dnscrypt-proxy/snapcraft.yaml
2019-09-11 14:09:12 +02:00

33 lines
755 B
YAML

name: dnscrypt-proxy
version: "2.0.27"
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: classic
base: core18
parts:
dnscrypt-proxy:
plugin: go
source: https://github.com/dnscrypt/dnscrypt-proxy.git
go-importpath: github.com/dnscrypt/dnscrypt-proxy
build-packages:
- gcc
example-config-files:
plugin: dump
source: .
organize:
dnscrypt-proxy/*.toml: etc/
dnscrypt-proxy/*.txt: etc/
stage:
- etc
apps:
dnscrypt-proxy:
command: bin/dnscrypt-proxy
daemon: simple
restart-condition: on-abnormal
plugs:
- home
- network
- network-bind