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

Collapse All | Expand All

(-)net/shadowsocks-libev/Makefile (-8 / +14 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.0.7
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
BUILD_DEPENDS=	asciidoc:textproc/asciidoc \
15
		xmlto:textproc/xmlto
16
LIB_DEPENDS=	libev.so:devel/libev \
17
		libmbedcrypto.so:security/mbedtls \
18
		libpcre.so:devel/pcre \
19
		libsodium.so:security/libsodium \
20
		libudns.so:dns/udns
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
30
USES=		autoreconf gmake libtool:keepla pathfix
20
CPPFLAGS+=	-I${OPENSSLINC}
21
CONFIGURE_ARGS+=	--with-openssl=${OPENSSLBASE}
22
31
23
# Help solve building error since the integrated libsodium enables this option.
24
CFLAGS+=	-fstack-protector
25
26
USE_RC_SUBR=	shadowsocks_libev
32
USE_RC_SUBR=	shadowsocks_libev
27
33
28
post-patch:
34
post-patch:
Lines 31-36 Link Here
31
37
32
post-install:
38
post-install:
33
	${MKDIR} ${STAGEDIR}${ETCDIR}
39
	${MKDIR} ${STAGEDIR}${ETCDIR}
34
	${CP} ${WRKSRC}/debian/config.json  ${STAGEDIR}${ETCDIR}/config.json.sample
40
	${CP} ${WRKSRC}/debian/config.json ${STAGEDIR}${ETCDIR}/config.json.sample
35
41
36
.include <bsd.port.mk>
42
.include <bsd.port.mk>
(-)net/shadowsocks-libev/distinfo (-3 / +9 lines)
Lines 1-3 Link Here
1
TIMESTAMP = 1503421104
1
TIMESTAMP = 1506880322
2
SHA256 (shadowsocks-shadowsocks-libev-v2.4.7_GH0.tar.gz) = 957265cc5339e020d8c8bb7414ab14936e3939dc7355f334aec896ec9b03c6ed
2
SHA256 (shadowsocks-shadowsocks-libev-v3.0.7_GH0.tar.gz) = 0c0569a87e0c7ca16b7bab98f2b5bddf12bd0aaff85ee91401dd180eeba87b5b
3
SIZE (shadowsocks-shadowsocks-libev-v2.4.7_GH0.tar.gz) = 1485472
3
SIZE (shadowsocks-shadowsocks-libev-v3.0.7_GH0.tar.gz) = 258247
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 (-1 / +8 lines)
Lines 13-16 Link Here
13
man/man1/ss-server.1.gz
13
man/man1/ss-server.1.gz
14
man/man1/ss-tunnel.1.gz
14
man/man1/ss-tunnel.1.gz
15
man/man8/shadowsocks-libev.8.gz
15
man/man8/shadowsocks-libev.8.gz
16
@sample etc/shadowsocks-libev/config.json.sample
16
@sample %%ETCDIR%%/config.json.sample
17
%%PORTDOCS%%%%DOCSDIR%%/shadowsocks-libev.html
18
%%PORTDOCS%%%%DOCSDIR%%/ss-local.html
19
%%PORTDOCS%%%%DOCSDIR%%/ss-manager.html
20
%%PORTDOCS%%%%DOCSDIR%%/ss-nat.html
21
%%PORTDOCS%%%%DOCSDIR%%/ss-redir.html
22
%%PORTDOCS%%%%DOCSDIR%%/ss-server.html
23
%%PORTDOCS%%%%DOCSDIR%%/ss-tunnel.html

Return to bug 218294