FreeBSD Bugzilla – Attachment 140684 Details for
Bug 187360
new port: net-p2p/btsync
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
file.shar
file.shar (text/plain), 5.06 KB, created by
joshruehlig
on 2014-03-08 01:20:01 UTC
(
hide
)
Description:
file.shar
Filename:
MIME Type:
Creator:
joshruehlig
Created:
2014-03-08 01:20:01 UTC
Size:
5.06 KB
patch
obsolete
># This is a shell archive. Save it in a file, remove anything before ># this line, and then unpack it by entering "sh file". Note, it may ># create directories; files and directories will be owned by you and ># have default permissions. ># ># This archive contains: ># ># btsync ># btsync/files ># btsync/files/pkg-message.in ># btsync/files/btsync.in ># btsync/pkg-plist ># btsync/pkg-descr ># btsync/distinfo ># btsync/Makefile ># >echo c - btsync >mkdir -p btsync > /dev/null 2>&1 >echo c - btsync/files >mkdir -p btsync/files > /dev/null 2>&1 >echo x - btsync/files/pkg-message.in >sed 's/^X//' >btsync/files/pkg-message.in << '95ce5a46d8be569ce093b7533a255508' >X* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * >X >Xnet-p2p/btsync includes an RC script: >X%%PREFIX%%/etc/rc.d/%%PORTNAME%% >X >XTO START BTSYNC ON BOOT: >Xecho 'btsync_enable="YES"' >> /etc/rc.conf >X >XSTART MANUALLY: >X%%PREFIX%%/etc/rc.d/%%PORTNAME%% start >X >XOnce started, visit the following to configure: >Xhttp://localhost:8888/ >X >X* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * >95ce5a46d8be569ce093b7533a255508 >echo x - btsync/files/btsync.in >sed 's/^X//' >btsync/files/btsync.in << '64819afaeed23226ed46a77814e11309' >X#!/bin/sh >X# >X# PROVIDE: %%PORTNAME%% >X# REQUIRE: NETWORKING SERVERS DAEMON ldconfig resolv >X# >X# Add the following lines to /etc/rc.conf.local or /etc/rc.conf >X# to enable this service: >X# >X# btsync_enable (bool): Set to NO by default. >X# Set it to YES to enable it. >X# btsync_data_dir: Directory where %%PORTNAME%% configuration >X# data is stored. >X# Default: %%PREFIX%%/etc/%%PORTNAME%% >X# btsync_user: The user account %%PORTNAME%% daemon runs as what >X# you want it to be. It uses '%%USER%%' user by >X# default. Do not sets it as empty or it will run >X# as root. >X# btsync_group: The group account %%PORTNAME%% daemon runs as what >X# you want it to be. It uses '%%GROUP%%' group by >X# default. Do not sets it as empty or it will run >X# as wheel. >X >X. /etc/rc.subr >Xname="%%PORTNAME%%" >Xrcvar="${name}_enable" >Xload_rc_config $name >X >X: ${btsync_enable:="NO"} >X: ${btsync_user:="%%USER%%"} >X: ${btsyncr_group:="%%GROUP%%"} >X: ${btsync_data_dir:="%%PREFIX%%/etc/%%PORTNAME%%"} >X >Xpidfile="$btsync_data_dir/sync.pid" >Xcommand="%%PREFIX%%/bin/btsync" >Xcommand_args="--config $btsync_data_dir/config.ini" >X >Xrun_rc_command "$1" >64819afaeed23226ed46a77814e11309 >echo x - btsync/pkg-plist >sed 's/^X//' >btsync/pkg-plist << '30d2f526778ca707f8632c3faf0d8368' >X@unexec %D/etc/rc.d/%%PORTNAME%% forcestop 2>/dev/null || true >X@unexec if cmp -s %D/etc/%%PORTNAME%%/config.ini.sample %D/etc/%%PORTNAME%%/config.ini; then rm -f %D/etc/%%PORTNAME%%/config.ini; fi >X%%ETCDIR%%/config.ini.sample >X@dirrmtry %%ETCDIR%% >X@exec if [ ! -f %D/etc/%%PORTNAME%%/config.ini ] ; then cp -p %D/etc/%%PORTNAME%%/config.ini.sample %D/etc/%%PORTNAME%%/config.ini; fi >X@exec chown -R %%USER%%:%%GROUP%% %D/etc/%%PORTNAME%% >Xbin/btsync >30d2f526778ca707f8632c3faf0d8368 >echo x - btsync/pkg-descr >sed 's/^X//' >btsync/pkg-descr << '92010dae403596fe833d9444b5125467' >XBittorrent 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. >X >XWWW: http://www.bittorrent.com/sync >92010dae403596fe833d9444b5125467 >echo x - btsync/distinfo >sed 's/^X//' >btsync/distinfo << 'a180c56fd5f147d80bb576e1c1853574' >XSHA256 (btsync_freebsd_x64-1.2.91.tar.gz) = 03146aa9804343d0d97b3cfb5fe758b3cfd52a03101a42668aff0afcfb629202 >XSIZE (btsync_freebsd_x64-1.2.91.tar.gz) = 1988531 >a180c56fd5f147d80bb576e1c1853574 >echo x - btsync/Makefile >sed 's/^X//' >btsync/Makefile << '3997951ecc0e65e1631b2e94c7af9cc5' >X# $FreeBSD$ >X >XPORTNAME= btsync >XPORTVERSION= 1.2.91 >XCATEGORIES= net-p2p >XMASTER_SITES= http://syncapp.bittorrent.com/${PORTVERSION}/ >XDISTNAME= ${PORTNAME}_freebsd_${CONFIG_ARCH}-${PORTVERSION} >X >XMAINTAINER= joshruehlig@gmail.com >XCOMMENT= Distributed peer-to-peer file syncing application. >X >X.include <bsd.port.options.mk> >X.if ${ARCH} == "amd64" >XCONFIG_ARCH= x64 >X.else >XCONFIG_ARCH= ${ARCH} >X.endif >X >XLICENSE= EULA >XLICENSE_NAME= BitTorrent Sync >XLICENSE_FILE= ${WRKSRC}/LICENSE.TXT >XLICENSE_PERMS= # Any copying or redistribution of the Software is prohibited. >X >X >XNO_WRKSUBDIR= yes >XNO_BUILD= yes >XONLY_FOR_ARCHES= amd64 i386 >XONLY_FOR_ARCHES_REASON= It is a binary-only program. Source code not available. >X >XPLIST_SUB= PORTNAME=${PORTNAME} USER=${USERS} GROUP=${GROUPS} >XSUB_LIST= PORTNAME=${PORTNAME} USER=${USERS} GROUP=${GROUPS} >XSUB_FILES= pkg-message >XUSE_RC_SUBR= ${PORTNAME} >X >XUSERS= ${PORTNAME} >XGROUPS= ${PORTNAME} >X >X.include <bsd.port.pre.mk> >X >Xpost-extract: >X ${MKDIR} ${WRKSRC}/temp >X ${MV} ${WRKSRC}/${PORTNAME} ${WRKSRC}/temp >X >Xdo-install: >X ${INSTALL_PROGRAM} ${WRKSRC}/temp/btsync ${STAGEDIR}${PREFIX}/bin >X ${INSTALL} -d ${STAGEDIR}/${ETCDIR} >X ${WRKSRC}/temp/btsync --dump-sample-config > ${STAGEDIR}/${ETCDIR}/config.ini.sample >X @${REINPLACE_CMD} -e 's!/home/user/.sync!${ETCDIR}!' ${STAGEDIR}/${ETCDIR}/config.ini.sample >X >X.include <bsd.port.post.mk> >3997951ecc0e65e1631b2e94c7af9cc5 >exit
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 Raw
Actions:
View
Attachments on
bug 187360
: 140684 |
140685
|
140686