NetBSD Wiki/projects/project/
Isolate builds from user environment
- Contact: tech-pkg
- Mentors: Amitai Schleier
- Duration estimate: 1 month
bsd.pkg.mk
says: # To sanitize the environment, set PKGSRC_SETENV=${SETENV} -i.
We'd like this to become the default. Steps:
- Do bulk builds with the existing defaults on a few platforms (e.g., NetBSD, macOS, Illumos, Linux)
- Rerun the bulk builds from scratch, this time with
PKGSRC_SETENV=${SETENV} -i
- Compare before and after to see which package builds break
- Fix them
- Flip the switch to sanitize the environment by default
Add a comment