[MacPorts] #30670: make signed sync/selfupdate faster
MacPorts
noreply at macports.org
Thu Oct 18 03:40:40 PDT 2012
#30670: make signed sync/selfupdate faster
--------------------------+--------------------------------
Reporter: sdavids@… | Owner: macports-tickets@…
Type: enhancement | Status: new
Priority: Normal | Milestone:
Component: base | Version: 2.0.1
Resolution: | Keywords:
Port: |
--------------------------+--------------------------------
Comment (by cal@…):
The reason the tarball is synced rather than the files themselves is that
the tarball is cryptographically signed with a detached signature.
Since the tarball does not use any compression, rsync should be able to
copy only the deltas, i.e. syncing via tarball shouldn't be that much
slower than syncing the files directly, especially since you should have
less file operations when syncing the tarball (one file vs. a couple
thousand).
Switching to the non-tarball sync method will automatically disable
signature verification, i.e. you can no longer be sure the portfiles
haven't been tampered with along the way, so I'd suggest not going this
way.
So the correct thing to do here is speed up the extraction of the tarball,
if possible.
--
Ticket URL: <https://trac.macports.org/ticket/30670#comment:6>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list