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.

59 lines
1.3 KiB

4 years ago
4 years ago
  1. base: core18
  2. name: shadowsocks-libev
  3. version: 3.3.4-1
  4. summary: libev port of shadowsocks
  5. description: |
  6. Shadowsocks-libev is a lightweight and secure SOCKS5 proxy for embedded
  7. devices and low-end boxes.
  8. It is rewritten in pure C and depends on libev, designed to be a
  9. lightweight implementation of the shadowsocks protocol.
  10. grade: stable
  11. confinement: strict
  12. apps:
  13. ss-local:
  14. command: bin/ss-local
  15. plugs: [network, network-bind]
  16. ss-server:
  17. command: bin/ss-server
  18. plugs: [network, network-bind]
  19. ss-redir:
  20. command: bin/ss-redir
  21. plugs: [network, network-bind]
  22. ss-tunnel:
  23. command: bin/ss-tunnel
  24. plugs: [network, network-bind]
  25. ss-manager:
  26. command: bin/ss-manager
  27. plugs: [network]
  28. passthrough:
  29. layout:
  30. /etc/shadowsocks-libev:
  31. bind: $SNAP_COMMON/etc/shadowsocks-libev
  32. parts:
  33. shadowsocks-libev:
  34. plugin: autotools
  35. source: https://github.com/shadowsocks/shadowsocks-libev/releases/download/v3.3.4/shadowsocks-libev-3.3.4.tar.gz
  36. build-packages:
  37. - libpcre3-dev
  38. - asciidoc
  39. - xmlto
  40. - libev-dev
  41. - libc-ares-dev
  42. - libmbedtls-dev
  43. - libsodium-dev
  44. stage-packages:
  45. - libc-ares2
  46. - libev4
  47. - libmbedtls10
  48. - libsodium23
  49. override-build: |
  50. snapcraftctl build
  51. rm -rf $SNAPCRAFT_PART_INSTALL/usr/share/doc