libbsm: Rename package to audit-lib

This is part of audit, so use the new LIB_PACKAGE feature to name the
package audit-lib, rather than libbsm.

MFC after:	1 day
Reviewed by:	bapt
Sponsored by:	https://www.patreon.com/bsdivy
Differential Revision:	https://reviews.freebsd.org/D52789
This commit is contained in:
Lexi Winter 2025-09-30 09:13:03 +01:00
parent 41ee4321cc
commit a053f948ad
3 changed files with 6 additions and 47 deletions

View file

@ -94,14 +94,14 @@ BSM= audit.h \
audit_fcntl.h \
audit_kevents.h \
audit_socket_type.h
BSMPACKAGE= libbsm
BSMPACKAGE= audit
BSMDIR= ${INCLUDEDIR}/bsm
.PATH: ${SRCTOP}/sys/security
SECAUDIT= audit/audit.h \
audit/audit_ioctl.h \
audit/audit_private.h
SECAUDITPACKAGE= libbsm
SECAUDITPACKAGE= audit
SECAUDITDIR= ${INCLUDEDIR}/security/audit
.PATH: ${SRCTOP}/sys/cam

View file

@ -1,9 +1,8 @@
#
#
PACKAGE= audit
LIB_PACKAGE=
PACKAGE= lib${LIB}
OPENBSMDIR= ${SRCTOP}/contrib/openbsm
_LIBBSMDIR= ${OPENBSMDIR}/libbsm
OPENBSMDIR= ${SRCTOP}/contrib/openbsm
_LIBBSMDIR= ${OPENBSMDIR}/libbsm
LIB= bsm
SHLIB_MAJOR= 3

View file

@ -1,40 +0,0 @@
/*
* SPDX-License-Identifier: BSD-2-Clause
*
* Copyright (c) 2005-2007 Robert N. M. Watson
* Copyright (c) 2008-2009 Apple Inc.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* 1. Redistributions of source code must retain the above copyright
* notice, this list of conditions and the following disclaimer.
* 2. Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
*
* THIS SOFTWARE IS PROVIDED BY THE AUTHORS AND CONTRIBUTORS ``AS IS'' AND
* ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
* ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS OR CONTRIBUTORS BE LIABLE
* FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
* DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
* OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
* HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
* LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*/
comment = "Basic Security Module (BSM) audit library"
desc = <<EOD
The libbsm library routines provide an interface to BSM audit record streams,
allowing both the parsing of existing audit streams, as well as the creation
of new audit records and streams.
EOD
annotations {
set = "optional,optional-jail"
}