You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

57 lines
1.5 KiB

  1. #
  2. # Copyright (C) 2021 CZ.NIC, z. s. p. o. (https://www.nic.cz/)
  3. #
  4. # This is free software, licensed under the GNU General Public License v2.
  5. # See /LICENSE for more information.
  6. #
  7. include $(TOPDIR)/rules.mk
  8. PKG_NAME:=onionshare-cli
  9. PKG_VERSION:=2.3.1
  10. PKG_RELEASE:=1
  11. PYPI_NAME:=onionshare-cli
  12. PYPI_SOURCE_NAME:=onionshare_cli
  13. PKG_HASH:=47320a5f270b3629586c249fb2ae1c2f67682cb53c5013a8af9702d0d6e50193
  14. PKG_MAINTAINER:=Jan Pavlinec <jan.pavlinec@nic.cz>
  15. PKG_LICENSE:=GPL-3.0-or-later
  16. PKG_LICENSE_FILES:=LICENSE
  17. HOST_PYTHON3_PACKAGE_BUILD_DEPENDS:=setuptools-scm toml
  18. include ../../lang/python/pypi.mk
  19. include $(INCLUDE_DIR)/package.mk
  20. include ../../lang/python/python3-package.mk
  21. define Package/onionshare-cli
  22. SECTION:=net
  23. CATEGORY:=Network
  24. TITLE:=Secure chat, web and file sharing
  25. URL:=https://onionshare.org/
  26. DEPENDS:= \
  27. +python3-light \
  28. +python3-psutil \
  29. +python3-click \
  30. +python3-flask \
  31. +python3-flask-httpauth \
  32. +python3-flask-socketio \
  33. +python3-pysocks \
  34. +python3-requests \
  35. +python3-stem \
  36. +python3-eventlet \
  37. +python3-unidecode \
  38. +python3-cryptodome \
  39. +python3-urllib3 \
  40. +tor
  41. endef
  42. define Package/onionshare-cli/description
  43. OnionShare is an open source tool that lets you securely and
  44. anonymously share files, host websites, and chat with friends using the Tor network.
  45. endef
  46. $(eval $(call Py3Package,onionshare-cli))
  47. $(eval $(call BuildPackage,onionshare-cli))
  48. $(eval $(call BuildPackage,onionshare-cli-src))