The FreeBSD cluster builds packages with NO_RESTRICTED=yes in its poudriere.conf which only causes bulk to delete the packages after the build. We still build+delete every time though. Presumably this is because RESTRICTED is only documented in bsd.port.mk as preventing publishing of packages: it doesn't necessarily mean we can't use the packages for producing other packages.
An example of a built-and-deleted package is bicom.
The license framework does properly prevent even building of packages that have special restrictions as can be seen in the IGNORED list here if filtering on "license".
Poudriere should keep these restricted packages in a separate directory so that future incremental builds can benefit from having them already. Just avoid publishing them to the main package directory. This is more easily done if ATOMIC_PACKAGE_REPOSITORY is enabled.
The FreeBSD cluster builds packages with
NO_RESTRICTED=yes
in its poudriere.conf which only causesbulk
to delete the packages after the build. We still build+delete every time though. Presumably this is becauseRESTRICTED
is only documented in bsd.port.mk as preventing publishing of packages: it doesn't necessarily mean we can't use the packages for producing other packages. An example of a built-and-deleted package is bicom. The license framework does properly prevent even building of packages that have special restrictions as can be seen in the IGNORED list here if filtering on "license".Poudriere should keep these restricted packages in a separate directory so that future incremental builds can benefit from having them already. Just avoid publishing them to the main package directory. This is more easily done if
ATOMIC_PACKAGE_REPOSITORY
is enabled.