the Fink project is an effort to port
popular Unix programs to Mac OS X
Package: rsyncbackup
Version: 1.0
Revision: 1
# Distribution: 10.4, 10.5
Description: Backup solution
License: GPL
Maintainer: Christian Schaffner
# Dependencies:
# BuildDepends: ant (>= 1.6.2-1), system-java14-dev (>= 1.4.2-1), fink (>= 0.22.2-1)
# Depends: system-java14 (>= 1.4.2-1)
# Unpack Phase:
Source: http://rsyncbackup.erlang.no/rsyncbackup.zip
Source-MD5: e8833ebb2af2e1fb219f35e766162383
# Compile Phase:
CompileScript: <<
head -n 19 %n >> LICENSE
<<
# Install Phase:
ConfFiles: <<
%p/etc/%n/backupset.conf
%p/etc/%n/config.conf
%p/etc/%n/destinations.conf
%p/etc/%n/sources.conf
<<
DocFiles: LICENSE
InstallScript: <<
/usr/bin/install -d %i/bin
/usr/bin/install -m 755 %n %i/bin
/usr/bin/install -m 755 tools/isrunning %i/bin
/usr/bin/install -m 755 tools/isnotrunning %i/bin
/usr/bin/install -d %i/etc
/usr/bin/install -d %i/etc/%n
cp -r config/* %i/etc/%n
/usr/bin/install -d %i/share
/usr/bin/install -d %i/share/doc
/usr/bin/install -d %i/share/doc/%n
cp -r doc/* %i/share/doc/%n
<<
# Additional Info
DescDetail: <<
rsyncbackup is a perlscript that reads configuration files for sources and
destinations, and feeds the rsync tool with the appropriate parameters.
rsyncbackup is written on Mac OS X, but will probably work on every system that
have both perl and rsync installed. rsyncbackup is GPL licenced.
<<
DescUsage: <<
You need to create the folders
~/backup
and
~/backup/logs
for the users running rsyncbackup. The default config files are located at
%p/etc/rsyncbackup/.
<<
Homepage: http://rsyncbackup.erlang.no/