portfile-update 0.1
This evening I published a new tool for DarwinPorts called portfile-update. Run from a directory containing a DarwinPorts Portfile, it will upgrade the port to the specified version. If run against a port that is downloaded from the GNOME project’s download server (ftp.gnome.org) or one of its mirrors, it will automatically determine which is the latest stable release and update the Portfile to that version. Switches allow it to update the Portfile to an arbitrary or the latest unstable version from the GNOME servers as well.
portfile-update -h
provides usage instructions.
portfile-update was available for download, but I lost it long ago.
Still to do:
- Find a CVS server for the tools
- Make a Portfile for the project
- Add further mechanisms for automatically finding the most recent version of a given port
- Code the ability to pass it a port name for upgrading instead of having to run the Portfile directory.
Limitations:
- Automatic detection of versions only works from the GNOME FTP servers.
- Liable to crash when incorrectly run.
- Needs to be run from the Portfile directory.
Enjoy and please test!