freebsd-src/release/packages
Lexi Winter e05b6502f9 package: fix dependency generation
A bug in release/packages/generate-ucl.sh causes package dependencies
(other than shlib depends) to not be generated correctly, meaning
packages are missing their dependencies.

generate-ucl.sh creates the UCL file by:

1. copying ${uclsource} (template.ucl) to ${uclfile}
2. appending dependencies to ${uclfile}
3. calling generate-ucl.lua on ${uclsource} to create ${uclfile}

This breaks because the dependencies added in step 2 are overwritten in
step 3.

Fix this by calling generate-ucl.lua with ${uclfile} as both the input
and output file, so anything we added to ${uclfile} is preserved.

Reviewed by: des, imp
Pull Request: https://github.com/freebsd/freebsd-src/pull/1203
2024-04-29 08:31:36 -06:00
..
certctl.ucl pkgbase: rework certctl package to only run rehash on the main package 2024-03-19 07:58:29 +01:00
clang-all.ucl pkgbase: rework certctl package to only run rehash on the main package 2024-03-19 07:58:29 +01:00
clibs.ucl pkgbase: rework certctl package to only run rehash on the main package 2024-03-19 07:58:29 +01:00
generate-ucl.lua pkgbase: rework certctl package to only run rehash on the main package 2024-03-19 07:58:29 +01:00
generate-ucl.sh package: fix dependency generation 2024-04-29 08:31:36 -06:00
lld-all.ucl pkgbase: rework certctl package to only run rehash on the main package 2024-03-19 07:58:29 +01:00
lldb-all.ucl pkgbase: rework certctl package to only run rehash on the main package 2024-03-19 07:58:29 +01:00
Makefile.package package: move OpenBSM auditing into its own package 2024-04-28 22:33:06 -06:00
runtime.ucl pkgbase: rework certctl package to only run rehash on the main package 2024-03-19 07:58:29 +01:00
ssh-all.ucl pkgbase: rework certctl package to only run rehash on the main package 2024-03-19 07:58:29 +01:00
template.ucl pkgbase: add a mechanism to be able to force a give ucl include 2024-03-20 09:39:18 +01:00
unbound-all.ucl pkgbase: rework certctl package to only run rehash on the main package 2024-03-19 07:58:29 +01:00
utilities.ucl pkgbase: rework certctl package to only run rehash on the main package 2024-03-19 07:58:29 +01:00