Opened 18 years ago
Closed 17 years ago
#10919 closed enhancement (duplicate)
RFE: Download MP archives from a remote machine
Reported by: | elcascador@… | Owned by: | darwinports-bugs@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | base | Version: | |
Keywords: | new feature binhost | Cc: | markd@…, danielluke (Daniel J. Luke) |
Port: |
Description
Hello,
I've hacked binhost support into MacPorts. Packages, when portarchivemode set in the configuration, will be downloaded from portarchivebinhost if not present in the portarchivepath.
The code works like this:
- check if package is available in portarchivepath (normal macports behavior)
- if not, check if package is available in the portarchivebinhost and download it to portarchivepath
- continue normal behavior
Attachments (3)
Change History (15)
Changed 18 years ago by elcascador@…
Attachment: | portunarchive.diff added |
---|
Changed 18 years ago by elcascador@…
Attachment: | ports.conf added |
---|
extra variable needed in ports.conf
comment:1 Changed 18 years ago by markd@…
Summary: | binhost support → RFE: patches to add binhost support |
---|
comment:2 Changed 18 years ago by markd@…
Type: | defect → enhancement |
---|
comment:3 Changed 18 years ago by markd@…
Cc: | markd@… dluke@… added |
---|
I haven't looked at the patches, but is the intent for this ticket the same as in ticket #8571?
comment:4 Changed 18 years ago by pipping@…
Milestone: | → Port Enhancements |
---|
comment:5 Changed 18 years ago by pipping@…
Component: | base → ports |
---|
comment:6 Changed 18 years ago by danielluke (Daniel J. Luke)
It's basically the same intent (and approach) as in the patch I submitted (great minds really do think alike).
Of course, it will suffer from the same problems (poor interaction with upgrade, mainly). This could be worked around by making changes to the portarchive phase, but it is probably cleaner to add a 'remote fetch' phase instead.
We probably also want to have some sort of package checksum or verification (gpg signing?) when downloading the remote package.
... and finally, there are some issues with cross-system packages (everything pretty much works if you have the same version of Mac OS X on both machines, but you can have unexpected failures otherwise), so we probably should at least think about handling that in some way.
comment:7 Changed 18 years ago by markd@…
Summary: | RFE: patches to add binhost support → RFE: Download MP archives from a remote machine |
---|
Changed summary line.
comment:8 Changed 17 years ago by jmpalacios (Juan Manuel Palacios)
Component: | ports → base |
---|---|
Milestone: | Port Enhancements → Feature Requests |
comment:9 Changed 17 years ago by jmpalacios (Juan Manuel Palacios)
Milestone: | Feature Requests → MacPorts base enhancements |
---|
Milestone Feature Requests deleted
comment:10 Changed 17 years ago by nox@…
Priority: | Important → High |
---|---|
Version: | 1.3.2 |
comment:12 Changed 17 years ago by jmpalacios (Juan Manuel Palacios)
Milestone: | MacPorts base enhancements |
---|---|
Priority: | High → Normal |
Resolution: | → duplicate |
Status: | new → closed |
Closing as duplicate of #8571
-jmpp
portunarchive patch