ports/185774: New port: sysutils/realsync Parallel synchronization daemon for rsync written in Python. Supports config, threads waiting and email stats.
Krasimir Nachev
krasi at it-sys.org
Tue Jan 14 16:10:00 UTC 2014
>Number: 185774
>Category: ports
>Synopsis: New port: sysutils/realsync Parallel synchronization daemon for rsync written in Python. Supports config, threads waiting and email stats.
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Tue Jan 14 16:10:00 UTC 2014
>Closed-Date:
>Last-Modified:
>Originator: Krasimir Nachev
>Release: 9.2-RELEASE
>Organization:
it-sys.org
>Environment:
FreeBSD home.it-sys.org 10.0-PRERELEASE FreeBSD 10.0-PRERELEASE #0 r259276M: Fri Dec 13 13:26:38 EET 2013 root at home.it-sys.org:/usr/obj/usr/src/sys/Kn amd64
>Description:
I'd like you to include this simple tool in the ports system. I wrote it specially for FreeBSD, it's not ported software.
>How-To-Repeat:
n\a
>Fix:
n\a
Patch attached with submission follows:
# 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:
#
# realsync/
# realsync/Makefile
# realsync/distinfo
# realsync/pkg-message
# realsync/pkg-descr
# realsync/pkg-plist
#
echo c - realsync/
mkdir -p realsync/ > /dev/null 2>&1
echo x - realsync/Makefile
sed 's/^X//' >realsync/Makefile << '334d092604c16db88e856c31d0af19d5'
X# Created by: Krasimir Nachev krasi at it-sys.org
X# $FreeBSD$
X
XPORTNAME= realsync
XPORTVERSION= 0.1
XCATEGORIES= sysutils
XMASTER_SITES= http://www.it-sys.org/distfiles/
X
XMAINTAINER= krasi at it-sys.org
X
XCOMMENT= Parallel synchronization daemon for rsync written in Python. Supports config, threads waiting and email stats.
X
XLICENSE= BSD
X
XUSE_PYTHON= yes
X
XRUN_DEPENDS= rsync:${PORTSDIR}/net/rsync \
X sudo:${PORTSDIR}/security/sudo
X
XNO_BUILD= yes
X
XMAN8= realsync.8
X
X.include <bsd.port.pre.mk>
X
X.if ${OSVERSION} < 804000
XIGNORE= does not work on FreeBSD < 8.4
X.endif
X
Xdo-install:
X @${INSTALL_SCRIPT} ${WRKSRC}/realsync ${PREFIX}/sbin/realsync \
X & ${INSTALL_MAN} ${WRKSRC}/man8/realsync.8 ${PREFIX}/man/man8/realsync.8 \
X & ${INSTALL_SCRIPT} ${WRKSRC}/rc.d/realsync ${PREFIX}/etc/rc.d/realsync \
X & ${INSTALL_DATA} ${WRKSRC}/config/${PORTNAME}.cfg.example ${PREFIX}/etc/${PORTNAME}.cfg.example
X
X
Xpost-install:
X @${CAT} ${PKGMESSAGE}
X
XNO_STAGE= yes
X.include <bsd.port.post.mk>
334d092604c16db88e856c31d0af19d5
echo x - realsync/distinfo
sed 's/^X//' >realsync/distinfo << '1f2f1ee2b2a06610cfd2d376ea5faf3a'
XSHA256 (realsync-0.1.tar.gz) = c0c78ef72d1a086f65d44020b345f430accf7f942bce5f3649f6113fea1e137f
XSIZE (realsync-0.1.tar.gz) = 6052
1f2f1ee2b2a06610cfd2d376ea5faf3a
echo x - realsync/pkg-message
sed 's/^X//' >realsync/pkg-message << 'c64d744ae96a075372e6720aeb2eb4ce'
X-------------------------------------------------------------------------------------------
XAuthor: Krasimir Nachev e-mail: krasi at it-sys.org
XPlease:
X 1. Edit /usr/local/etc/realsync.cfg
X 2. Genenerate a ssh key with the command below:
X ssh-keygen -b 4048 -t rsa -C "realsync automatic sync"
X 3. Copy the key to some remote nodes:
X scp ~/.ssh/id_rsa.pub someuser at remote.node1.domain.org:.ssh/authorized_keys
X 4. Set realsync_enable="YES" in /etc/rc.conf
XStart the program: /usr/local/etc/rc.d/realsync start
XThat's all!
X-------------------------------------------------------------------------------------------
X
c64d744ae96a075372e6720aeb2eb4ce
echo x - realsync/pkg-descr
sed 's/^X//' >realsync/pkg-descr << '9da1d01979979cbfd20c95b524777488'
Xrealsync daemon with rsync and python:
X- config support /usr/local/etc/realsync.cfg
X- e-mail stats support
X- threads support
X- threads wait support
X
XWWW: http://www.it-sys.org/realsync
9da1d01979979cbfd20c95b524777488
echo x - realsync/pkg-plist
sed 's/^X//' >realsync/pkg-plist << '5788506db4b4bdab12c68e875d49ac04'
Xsbin/realsync
5788506db4b4bdab12c68e875d49ac04
exit
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list