View | Details | Raw Unified | Return to bug 218294 | Differences between
and this patch

Collapse All | Expand All

(-)net/shadowsocks-libev/Makefile (-7 / +19 lines)
Lines 2-8 Link Here
2
# $FreeBSD$
2
# $FreeBSD$
3
3
4
PORTNAME=	shadowsocks-libev
4
PORTNAME=	shadowsocks-libev
5
PORTVERSION=	2.4.7
5
PORTVERSION=	3.1.0
6
DISTVERSIONPREFIX=	v
6
DISTVERSIONPREFIX=	v
7
CATEGORIES=	net
7
CATEGORIES=	net
8
8
Lines 11-28 Link Here
11
11
12
LICENSE=	GPLv3
12
LICENSE=	GPLv3
13
13
14
LIB_DEPENDS=	libev.so:devel/libev \
15
		libmbedcrypto.so:security/mbedtls \
16
		libpcre.so:devel/pcre \
17
		libsodium.so:security/libsodium \
18
		libcares.so:dns/c-ares
19
20
USES=		autoreconf gmake libtool:keepla pathfix
21
14
# fetch from github repo
22
# fetch from github repo
15
USE_GITHUB=	yes
23
USE_GITHUB=	yes
16
GH_ACCOUNT=	shadowsocks
24
GH_ACCOUNT=	shadowsocks
25
GH_TUPLE=	shadowsocks:libcork:0220aa5:libcork/libcork \
26
		shadowsocks:ipset:3ea7fe3:libipset/libipset \
27
		shadowsocks:libbloom:7a9deb8:libbloom/libbloom
17
28
18
GNU_CONFIGURE=	yes
29
GNU_CONFIGURE=	yes
19
USES=		gmake libtool:keepla pathfix ssl
20
CPPFLAGS+=	-I${OPENSSLINC}
21
CONFIGURE_ARGS+=	--with-openssl=${OPENSSLBASE}
22
30
23
# Help solve building error since the integrated libsodium enables this option.
31
OPTIONS_DEFINE=	DOCS
24
CFLAGS+=	-fstack-protector
32
OPTIONS_SUB=	yes
25
33
34
DOCS_BUILD_DEPENDS=	asciidoc:textproc/asciidoc \
35
		xmlto:textproc/xmlto
36
DOCS_CONFIGURE_OFF=	--disable-documentation
37
26
USE_RC_SUBR=	shadowsocks_libev
38
USE_RC_SUBR=	shadowsocks_libev
27
39
28
post-patch:
40
post-patch:
Lines 31-36 Link Here
31
43
32
post-install:
44
post-install:
33
	${MKDIR} ${STAGEDIR}${ETCDIR}
45
	${MKDIR} ${STAGEDIR}${ETCDIR}
34
	${CP} ${WRKSRC}/debian/config.json  ${STAGEDIR}${ETCDIR}/config.json.sample
46
	${INSTALL_DATA} ${WRKSRC}/debian/config.json ${STAGEDIR}${ETCDIR}/config.json.sample
35
47
36
.include <bsd.port.mk>
48
.include <bsd.port.mk>
(-)net/shadowsocks-libev/distinfo (-3 / +9 lines)
Lines 1-3 Link Here
1
TIMESTAMP = 1503421104
1
TIMESTAMP = 1506953360
2
SHA256 (shadowsocks-shadowsocks-libev-v2.4.7_GH0.tar.gz) = 957265cc5339e020d8c8bb7414ab14936e3939dc7355f334aec896ec9b03c6ed
2
SHA256 (shadowsocks-shadowsocks-libev-v3.1.0_GH0.tar.gz) = 305e29bbd67c8cac4b244352e1ef804cb3801f501aae12bec0fe42708d7ff8a2
3
SIZE (shadowsocks-shadowsocks-libev-v2.4.7_GH0.tar.gz) = 1485472
3
SIZE (shadowsocks-shadowsocks-libev-v3.1.0_GH0.tar.gz) = 260649
4
SHA256 (shadowsocks-libcork-0220aa5_GH0.tar.gz) = 95d6e1a09695329ea03734a8e4f75e8a726fd2a6b6baa6b0d28eabc299c5a168
5
SIZE (shadowsocks-libcork-0220aa5_GH0.tar.gz) = 184195
6
SHA256 (shadowsocks-ipset-3ea7fe3_GH0.tar.gz) = e7b487c21a5352a3c9faef3256ed1a539f7ee46f38bf57922340c125c720da61
7
SIZE (shadowsocks-ipset-3ea7fe3_GH0.tar.gz) = 64895
8
SHA256 (shadowsocks-libbloom-7a9deb8_GH0.tar.gz) = 726469328f0288c1ecb87b244a8978d471316f04e1234417ac4669bc16c8b4b0
9
SIZE (shadowsocks-libbloom-7a9deb8_GH0.tar.gz) = 1208059
(-)net/shadowsocks-libev/pkg-plist (-8 / +15 lines)
Lines 6-16 Link Here
6
lib/libshadowsocks-libev.a
6
lib/libshadowsocks-libev.a
7
lib/libshadowsocks-libev.la
7
lib/libshadowsocks-libev.la
8
libdata/pkgconfig/shadowsocks-libev.pc
8
libdata/pkgconfig/shadowsocks-libev.pc
9
man/man1/ss-local.1.gz
9
@sample %%ETCDIR%%/config.json.sample
10
man/man1/ss-manager.1.gz
10
%%DOCS%%man/man1/ss-local.1.gz
11
man/man1/ss-nat.1.gz
11
%%DOCS%%man/man1/ss-manager.1.gz
12
man/man1/ss-redir.1.gz
12
%%DOCS%%man/man1/ss-nat.1.gz
13
man/man1/ss-server.1.gz
13
%%DOCS%%man/man1/ss-redir.1.gz
14
man/man1/ss-tunnel.1.gz
14
%%DOCS%%man/man1/ss-server.1.gz
15
man/man8/shadowsocks-libev.8.gz
15
%%DOCS%%man/man1/ss-tunnel.1.gz
16
@sample etc/shadowsocks-libev/config.json.sample
16
%%DOCS%%man/man8/shadowsocks-libev.8.gz
17
%%DOCS%%%%DOCSDIR%%/shadowsocks-libev.html
18
%%DOCS%%%%DOCSDIR%%/ss-local.html
19
%%DOCS%%%%DOCSDIR%%/ss-manager.html
20
%%DOCS%%%%DOCSDIR%%/ss-nat.html
21
%%DOCS%%%%DOCSDIR%%/ss-redir.html
22
%%DOCS%%%%DOCSDIR%%/ss-server.html
23
%%DOCS%%%%DOCSDIR%%/ss-tunnel.html

Return to bug 218294