[MacPorts] #15472: rsync-3.0.2 should fully preserve Mac OS X metadata
#15472: rsync-3.0.2 should fully preserve Mac OS X metadata ------------------------------+--------------------------------------------- Reporter: css@macports.org | Owner: mww@macports.org Type: defect | Status: new Priority: Normal | Milestone: Port Enhancements Component: ports | Version: 1.6.0 Keywords: | ------------------------------+--------------------------------------------- The rsync port does not include a couple essential patches that preserve Mac OS X metadata. See [http://www.bombich.com/mactips/rsync.html Mike Bombich's instructions] to find that there are two patches. * fileflags.diff preserves Finder flags. * crtimes.diff preserves file creation dates. The port should provide a variant to support these patches. Adding them as a regular variant rather than a platform-specific variant should allow supporting these attributes when using the port on non-darwin systems. Ideally, the port could: * Fetch the official patches archive: http://rsync.samba.org/ftp/rsync /rsync-patches-3.0.2.tar.gz * Apply the two patches * Fully support Mac OS X metadata backups! Unfortunately, I'm not entirely clear on the best way to do this in terms of the Portfile. The quick and dirty approach is to grab those patches and directly put them into the port's folder. It might be nice to directly use the official archive in the event that future patches are deemed useful. -- Ticket URL: <http://trac.macports.org/ticket/15472> MacPorts <http://www.macports.org/> Ports system for Mac OS
#15472: rsync-3.0.2 should fully preserve Mac OS X metadata -------------------------------+-------------------------------------------- Reporter: css@macports.org | Owner: mww@macports.org Type: defect | Status: new Priority: Normal | Milestone: Port Enhancements Component: ports | Version: 1.6.0 Resolution: | Keywords: -------------------------------+-------------------------------------------- Comment (by css@macports.org): Here's an identifiable ''desired outcome'' for this patch: The MacPorts rsync port passes the [http://www.n8gray.org/code/backup-bouncer/ Backup Bouncer] test. -- Ticket URL: <http://trac.macports.org/ticket/15472#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#15472: rsync-3.0.3 should fully preserve Mac OS X metadata -------------------------------+-------------------------------------------- Reporter: css@macports.org | Owner: mww@macports.org Type: defect | Status: new Priority: Normal | Milestone: Port Enhancements Component: ports | Version: 1.6.0 Resolution: | Keywords: -------------------------------+-------------------------------------------- Changes (by css@macports.org): * summary: rsync-3.0.2 should fully preserve Mac OS X metadata => rsync-3.0.3 should fully preserve Mac OS X metadata -- Ticket URL: <http://trac.macports.org/ticket/15472#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#15472: rsync-3.0.3 should fully preserve Mac OS X metadata -------------------------------+-------------------------------------------- Reporter: css@macports.org | Owner: simon@macports.org Type: defect | Status: new Priority: Normal | Milestone: Port Enhancements Component: ports | Version: 1.6.0 Resolution: | Keywords: -------------------------------+-------------------------------------------- Changes (by css@macports.org): * owner: mww@macports.org => simon@macports.org Comment: Reassigning to the new maintainer... -- Ticket URL: <http://trac.macports.org/ticket/15472#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#15472: rsync-3.0.3 should fully preserve Mac OS X metadata -------------------------------+-------------------------------------------- Reporter: css@macports.org | Owner: simon@macports.org Type: defect | Status: closed Priority: Normal | Milestone: Port Enhancements Component: ports | Version: 1.6.0 Resolution: fixed | Keywords: -------------------------------+-------------------------------------------- Changes (by simon@macports.org): * status: new => closed * resolution: => fixed Comment: I committed this in r38182, but added the patches as default; the variant "no_macosx_metadata" disables them. If you don't like this, please tell me and I will change it. Thanks for your patch, Simon -- Ticket URL: <http://trac.macports.org/ticket/15472#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
#15472: rsync-3.0.3 should fully preserve Mac OS X metadata -------------------------------+-------------------------------------------- Reporter: css@… | Owner: simon@… Type: defect | Status: closed Priority: Normal | Milestone: Port Enhancements Component: ports | Version: 1.6.0 Resolution: fixed | Keywords: Port: | -------------------------------+-------------------------------------------- Comment(by css@…): To follow up on the performance, here are the test results for rsync 3.0.5: `/opt/local/bin/rsync -aH -E --crtimes --fileflags --xattrs --acls` {{{ ------------------ rsync-macports ------------------ Verifying: basic-permissions ... ok (Critical) Verifying: timestamps ... ok (Critical) Verifying: symlinks ... ok (Critical) Verifying: symlink-ownership ... ok Verifying: hardlinks ... ok (Important) Verifying: resource-forks ... ok (Critical) Verifying: finder-flags ... ok (Critical) Verifying: finder-locks ... ok Verifying: creation-date ... ok Verifying: bsd-flags ... ok Verifying: extended-attrs ... ok (Important) Verifying: access-control-lists ... ok (Important) Verifying: fifo ... ok Verifying: devices ... ok Verifying: combo-tests ... ok }}} Seems like a rock-solid mirroring tool for Mac OS X! -- Ticket URL: <http://trac.macports.org/ticket/15472#comment:5> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts