blob: fa09d1f98ad9c079cd07dcb4daf9f92289194b98 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
|
name: riseup-vpn
version: '0.10.6+git'
epoch: 2
summary: RiseupVPN, secure VPN. Powered by Bitmask.
description: |
RiseupVPN is an easy, fast, and secure VPN service from riseup.net.
RiseupVPN does not require a user account, keep logs, or track you in
any way. The service is paid for entirely by donations from users like
you.
grade: stable
confinement: classic
icon: snap/gui/riseupvpn.svg
parts:
desktop-gtk3:
stage-packages:
- libc6
prime:
- '*'
- -usr/include
- -usr/lib/locale
- -usr/share/X11/locale
- -usr/share/doc
- -usr/share/locale
- -usr/share/man
bitmask:
after: [desktop-gtk3]
plugin: python
python-version: python2
source-branch: master
source: .
requirements: pkg/requirements-vpn.pip
stage-packages:
# this seems to trigger https://bugs.launchpad.net/snapcraft/+bug/1676684
- libc6
- python2.7-dev
- libsqlcipher-dev
- libffi-dev
- libsqlite3-dev
- libzmq3-dev
prime:
- -usr/include
- -usr/lib/locale
- -usr/share/X11/locale
- -usr/share/doc
- -usr/share/locale
- -usr/share/man
openvpn:
plugin: nil
stage-packages:
- openvpn
- libc6
prime:
- -usr/share/doc
- -usr/share/man
bitmask-systray:
after: [desktop-gtk3]
plugin: go
source: https://0xacab.org/leap/bitmask-systray.git
# prepare: XXX run systray tests here
build-packages:
- pkg-config
- patchelf
- libzmq5
- libzmq3-dev
- libsodium-dev
- libpcre3-dev
- libappindicator3-dev
- libgtk-3-dev
stage-packages:
- libc6
- libzmq5
- libsodium23 # for bionic, previously it was libsodium18
- libpcre3
- libappindicator3-1
- zlib1g
# prime:
# prime:-etc/fonts
# prime:-usr/include
# prime:-usr/bin
# prime:-usr/lib/x86_64-linux-gnu/gdk-pixbuf-2.0/
# prime:-usr/lib/x86_64-linux-gnu/glib-2.0/
# prime:-usr/lib/x86_64-linux-gnu/gtk-3.0/3.0.0/immodules/
# prime:-usr/lib/x86_64-linux-gnu/gtk-3.0/3.0.0/printbackends/
# prime:-usr/lib/x86_64-linux-gnu/libgtk-3-0/gtk-query-immodules-3.0
# prime:-usr/lib/x86_64-linux-gnu/libwayland-*
# prime:-usr/sbin/update-icon-caches
# prime:-usr/share/doc
# prime:-usr/share/glib-2.0/schemas
# prime:-usr/share/icons
# prime:-usr/share/lintian
# prime:-usr/share/pkgconfig
# prime:-usr/share/theme
# prime:-usr/share/mime
# prime:-usr/lib/locale
# prime:-usr/share/locale
apps:
launcher:
command: ./bin/bitmask_anonvpn
openvpn:
command: ./usr/sbin/openvpn
bitmaskd:
command: ./bin/bitmaskd
bitmask-systray:
command: ./bin/bitmask-systray.git
environment:
LD_LIBRARY_PATH: "$SNAP/usr/lib/$(gcc -print-multiarch):$SNAP/lib/$(gcc -print-multiarch):$LD_LIBRARY_PATH"
bitmask-root:
command: ./lib/python2.7/site-packages/leap/bitmask/vpn/helpers/linux/bitmask-root
|