Script to automate offline retrieval of distfiles etc, for internet challenged machines

Dixon, Stephen sdixon at
Sun Mar 21 20:47:13 PDT 2010

Hi everyone, first post...

I've been trying for a while to get the IT department at work to open up port 873 so that macports could work there, but to no avail. Then I saw a post on the mailing list that explained how to collect the distfiles and other stuff needed to run macports without an internet connection.

The problem with that process was if the package you wanted to install had a big dependency tree you had to repeat it many times untill you'd got all the dependencies.

So I've written an applescript that recursively looks through a package's dependencies and downloads them for easy copying to the non-internet connected machine. It's available here
Let me know if you have any comments or suggestions. I'm merely a hacker with no formal training, so sometimes my code can be a little rough and ready.

Stephen Dixon
Digital Video Officer
Museum Victoria
ph +61 3 8341 7588

Please consider the environment before printing this email.
This e-mail is solely for the named addressee and may be confidential.You should only read, disclose, transmit, copy, distribute, act in reliance on or commercialise the contents if you are authorised to do so. If you are not the intended recipient of this e-mail, please notify mailto:npostmaster at by email immediately, or notify the sender and then destroy any copy of this message. Views expressed in this email are those of the individual sender, except where specifically stated to be those of an officer of Museum Victoria. Museum Victoria does not represent, warrant or guarantee that the integrity of this communication has been maintained nor that it is free from errors, virus or interference.

More information about the macports-users mailing list