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

Collapse All | Expand All

(-)GIDs (-1 / +1 lines)
Lines 758-764 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:
(-)MOVED (+1 lines)
Lines 9471-9473 Link Here
9471
audio/gstreamer1-plugins-mad|audio/gstreamer1-plugins-mpg123|2017-07-21|The GStreamer 1 mad plugin was removed, the mpg123 plugin supplies the same functionality
9471
audio/gstreamer1-plugins-mad|audio/gstreamer1-plugins-mpg123|2017-07-21|The GStreamer 1 mad plugin was removed, the mpg123 plugin supplies the same functionality
9472
x11-toolkits/gstreamer1-plugins-gtksink|x11-toolkits/gstreamer1-plugins-gtk|2017-07-21|The GStreamer 1 gtksink plugin was renamed
9472
x11-toolkits/gstreamer1-plugins-gtksink|x11-toolkits/gstreamer1-plugins-gtk|2017-07-21|The GStreamer 1 gtksink plugin was renamed
9473
devel/ffcall|devel/libffcall|2017-07-28|Project was renamed
9473
devel/ffcall|devel/libffcall|2017-07-28|Project was renamed
9474
net-p2p/btsync|net-p2p/rslsync|2017-07-20|Renamed by the vendor
(-)UIDs (-1 / +1 lines)
Lines 763-769 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/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 (+49 lines)
Line 0 Link Here
1
# $FreeBSD$
2
3
PORTNAME=	rslsync
4
PORTVERSION=	2.5.6
5
CATEGORIES=	net-p2p
6
MASTER_SITES=	https://download-cdn.resilio.com/${PORTVERSION}/FreeBSD-${CONFIG_ARCH}/ \
7
		http://download-cdn.resilio.com/${PORTVERSION}/FreeBSD-${CONFIG_ARCH}/
8
DISTNAME=	resilio-sync_freebsd_${CONFIG_ARCH}
9
DIST_SUBDIR=	${PORTNAME}-${PORTVERSION}
10
11
MAINTAINER=	joshruehlig@gmail.com
12
COMMENT=	Distributed peer-to-peer file syncing application
13
14
LICENSE=	EULA
15
LICENSE_NAME=	Resilio Sync
16
LICENSE_FILE=	${WRKSRC}/LICENSE.TXT
17
LICENSE_PERMS=	auto-accept
18
19
NO_WRKSUBDIR=	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=	USER=${USERS} GROUP=${GROUPS}
24
SUB_LIST=	USER=${USERS} GROUP=${GROUPS}
25
SUB_FILES=	pkg-message
26
USE_RC_SUBR=	rslsync
27
28
USERS=		rslsync
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
do-build:
40
	${WRKSRC}/rslsync --dump-sample-config > ${WRKSRC}/rslsync.conf.sample
41
	${REINPLACE_CMD} -e 's;^//\([[:space:]]*"storage_path"[[:space:]]*:[[:space:]]*\)"/.*",$$;\1"/var/db/rslsync",;' ${WRKSRC}/rslsync.conf.sample
42
	${REINPLACE_CMD} -e 's;^//\([[:space:]]*"pid_file"[[:space:]]*:[[:space:]]*\)"/.*",$$;\1"/var/run/rslsync/rslsync.pid",;' ${WRKSRC}/rslsync.conf.sample
43
44
do-install:
45
	${INSTALL_PROGRAM} ${WRKSRC}/rslsync ${STAGEDIR}${PREFIX}/bin
46
	${INSTALL_DATA} ${WRKSRC}/rslsync.conf.sample ${STAGEDIR}${PREFIX}/etc
47
	${MKDIR} ${STAGEDIR}/var/db/rslsync
48
49
.include <bsd.port.post.mk>
(-)net-p2p/rslsync/distinfo (+5 lines)
Line 0 Link Here
1
TIMESTAMP = 1500511377
2
SHA256 (rslsync-2.5.6/resilio-sync_freebsd_i386.tar.gz) = d9e945b020bcaecb81d84150e2b860b3035e55937ad9b0e7943fb071dbfb9f5b
3
SIZE (rslsync-2.5.6/resilio-sync_freebsd_i386.tar.gz) = 10956405
4
SHA256 (rslsync-2.5.6/resilio-sync_freebsd_x64.tar.gz) = 89bee505743075ba2ce45653e1e71bfae9bacbeefbc3fd6d06a7d722a44000c6
5
SIZE (rslsync-2.5.6/resilio-sync_freebsd_x64.tar.gz) = 11133558
(-)net-p2p/rslsync/files/pkg-message.in (+15 lines)
Line 0 Link Here
1
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
2
3
net-p2p/rslsync includes an RC script:
4
%%PREFIX%%/etc/rc.d/rslsync
5
6
TO START ON BOOT:
7
# sysrc rslsync_enable=YES
8
9
START MANUALLY:
10
# service rslsync start
11
12
Once started, visit the following to configure:
13
http://localhost:8888/
14
15
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
(-)net-p2p/rslsync/files/rslsync.in (+43 lines)
Line 0 Link Here
1
#!/bin/sh
2
#
3
# $FreeBSD$
4
#
5
# PROVIDE: rslsync
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
# rslsync_enable (bool):        Set to NO by default.
13
#                               Set it to YES to enable it.
14
# rslsync_user:        	        The user account rslsync 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
# rslsync_group:                The group account rslsync 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="rslsync"
25
rcvar="${name}_enable"
26
load_rc_config ${name}
27
28
: ${rslsync_enable:="NO"}
29
: ${rslsync_user:="%%USER%%"}
30
: ${rslsync_group:="%%GROUP%%"}
31
32
pidfile="/var/run/rslsync/rslsync.pid"
33
command="%%PREFIX%%/bin/rslsync"
34
command_args="--config %%PREFIX%%/etc/rslsync.conf"
35
36
start_precmd=rslsync_prestart
37
rslsync_prestart() {
38
	if [ ! -d ${pidfile%/*} ]; then
39
		install -d -o ${rslsync_user} -g ${rslsync_group} ${pidfile%/*}
40
	fi
41
}
42
43
run_rc_command "$1"
(-)net-p2p/rslsync/pkg-descr (+6 lines)
Line 0 Link Here
1
Resilio 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: https://www.resilio.com/
(-)net-p2p/rslsync/pkg-plist (+3 lines)
Line 0 Link Here
1
bin/rslsync
2
@sample etc/rslsync.conf.sample
3
@dir(%%USER%%,%%GROUP%%,) /var/db/rslsync

Return to bug 220871