HardenedBSD src tree
Go to file
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
.cirrus-ci
.github Update vendor/libarchive to 3.7.4 2024-04-26 12:11:59 +02:00
bin date: Correctly check outcome of mktime(). 2024-04-28 19:12:58 +02:00
cddl
contrib libarchive: merge from vendor branch 2024-04-29 10:17:53 +02:00
crypto heimdal: Fix compiling hdb ldap as a module 2024-04-23 22:54:20 -07:00
etc
gnu
include
kerberos5
lib libulog: Make sure ut_line, ut_user, ut_host are terminated. 2024-04-29 12:11:37 +02:00
libexec package: move OpenBSM auditing into its own package 2024-04-28 22:33:06 -06:00
release package: fix dependency generation 2024-04-29 08:31:36 -06:00
rescue
sbin setkey: Use nitems(foo) instead of sizeof(foo)/sizeof(foo[0]) 2024-04-28 22:21:09 -06:00
secure
share services.5: describe better 2024-04-29 08:22:39 -06:00
stand
sys arm64/vmm: Handle VM_EXITCODE_SUSPENDED 2024-04-29 10:19:27 -04:00
targets
tests accept_filter: return different errors for non-listener and a busy socket 2024-04-24 21:55:58 -07:00
tools stress2: More detailed error reporting 2024-04-26 10:20:49 +02:00
usr.bin Add libxo support to du 2024-04-29 08:22:39 -06:00
usr.sbin bhyve: Fix handling of -r 2024-04-29 10:13:50 -04:00
.arcconfig
.arclint
.cirrus.yml
.clang-format
.git-blame-ignore-revs
.gitattributes
.gitignore Update vendor/libarchive to 3.7.4 2024-04-26 12:11:59 +02:00
.mailmap
CONTRIBUTING.md
COPYRIGHT
LOCKS
MAINTAINERS
Makefile
Makefile.inc1 showconfig: Set MACHINE for src.opts.mk 2024-04-24 18:17:20 +00:00
Makefile.libcompat
Makefile.sys.inc
ObsoleteFiles.inc
README.md Update vendor/libarchive to 3.7.4 2024-04-26 12:11:59 +02:00
RELNOTES RELNOTES: Fix wrong commit hash 2024-04-28 21:59:17 +02:00
UPDATING package: move OpenBSM auditing into its own package 2024-04-28 22:33:06 -06:00

FreeBSD Source:

This is the top level of the FreeBSD source directory.

FreeBSD is an operating system used to power modern servers, desktops, and embedded platforms. A large community has continually developed it for more than thirty years. Its advanced networking, security, and storage features have made FreeBSD the platform of choice for many of the busiest web sites and most pervasive embedded networking and storage devices.

For copyright information, please see the file COPYRIGHT in this directory. Additional copyright information also exists for some sources in this tree - please see the specific source directories for more information.

The Makefile in this directory supports a number of targets for building components (or all) of the FreeBSD source tree. See build(7), config(8), FreeBSD handbook on building userland, and Handbook for kernels for more information, including setting make(1) variables.

For information on the CPU architectures and platforms supported by FreeBSD, see the FreeBSD website's Platforms page.

Source Roadmap:

Directory Description
bin System/user commands.
cddl Various commands and libraries under the Common Development and Distribution License.
contrib Packages contributed by 3rd parties.
crypto Cryptography stuff (see crypto/README).
etc Template files for /etc.
gnu Commands and libraries under the GNU General Public License (GPL) or Lesser General Public License (LGPL). Please see gnu/COPYING and gnu/COPYING.LIB for more information.
include System include files.
kerberos5 Kerberos5 (Heimdal) package.
lib System libraries.
libexec System daemons.
release Release building Makefile & associated tools.
rescue Build system for statically linked /rescue utilities.
sbin System commands.
secure Cryptographic libraries and commands.
share Shared resources.
stand Boot loader sources.
sys Kernel sources (see sys/README.md).
targets Support for experimental DIRDEPS_BUILD
tests Regression tests which can be run by Kyua. See tests/README for additional information.
tools Utilities for regression testing and miscellaneous tasks.
usr.bin User commands.
usr.sbin System administration commands.

For information on synchronizing your source tree with one or more of the FreeBSD Project's development branches, please see FreeBSD Handbook.