mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-20 08:27:15 +00:00
net/shadowsocks-libev: Update to 3.1.0
PR: 218294 Submitted by: Anonymous Approved by: xiaoding+freebsd@xiaoding.org (maintainer), adamw Differential Revision: https://reviews.freebsd.org/D13099
This commit is contained in:
parent
fb4fe3485b
commit
ffb921f06f
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=454320
@ -2,7 +2,7 @@
|
||||
# $FreeBSD$
|
||||
|
||||
PORTNAME= shadowsocks-libev
|
||||
PORTVERSION= 2.4.7
|
||||
PORTVERSION= 3.1.0
|
||||
DISTVERSIONPREFIX= v
|
||||
CATEGORIES= net
|
||||
|
||||
@ -11,17 +11,29 @@ COMMENT= Lightweight tunnel proxy which can help you get through firewalls
|
||||
|
||||
LICENSE= GPLv3
|
||||
|
||||
LIB_DEPENDS= libev.so:devel/libev \
|
||||
libmbedcrypto.so:security/mbedtls \
|
||||
libpcre.so:devel/pcre \
|
||||
libsodium.so:security/libsodium \
|
||||
libcares.so:dns/c-ares
|
||||
|
||||
USES= autoreconf gmake libtool:keepla pathfix
|
||||
|
||||
# fetch from github repo
|
||||
USE_GITHUB= yes
|
||||
GH_ACCOUNT= shadowsocks
|
||||
GH_TUPLE= shadowsocks:libcork:0220aa5:libcork/libcork \
|
||||
shadowsocks:ipset:3ea7fe3:libipset/libipset \
|
||||
shadowsocks:libbloom:7a9deb8:libbloom/libbloom
|
||||
|
||||
GNU_CONFIGURE= yes
|
||||
USES= gmake libtool:keepla pathfix ssl
|
||||
CPPFLAGS+= -I${OPENSSLINC}
|
||||
CONFIGURE_ARGS+= --with-openssl=${OPENSSLBASE}
|
||||
|
||||
# Help solve building error since the integrated libsodium enables this option.
|
||||
CFLAGS+= -fstack-protector
|
||||
OPTIONS_DEFINE= DOCS
|
||||
OPTIONS_SUB= yes
|
||||
|
||||
DOCS_BUILD_DEPENDS= asciidoc:textproc/asciidoc \
|
||||
xmlto:textproc/xmlto
|
||||
DOCS_CONFIGURE_OFF= --disable-documentation
|
||||
|
||||
USE_RC_SUBR= shadowsocks_libev
|
||||
|
||||
@ -31,6 +43,6 @@ post-patch:
|
||||
|
||||
post-install:
|
||||
${MKDIR} ${STAGEDIR}${ETCDIR}
|
||||
${CP} ${WRKSRC}/debian/config.json ${STAGEDIR}${ETCDIR}/config.json.sample
|
||||
${INSTALL_DATA} ${WRKSRC}/debian/config.json ${STAGEDIR}${ETCDIR}/config.json.sample
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -1,3 +1,9 @@
|
||||
TIMESTAMP = 1503421104
|
||||
SHA256 (shadowsocks-shadowsocks-libev-v2.4.7_GH0.tar.gz) = 957265cc5339e020d8c8bb7414ab14936e3939dc7355f334aec896ec9b03c6ed
|
||||
SIZE (shadowsocks-shadowsocks-libev-v2.4.7_GH0.tar.gz) = 1485472
|
||||
TIMESTAMP = 1506953360
|
||||
SHA256 (shadowsocks-shadowsocks-libev-v3.1.0_GH0.tar.gz) = 305e29bbd67c8cac4b244352e1ef804cb3801f501aae12bec0fe42708d7ff8a2
|
||||
SIZE (shadowsocks-shadowsocks-libev-v3.1.0_GH0.tar.gz) = 260649
|
||||
SHA256 (shadowsocks-libcork-0220aa5_GH0.tar.gz) = 95d6e1a09695329ea03734a8e4f75e8a726fd2a6b6baa6b0d28eabc299c5a168
|
||||
SIZE (shadowsocks-libcork-0220aa5_GH0.tar.gz) = 184195
|
||||
SHA256 (shadowsocks-ipset-3ea7fe3_GH0.tar.gz) = e7b487c21a5352a3c9faef3256ed1a539f7ee46f38bf57922340c125c720da61
|
||||
SIZE (shadowsocks-ipset-3ea7fe3_GH0.tar.gz) = 64895
|
||||
SHA256 (shadowsocks-libbloom-7a9deb8_GH0.tar.gz) = 726469328f0288c1ecb87b244a8978d471316f04e1234417ac4669bc16c8b4b0
|
||||
SIZE (shadowsocks-libbloom-7a9deb8_GH0.tar.gz) = 1208059
|
||||
|
@ -6,11 +6,18 @@ include/shadowsocks.h
|
||||
lib/libshadowsocks-libev.a
|
||||
lib/libshadowsocks-libev.la
|
||||
libdata/pkgconfig/shadowsocks-libev.pc
|
||||
man/man1/ss-local.1.gz
|
||||
man/man1/ss-manager.1.gz
|
||||
man/man1/ss-nat.1.gz
|
||||
man/man1/ss-redir.1.gz
|
||||
man/man1/ss-server.1.gz
|
||||
man/man1/ss-tunnel.1.gz
|
||||
man/man8/shadowsocks-libev.8.gz
|
||||
@sample etc/shadowsocks-libev/config.json.sample
|
||||
@sample %%ETCDIR%%/config.json.sample
|
||||
%%DOCS%%man/man1/ss-local.1.gz
|
||||
%%DOCS%%man/man1/ss-manager.1.gz
|
||||
%%DOCS%%man/man1/ss-nat.1.gz
|
||||
%%DOCS%%man/man1/ss-redir.1.gz
|
||||
%%DOCS%%man/man1/ss-server.1.gz
|
||||
%%DOCS%%man/man1/ss-tunnel.1.gz
|
||||
%%DOCS%%man/man8/shadowsocks-libev.8.gz
|
||||
%%DOCS%%%%DOCSDIR%%/shadowsocks-libev.html
|
||||
%%DOCS%%%%DOCSDIR%%/ss-local.html
|
||||
%%DOCS%%%%DOCSDIR%%/ss-manager.html
|
||||
%%DOCS%%%%DOCSDIR%%/ss-nat.html
|
||||
%%DOCS%%%%DOCSDIR%%/ss-redir.html
|
||||
%%DOCS%%%%DOCSDIR%%/ss-server.html
|
||||
%%DOCS%%%%DOCSDIR%%/ss-tunnel.html
|
||||
|
Loading…
Reference in New Issue
Block a user