diff options
author | markp <markp@FreeBSD.org> | 2002-04-02 22:25:46 +0800 |
---|---|---|
committer | markp <markp@FreeBSD.org> | 2002-04-02 22:25:46 +0800 |
commit | 6403487573887c1f7f3fe9755e51e49a33323267 (patch) | |
tree | 85c73fc53557bdc837aa8cf37bc05a3c6d4a9c81 /sysutils | |
parent | 7c851964c17015680bc09e9c7500e80f79adea35 (diff) | |
download | freebsd-ports-graphics-6403487573887c1f7f3fe9755e51e49a33323267.tar.gz freebsd-ports-graphics-6403487573887c1f7f3fe9755e51e49a33323267.tar.zst freebsd-ports-graphics-6403487573887c1f7f3fe9755e51e49a33323267.zip |
Add ssync 2.2, a minimalistic tool for keeping filesystems in
synchronization.
PR: 36227
Submitted by: Andrew Shevtsov <nyxo@dnuc.polyn.kiae.su>
Diffstat (limited to 'sysutils')
-rw-r--r-- | sysutils/Makefile | 1 | ||||
-rw-r--r-- | sysutils/ssync/Makefile | 38 | ||||
-rw-r--r-- | sysutils/ssync/distinfo | 1 | ||||
-rw-r--r-- | sysutils/ssync/pkg-comment | 1 | ||||
-rw-r--r-- | sysutils/ssync/pkg-descr | 7 | ||||
-rw-r--r-- | sysutils/ssync/pkg-message | 2 | ||||
-rw-r--r-- | sysutils/ssync/pkg-plist | 5 |
7 files changed, 55 insertions, 0 deletions
diff --git a/sysutils/Makefile b/sysutils/Makefile index 3c1d991451b..125fb4f101f 100644 --- a/sysutils/Makefile +++ b/sysutils/Makefile @@ -163,6 +163,7 @@ SUBDIR += slay SUBDIR += slmon SUBDIR += socket + SUBDIR += ssync SUBDIR += star SUBDIR += stat SUBDIR += stmpclean diff --git a/sysutils/ssync/Makefile b/sysutils/ssync/Makefile new file mode 100644 index 00000000000..54bf231e832 --- /dev/null +++ b/sysutils/ssync/Makefile @@ -0,0 +1,38 @@ +# New ports collection makefile for: ssync +# Date created: 23 March 2002 +# Whom: Andrew Shevtsov <nyxo@dnuc.polyn.kiae.su> +# +# $FreeBSD$ +# + +PORTNAME= ssync +PORTVERSION= 2.2 +CATEGORIES= sysutils +MASTER_SITES= http://equusasinus.com/ssync/ + +MAINTAINER= nyxo@dnuc.polyn.kiae.su + +ALL_TARGET= default +USE_GMAKE= yes +MAKEFILE= makefile + +MAN1= ssync.1 + +post-patch: + @${PERL} -pi -e 's@/etc/init.d/ssyncd@\$$0@g' ${WRKSRC}/ssyncd.init + @${PERL} -pi -e "s@/etc@${PREFIX}/etc@g;s@/usr/sbin@${PREFIX}/sbin@g;" \ + ${WRKSRC}/ssyncd.init ${WRKSRC}/ssyncd.conf ${WRKSRC}/daemon.c + @${PERL} -pi -e "s@ +CFLAGS.+@@g; s@ +LDFLAGS.+@@g;" ${WRKSRC}/makefile + +do-install: + @${INSTALL_PROGRAM} ${WRKSRC}/ssync ${PREFIX}/bin/ssync + @${INSTALL_PROGRAM} ${WRKSRC}/ssyncd ${PREFIX}/sbin/ssyncd + @${INSTALL_DATA} ${WRKSRC}/ssyncd.conf ${PREFIX}/etc/ssyncd.conf.sample + @${INSTALL_DATA} ${WRKSRC}/ssyncd.work ${PREFIX}/etc/ssyncd.work.sample + @${INSTALL_SCRIPT} ${WRKSRC}/ssyncd.init ${PREFIX}/etc/rc.d/ssyncd.init + @${INSTALL_MAN} ${WRKSRC}/ssync.man ${MAN1PREFIX}/man/man1/ssync.1 + +post-install: + @${CAT} ${PKGMESSAGE} + +.include <bsd.port.mk> diff --git a/sysutils/ssync/distinfo b/sysutils/ssync/distinfo new file mode 100644 index 00000000000..ea61d640449 --- /dev/null +++ b/sysutils/ssync/distinfo @@ -0,0 +1 @@ +MD5 (ssync-2.2.tar.gz) = 74c3f2d7860d6819fb8c284af5956cd2 diff --git a/sysutils/ssync/pkg-comment b/sysutils/ssync/pkg-comment new file mode 100644 index 00000000000..35dd8f42bf7 --- /dev/null +++ b/sysutils/ssync/pkg-comment @@ -0,0 +1 @@ +A minimalistic tool for keeping filesystems in synchronization diff --git a/sysutils/ssync/pkg-descr b/sysutils/ssync/pkg-descr new file mode 100644 index 00000000000..4a98f3ddceb --- /dev/null +++ b/sysutils/ssync/pkg-descr @@ -0,0 +1,7 @@ +Ssync is a minimalistic tool for keeping filesystems in synchronization. +The main goals in writing ssync are correctness, simplicity, speed, +low-resource comsumption and portability. It features a number of options +to control how things are synchronized and under what conditions, as well +as useful dry-run and verbose modes. + +WWW: http://equusasinus.com/ssync/ diff --git a/sysutils/ssync/pkg-message b/sysutils/ssync/pkg-message new file mode 100644 index 00000000000..4ddb1c9b24a --- /dev/null +++ b/sysutils/ssync/pkg-message @@ -0,0 +1,2 @@ +You will need to copy ssyncd.conf.sample to ssyncd.conf and +ssyncd.work.sample to ssyncd.work before this port can be used. diff --git a/sysutils/ssync/pkg-plist b/sysutils/ssync/pkg-plist new file mode 100644 index 00000000000..bd85462a0d2 --- /dev/null +++ b/sysutils/ssync/pkg-plist @@ -0,0 +1,5 @@ +bin/ssync +sbin/ssyncd +etc/ssyncd.conf.sample +etc/ssyncd.work.sample +etc/rc.d/ssyncd.init |