I'd like you to include this simple tool in the ports system. I wrote it specially for FreeBSD, it's not ported software. Fix: n\a Patch attached with submission follows: How-To-Repeat: n\a
Responsible Changed From-To: freebsd-ports-bugs->danilo I'll take it.
State Changed From-To: open->closed Committed, with minor changes. Thanks!
Author: danilo Date: Fri Jan 17 16:54:52 2014 New Revision: 340070 URL: http://svnweb.freebsd.org/changeset/ports/340070 QAT: https://qat.redports.org/buildarchive/r340070/ Log: - Add new port sysutils/realsync realsync daemon with rsync and python: - config support /usr/local/etc/realsync.cfg - e-mail stats support - threads support - threads wait support PR: ports/185774 Submitted by: Krasimir Nachev <krasi@it-sys.org> Added: head/sysutils/realsync/ head/sysutils/realsync/Makefile (contents, props changed) head/sysutils/realsync/distinfo (contents, props changed) head/sysutils/realsync/files/ head/sysutils/realsync/files/pkg-message.in (contents, props changed) head/sysutils/realsync/pkg-descr (contents, props changed) Modified: head/sysutils/Makefile Modified: head/sysutils/Makefile ============================================================================== --- head/sysutils/Makefile Fri Jan 17 16:52:55 2014 (r340069) +++ head/sysutils/Makefile Fri Jan 17 16:54:52 2014 (r340070) @@ -774,6 +774,7 @@ SUBDIR += rdiff-backup-devel SUBDIR += rdup SUBDIR += readlink + SUBDIR += realsync SUBDIR += recoverdm SUBDIR += reed SUBDIR += rej Added: head/sysutils/realsync/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/sysutils/realsync/Makefile Fri Jan 17 16:54:52 2014 (r340070) @@ -0,0 +1,39 @@ +# Created by: Krasimir Nachev krasi@it-sys.org +# $FreeBSD$ + +PORTNAME= realsync +PORTVERSION= 0.1 +CATEGORIES= sysutils +MASTER_SITES= http://www.it-sys.org/distfiles/ + +MAINTAINER= krasi@it-sys.org +COMMENT= Parallel synchronization daemon for rsync + +LICENSE= BSD2CLAUSE + +RUN_DEPENDS= rsync:${PORTSDIR}/net/rsync \ + sudo:${PORTSDIR}/security/sudo + +USE_PYTHON= yes +NO_BUILD= yes + +SUB_FILES= pkg-message + +PLIST_FILES= sbin/realsync \ + etc/rc.d/realsync \ + etc/realsync.cfg.example \ + man/man8/realsync.8.gz + +.include <bsd.port.pre.mk> + +.if ${OSVERSION} < 804000 +IGNORE= does not work on FreeBSD < 8.4 +.endif + +do-install: + @${INSTALL_SCRIPT} ${WRKSRC}/realsync ${STAGEDIR}${PREFIX}/sbin/realsync + ${INSTALL_MAN} ${WRKSRC}/man8/realsync.8 ${STAGEDIR}${PREFIX}/man/man8/realsync.8 + ${INSTALL_SCRIPT} ${WRKSRC}/rc.d/realsync ${STAGEDIR}${PREFIX}/etc/rc.d/realsync + ${INSTALL_DATA} ${WRKSRC}/config/${PORTNAME}.cfg.example ${STAGEDIR}${PREFIX}/etc/${PORTNAME}.cfg.example + +.include <bsd.port.post.mk> Added: head/sysutils/realsync/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/sysutils/realsync/distinfo Fri Jan 17 16:54:52 2014 (r340070) @@ -0,0 +1,2 @@ +SHA256 (realsync-0.1.tar.gz) = c0c78ef72d1a086f65d44020b345f430accf7f942bce5f3649f6113fea1e137f +SIZE (realsync-0.1.tar.gz) = 6052 Added: head/sysutils/realsync/files/pkg-message.in ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/sysutils/realsync/files/pkg-message.in Fri Jan 17 16:54:52 2014 (r340070) @@ -0,0 +1,13 @@ +------------------------------------------------------------------------------------------- +Author: Krasimir Nachev e-mail: krasi@it-sys.org +Please: + 1. Edit %%PREFIX%%/etc/realsync.cfg + 2. Genenerate a ssh key with the command below: + ssh-keygen -b 4048 -t rsa -C "realsync automatic sync" + 3. Copy the key to some remote nodes: + scp ~/.ssh/id_rsa.pub someuser@remote.node1.domain.org:.ssh/authorized_keys + 4. Set realsync_enable="YES" in /etc/rc.conf +Start the program: %%PREFIX%%/etc/rc.d/realsync start +That's all! +------------------------------------------------------------------------------------------- + Added: head/sysutils/realsync/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/sysutils/realsync/pkg-descr Fri Jan 17 16:54:52 2014 (r340070) @@ -0,0 +1,7 @@ +realsync daemon with rsync and python: +- config support /usr/local/etc/realsync.cfg +- e-mail stats support +- threads support +- threads wait support + +WWW: http://www.it-sys.org/realsync _______________________________________________ svn-ports-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-ports-all To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"