From 42fb5b726a53df120335761fdbd8a4a00e074b1b Mon Sep 17 00:00:00 2001 From: James Hebden Date: Wed, 25 Mar 2020 12:55:30 +1100 Subject: [PATCH] Add snapcraft packaging Signed-off-by: James Hebden --- .gitignore | 1 + snap/snapcraft.yaml | 25 +++++++++++++++++++++++++ 2 files changed, 26 insertions(+) create mode 100644 snap/snapcraft.yaml diff --git a/.gitignore b/.gitignore index e961c5d6..4b31e83f 100644 --- a/.gitignore +++ b/.gitignore @@ -17,3 +17,4 @@ openfortivpn doc/*.1 config.sub config.guess +*.snap diff --git a/snap/snapcraft.yaml b/snap/snapcraft.yaml new file mode 100644 index 00000000..5095ef98 --- /dev/null +++ b/snap/snapcraft.yaml @@ -0,0 +1,25 @@ +--- +name: openfortivpn +version: git +base: core18 +summary: openfortivpn, a PPP+SSL VPN client +description: | + Openfortivpn is a client for PPP+SSL VPN tunnel services. + It spawns a pppd process and operates the communication between + the gateway and this process. +confinement: strict +grade: stable + +apps: + openfortivpn: + command: openfortivpn + plugs: [network-bind] + +parts: + openfortivpn: + plugin: autotools + source: . + build-packages: + - build-essential + - pkg-config + - libssl-dev