Hello,
I would like a mission critical corporate build server not to depend on the availability of the upstream mirrors hosting the ports' source code, is there a built-in way to have all source code pre-fetched and savec locally?
It is my understanding that portsnap only downloads the port tree, but that the actual source code of every port is only downloaded when make install is run. However I'd like to maintain a local copy of the version of every port.
The handbook has a subversion section, but it looks it is about maintaining patches and not about maintaining a copy of ports source code (my goal is to be able to make deeper changes to any program, not FreeBSD compatibility patches).
The ugly way popping in my mind to achieve this would be to set up our own universal mirror manually by writing a parser for the port tree, and downloading and indexing all archives, and then patch all ports to configure our mirror as the only mirror. I am wondering if there is a better and more built-in way to achieve what we are after.
The goal is to ensure that mission critical applications will always be able to be modified and rebuilt from source if necessary down the line.
Any idea or approach (ideally built-in) would be greatly appreciated. Thanks!
I would like a mission critical corporate build server not to depend on the availability of the upstream mirrors hosting the ports' source code, is there a built-in way to have all source code pre-fetched and savec locally?
It is my understanding that portsnap only downloads the port tree, but that the actual source code of every port is only downloaded when make install is run. However I'd like to maintain a local copy of the version of every port.
The handbook has a subversion section, but it looks it is about maintaining patches and not about maintaining a copy of ports source code (my goal is to be able to make deeper changes to any program, not FreeBSD compatibility patches).
The ugly way popping in my mind to achieve this would be to set up our own universal mirror manually by writing a parser for the port tree, and downloading and indexing all archives, and then patch all ports to configure our mirror as the only mirror. I am wondering if there is a better and more built-in way to achieve what we are after.
The goal is to ensure that mission critical applications will always be able to be modified and rebuilt from source if necessary down the line.
Any idea or approach (ideally built-in) would be greatly appreciated. Thanks!