Good afternoon,
I'm working on a project to enable users to easily install additional ports trees using different $PORTSDIR and $PREFIX on the same system.
My primary motivation is to enable static ports installations for long-term scientific studies, where upgrading installed packages mid-study can create serious problems. Researchers sometimes need to run the exact same version of a software package for many years in order to protect the integrity of a study.
The solution we use on our CentOS systems is to install pkgsrc quarterly snapshots, each under a unique prefix, and leave them in-place indefinitely. The system is described in detail here:
http://uwm.edu/hpc/software-management/
We can, of course, use pkgsrc on FreeBSD as well, but the FreeBSD ports collection is currently much bigger and all of the ports are tested on FreeBSD, whereas many pkgsrc packages are not.
I have developed a script to bootstrap additional ports trees either as root or as an ordinary user. The system is mostly functional now. There are a few ports that fail because they assume root privileges (e.g. cups), and ports depending on OpenMPI do not currently see the libs in $PREFIX/mpi/openmpi/lib.
I'd like to solicit feedback on the approach and suggestions for ways to improve the system.
The script is available here:
http://acadix.biz/auto-ports-setup
Thanks,
Jason
I'm working on a project to enable users to easily install additional ports trees using different $PORTSDIR and $PREFIX on the same system.
My primary motivation is to enable static ports installations for long-term scientific studies, where upgrading installed packages mid-study can create serious problems. Researchers sometimes need to run the exact same version of a software package for many years in order to protect the integrity of a study.
The solution we use on our CentOS systems is to install pkgsrc quarterly snapshots, each under a unique prefix, and leave them in-place indefinitely. The system is described in detail here:
http://uwm.edu/hpc/software-management/
We can, of course, use pkgsrc on FreeBSD as well, but the FreeBSD ports collection is currently much bigger and all of the ports are tested on FreeBSD, whereas many pkgsrc packages are not.
I have developed a script to bootstrap additional ports trees either as root or as an ordinary user. The system is mostly functional now. There are a few ports that fail because they assume root privileges (e.g. cups), and ports depending on OpenMPI do not currently see the libs in $PREFIX/mpi/openmpi/lib.
I'd like to solicit feedback on the approach and suggestions for ways to improve the system.
The script is available here:
http://acadix.biz/auto-ports-setup
Thanks,
Jason