Index: head/net/shadowsocks-libev/Makefile =================================================================== --- head/net/shadowsocks-libev/Makefile +++ head/net/shadowsocks-libev/Makefile @@ -2,7 +2,7 @@ # $FreeBSD$ PORTNAME= shadowsocks-libev -PORTVERSION= 2.4.7 +PORTVERSION= 3.1.0 DISTVERSIONPREFIX= v CATEGORIES= net @@ -11,18 +11,30 @@ 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 post-patch: @@ -31,6 +43,6 @@ 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 Index: head/net/shadowsocks-libev/distinfo =================================================================== --- head/net/shadowsocks-libev/distinfo +++ head/net/shadowsocks-libev/distinfo @@ -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 Index: head/net/shadowsocks-libev/pkg-plist =================================================================== --- head/net/shadowsocks-libev/pkg-plist +++ head/net/shadowsocks-libev/pkg-plist @@ -6,11 +6,18 @@ 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