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.

69 lines
1.5 KiB

4 years ago
4 years ago
  1. base: core18
  2. name: shadowsocks-libev
  3. version: 3.3.5-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-local-daemon:
  17. command: bin/ss-local
  18. daemon: simple
  19. plugs: [network, network-bind]
  20. ss-server:
  21. command: bin/ss-server
  22. plugs: [network, network-bind]
  23. ss-server-daemon:
  24. command: bin/ss-server
  25. daemon: simple
  26. plugs: [network, network-bind]
  27. ss-redir:
  28. command: bin/ss-redir
  29. plugs: [network, network-bind]
  30. ss-tunnel:
  31. command: bin/ss-tunnel
  32. plugs: [network, network-bind]
  33. ss-manager:
  34. command: bin/ss-manager
  35. plugs: [network]
  36. passthrough:
  37. layout:
  38. /etc/shadowsocks-libev:
  39. bind: $SNAP_COMMON/etc/shadowsocks-libev
  40. parts:
  41. shadowsocks-libev:
  42. plugin: autotools
  43. source: https://github.com/shadowsocks/shadowsocks-libev/releases/download/v3.3.5/shadowsocks-libev-3.3.5.tar.gz
  44. build-packages:
  45. - libpcre3-dev
  46. - asciidoc
  47. - xmlto
  48. - libev-dev
  49. - libc-ares-dev
  50. - libmbedtls-dev
  51. - libsodium-dev
  52. stage-packages:
  53. - libc-ares2
  54. - libev4
  55. - libmbedtls10
  56. - libsodium23
  57. override-build: |
  58. snapcraftctl build
  59. rm -rf $SNAPCRAFT_PART_INSTALL/usr/share/doc