2020-05-03 16:56:18 -04:00
|
|
|
name: onionshare
|
|
|
|
base: core18
|
2022-01-17 12:51:04 -05:00
|
|
|
version: '2.5'
|
2020-11-04 00:48:22 -05:00
|
|
|
summary: Securely and anonymously share files, host websites, and chat using Tor
|
2020-05-03 16:56:18 -04:00
|
|
|
description: |
|
2021-08-22 16:21:09 -04:00
|
|
|
OnionShare lets you securely and anonymously send and receive files. It works by starting
|
|
|
|
a web server, making it accessible as a Tor onion service, and generating an unguessable
|
|
|
|
web address so others can download files from you, or upload files to you. It does _not_
|
2020-11-04 00:48:22 -05:00
|
|
|
require setting up a separate server or using a third party file-sharing service.
|
2020-05-03 16:56:18 -04:00
|
|
|
|
2021-11-15 21:30:10 -05:00
|
|
|
grade: stable # stable or devel
|
2020-11-04 01:53:54 -05:00
|
|
|
confinement: strict
|
2020-05-03 16:56:18 -04:00
|
|
|
|
|
|
|
apps:
|
2020-11-04 00:48:22 -05:00
|
|
|
onionshare:
|
|
|
|
common-id: org.onionshare.OnionShare
|
|
|
|
command: onionshare
|
2021-11-14 20:52:40 -05:00
|
|
|
extensions: [ gnome-3-34 ]
|
2020-05-03 16:56:18 -04:00
|
|
|
plugs:
|
2020-05-07 20:14:48 -04:00
|
|
|
- desktop
|
2020-05-03 16:56:18 -04:00
|
|
|
- home
|
|
|
|
- network
|
|
|
|
- network-bind
|
2020-05-07 20:14:48 -04:00
|
|
|
- removable-media
|
2021-05-31 17:08:29 -04:00
|
|
|
environment:
|
|
|
|
LANG: C.UTF-8
|
2021-08-22 16:21:09 -04:00
|
|
|
|
2020-11-04 00:48:22 -05:00
|
|
|
cli:
|
|
|
|
common-id: org.onionshare.OnionShareCli
|
|
|
|
command: onionshare-cli
|
2020-05-07 20:14:48 -04:00
|
|
|
plugs:
|
|
|
|
- home
|
|
|
|
- network
|
|
|
|
- network-bind
|
|
|
|
- removable-media
|
2021-05-31 17:08:29 -04:00
|
|
|
environment:
|
|
|
|
LANG: C.UTF-8
|
2020-05-03 16:56:18 -04:00
|
|
|
|
|
|
|
parts:
|
|
|
|
onionshare:
|
2021-12-19 20:36:45 -05:00
|
|
|
source: ./desktop
|
2020-05-03 16:56:18 -04:00
|
|
|
plugin: python
|
|
|
|
python-version: python3
|
|
|
|
python-packages:
|
2022-01-17 15:56:39 -05:00
|
|
|
- setuptools
|
2020-11-04 00:48:22 -05:00
|
|
|
- psutil
|
|
|
|
- qrcode
|
2022-01-17 15:56:39 -05:00
|
|
|
- pyside2 == 5.15.2
|
|
|
|
# Force using setup.py, prevent using setup-freeze.py or poetry
|
|
|
|
override-build: |
|
|
|
|
rm setup-freeze.py pyproject.toml poetry.lock || true
|
|
|
|
snapcraftctl build
|
2020-05-06 19:05:48 -04:00
|
|
|
stage-packages:
|
2020-11-04 01:33:26 -05:00
|
|
|
- libasound2
|
|
|
|
- libatk1.0-0
|
|
|
|
- libcairo2
|
|
|
|
- libcairo-gobject2
|
|
|
|
- libcups2
|
2020-05-06 19:05:48 -04:00
|
|
|
- libdrm2
|
2020-11-04 01:33:26 -05:00
|
|
|
- libegl1
|
2020-05-06 19:05:48 -04:00
|
|
|
- libfreetype6
|
2020-11-04 01:33:26 -05:00
|
|
|
- libgdk-pixbuf2.0-0
|
2020-05-06 19:05:48 -04:00
|
|
|
- libgl1
|
|
|
|
- libglvnd0
|
|
|
|
- libglx0
|
2020-11-04 00:48:22 -05:00
|
|
|
- libgtk-3-0
|
|
|
|
- libharfbuzz0b
|
|
|
|
- libicu60
|
|
|
|
- libjpeg8
|
|
|
|
- liblcms2-2
|
|
|
|
- libnspr4
|
|
|
|
- libnss3
|
2020-11-04 01:33:26 -05:00
|
|
|
- libodbc1
|
2020-05-06 19:05:48 -04:00
|
|
|
- libpango-1.0-0
|
|
|
|
- libpangocairo-1.0-0
|
2020-11-04 01:33:26 -05:00
|
|
|
- libpng16-16
|
|
|
|
- libpq5
|
|
|
|
- libpulse-mainloop-glib0
|
2020-11-04 00:48:22 -05:00
|
|
|
- librsvg2-2
|
2020-11-04 01:33:26 -05:00
|
|
|
- libspeechd2
|
2020-05-06 19:05:48 -04:00
|
|
|
- libwayland-client0
|
|
|
|
- libwayland-cursor0
|
|
|
|
- libwayland-egl1
|
2020-11-04 00:48:22 -05:00
|
|
|
- libwayland-server0
|
2020-11-04 01:33:26 -05:00
|
|
|
- libx11-6
|
|
|
|
- libx11-xcb1
|
|
|
|
- libxau6
|
|
|
|
- libxcb1
|
|
|
|
- libxcb-glx0
|
|
|
|
- libxcb-icccm4
|
|
|
|
- libxcb-image0
|
|
|
|
- libxcb-keysyms1
|
2020-11-04 00:48:22 -05:00
|
|
|
- libxcb-render0
|
2020-11-04 01:33:26 -05:00
|
|
|
- libxcb-render-util0
|
2020-11-04 00:48:22 -05:00
|
|
|
- libxcb-shm0
|
2020-11-04 01:33:26 -05:00
|
|
|
- libxcb-sync1
|
2020-11-04 00:48:22 -05:00
|
|
|
- libxcb-xfixes0
|
2020-11-04 01:33:26 -05:00
|
|
|
- libxcb-xinerama0
|
|
|
|
- libxcb-xkb1
|
|
|
|
- libxcomposite1
|
|
|
|
- libxcursor1
|
|
|
|
- libxdamage1
|
|
|
|
- libxdmcp6
|
|
|
|
- libxext6
|
|
|
|
- libxfixes3
|
|
|
|
- libxi6
|
|
|
|
- libxkbcommon0
|
|
|
|
- libxkbcommon-x11-0
|
2020-05-06 19:05:48 -04:00
|
|
|
- libxml2
|
2020-11-04 01:33:26 -05:00
|
|
|
- libxrandr2
|
|
|
|
- libxrender1
|
2020-11-04 00:48:22 -05:00
|
|
|
- libxslt1.1
|
2020-11-04 01:33:26 -05:00
|
|
|
- libxtst6
|
2021-09-12 21:45:44 -04:00
|
|
|
- qtwayland5
|
2021-02-21 20:13:15 -05:00
|
|
|
after: [onionshare-cli]
|
2020-11-04 00:48:22 -05:00
|
|
|
|
|
|
|
onionshare-cli:
|
|
|
|
source: ./cli
|
|
|
|
plugin: python
|
|
|
|
python-version: python3
|
|
|
|
python-packages:
|
2022-01-17 15:56:39 -05:00
|
|
|
- poetry
|
2021-09-12 22:05:58 -04:00
|
|
|
stage-packages:
|
|
|
|
- build-essential
|
|
|
|
- libssl-dev
|
|
|
|
- libffi-dev
|
|
|
|
- python3-dev
|
|
|
|
- cargo
|
2021-02-21 20:13:15 -05:00
|
|
|
stage:
|
|
|
|
- -usr/lib/x86_64-linux-gnu/libcrypto.so.1.1
|
|
|
|
- -usr/share/doc/libssl1.1/changelog.Debian.gz
|
2021-11-14 20:52:40 -05:00
|
|
|
after: [tor, obfs4, snowflake-client, meek-client]
|
2020-05-05 18:12:13 -04:00
|
|
|
|
2020-05-03 16:56:18 -04:00
|
|
|
tor:
|
2022-01-17 15:56:39 -05:00
|
|
|
source: https://dist.torproject.org/tor-0.4.6.9.tar.gz
|
|
|
|
source-checksum: sha256/c7e93380988ce20b82aa19c06cdb2f10302b72cfebec7c15b5b96bcfc94ca9a9
|
2020-05-03 16:56:18 -04:00
|
|
|
source-type: tar
|
|
|
|
plugin: autotools
|
|
|
|
build-packages:
|
|
|
|
- libssl-dev
|
|
|
|
- zlib1g-dev
|
|
|
|
after: [libevent]
|
2021-08-22 16:21:09 -04:00
|
|
|
|
2020-05-03 16:56:18 -04:00
|
|
|
libevent:
|
2020-11-04 00:48:22 -05:00
|
|
|
source: https://github.com/libevent/libevent/releases/download/release-2.1.12-stable/libevent-2.1.12-stable.tar.gz
|
|
|
|
source-checksum: sha256/92e6de1be9ec176428fd2367677e61ceffc2ee1cb119035037a27d346b0403bb
|
2020-05-03 16:56:18 -04:00
|
|
|
source-type: tar
|
|
|
|
plugin: autotools
|
|
|
|
|
|
|
|
obfs4:
|
|
|
|
plugin: go
|
|
|
|
go-importpath: gitlab.com/yawning/obfs4
|
|
|
|
source: https://gitlab.com/yawning/obfs4
|
|
|
|
source-type: git
|
2021-11-14 14:08:00 -05:00
|
|
|
|
|
|
|
snowflake-client:
|
|
|
|
plugin: go
|
|
|
|
go-importpath: git.torproject.org/pluggable-transports/snowflake.git/client
|
|
|
|
source: https://git.torproject.org/pluggable-transports/snowflake.git
|
|
|
|
source-type: git
|
|
|
|
source-tag: v2.0.1
|
2021-11-14 20:52:40 -05:00
|
|
|
organize:
|
|
|
|
bin/client: bin/snowflake-client
|
2021-11-14 14:08:00 -05:00
|
|
|
|
2021-11-14 20:52:40 -05:00
|
|
|
meek-client:
|
|
|
|
plugin: go
|
|
|
|
go-channel: stable
|
|
|
|
go-importpath: git.torproject.org/pluggable-transports/meek.git/meek-client
|
|
|
|
# Not sure why I have to do this, but it works
|
|
|
|
override-build: |
|
|
|
|
cd meek-client
|
2022-01-17 15:56:39 -05:00
|
|
|
mkdir /root/parts/meek-client/install/bin
|
|
|
|
go build -o /root/parts/meek-client/install/bin/meek-client ./...
|
2021-11-14 20:52:40 -05:00
|
|
|
source: https://git.torproject.org/pluggable-transports/meek.git
|
|
|
|
source-type: git
|
|
|
|
source-tag: v0.37.0
|