From 3c8ec56395b05456c20f32b652b9856f79563bfb Mon Sep 17 00:00:00 2001 From: Vladislav Yarmak Date: Sun, 28 Mar 2021 20:07:36 +0300 Subject: [PATCH] add snap manifest --- snapcraft.yaml | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 snapcraft.yaml diff --git a/snapcraft.yaml b/snapcraft.yaml new file mode 100644 index 0000000..037ff6e --- /dev/null +++ b/snapcraft.yaml @@ -0,0 +1,27 @@ +name: opera-proxy +version: '1.0.0' +summary: Standalone Opera VPN proxies client. +description: | + Standalone Opera VPN proxies client. Just run it and it'll start plain HTTP proxy server forwarding traffic via proxies of your choice. + +confinement: strict +base: core18 + +parts: + opera-proxy: + plugin: go + source: . + build-packages: + - gcc + override-build: + make && + cp bin/opera-proxy "$SNAPCRAFT_PART_INSTALL" + stage: + - opera-proxy + +apps: + opera-proxy: + command: opera-proxy + plugs: + - network + - network-bind