You've already forked macports-ports
mirror of
https://github.com/macports/macports-ports.git
synced 2026-07-12 18:20:25 -07:00
shadowsocks-libev: update to 3.3.6
This commit is contained in:
committed by
Herby Gillot
parent
550fd6a430
commit
60a93d393f
@@ -1,12 +1,13 @@
|
||||
# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
|
||||
|
||||
PortSystem 1.0
|
||||
PortGroup cmake 1.1
|
||||
PortGroup github 1.0
|
||||
|
||||
github.setup shadowsocks shadowsocks-libev 3.3.5 v
|
||||
github.tarball_from releases
|
||||
github.setup shadowsocks shadowsocks-libev 3.3.6 v
|
||||
github.tarball_from archive
|
||||
|
||||
revision 1
|
||||
revision 0
|
||||
categories net
|
||||
license GPL-3
|
||||
maintainers nomaintainer
|
||||
@@ -17,20 +18,31 @@ long_description \
|
||||
It's designed to be a lightweight implementation of shadowsocks \
|
||||
protocol, in order to keep the resource usage as low as possible.
|
||||
|
||||
depends_build-append port:autoconf \
|
||||
port:automake \
|
||||
port:libtool \
|
||||
port:asciidoc \
|
||||
fetch.type git
|
||||
|
||||
depends_build-append port:asciidoc \
|
||||
port:xmlto
|
||||
depends_lib-append port:mbedtls \
|
||||
depends_lib-append port:mbedtls3 \
|
||||
port:libsodium \
|
||||
port:libev \
|
||||
port:c-ares \
|
||||
port:pcre
|
||||
port:pcre2
|
||||
|
||||
checksums rmd160 f59f766398f0ec6bdaf830d944cc349c88dbc6d3 \
|
||||
sha256 cfc8eded35360f4b67e18dc447b0c00cddb29cc57a3cec48b135e5fb87433488 \
|
||||
size 1959146
|
||||
configure.args-append -DWITH_STATIC=OFF
|
||||
|
||||
if {${os.platform} eq "darwin" && ${os.major} < 16} {
|
||||
# "SSL certificate problem: Invalid certificate chain" on macOS <10.12
|
||||
# Only use non-system Git on legacy systems
|
||||
depends_build-append \
|
||||
path:bin/git:git
|
||||
git.cmd ${prefix}/bin/git
|
||||
}
|
||||
|
||||
post-fetch {
|
||||
system -W ${worksrcpath} "git submodule update --init --recursive"
|
||||
}
|
||||
|
||||
compiler.c_standard 1999
|
||||
|
||||
set ssuser _shadowsocks
|
||||
add_users ${ssuser} group=${ssuser} realname=Shadowsocks\ Daemon
|
||||
|
||||
Reference in New Issue
Block a user