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

Collapse All | Expand All

(-)net-p2p/rslsync/Makefile (-10 / +17 lines)
Lines 1-8 Link Here
1
PORTNAME=	rslsync
1
PORTNAME=	rslsync
2
DISTVERSION=	2.7.3
2
DISTVERSION=	2.8.1.1390
3
CATEGORIES=	net-p2p
3
CATEGORIES=	net-p2p
4
MASTER_SITES=	https://download-cdn.resilio.com/${PORTVERSION}/FreeBSD-${CONFIG_ARCH}/ \
4
MASTER_SITES=	https://download-cdn.resilio.com/${DISTVERSION}/freebsd/${CONFIG_ARCH}/0/
5
		http://download-cdn.resilio.com/${PORTVERSION}/FreeBSD-${CONFIG_ARCH}/
6
DISTNAME=	resilio-sync_freebsd_${CONFIG_ARCH}
5
DISTNAME=	resilio-sync_freebsd_${CONFIG_ARCH}
7
DIST_SUBDIR=	${PORTNAME}-${PORTVERSION}
6
DIST_SUBDIR=	${PORTNAME}-${PORTVERSION}
8
7
Lines 22-27 USE_RC_SUBR= rslsync Link Here
22
21
23
CONFLICTS_INSTALL=	rslsync-beta
22
CONFLICTS_INSTALL=	rslsync-beta
24
23
24
NO_BUILD=	yes
25
SUB_FILES=	pkg-message
25
SUB_FILES=	pkg-message
26
SUB_LIST=	GROUP=${GROUPS} \
26
SUB_LIST=	GROUP=${GROUPS} \
27
		USER=${USERS}
27
		USER=${USERS}
Lines 42-58 CONFIG_ARCH= x64 Link Here
42
CONFIG_ARCH=	${ARCH}
42
CONFIG_ARCH=	${ARCH}
43
.endif
43
.endif
44
44
45
do-build:
46
	${WRKSRC}/rslsync --nodaemon --storage ${WRKSRC} --dump-sample-config > ${WRKSRC}/rslsync.conf.sample
47
	${REINPLACE_CMD} -e 's;^//\([[:space:]]*"storage_path"[[:space:]]*:[[:space:]]*\)"/.*",$$;\1"/var/db/rslsync",;' ${WRKSRC}/rslsync.conf.sample
48
	${REINPLACE_CMD} -e 's;^//\([[:space:]]*"pid_file"[[:space:]]*:[[:space:]]*\)"/.*",$$;\1"/var/run/rslsync/rslsync.pid",;' ${WRKSRC}/rslsync.conf.sample
49
50
do-install:
45
do-install:
51
	${INSTALL_PROGRAM} ${WRKSRC}/rslsync ${STAGEDIR}${PREFIX}/bin
46
	${INSTALL_PROGRAM} ${WRKSRC}/rslsync ${STAGEDIR}${PREFIX}/bin
52
	${INSTALL_DATA} ${WRKSRC}/rslsync.conf.sample ${STAGEDIR}${PREFIX}/etc
53
	${MKDIR} ${STAGEDIR}/var/db/rslsync
47
	${MKDIR} ${STAGEDIR}/var/db/rslsync
48
	${STAGEDIR}${PREFIX}/bin/rslsync --nodaemon \
49
		--storage ${WRKSRC} --dump-sample-config \
50
		> ${STAGEDIR}${PREFIX}/etc/rslsync.conf.sample
51
	${REINPLACE_CMD} -e \
52
		's;^//\([[:space:]]*"storage_path"[[:space:]]*:[[:space:]]*\)"/.*",$$;\1"/var/db/rslsync",;' \
53
		${STAGEDIR}${PREFIX}/etc/rslsync.conf.sample
54
	${REINPLACE_CMD} -e \
55
		's;^//\([[:space:]]*"pid_file"[[:space:]]*:[[:space:]]*\)"/.*",$$;\1"/var/run/rslsync/rslsync.pid",;' \
56
		${STAGEDIR}${PREFIX}/etc/rslsync.conf.sample
54
57
58
55
maintainer-makesum:
59
maintainer-makesum:
56
	for arch in ${ONLY_FOR_ARCHS}; do ${MAKE} DISTINFO_FILE=/dev/stdout ARCH=$$arch makesum; done | ${AWK} '$$1 != "TIMESTAMP" || NR == 1' > ${DISTINFO_FILE}
60
	for arch in ${ONLY_FOR_ARCHS}; do \
61
		${MAKE} DISTINFO_FILE=/dev/stdout ARCH=$$arch makesum; \
62
	done | ${AWK} 'BEGIN{TS=0}/TIMESTAMP/{if(TS==0){print;TS=1};next}/S(HA256|IZE)/{print}' \
63
		> ${DISTINFO_FILE}
57
64
58
.include <bsd.port.post.mk>
65
.include <bsd.port.post.mk>
(-)net-p2p/rslsync/distinfo (-5 / +5 lines)
Lines 1-5 Link Here
1
TIMESTAMP = 1653154443
1
TIMESTAMP = 1731000489
2
SHA256 (rslsync-2.7.3/resilio-sync_freebsd_i386.tar.gz) = 850f1f16a4a3bf69501483b5cc08132276fb123ac180c64a8b89867ba5e3a819
2
SHA256 (rslsync-2.8.1.1390/resilio-sync_freebsd_x64.tar.gz) = 1531bdce3c854084d20e89be9c378ba7c00421ebcfb4d0ced55cc7e012b7427b
3
SIZE (rslsync-2.7.3/resilio-sync_freebsd_i386.tar.gz) = 13379750
3
SIZE (rslsync-2.8.1.1390/resilio-sync_freebsd_x64.tar.gz) = 13407677
4
SHA256 (rslsync-2.7.3/resilio-sync_freebsd_x64.tar.gz) = b29bf30aac4af1c87cfe3cbd300de04b1c02a7cf098dcaebed7e4a1c05218d88
4
SHA256 (rslsync-2.8.1.1390/resilio-sync_freebsd_i386.tar.gz) = f6374787cd1a98a401622f74965eb3844aeb46588d01b87ea30359efcf765b57
5
SIZE (rslsync-2.7.3/resilio-sync_freebsd_x64.tar.gz) = 13406761
5
SIZE (rslsync-2.8.1.1390/resilio-sync_freebsd_i386.tar.gz) = 13381759

Return to bug 281567