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

Collapse All | Expand All

(-)Makefile (-4 / +7 lines)
Lines 2-9 Link Here
2
# $FreeBSD$
2
# $FreeBSD$
3
3
4
PORTNAME=	shadowsocks-libev
4
PORTNAME=	shadowsocks-libev
5
PORTVERSION=	1.4.0
5
PORTVERSION=	1.6.4
6
PORTREVISION=	1
7
CATEGORIES=	net
6
CATEGORIES=	net
8
MASTER_SITES=	https://github.com/${GH_ACCOUNT}/${GH_PROJECT}/archive/${GH_TAGNAME}.tar.gz?dummy=/
7
MASTER_SITES=	https://github.com/${GH_ACCOUNT}/${GH_PROJECT}/archive/${GH_TAGNAME}.tar.gz?dummy=/
9
8
Lines 15-28 Link Here
15
# fetch from github repo
14
# fetch from github repo
16
USE_GITHUB=	yes
15
USE_GITHUB=	yes
17
GH_ACCOUNT=	madeye
16
GH_ACCOUNT=	madeye
18
GH_TAGNAME=	v1.4.0
17
GH_TAGNAME=	v1.6.4
19
WRKSRC=		${WRKDIR}/${DISTNAME}
18
WRKSRC=		${WRKDIR}/${DISTNAME}
20
19
21
GNU_CONFIGURE=	yes
20
GNU_CONFIGURE=	yes
22
USES=		gmake
21
USES=		gmake libtool:keepla
23
22
24
USE_RC_SUBR=	shadowsocks_libev
23
USE_RC_SUBR=	shadowsocks_libev
25
24
25
post-patch:
26
	${REINPLACE_CMD} -e 's|^pkgconfiglibdir.*|pkgconfiglibdir = ${PREFIX}/libdata/pkgconfig|g' \
27
		${WRKSRC}/Makefile.in
28
26
post-install:
29
post-install:
27
	${MKDIR} ${STAGEDIR}${ETCDIR}
30
	${MKDIR} ${STAGEDIR}${ETCDIR}
28
	${CP} ${WRKSRC}/debian/config.json  ${STAGEDIR}${ETCDIR}/config.json.sample
31
	${CP} ${WRKSRC}/debian/config.json  ${STAGEDIR}${ETCDIR}/config.json.sample
(-)distinfo (-2 / +2 lines)
Lines 1-2 Link Here
1
SHA256 (shadowsocks-libev-1.4.0.tar.gz) = e2433e2741144287e2e2d70e408dd342bbe314fc69c600020bb6af2a2f803585
1
SHA256 (shadowsocks-libev-1.6.4.tar.gz) = 517b92e69e371efac4a9ca76e78095e3e866149a484ec4c88589dd4a3bdbb7b7
2
SIZE (shadowsocks-libev-1.4.0.tar.gz) = 829091
2
SIZE (shadowsocks-libev-1.6.4.tar.gz) = 2404815
(-)pkg-plist (-1 / +6 lines)
Lines 1-6 Link Here
1
bin/ss-local
1
bin/ss-local
2
bin/ss-server
2
bin/ss-server
3
man/man8/shadowsocks.8.gz
3
bin/ss-tunnel
4
include/shadowsocks.h
5
lib/libshadowsocks.a
6
lib/libshadowsocks.la
7
libdata/pkgconfig/shadowsocks-libev.pc
8
man/man8/shadowsocks-libev.8.gz
4
@unexec if cmp -s %D/etc/shadowsocks-libev/config.json %D/etc/shadowsocks-libev/config.json.sample ; then rm -f  %D/etc/shadowsocks-libev/config.json ; fi
9
@unexec if cmp -s %D/etc/shadowsocks-libev/config.json %D/etc/shadowsocks-libev/config.json.sample ; then rm -f  %D/etc/shadowsocks-libev/config.json ; fi
5
etc/shadowsocks-libev/config.json.sample
10
etc/shadowsocks-libev/config.json.sample
6
@exec if [ ! -f %D/etc/shadowsocks-libev/config.json ]; then cp -p %D/%F %B/config.json ; fi
11
@exec if [ ! -f %D/etc/shadowsocks-libev/config.json ]; then cp -p %D/%F %B/config.json ; fi

Return to bug 197054