ports/117019: New port: sysutils/rsyncbackup
Daniel Bond
db at danielbond.org
Mon Oct 8 15:10:06 UTC 2007
>Number: 117019
>Category: ports
>Synopsis: New port: sysutils/rsyncbackup
>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: Mon Oct 08 15:10:03 GMT 2007
>Closed-Date:
>Last-Modified:
>Originator: Daniel Bond
>Release: FreeBSD 6.2-RELEASE-p4 amd64
>Organization:
Network Solutions Norway ASA
>Environment:
>Description:
New port: sysutils/rsyncbackup Perl frontend for doing scheduled backups with rsync
>How-To-Repeat:
>Fix:
--- rsyncbackup-sharof-port.txt 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:
#
# rsyncbackup
# rsyncbackup/Makefile
# rsyncbackup/distinfo
# rsyncbackup/pkg-descr
# rsyncbackup/pkg-plist
# rsyncbackup/pkg-message
#
echo c - rsyncbackup
mkdir -p rsyncbackup > /dev/null 2>&1
echo x - rsyncbackup/Makefile
sed 's/^X//' >rsyncbackup/Makefile << 'END-of-rsyncbackup/Makefile'
X# Date created: 8 October 2007
X# Whom: Daniel Bond
X#
X# $FreeBSD$
X#
X
XPORTNAME= rsyncbackup
XPORTVERSION= 1.0
XCATEGORIES= sysutils
X
XMASTER_SITES= http://rsync-backup.googlecode.com/files/
XDISTNAME= rsyncbackup
XEXTRACT_SUFX= .zip
XWRKSRC= ${WRKDIR}/${PORTNAME}
XCONFIGSRC= ${WRKSRC}/config
XCONFIGFILES= backupset.conf config.conf destinations.conf sources.conf
X
XRUN_DEPENDS= rsync:${PORTSDIR}/net/rsync
X
XMAINTAINER= ports at danielbond.org
XCOMMENT= Rsync frontend written in Perl
X
XUSE_ZIP= yes
XUSE_PERL= yes
XNO_BUILD= yes
X
XPLIST_SUB+= PORTNAME=${PORTNAME}
X
Xdo-install:
X ${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
X
X ${MKDIR} ${PREFIX}/etc/${PORTNAME}
X ${MKDIR} ${DOCSDIR}
X
X.for configfile in ${CONFIGFILES}
X ${INSTALL_DATA} ${CONFIGSRC}/${configfile} ${PREFIX}/etc/${PORTNAME}/${configfile}.example
X.endfor
X
X.if !defined(NOPORTDOCS)
X (cd ${WRKSRC}/doc && ${COPYTREE_SHARE} \* ${DOCSDIR})
X.endif
X
Xpost-install:
X @${CAT} ${PKGMESSAGE}
X
X.include <bsd.port.mk>
END-of-rsyncbackup/Makefile
echo x - rsyncbackup/distinfo
sed 's/^X//' >rsyncbackup/distinfo << 'END-of-rsyncbackup/distinfo'
XMD5 (rsyncbackup.zip) = e8833ebb2af2e1fb219f35e766162383
XSHA256 (rsyncbackup.zip) = 35e41448278661625e72a4e99ce236b07e4d716113bf2716ebe892b54a597477
XSIZE (rsyncbackup.zip) = 61286
END-of-rsyncbackup/distinfo
echo x - rsyncbackup/pkg-descr
sed 's/^X//' >rsyncbackup/pkg-descr << 'END-of-rsyncbackup/pkg-descr'
Xrsyncbackup is a perlscript that reads configuration files for sources and destinations,
Xand feeds the rsync tool with the appropriate parameters.
X
Xrsyncbackup is GPL licenced
END-of-rsyncbackup/pkg-descr
echo x - rsyncbackup/pkg-plist
sed 's/^X//' >rsyncbackup/pkg-plist << 'END-of-rsyncbackup/pkg-plist'
Xbin/%%PORTNAME%%
Xetc/%%PORTNAME%%/backupset.conf.example
Xetc/%%PORTNAME%%/config.conf.example
Xetc/%%PORTNAME%%/destinations.conf.example
Xetc/%%PORTNAME%%/sources.conf.example
X%%DOCSDIR%%/ar01s01.html
X%%DOCSDIR%%/ar01s02.html
X%%DOCSDIR%%/ar01s03.html
X%%DOCSDIR%%/ar01s04.html
X%%DOCSDIR%%/ar01s05.html
X%%DOCSDIR%%/ar01s06.html
X%%DOCSDIR%%/ar01s07.html
X%%DOCSDIR%%/ar01s08.html
X%%DOCSDIR%%/ar01s09.html
X%%DOCSDIR%%/ar01s10.html
X%%DOCSDIR%%/ar01s11.html
X%%DOCSDIR%%/ar01s12.html
X%%DOCSDIR%%/ar01s13.html
X%%DOCSDIR%%/ar01s14.html
X%%DOCSDIR%%/html.css
X%%DOCSDIR%%/index.html
X%%DOCSDIR%%/icons/caution.png
X%%DOCSDIR%%/icons/example.png
X%%DOCSDIR%%/icons/home.png
X%%DOCSDIR%%/icons/important.png
X%%DOCSDIR%%/icons/next.png
X%%DOCSDIR%%/icons/note.png
X%%DOCSDIR%%/icons/prev.png
X%%DOCSDIR%%/icons/tip.png
X%%DOCSDIR%%/icons/up.png
X%%DOCSDIR%%/icons/warning.png
X at dirrm %%DOCSDIR%%/icons
X at dirrm %%DOCSDIR%%
X at dirrmtry etc/%%PORTNAME%%
END-of-rsyncbackup/pkg-plist
echo x - rsyncbackup/pkg-message
sed 's/^X//' >rsyncbackup/pkg-message << 'END-of-rsyncbackup/pkg-message'
X
X
XNOTE:
X==========
X
Xrsyncbackup is now installed on your system.
X
X- rsyncbackup installed into ${PREFIX}/bin/rsyncbackup
X
X- Configuration files:
X Theese files are installed into ${PREFIX}/etc/rsyncbackup,
X and are usually copyied to rsyncbackup-users ~/backup/*.conf
X
X NOTE: /usr/local/etc/rsyncbackup is deleted upon deletion
X
X- HTML documentation:
X The HTML documentation has been installed into
X ${PREFIX}/share/doc/rsyncbackup
X
X
XOfficial page: http://code.google.com/p/rsync-backup/
XOnline docs: http://rsyncbackup.erlang.no/doc/
X
X
END-of-rsyncbackup/pkg-message
exit
--- rsyncbackup-sharof-port.txt ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
>System: FreeBSD speedy.nsn.no 6.2-RELEASE-p4 FreeBSD 6.2-RELEASE-p4 #0: Thu Apr 26 15:04:52 UTC 2007 root at amd64-builder.daemonology.net:/usr/obj/usr/src/sys/SMP amd64
More information about the freebsd-ports-bugs
mailing list