ports/135532: [NEW PORT] sysutils/rdup - a tool to generate an (incremental) backup file list

Charlie Kester corky1951 at comcast.net
Sat Jun 13 05:50:01 UTC 2009


>Number:         135532
>Category:       ports
>Synopsis:       [NEW PORT] sysutils/rdup - a tool to generate an (incremental) backup file list
>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:   Sat Jun 13 05:50:00 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator:     Charlie Kester <corky1951 at comcast.net>
>Release:        FreeBSD 7.2-RELEASE i386
>Organization:
>Environment:
System: FreeBSD atom.local 7.2-RELEASE FreeBSD 7.2-RELEASE #1: Mon May 4 15:50:49 PDT 2009 root at atom.local:/usr/obj/usr/src/sys/ATOM i386

>Description:

    rdup is a utility inspired by rsync and the Plan9 way of doing backups. 

    rdup itself does not backup anything; it only prints a list of the names of
    files that have changed since the last backup. It also handles files that are
    removed, allowing for correct incremental backups. 

    Example scripts that implement a backup strategy are included. 
    (These scripts require GNU date and cp, which are not installed by
    this FreeBSD port.)

    WWW: http://miek.nl/projects/rdup
    
>How-To-Repeat:
>Fix:

--- rdup.shar 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:
#
#	rdup
#	rdup/Makefile
#	rdup/distinfo
#	rdup/files
#	rdup/files/patch-GNUmakefile.in
#	rdup/files/patch-configure
#	rdup/pkg-descr
#
echo c - rdup
mkdir -p rdup > /dev/null 2>&1
echo x - rdup/Makefile
sed 's/^X//' >rdup/Makefile << 'dc3433aaf0b44ffcbee96419fa4178b9'
X# ex:ts=8
X# Ports collection makefile for:	rdup
X# Date created:			Jun 11, 2009
X# Whom:				corky1951 at comcast.net
X#
X# $FreeBSD: ports/security/ccrypt/Makefile,v 1.13 2008/03/20 10:03:39 pav Exp $
X#
X
XPORTNAME=	rdup
XPORTVERSION=	1.0.0
XCATEGORIES=	sysutils
XMASTER_SITES=	${MASTER_SITE_SOURCEFORGE} \
X		http://miek.nl/projects/rdup/
X
XMAINTAINER=	corky1951 at comcast.net
XCOMMENT=	A tool to generate an (incremental) backup file list
X
XLIB_DEPENDS=	pcre:${PORTSDIR}/devel/pcre \
X		archive:${PORTSDIR}/archivers/libarchive \
X		nettle:${PORTSDIR}/security/nettle
X
XUSE_BZIP2=	yes
X
XGNU_CONFIGURE=	yes
X
XUSE_GMAKE=	yes
XMAKEFILE=	GNUmakefile
X
XPLIST_FILES=	\
X		bin/rdup \
X		bin/rdup-tr \
X		bin/rdup-up
X
XMAN1=		rdup.1 \
X		rdup-tr.1 \
X		rdup-up.1
X
XMAN7=		rdup-backups.7
X
X.ifndef(NOPORTEXAMPLES)
XPORTEXAMPLES=	rdup-ln.sh \
X		rdup-simple.sh
X.endif
X
Xpost-patch:
X	@${REINPLACE_CMD} -e 's|/usr/lib/rdup|${EXAMPLESDIR}|g' \
X		${WRKSRC}/doc/rdup-backups.7
X
Xpost-install:
X.ifndef(NOPORTEXAMPLES)
X	@${MKDIR} ${EXAMPLESDIR}
X.for example in ${PORTEXAMPLES}
X	@${INSTALL_SCRIPT} ${WRKSRC}/sh/${example} ${EXAMPLESDIR}
X.endfor
X.endif
X
X.include <bsd.port.mk>
dc3433aaf0b44ffcbee96419fa4178b9
echo x - rdup/distinfo
sed 's/^X//' >rdup/distinfo << '9d10ac18f0d9476501f474594572e3cf'
XMD5 (rdup-1.0.0.tar.bz2) = 7c91411d0c563279d50f6a87e395039f
XSHA256 (rdup-1.0.0.tar.bz2) = b9e9341b9c2192f201a81a18550fb8f835ab1766e3c357ccdedc7df5f0df1f22
XSIZE (rdup-1.0.0.tar.bz2) = 1209801
9d10ac18f0d9476501f474594572e3cf
echo c - rdup/files
mkdir -p rdup/files > /dev/null 2>&1
echo x - rdup/files/patch-GNUmakefile.in
sed 's/^X//' >rdup/files/patch-GNUmakefile.in << 'a3a2904f02ff6e74a68136fe56daa897'
X--- GNUmakefile.in.orig	2009-05-28 10:39:19.000000000 -0700
X+++ GNUmakefile.in	2009-06-12 19:53:20.000000000 -0700
X@@ -4,7 +4,6 @@
X HDR=rdup.h rdup-tr.h rdup-up.h io.h common.h entry.h
X CMD=rdup rdup-tr rdup-up
X # installs to /usr/lib/rdup XXX TODO
X-SH=rdup-ln.sh rdup-simple.sh 
X MAN1_IN=rdup.1 rdup-tr.1 rdup-up.1
X MAN7_IN=rdup-backups.7
X 
X@@ -20,7 +19,7 @@
X sbindir=@sbindir@
X mandir=@mandir@
X sysconfdir=@sysconfdir@
X-datadir=@datadir@/rdup
X+datadir=@datadir@
X 
X ARCHIVE_L=@ARCHIVE_L@
X NETTLE_L=@NETTLE_L@
X@@ -86,17 +85,13 @@
X 
X install: all
X 	mkdir -p ${DESTDIR}${mandir}/man1
X-	mkdir -p ${DESTDIR}${datadir}
X-	mkdir -p ${DESTDIR}${libdir}/rdup
X 	for i in ${CMD}; do ${INSTALL} $$i ${DESTDIR}${bindir}/$$i ; done
X-	for i in ${SH}; do ${INSTALL} sh/$$i ${DESTDIR}${libdir}/rdup/$$i ; done
X 	for i in ${MAN1}; do [ -f $$i ] &&  ${INSTALL_DATA} $$i ${DESTDIR}${mandir}/man1/`basename $$i` ; done; exit 0
X 	for i in ${MAN7}; do [ -f $$i ] &&  ${INSTALL_DATA} $$i ${DESTDIR}${mandir}/man7/`basename $$i` ; done; exit 0
X 	$(MAKE) -C po install
X 
X uninstall:
X 	for i in ${CMD}; do rm -f ${DESTDIR}${bindir}/$$i ; done
X-	for i in ${SH}; do rm -f ${DESTDIR}${libdir}/rdup/$$i ; done
X 	for i in ${MAN1}; do rm -f  ${DESTDIR}${mandir}/man1/`basename $$i` ; done
X 	for i in ${MAN7}; do rm -f  ${DESTDIR}${mandir}/man7/`basename $$i` ; done
X 	$(MAKE) -C po uninstall
a3a2904f02ff6e74a68136fe56daa897
echo x - rdup/files/patch-configure
sed 's/^X//' >rdup/files/patch-configure << 'd3693dd5345f4c9a94bb28e5e0e489c2'
X--- configure.orig	2009-05-31 00:38:33.000000000 -0700
X+++ configure	2009-06-12 16:34:06.000000000 -0700
X@@ -5003,7 +5003,7 @@
X   $as_echo_n "(cached) " >&6
X else
X   ac_check_lib_save_LIBS=$LIBS
X-LIBS="-lnettle  $LIBS"
X+LIBS="-lgmp -lnettle  $LIBS"
X cat >conftest.$ac_ext <<_ACEOF
X /* confdefs.h.  */
X _ACEOF
X@@ -5067,7 +5067,7 @@
X #define HAVE_LIBNETTLE 1
X _ACEOF
X 
X-  LIBS="-lnettle $LIBS"
X+  LIBS="-lgmp -lnettle $LIBS"
X 
X else
X   NETTLE_L="no"
d3693dd5345f4c9a94bb28e5e0e489c2
echo x - rdup/pkg-descr
sed 's/^X//' >rdup/pkg-descr << '68347ff0af03b2d3645359d62da116a2'
Xrdup is a utility inspired by rsync and the Plan9 way of doing backups. 
X
Xrdup itself does not backup anything; it only prints a list of the names of
Xfiles that have changed since the last backup. It also handles files that are
Xremoved, allowing for correct incremental backups. 
X
XExample scripts that implement a backup strategy are included. 
X(These scripts require GNU date and cp, which are not installed by
Xthis FreeBSD port.)
X
XWWW: http://miek.nl/projects/rdup
68347ff0af03b2d3645359d62da116a2
exit
--- rdup.shar ends here ---


>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list