ports/98753: New port: sysutils/rdup A backup utility intended to replace sysutils/hdup in the future
Günther Van der Eecken
ports at prodius.be
Fri Jun 9 14:40:14 UTC 2006
>Number: 98753
>Category: ports
>Synopsis: New port: sysutils/rdup A backup utility intended to replace sysutils/hdup in the future
>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: Fri Jun 09 14:40:12 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator: root
>Release: FreeBSD 6.0-RELEASE-p6 i386
>Organization:
Prodius BVBA
>Environment:
System: FreeBSD srv05a.prodius.be 6.0-RELEASE-p6 FreeBSD 6.0-RELEASE-p6 #0: Thu Apr 6 17:53:26 CEST 2006 root at srv05.intra.prodius.net:/usr/obj/usr/src/sys/SRV05 i386
>Description:
Rdup is a utility inspired by rsync and the plan9 way of doing backups
>How-To-Repeat:
>Fix:
--- rdup begins here ---
# 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:
#
# .
# ./Makefile
# ./pkg-descr
# ./distinfo
# ./pkg-plist
#
echo c - .
mkdir -p . > /dev/null 2>&1
echo x - ./Makefile
sed 's/^X//' >./Makefile << 'END-of-./Makefile'
X# New ports collection makefile for: rdup
X# Date created: 08 June 2006
X# Whom: Günther Van der Eecken <ports at prodius.be>
X#
X# $FreeBSD$
X#
X
XPORTNAME= rdup
XPORTVERSION= 0.2.13
XCATEGORIES= sysutils
XMASTER_SITES= http://www.miek.nl/projects/rdup/ \
X http://www.prodius.net/mirrors/rdup/
X
XMAINTAINER= ports at prodius.be
XCOMMENT= Rdup is a utility inspired by rsync and the plan9 way of doing backups
X
XBUILD_DEPENDS= bash:${PORTSDIR}/shells/bash
XRUN_DEPENDS= bash:${PORTSDIR}/shells/bash
X
XMAN1= hist.sh.1 yesterday.sh.1 crypt.sh.1 gzip.sh.1
XMAN8= rdup.8 mirror.sh.8 dump.sh.8 dump-here.sh.8 monthday.sh.8 \
X rorrim.sh.8 restore.sh.8
X
XUSE_BZIP2= yes
XUSE_GMAKE= yes
XGNU_CONFIGURE= yes
XUSE_GNOME= glib20
XCONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
XUSE_AUTOTOOLS= autoconf:259
X
X.include <bsd.port.pre.mk>
X
X.if defined(WITH_MCRYPT)
XRUN_DEPENDS+= mcrypt:${PORTSDIR}/security/mcrypt
X.endif
X.if defined(WITH_CSTREAM)
XRUN_DEPENDS+= cstream:${PORTSDIR}/misc/cstream
X.endif
X
Xpre-everything::
X @${ECHO}
X @${ECHO} "You can build ${PKGNAME} with the following options"
X @${ECHO} "WITH_MCRYPT install MCRYPT for encryption support"
X @${ECHO} "WITH_CSTREAM install CSTREAM for bandwith management support"
X @${ECHO}
X @sleep 2
X
Xpost-extract:
X for i in `${FIND} ${WRKSRC} -name *.sh.in`; do \
X ${REINPLACE_CMD} \
X -e "s,/bin/bash,${LOCALBASE}/bin/bash," \
X $${i}; \
X done
X
X.include <bsd.port.post.mk>
END-of-./Makefile
echo x - ./pkg-descr
sed 's/^X//' >./pkg-descr << 'END-of-./pkg-descr'
Xrdup is a utility inspired by rsync and the plan9 way of doing backups.
Xrdup itself does not backup anything. It only prints a list of files that are
Xchanged, or all files in case of a null dump, to standard output.
X
XThe general idea is to be very unix like and create a bunch of simple programs
Xwhich each do a their specific thing very well. With rdup and a small shell
Xscript (50 lines) one can implement encrypted and compressed backups.
X
XThe best backup program.... does not backup anything. Hence rdup.
X
XWWW: http://www.miek.nl/projects/rdup
END-of-./pkg-descr
echo x - ./distinfo
sed 's/^X//' >./distinfo << 'END-of-./distinfo'
XMD5 (rdup-0.2.13.tar.bz2) = 3be44c852f4aeb4b3ac47b4c2c37d5d0
XSHA256 (rdup-0.2.13.tar.bz2) = f2149e5a42ca8364f2c50a43c58e352b83ee674c2332d8f41d64a5550e341e90
XSIZE (rdup-0.2.13.tar.bz2) = 266010
END-of-./distinfo
echo x - ./pkg-plist
sed 's/^X//' >./pkg-plist << 'END-of-./pkg-plist'
Xsbin/crypt.sh
Xsbin/dump-here.sh
Xsbin/dump.sh
Xsbin/gzip.sh
Xsbin/hist.sh
Xsbin/mirror.sh
Xsbin/monthday.sh
Xsbin/rdup
Xsbin/restore.sh
Xsbin/rorrim.sh
Xsbin/yesterday.sh
X at exec mkdir -p %D/etc/rdup
X at dirrmtry etc/rdup
END-of-./pkg-plist
exit
--- rdup ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list