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

Collapse All | Expand All

(-)MOVED (+1 lines)
Lines 9466-9468 dns/opendnssec13|dns/opendnssec14|2017-0 Link Here
9466
multimedia/banshee||2017-07-13|Has expired: Project is not being actively maintained upstream anymore
9466
multimedia/banshee||2017-07-13|Has expired: Project is not being actively maintained upstream anymore
9467
www/libhtp-suricata||2017-07-16|No longer required. security/suricata now uses official (not forked) libhtp 
9467
www/libhtp-suricata||2017-07-16|No longer required. security/suricata now uses official (not forked) libhtp 
9468
databases/py-odbc|databases/py-pyodbc|2017-07-18|Rename to comply with PyPI scheme
9468
databases/py-odbc|databases/py-pyodbc|2017-07-18|Rename to comply with PyPI scheme
9469
net-p2p/btsync|net-p2p/rslsync|2017-07-20|Renamed by the vendor
(-)GIDs (-1 / +1 lines)
Lines 758-764 foreman_proxy:*:812: Link Here
758
puppet:*:814:
758
puppet:*:814:
759
uchiwa:*:815:
759
uchiwa:*:815:
760
# free: 816
760
# free: 816
761
btsync:*:817:
761
rslsync:*:817:
762
jenkins:*:818:
762
jenkins:*:818:
763
rundeck:*:819:
763
rundeck:*:819:
764
openacs:*:820:
764
openacs:*:820:
(-)UIDs (-1 / +1 lines)
Lines 763-769 foreman_proxy:*:812:812::0:0:Foreman Sma Link Here
763
puppet:*:814:814::0:0:Puppet Daemon:/nonexistent:/usr/sbin/nologin
763
puppet:*:814:814::0:0:Puppet Daemon:/nonexistent:/usr/sbin/nologin
764
uchiwa:*:815:815::0:0:Uchiwa Dashboard:/nonexistent:/usr/sbin/nologin
764
uchiwa:*:815:815::0:0:Uchiwa Dashboard:/nonexistent:/usr/sbin/nologin
765
# free: 816
765
# free: 816
766
btsync:*:817:817::0:0:BitTorrent Sync Daemon:/nonexistent:/usr/sbin/nologin
766
rslsync:*:817:817::0:0:Resilio Sync Daemon:/nonexistent:/usr/sbin/nologin
767
jenkins:*:818:818::0:0:Jenkins CI:/usr/local/jenkins:/bin/sh
767
jenkins:*:818:818::0:0:Jenkins CI:/usr/local/jenkins:/bin/sh
768
rundeck:*:819:819::0:0:Rundeck:/usr/local/rundeck:/bin/sh
768
rundeck:*:819:819::0:0:Rundeck:/usr/local/rundeck:/bin/sh
769
openacs:*:820:820::0:0:OpenACS Daemon User:/nonexistent:/usr/sbin/nologin
769
openacs:*:820:820::0:0:OpenACS Daemon User:/nonexistent:/usr/sbin/nologin
(-)net-p2p/Makefile (-1 / +1 lines)
Lines 12-18 Link Here
12
    SUBDIR += bitmessage
12
    SUBDIR += bitmessage
13
    SUBDIR += bnbt
13
    SUBDIR += bnbt
14
    SUBDIR += btpd
14
    SUBDIR += btpd
15
    SUBDIR += btsync
16
    SUBDIR += couchpotato
15
    SUBDIR += couchpotato
17
    SUBDIR += cpuminer
16
    SUBDIR += cpuminer
18
    SUBDIR += createtorrent
17
    SUBDIR += createtorrent
Lines 76-81 Link Here
76
    SUBDIR += qbittorrent-nox11
75
    SUBDIR += qbittorrent-nox11
77
    SUBDIR += radarr
76
    SUBDIR += radarr
78
    SUBDIR += retroshare
77
    SUBDIR += retroshare
78
    SUBDIR += rslsync
79
    SUBDIR += rtorrent
79
    SUBDIR += rtorrent
80
    SUBDIR += shx
80
    SUBDIR += shx
81
    SUBDIR += sonarr
81
    SUBDIR += sonarr
(-)net-p2p/btsync/Makefile (-51 lines)
Lines 1-51 Link Here
1
# $FreeBSD$
2
3
PORTNAME=	btsync
4
PORTVERSION=	2.3.8
5
CATEGORIES=	net-p2p
6
MASTER_SITES=	https://download-cdn.getsync.com/${PORTVERSION}/FreeBSD-${CONFIG_ARCH}/ \
7
		http://download-cdn.getsync.com/${PORTVERSION}/FreeBSD-${CONFIG_ARCH}/
8
DISTNAME=	BitTorrent-Sync_freebsd_${CONFIG_ARCH}
9
10
MAINTAINER=	joshruehlig@gmail.com
11
COMMENT=	Distributed peer-to-peer file syncing application
12
13
LICENSE=	EULA
14
LICENSE_NAME=	BitTorrent Sync
15
LICENSE_FILE=	${WRKSRC}/LICENSE.TXT
16
LICENSE_PERMS=	auto-accept
17
18
NO_WRKSUBDIR=	yes
19
NO_BUILD=	yes
20
ONLY_FOR_ARCHS=	amd64 i386
21
ONLY_FOR_ARCHS_REASON=	It is a binary-only program. Source code not available.
22
23
PLIST_SUB=	PORTNAME=${PORTNAME} USER=${USERS} GROUP=${GROUPS}
24
SUB_LIST=	PORTNAME=${PORTNAME} USER=${USERS} GROUP=${GROUPS}
25
SUB_FILES=	pkg-message
26
USE_RC_SUBR=	${PORTNAME}
27
28
USERS=		${PORTNAME}
29
GROUPS=		${USERS}
30
31
.include <bsd.port.pre.mk>
32
33
.if ${ARCH} == "amd64"
34
CONFIG_ARCH=	x64
35
.else
36
CONFIG_ARCH=	${ARCH}
37
.endif
38
39
post-extract:
40
	${MKDIR} ${WRKSRC}/temp
41
	${MV} ${WRKSRC}/${PORTNAME} ${WRKSRC}/temp
42
43
do-install:
44
	${INSTALL_PROGRAM} ${WRKSRC}/temp/btsync ${STAGEDIR}${PREFIX}/bin
45
	${WRKSRC}/temp/btsync --dump-sample-config > ${STAGEDIR}${PREFIX}/etc/${PORTNAME}.conf.sample
46
	${REINPLACE_CMD} -e 's;^//\([[:space:]]*"storage_path"[[:space:]]*:[[:space:]]*\)"/.*",$$;\1"/var/db/${PORTNAME}",;' ${STAGEDIR}${PREFIX}/etc/${PORTNAME}.conf.sample
47
	${REINPLACE_CMD} -e 's;^//\([[:space:]]*"pid_file"[[:space:]]*:[[:space:]]*"/var/run/${PORTNAME}/${PORTNAME}.pid",\)$$;\1;' ${STAGEDIR}${PREFIX}/etc/${PORTNAME}.conf.sample
48
49
	${MKDIR} ${STAGEDIR}/var/db/${PORTNAME}
50
51
.include <bsd.port.post.mk>
(-)net-p2p/btsync/distinfo (-5 lines)
Lines 1-5 Link Here
1
TIMESTAMP = 1466844210
2
SHA256 (BitTorrent-Sync_freebsd_i386.tar.gz) = 103ba012acd4af2365243f10f2fa8a2bdc551b47ac326b00a71624a0289c73fc
3
SIZE (BitTorrent-Sync_freebsd_i386.tar.gz) = 5714805
4
SHA256 (BitTorrent-Sync_freebsd_x64.tar.gz) = fa0312f6616eb29ac9daa4b436ffda3dda3790d03f57008271963c63006060f6
5
SIZE (BitTorrent-Sync_freebsd_x64.tar.gz) = 5879165
(-)net-p2p/btsync/files/btsync.in (-43 lines)
Lines 1-43 Link Here
1
#!/bin/sh
2
#
3
# $FreeBSD$
4
#
5
# PROVIDE: %%PORTNAME%%
6
# REQUIRE: LOGIN
7
# KEYWORD: shutdown
8
#
9
# Add the following lines to /etc/rc.conf.local or /etc/rc.conf
10
# to enable this service:
11
#
12
# %%PORTNAME%%_enable (bool):   Set to NO by default.
13
#                               Set it to YES to enable it.
14
# %%PORTNAME%%_user:            The user account %%PORTNAME%% daemon runs as
15
#                               what you want it to be. It uses '%%USER%%'
16
#                               user by default. Do not sets it as empty or it
17
#                               will run as root.
18
# %%PORTNAME%%_group:           The group account %%PORTNAME%% daemon runs as
19
#                               what you want it to be. It uses '%%GROUP%%'
20
#                               group by default. Do not sets it as empty or it
21
#                               will run as wheel.
22
23
. /etc/rc.subr
24
name="%%PORTNAME%%"
25
rcvar="${name}_enable"
26
load_rc_config $name
27
28
: ${%%PORTNAME%%_enable:="NO"}
29
: ${%%PORTNAME%%_user:="%%USER%%"}
30
: ${%%PORTNAME%%_group:="%%GROUP%%"}
31
32
pidfile="/var/run/%%PORTNAME%%/%%PORTNAME%%.pid"
33
command="%%PREFIX%%/bin/btsync"
34
command_args="--config %%PREFIX%%/etc/%%PORTNAME%%.conf"
35
36
start_precmd=%%PORTNAME%%_prestart
37
%%PORTNAME%%_prestart() {
38
	if [ ! -d ${pidfile%/*} ]; then
39
		install -d -o $%%PORTNAME%%_user -g $%%PORTNAME%%_group ${pidfile%/*}
40
	fi
41
}
42
43
run_rc_command "$1"
(-)net-p2p/btsync/files/pkg-message.in (-15 lines)
Lines 1-15 Link Here
1
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
2
3
net-p2p/%%PORTNAME%% includes an RC script:
4
%%PREFIX%%/etc/rc.d/%%PORTNAME%%
5
6
TO START ON BOOT:
7
# echo '%%PORTNAME%%_enable="YES"' >> /etc/rc.conf
8
9
START MANUALLY:
10
# service %%PORTNAME%% start
11
12
Once started, visit the following to configure:
13
http://localhost:8888/
14
15
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
(-)net-p2p/btsync/pkg-descr (-6 lines)
Lines 1-6 Link Here
1
Bittorrent Sync is a way to automatically sync files via a secure,
2
distributed technology. This allows users to share, sync and copy
3
data between computers and, optionally, share subsets of their data
4
with other people.
5
6
WWW: http://www.bittorrent.com/sync
(-)net-p2p/btsync/pkg-plist (-3 lines)
Lines 1-3 Link Here
1
bin/btsync
2
@sample etc/%%PORTNAME%%.conf.sample
3
@dir(%%USER%%,%%GROUP%%,) /var/db/%%PORTNAME%%
(-)net-p2p/rslsync/Makefile (-8 / +9 lines)
Lines 1-17 Link Here
1
# $FreeBSD$
1
# $FreeBSD$
2
2
3
PORTNAME=	btsync
3
PORTNAME=	rslsync
4
PORTVERSION=	2.3.8
4
PORTVERSION=	2.5.6
5
CATEGORIES=	net-p2p
5
CATEGORIES=	net-p2p
6
MASTER_SITES=	https://download-cdn.getsync.com/${PORTVERSION}/FreeBSD-${CONFIG_ARCH}/ \
6
MASTER_SITES=	https://download-cdn.resilio.com/${PORTVERSION}/FreeBSD-${CONFIG_ARCH}/ \
7
		http://download-cdn.getsync.com/${PORTVERSION}/FreeBSD-${CONFIG_ARCH}/
7
		http://download-cdn.resilio.com/${PORTVERSION}/FreeBSD-${CONFIG_ARCH}/
8
DISTNAME=	BitTorrent-Sync_freebsd_${CONFIG_ARCH}
8
DISTNAME=	resilio-sync_freebsd_${CONFIG_ARCH}
9
DIST_SUBDIR=	${PORTNAME}-${PORTVERSION}
9
10
10
MAINTAINER=	joshruehlig@gmail.com
11
MAINTAINER=	joshruehlig@gmail.com
11
COMMENT=	Distributed peer-to-peer file syncing application
12
COMMENT=	Distributed peer-to-peer file syncing application
12
13
13
LICENSE=	EULA
14
LICENSE=	EULA
14
LICENSE_NAME=	BitTorrent Sync
15
LICENSE_NAME=	Resilio Sync
15
LICENSE_FILE=	${WRKSRC}/LICENSE.TXT
16
LICENSE_FILE=	${WRKSRC}/LICENSE.TXT
16
LICENSE_PERMS=	auto-accept
17
LICENSE_PERMS=	auto-accept
17
18
Lines 41-48 post-extract: Link Here
41
	${MV} ${WRKSRC}/${PORTNAME} ${WRKSRC}/temp
42
	${MV} ${WRKSRC}/${PORTNAME} ${WRKSRC}/temp
42
43
43
do-install:
44
do-install:
44
	${INSTALL_PROGRAM} ${WRKSRC}/temp/btsync ${STAGEDIR}${PREFIX}/bin
45
	${INSTALL_PROGRAM} ${WRKSRC}/temp/rslsync ${STAGEDIR}${PREFIX}/bin
45
	${WRKSRC}/temp/btsync --dump-sample-config > ${STAGEDIR}${PREFIX}/etc/${PORTNAME}.conf.sample
46
	${WRKSRC}/temp/rslsync --dump-sample-config > ${STAGEDIR}${PREFIX}/etc/${PORTNAME}.conf.sample
46
	${REINPLACE_CMD} -e 's;^//\([[:space:]]*"storage_path"[[:space:]]*:[[:space:]]*\)"/.*",$$;\1"/var/db/${PORTNAME}",;' ${STAGEDIR}${PREFIX}/etc/${PORTNAME}.conf.sample
47
	${REINPLACE_CMD} -e 's;^//\([[:space:]]*"storage_path"[[:space:]]*:[[:space:]]*\)"/.*",$$;\1"/var/db/${PORTNAME}",;' ${STAGEDIR}${PREFIX}/etc/${PORTNAME}.conf.sample
47
	${REINPLACE_CMD} -e 's;^//\([[:space:]]*"pid_file"[[:space:]]*:[[:space:]]*"/var/run/${PORTNAME}/${PORTNAME}.pid",\)$$;\1;' ${STAGEDIR}${PREFIX}/etc/${PORTNAME}.conf.sample
48
	${REINPLACE_CMD} -e 's;^//\([[:space:]]*"pid_file"[[:space:]]*:[[:space:]]*"/var/run/${PORTNAME}/${PORTNAME}.pid",\)$$;\1;' ${STAGEDIR}${PREFIX}/etc/${PORTNAME}.conf.sample
48
49
(-)net-p2p/rslsync/distinfo (-5 / +5 lines)
Lines 1-5 Link Here
1
TIMESTAMP = 1466844210
1
TIMESTAMP = 1500511377
2
SHA256 (BitTorrent-Sync_freebsd_i386.tar.gz) = 103ba012acd4af2365243f10f2fa8a2bdc551b47ac326b00a71624a0289c73fc
2
SHA256 (rslsync-2.5.6/resilio-sync_freebsd_i386.tar.gz) = d9e945b020bcaecb81d84150e2b860b3035e55937ad9b0e7943fb071dbfb9f5b
3
SIZE (BitTorrent-Sync_freebsd_i386.tar.gz) = 5714805
3
SIZE (rslsync-2.5.6/resilio-sync_freebsd_i386.tar.gz) = 10956405
4
SHA256 (BitTorrent-Sync_freebsd_x64.tar.gz) = fa0312f6616eb29ac9daa4b436ffda3dda3790d03f57008271963c63006060f6
4
SHA256 (rslsync-2.5.6/resilio-sync_freebsd_x64.tar.gz) = 89bee505743075ba2ce45653e1e71bfae9bacbeefbc3fd6d06a7d722a44000c6
5
SIZE (BitTorrent-Sync_freebsd_x64.tar.gz) = 5879165
5
SIZE (rslsync-2.5.6/resilio-sync_freebsd_x64.tar.gz) = 11133558
(-)net-p2p/rslsync/pkg-plist (-1 / +1 lines)
Lines 1-3 Link Here
1
bin/btsync
1
bin/rslsync
2
@sample etc/%%PORTNAME%%.conf.sample
2
@sample etc/%%PORTNAME%%.conf.sample
3
@dir(%%USER%%,%%GROUP%%,) /var/db/%%PORTNAME%%
3
@dir(%%USER%%,%%GROUP%%,) /var/db/%%PORTNAME%%

Return to bug 220871