Opened 18 years ago
Last modified 14 years ago
#8571 closed enhancement
Make dp download archives from a remote machine — at Initial Version
Reported by: | danielluke (Daniel J. Luke) | Owned by: | macports-tickets@… |
---|---|---|---|
Priority: | Low | Milestone: | MacPorts 1.9.0 |
Component: | base | Version: | |
Keywords: | Cc: | ||
Port: |
Description
This patch adds support for a new conf key, remotearchiveurl, if archive mode and this key is set to a webserver having darwinports packages, it will download the pre-build packages from the URL and use the package to install the port (instead of building it).
Patch is a little rough (due to my lack of serious tcl-foo), but it seems to work pretty well for me right now.
Intended behavior is to look for a local archive first, then the remote archive (if necessary), and then if necessary build the port normally.
Since it's fairly easy to point apache to a darwinports packages directory, this makes maintaining ports on multiple machines take less time (as each port only needs to be built once).
If we ever get around to auto-building ports, we could conceivably make packages available this way as well.
Patch will be attached shortly.
Change History (2)
Changed 18 years ago by danielluke (Daniel J. Luke)
Attachment: | dp_remote_archive.patch added |
---|
Changed 18 years ago by danielluke (Daniel J. Luke)
Attachment: | dp_remote_archive.2.patch added |
---|
updated patch
Enable archive mode to pull archives from a remote machine