There is an updated pull request by sgn against master on the void-packages repository https://github.com/sgn/void-packages pkg-lint-allow-only-whitelist https://github.com/void-linux/void-packages/pull/22035 xbps-src: pre-pkg: allow only white-listed directories. A patch file from https://github.com/void-linux/void-packages/pull/22035.patch is attached