mirror of
https://github.com/shadowsocks/shadowsocks-libev.git
synced 2026-10-20 21:43:41 +00:00
76 lines
1.6 KiB
YAML
76 lines
1.6 KiB
YAML
base: core22
|
|
name: shadowsocks-libev
|
|
version: '3.3.6'
|
|
summary: lightweight shadowsocks implementation
|
|
description: |
|
|
Shadowsocks-libev is a lightweight and secure SOCKS5 proxy for embedded
|
|
devices and low-end boxes.
|
|
|
|
It is written in C++20 on libuv, designed to be a lightweight
|
|
implementation of the shadowsocks protocol.
|
|
grade: stable
|
|
confinement: strict
|
|
|
|
apps:
|
|
ss-local:
|
|
command: usr/bin/ss-local
|
|
plugs: [network, network-bind]
|
|
|
|
ss-local-daemon:
|
|
command: usr/bin/ss-local
|
|
daemon: simple
|
|
plugs: [network, network-bind]
|
|
|
|
ss-server:
|
|
command: usr/bin/ss-server
|
|
plugs: [network, network-bind]
|
|
|
|
ss-server-daemon:
|
|
command: usr/bin/ss-server
|
|
daemon: simple
|
|
plugs: [network, network-bind]
|
|
|
|
ss-redir:
|
|
command: usr/bin/ss-redir
|
|
plugs: [network, network-bind]
|
|
|
|
ss-tunnel:
|
|
command: usr/bin/ss-tunnel
|
|
plugs: [network, network-bind]
|
|
|
|
ss-manager:
|
|
command: usr/bin/ss-manager
|
|
plugs: [network]
|
|
|
|
layout:
|
|
/etc/shadowsocks-libev:
|
|
bind: $SNAP_COMMON/etc/shadowsocks-libev
|
|
|
|
parts:
|
|
shadowsocks-libev:
|
|
plugin: cmake
|
|
source: .
|
|
source-type: git
|
|
cmake-parameters:
|
|
- -DCMAKE_INSTALL_PREFIX=/usr
|
|
- -DCMAKE_BUILD_TYPE=Release
|
|
- -DWITH_DOC_MAN=OFF
|
|
- -DBUILD_TESTING=OFF
|
|
build-packages:
|
|
- libpcre2-dev
|
|
- libuv1-dev
|
|
- libc-ares-dev
|
|
- libmbedtls-dev
|
|
- libsodium-dev
|
|
stage-packages:
|
|
- libc-ares2
|
|
- libuv1
|
|
- libmbedcrypto7
|
|
- libmbedtls14
|
|
- libmbedx509-1
|
|
- libpcre2-8-0
|
|
- libsodium23
|
|
override-build: |
|
|
craftctl default
|
|
rm -rf $SNAPCRAFT_PART_INSTALL/usr/share/doc
|