Page MenuHomeSolus

package.yml
No OneTemporary

package.yml

name : onionshare
version : 2.5
release : 11
source :
- https://github.com/onionshare/onionshare/releases/download/v2.5/onionshare-2.5.tar.gz : 5b5000669e5f8aa18c783719225622f925cbbb7aa70e59c282622cee8fc731ba
- https://dist.torproject.org/torbrowser/11.0.11/tor-browser-linux64-11.0.11_en-US.tar.xz : 6df94735440f608cb80c5b45c777a25a9aeaa5b5f0137dab28fce86d9b14a9b7
homepage : https://onionshare.org
license : GPL-3.0-or-later
component : network.util
summary : Lets you securely and anonymously share a file of any size with someone
description: |
OnionShare lets you securely and anonymously share files of any size. It works by starting a web server, making it accessible as a Tor Onion Service, and generating an unguessable URL to access and download the files. It does not require setting up a separate server or using a third party file-sharing service. You host the files on your own computer and use a Tor Onion Service to make it temporarily accessible over the internet. The receiving user just needs to open the URL in Tor Browser to download the file.
networking : yes
builddeps :
- pkgconfig(python3)
- golang
- onionshare-cli
- python-pyside2
- python-pytest
- python-qrcode
- xdg-utils
- xorg-server-xvfb
rundeps :
- onionshare-cli
- python-pyside2
- python-qrcode
setup : |
%patch < $pkgfiles/tor-version.patch desktop/scripts/get-tor-linux.py
%patch -p1 < $pkgfiles/meek-issue.patch
mkdir -v -p desktop/build/tor
cp -v $sources/tor-browser-linux64-11.0.11_en-US.tar.xz desktop/build/tor
build : |
python3 desktop/scripts/get-tor-linux.py
python3 desktop/scripts/build-meek-client.py
pushd desktop
python3 setup.py build
popd
install : |
pushd desktop
python3 setup.py install --root="$installdir"
# install icons and desktop file
install -Dm 644 org.onionshare.OnionShare.desktop $installdir/usr/share/applications/org.onionshare.OnionShare.desktop
install -Dm 644 org.onionshare.OnionShare.svg $installdir/usr/share/icons/hicolor/scalable/apps/org.onionshare.OnionShare.svg
install -Dm 644 org.onionshare.OnionShare.appdata.xml -t $installdir/usr/share/metainfo/org.onionshare.OnionShare.appdata.xml
popd
check : |
pushd desktop
xvfb-run pytest3 -v tests/test_gui_tabs.py
# Not fully compatible with tor-browser 11.0.6 -> xvfb-run pytest3 -v tests/test_gui_share.py
xvfb-run pytest3 -v tests/test_gui_website.py
xvfb-run pytest3 -v tests/test_gui_chat.py
popd

File Metadata

Mime Type
text/plain
Expires
Thu, Aug 10, 12:19 PM (1 d, 21 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
5798252
Default Alt Text
package.yml (2 KB)

Event Timeline