From nobody Tue Sep 30 08:18:34 2025 X-Original-To: dev-commits-src-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4cbWCt3C1bz68gsk; Tue, 30 Sep 2025 08:18:34 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R12" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4cbWCt20Mfz4FHP; Tue, 30 Sep 2025 08:18:34 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1759220314; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=z4IXGktclQyLYkcZdg0PSuHKl5GxdMfpoHFG8uIh8qM=; b=Q2coJjLIR3rSFb6rmd+t0636JONLT6v/NzQl2K1upFWfZgS9jG8QvLHRv2kPJQnPu5oeRC mtd68GYH+0u8tjbxnublHrcuYvLX7GqsCVJuRxlAMjaVtDYPQj8VziO/D+xcNjHeTsUpIw 3U20L+pAiN2PHQ4WscJs1bE8j8mWmwtaPKkLsuJoxH1Zb2Y+nrUibvPIjqEsi1Vfv4EX6B ZyiB+3/doLaHhuY1u+50ZdnsKH0NHyeiIBKq70JRDOMZRlQoP7TE+vzmj52NwPF8lo2PNd 0Fipusrp0gj07gQCiEf0WoOsyhRnC/jItbl41MMJiKJSIjpesLB+pABBF/2CGw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1759220314; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=z4IXGktclQyLYkcZdg0PSuHKl5GxdMfpoHFG8uIh8qM=; b=uLYaO6qs6ZxWIZhFOHzzmZGT/HtnyMoKqSpasec2k2EBR6u1L189DCkZtL/JS7aHY8LfD5 WB8Ic5ZO+E6irFn81Jn6G/jJpgKzuT5hPS2Hzrr8dMk6IAvQlfNEOyjyBR+PQ5PkzVA3Fk tMIvYJHYZi/4SkhuqacoyCYkt8mj54G1zJsRPHxnkYhSlLQ6q61O4c8D/LEQSjihgn0/7r lXok82vx7sU+ctt2gyZJB5UXp7peqMGAh2GCsGSpR5qQkzHqnQzB+0TrIpB2LIElFj02lX e7brQt4xfGnfT/iNs5YZ3oU0WCxsxNv5z0XS1EFlGZOdsKlaI8R76rMLs9Iriw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1759220314; a=rsa-sha256; cv=none; b=wdrmXSn9ByxciTYn6DadxEOidTDbZkv4Gjfz09tz1qBs4bmjGFUYhDmViSc/4DYHKdLcHP qGLUqhniDAoxXQhbEmRrXF0le6vZa6RQZDczGMd+yVOxhDCi7a9fIOErNeAM6DOfuPTwkK HnfYw7lYpZMBxZLjyAHzNw2vBlruCa+hPaXIuKAkMvblTY7dZDYstr9GTrRKQu97LNi86W QNLGAyixDJeCJV16KvWXrRNf3QABygaggbmhQQfAmQyq3y6EzTiBy4UYnr/CVJ56rYVEnQ JmbjBT4q6oWjh4+ExujMvdl3hHhIjeafEgHBCagFtEsMqxFc55TYZVC29oUOgw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4cbWCt1BdfzBh8; Tue, 30 Sep 2025 08:18:34 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 58U8IYjZ024861; Tue, 30 Sep 2025 08:18:34 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 58U8IYX6024858; Tue, 30 Sep 2025 08:18:34 GMT (envelope-from git) Date: Tue, 30 Sep 2025 08:18:34 GMT Message-Id: <202509300818.58U8IYX6024858@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Lexi Winter Subject: git: a053f948ade6 - main - libbsm: Rename package to audit-lib List-Id: Commit messages for the main branch of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-src-main@freebsd.org Sender: owner-dev-commits-src-main@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: ivy X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: a053f948ade60e8a63ebdaa676bf95c5ce38af07 Auto-Submitted: auto-generated The branch main has been updated by ivy: URL: https://cgit.FreeBSD.org/src/commit/?id=a053f948ade60e8a63ebdaa676bf95c5ce38af07 commit a053f948ade60e8a63ebdaa676bf95c5ce38af07 Author: Lexi Winter AuthorDate: 2025-09-30 08:13:03 +0000 Commit: Lexi Winter CommitDate: 2025-09-30 08:14:58 +0000 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 --- include/Makefile | 4 ++-- lib/libbsm/Makefile | 9 ++++----- release/packages/ucl/libbsm-all.ucl | 40 ------------------------------------- 3 files changed, 6 insertions(+), 47 deletions(-) diff --git a/include/Makefile b/include/Makefile index 07890362d7a6..661b2ee131ca 100644 --- a/include/Makefile +++ b/include/Makefile @@ -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 diff --git a/lib/libbsm/Makefile b/lib/libbsm/Makefile index 67802eef62ac..4413a5dd79f7 100644 --- a/lib/libbsm/Makefile +++ b/lib/libbsm/Makefile @@ -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 diff --git a/release/packages/ucl/libbsm-all.ucl b/release/packages/ucl/libbsm-all.ucl deleted file mode 100644 index 02022b91f83a..000000000000 --- a/release/packages/ucl/libbsm-all.ucl +++ /dev/null @@ -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 = <