Skip to content

Instantly share code, notes, and snippets.

@slyphon
Created February 9, 2012 03:20
Show Gist options
  • Save slyphon/1776981 to your computer and use it in GitHub Desktop.
Save slyphon/1776981 to your computer and use it in GitHub Desktop.
#!/bin/bash
WORK_DIR=/tmp/bombich-rsync
mkdir -p $WORK_DIR
cd $WORK_DIR
curl -O http://rsync.samba.org/ftp/rsync/src/rsync-3.0.7.tar.gz
tar -xzvf rsync-3.0.7.tar.gz
rm rsync-3.0.7.tar.gz
curl -O http://rsync.samba.org/ftp/rsync/src/rsync-patches-3.0.7.tar.gz
tar -xzvf rsync-patches-3.0.7.tar.gz
rm rsync-patches-3.0.7.tar.gz
cd rsync-3.0.7
curl -o patches/hfs_compression.diff http://www.bombich.com/software/opensource/rsync_3.0.7-hfs_compression_20100701.diff
curl -o patches/crtimes-64bit.diff https://attachments.samba.org/attachment.cgi?id=5288
curl -o patches/crtimes-hfs+.diff https://attachments.samba.org/attachment.cgi?id=5966
patch -p1 <patches/fileflags.diff
patch -p1 <patches/crtimes.diff
patch -p1 <patches/crtimes-64bit.diff
patch -p1 <patches/crtimes-hfs+.diff
patch -p1 <patches/hfs_compression.diff
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment