FreeBSD Bugzilla – Attachment 210965 Details for
Bug 243519
[NEW PORT] net-p2p/rslsync-beta: has fix for 4G files
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
new port adding
rslsync-beta.patch (text/plain), 7.26 KB, created by
Volodymyr Kostyrko
on 2020-01-22 14:50:41 UTC
(
hide
)
Description:
new port adding
Filename:
MIME Type:
Creator:
Volodymyr Kostyrko
Created:
2020-01-22 14:50:41 UTC
Size:
7.26 KB
patch
obsolete
>Index: net-p2p/rslsync-beta/Makefile >=================================================================== >--- net-p2p/rslsync-beta/Makefile (nonexistent) >+++ net-p2p/rslsync-beta/Makefile (working copy) >@@ -0,0 +1,55 @@ >+# $FreeBSD$ >+ >+PORTNAME= rslsync >+PORTVERSION= 2.6.10056 >+CATEGORIES= net-p2p >+MASTER_SITES= https://internal.resilio.com/support/debug/sync/${PORTVERSION}/ >+PKGNAMESUFFIX= -beta >+DISTNAME= resilio-sync_freebsd_${CONFIG_ARCH} >+DIST_SUBDIR= ${PORTNAME}-${PORTVERSION} >+ >+MAINTAINER= arcade@b1t.name >+COMMENT= Distributed peer-to-peer file syncing application (beta build) >+ >+LICENSE= EULA >+LICENSE_NAME= Resilio Sync >+LICENSE_FILE= ${WRKSRC}/LICENSE.TXT >+LICENSE_PERMS= auto-accept >+ >+ONLY_FOR_ARCHS= amd64 #i386 >+ONLY_FOR_ARCHS_REASON= It is a binary-only program. Source code not available. >+ >+CONFLICTS_INSTALL= rslsync >+ >+NO_WRKSUBDIR= yes >+ >+PLIST_SUB= USER=${USERS} GROUP=${GROUPS} >+SUB_LIST= USER=${USERS} GROUP=${GROUPS} >+SUB_FILES= pkg-message >+USE_RC_SUBR= rslsync >+ >+USERS= rslsync >+GROUPS= ${USERS} >+ >+.include <bsd.port.pre.mk> >+ >+.if ${ARCH} == "amd64" >+CONFIG_ARCH= x64 >+.else >+CONFIG_ARCH= ${ARCH} >+.endif >+ >+do-build: >+ ${WRKSRC}/rslsync --nodaemon --storage ${WRKSRC} --dump-sample-config > ${WRKSRC}/rslsync.conf.sample >+ ${REINPLACE_CMD} -e 's;^//\([[:space:]]*"storage_path"[[:space:]]*:[[:space:]]*\)"/.*",$$;\1"/var/db/rslsync",;' ${WRKSRC}/rslsync.conf.sample >+ ${REINPLACE_CMD} -e 's;^//\([[:space:]]*"pid_file"[[:space:]]*:[[:space:]]*\)"/.*",$$;\1"/var/run/rslsync/rslsync.pid",;' ${WRKSRC}/rslsync.conf.sample >+ >+do-install: >+ ${INSTALL_PROGRAM} ${WRKSRC}/rslsync ${STAGEDIR}${PREFIX}/bin >+ ${INSTALL_DATA} ${WRKSRC}/rslsync.conf.sample ${STAGEDIR}${PREFIX}/etc >+ ${MKDIR} ${STAGEDIR}/var/db/rslsync >+ >+maintainer-makesum: >+ for arch in ${ONLY_FOR_ARCHS}; do ${MAKE} DISTINFO_FILE=/dev/stdout ARCH=$$arch makesum; done | ${AWK} '$$1 != "TIMESTAMP" || NR == 1' > ${DISTINFO_FILE} >+ >+.include <bsd.port.post.mk> > >Property changes on: net-p2p/rslsync-beta/Makefile >___________________________________________________________________ >Added: svn:eol-style >## -0,0 +1 ## >+native >\ No newline at end of property >Added: svn:keywords >## -0,0 +1 ## >+FreeBSD=%H >\ No newline at end of property >Added: svn:mime-type >## -0,0 +1 ## >+text/plain >\ No newline at end of property >Index: net-p2p/rslsync-beta/distinfo >=================================================================== >--- net-p2p/rslsync-beta/distinfo (nonexistent) >+++ net-p2p/rslsync-beta/distinfo (working copy) >@@ -0,0 +1,3 @@ >+TIMESTAMP = 1579475384 >+SHA256 (rslsync-2.6.10056/resilio-sync_freebsd_x64.tar.gz) = 47a1bdd5f877c7c2ed0c38e7b7299c7565ee1ab720a7a74adb1eccd9e38c32cd >+SIZE (rslsync-2.6.10056/resilio-sync_freebsd_x64.tar.gz) = 13097821 > >Property changes on: net-p2p/rslsync-beta/distinfo >___________________________________________________________________ >Added: fbsd:nokeywords >## -0,0 +1 ## >+yes >\ No newline at end of property >Added: svn:eol-style >## -0,0 +1 ## >+native >\ No newline at end of property >Added: svn:mime-type >## -0,0 +1 ## >+text/plain >\ No newline at end of property >Index: net-p2p/rslsync-beta/files/pkg-message.in >=================================================================== >--- net-p2p/rslsync-beta/files/pkg-message.in (nonexistent) >+++ net-p2p/rslsync-beta/files/pkg-message.in (working copy) >@@ -0,0 +1,17 @@ >+[ >+{ type: install >+ message: <<EOM >+net-p2p/rslsync includes an RC script: >+%%PREFIX%%/etc/rc.d/rslsync >+ >+TO START ON BOOT: >+# sysrc rslsync_enable=YES >+ >+START MANUALLY: >+# service rslsync start >+ >+Once started, visit the following to configure: >+http://localhost:8888/ >+EOM >+} >+] > >Property changes on: net-p2p/rslsync-beta/files/pkg-message.in >___________________________________________________________________ >Added: fbsd:nokeywords >## -0,0 +1 ## >+yes >\ No newline at end of property >Added: svn:eol-style >## -0,0 +1 ## >+native >\ No newline at end of property >Added: svn:mime-type >## -0,0 +1 ## >+text/plain >\ No newline at end of property >Index: net-p2p/rslsync-beta/files/rslsync.in >=================================================================== >--- net-p2p/rslsync-beta/files/rslsync.in (nonexistent) >+++ net-p2p/rslsync-beta/files/rslsync.in (working copy) >@@ -0,0 +1,43 @@ >+#!/bin/sh >+# >+# $FreeBSD: head/net-p2p/rslsync/files/rslsync.in 469847 2018-05-14 02:55:52Z knu $ >+# >+# PROVIDE: rslsync >+# REQUIRE: LOGIN >+# KEYWORD: shutdown >+# >+# Add the following lines to /etc/rc.conf.local or /etc/rc.conf >+# to enable this service: >+# >+# rslsync_enable (bool): Set to NO by default. >+# Set it to YES to enable it. >+# rslsync_user: The user account rslsync daemon runs as >+# what you want it to be. It uses '%%USER%%' >+# user by default. Do not sets it as empty or it >+# will run as root. >+# rslsync_group: The group account rslsync daemon runs as >+# what you want it to be. It uses '%%GROUP%%' >+# group by default. Do not sets it as empty or it >+# will run as wheel. >+ >+. /etc/rc.subr >+name="rslsync" >+rcvar="${name}_enable" >+load_rc_config ${name} >+ >+: ${rslsync_enable:="NO"} >+: ${rslsync_user:="%%USER%%"} >+: ${rslsync_group:="%%GROUP%%"} >+ >+pidfile="/var/run/rslsync/rslsync.pid" >+command="%%PREFIX%%/bin/rslsync" >+command_args="--config %%PREFIX%%/etc/rslsync.conf" >+ >+start_precmd=rslsync_prestart >+rslsync_prestart() { >+ if [ ! -d ${pidfile%/*} ]; then >+ install -d -o ${rslsync_user} -g ${rslsync_group} ${pidfile%/*} >+ fi >+} >+ >+run_rc_command "$1" > >Property changes on: net-p2p/rslsync-beta/files/rslsync.in >___________________________________________________________________ >Added: svn:eol-style >## -0,0 +1 ## >+native >\ No newline at end of property >Added: svn:mime-type >## -0,0 +1 ## >+text/plain >\ No newline at end of property >Index: net-p2p/rslsync-beta/pkg-descr >=================================================================== >--- net-p2p/rslsync-beta/pkg-descr (nonexistent) >+++ net-p2p/rslsync-beta/pkg-descr (working copy) >@@ -0,0 +1,6 @@ >+Resilio Sync is a way to automatically sync files via a secure, >+distributed technology. This allows users to share, sync and copy >+data between computers and, optionally, share subsets of their data >+with other people. >+ >+WWW: https://www.resilio.com/ > >Property changes on: net-p2p/rslsync-beta/pkg-descr >___________________________________________________________________ >Added: fbsd:nokeywords >## -0,0 +1 ## >+yes >\ No newline at end of property >Added: svn:eol-style >## -0,0 +1 ## >+native >\ No newline at end of property >Added: svn:mime-type >## -0,0 +1 ## >+text/plain >\ No newline at end of property >Index: net-p2p/rslsync-beta/pkg-plist >=================================================================== >--- net-p2p/rslsync-beta/pkg-plist (nonexistent) >+++ net-p2p/rslsync-beta/pkg-plist (working copy) >@@ -0,0 +1,3 @@ >+bin/rslsync >+@sample etc/rslsync.conf.sample >+@dir(%%USER%%,%%GROUP%%,) /var/db/rslsync > >Property changes on: net-p2p/rslsync-beta/pkg-plist >___________________________________________________________________ >Added: fbsd:nokeywords >## -0,0 +1 ## >+yes >\ No newline at end of property >Added: svn:eol-style >## -0,0 +1 ## >+native >\ No newline at end of property >Added: svn:mime-type >## -0,0 +1 ## >+text/plain >\ No newline at end of property
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 243519
: 210965