Remove $FreeBSD$: one-line sh patternRemove /^\s*#[#!]?\s*\$FreeBSD\$.*$\n/
auditdistd: Request the OpenSSL 1.1 APIOPENSSL_API_COMPAT can be used to specify the OpenSSL API version inuse for the purpose of hiding deprecated interfaces and enablingthe appropriate deprecat
auditdistd: Request the OpenSSL 1.1 APIOPENSSL_API_COMPAT can be used to specify the OpenSSL API version inuse for the purpose of hiding deprecated interfaces and enablingthe appropriate deprecation notices.This change is a NFC while we're still using OpenSSL 1.1.1 but willavoid deprecation warnings upon the switch to OpenSSL 3.0.A future change should migrate to use the OpenSSL 3.0 APIs.PR: 271615Reviewed by: emasteEvent: Kitchener-Waterloo Hackathon 202305Sponsored by: The FreeBSD Foundation
show more ...
Update/fix Makefile.depend for userland
auditdistd: Remove useless linking with libl
DIRDEPS_BUILD: Update dependencies.Sponsored by: Dell EMC Isilon
usr.sbin: normalize paths using SRCTOP-relative paths or :H when possibleThis simplifies make logic/outputMFC after: 1 monthSponsored by: Dell EMC Isilon
DIRDEPS_BUILD: Regenerate without local dependencies.These are no longer needed after the recent 'beforebuild: depend' changesand hooking DIRDEPS_BUILD into a subset of FAST_DEPEND which supports
DIRDEPS_BUILD: Regenerate without local dependencies.These are no longer needed after the recent 'beforebuild: depend' changesand hooking DIRDEPS_BUILD into a subset of FAST_DEPEND which supportsskipping 'make depend'.Sponsored by: EMC / Isilon Storage Division
META MODE: Update dependencies with 'the-lot' and add missing directories.This is not properly respecting WITHOUT or ARCH dependencies in target/.Doing so requires a massive effort to rework targe
META MODE: Update dependencies with 'the-lot' and add missing directories.This is not properly respecting WITHOUT or ARCH dependencies in target/.Doing so requires a massive effort to rework targets/ to do so. Abetter approach will be to either include the SUBDIR Makefiles directlyand map to DIRDEPS or just dynamically lookup the SUBDIR. These losethe benefit of having a userland/lib, userland/libexec, etc, though andresults in a massive package. The current implementation of targets/ isvery unmaintainable.Currently rescue/rescue and sys/modules are still not connected.Sponsored by: EMC / Isilon Storage Division
Convert usr.sbin to LIBADDReduce overlinking
Add -Wthread-safety to WARNS=6.While there, add a NO_WTHREAD_SAFETY flag that can be used to disablethis specific warning flag. Disable it for auditdistd. We can easilypatch up auditdistd to have
Add -Wthread-safety to WARNS=6.While there, add a NO_WTHREAD_SAFETY flag that can be used to disablethis specific warning flag. Disable it for auditdistd. We can easilypatch up auditdistd to have the right annotations to build, but asauditdistd is intended to be portable across other operating systems,it's not worth the effort.Approved by: brueffer@
Add the Clang specific -Wmissing-variable-declarations to WARNS=6.This compiler flag enforces that that people either mark variablesstatic or use an external declarations for the variable, similar
Add the Clang specific -Wmissing-variable-declarations to WARNS=6.This compiler flag enforces that that people either mark variablesstatic or use an external declarations for the variable, similar to how-Wmissing-prototypes works for functions.Due to the fact that Yacc/Lex generate code that cannot trivially bechanged to not warn because of this (lots of yy* variables), add aNO_WMISSING_VARIABLE_DECLARATIONS that can be used to turn off thisspecific compiler warning.Announced on: toolchain@
Merge a number of changes required to hook up OpenBSM 1.2-alpha2'sauditdistd (distributed audit daemon) to the build:- Manual cross references- Makefile for auditdistd- rc.d script, rc.conf entr
Merge a number of changes required to hook up OpenBSM 1.2-alpha2'sauditdistd (distributed audit daemon) to the build:- Manual cross references- Makefile for auditdistd- rc.d script, rc.conf entrie- New group and user for auditdistd; associated aliases, etc.The audit trail distribution daemon provides reliable,cryptographically protected (and sandboxed) delivery of audit tailsfrom live clients to audit server hosts in order to both allowcentralised analysis, and improve resilience in the event of clientcompromises: clients are not permitted to change trail contentsafter submission.Submitted by: pjdSponsored by: The FreeBSD Foundation (auditdistd)