From nobody Sun Oct 26 02:28:04 2025 X-Original-To: dev-commits-src-all@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 4cvLCS4h5qz6Dh51; Sun, 26 Oct 2025 02:28:04 +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 4cvLCS48Kbz3H8q; Sun, 26 Oct 2025 02:28:04 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1761445684; 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=nZyK8UG9DjUODDytUlQcv1WmOYjtHNYovwux4bJby8A=; b=diTqMRGYDzYIzk+EBPKaTWnR/C4TvLpQxPNd57CJJns1c19i0CJ5L/t9FUMNT+MiHd8tYZ eoKGzjpUrt07d8ofejJdisXgH4K9Uoo8sIG4i6rv447I8DRrin1YrJmfynSnKODNRKxAvT lb8sxiaPujR+CrN+uje78JpZ5O6SIsNqW4HTiTzNr/KlQxINd/pCaHHPjQrrJE9jyShR16 xuyZRs4ov6EI3z7cNxVk/3DHYmGz1aLZYnXQDnQhG+NXVM948Q5dtsI6swBgAn8lqRm7UV PGCtJCLVOcGgk+2nyn3wDZfOhp0MiHxd/g72fAfYxUhMR2sDaKzMShFu+TrrCA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1761445684; 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=nZyK8UG9DjUODDytUlQcv1WmOYjtHNYovwux4bJby8A=; b=sEF9fN8Pm6AgRfCZ0QFiGhSj4GzJsK6j330rUHZ+3WFhqKsLlYuJmzFes8zO2boOo3glV/ 5UEnoO2B0hUbGfuCdkVPOluckS23wIT+3kPZtMfSXPzNputn6SWjKKzahbxapiHl/QEKHg L4j+2edo6l8EihcUOise0Lx1XtO49Ab5IfywswTrj18JNgf63Zo9v74ckB054B3Qj00fk5 X9uNcSCgTg+FxLZzc/CSF3JXxbYI+RrK9EEh2AMFnD3Y7A7QGeoAYgSUH08kVc3f+dZX9/ JH8hVI9Wf07uMoKW0emZNLMKtQmbx9ckaWvwOLkFf4iku1cP3yvS7TTvZVAZow== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1761445684; a=rsa-sha256; cv=none; b=btdrHSzfXWKx//qr8mxTxX5VkG3HCBmUm8JSbyW1Y+zhbrE47BaDa0JrvvG5S5cYg2pbpZ EbB+ev87iOSxyGy3eu7On6Vr5jjhJim86LJ210G2oNJfJFytbz+BP6wsmSCpIB0L5kBs53 XBa9o13288CJ0Fp2soL/wiIka/zZCbt3626crCIXwF6bJorowvcG/oT46a3s0y/0MenpQb +b/e/II1onCDuckndena3ph4cyhTP3rjxbekNu4sHWSk7+95x0na8WHZkUA2LYWQcd/dxO 1lXXXC26IDKxLJbpYsQ6Eh9JQhiX66yrLa4MM3c7viUUw+xZmrUA9m7tN1e5dg== 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 4cvLCS3l9Xz1Cml; Sun, 26 Oct 2025 02:28:04 +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 59Q2S4NG069001; Sun, 26 Oct 2025 02:28:04 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 59Q2S4vq068998; Sun, 26 Oct 2025 02:28:04 GMT (envelope-from git) Date: Sun, 26 Oct 2025 02:28:04 GMT Message-Id: <202510260228.59Q2S4vq068998@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: 957715f877b5 - main - flua: Move to a new flua package List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-src-all@freebsd.org Sender: owner-dev-commits-src-all@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: 957715f877b57a17545ead94d27ea8fd3ff4932a Auto-Submitted: auto-generated The branch main has been updated by ivy: URL: https://cgit.FreeBSD.org/src/commit/?id=957715f877b57a17545ead94d27ea8fd3ff4932a commit 957715f877b57a17545ead94d27ea8fd3ff4932a Author: Lexi Winter AuthorDate: 2025-10-25 17:21:37 +0000 Commit: Lexi Winter CommitDate: 2025-10-26 02:22:47 +0000 flua: Move to a new flua package flua is a standalone third-party component that deserves its own package. In particular, this means things can use flua without having to depend on FreeBSD-utilities, which will be useful as more base utilities use flua. This saves ~500kB in FreeBSD-utilities for systems which don't need flua. MFC after: 3 days Reviewed by: kevans Sponsored by: https://www.patreon.com/bsdivy Differential Revision: https://reviews.freebsd.org/D53161 --- UPDATING | 6 ++++++ libexec/flua/Makefile | 2 ++ libexec/flua/Makefile.inc | 2 ++ release/packages/ucl/bsdinstall.ucl | 5 +++++ release/packages/ucl/flua-all.ucl | 32 ++++++++++++++++++++++++++++++++ release/packages/ucl/nuageinit-all.ucl | 7 +++++++ release/packages/ucl/tests.ucl | 27 +++++++++++++++++++++++++++ 7 files changed, 81 insertions(+) diff --git a/UPDATING b/UPDATING index 448febb5ba1a..d89afb7ef429 100644 --- a/UPDATING +++ b/UPDATING @@ -27,6 +27,12 @@ NOTE TO PEOPLE WHO THINK THAT FreeBSD 16.x IS SLOW: world, or to merely disable the most expensive debugging functionality at runtime, run "ln -s 'abort:false,junk:false' /etc/malloc.conf".) +20251025: + flua(1) has moved to the new FreeBSD-flua package. If you use flua, + you may want to install this package if it's not otherwise installed + as a dependency of something else. This change only affects pkgbase + users. + 20251021: Bump __FreeBSD_version to 1600002 for LinuxKPI. An embedded struct has changed size and might possibly be an issue otherwise. diff --git a/libexec/flua/Makefile b/libexec/flua/Makefile index 23de404710d0..f1c46b270ded 100644 --- a/libexec/flua/Makefile +++ b/libexec/flua/Makefile @@ -1,5 +1,7 @@ .include +PACKAGE= flua + # New flua modules should be added here rather than to SUBDIR so that we can do # the right thing for both bootstrap flua and target flua. The former does not # do any shared libs, so we just build them all straight into flua itself rather diff --git a/libexec/flua/Makefile.inc b/libexec/flua/Makefile.inc index 37a49e258ecb..5e214c76921b 100644 --- a/libexec/flua/Makefile.inc +++ b/libexec/flua/Makefile.inc @@ -1,3 +1,5 @@ +PACKAGE= flua + SHLIBDIR?= ${LIBDIR}/flua CFLAGS+= \ diff --git a/release/packages/ucl/bsdinstall.ucl b/release/packages/ucl/bsdinstall.ucl index 7fe8898b9427..96ff220bfb54 100644 --- a/release/packages/ucl/bsdinstall.ucl +++ b/release/packages/ucl/bsdinstall.ucl @@ -21,4 +21,9 @@ deps { "runtime" { version = "${VERSION}" }, + + # the pkgbase script requires flua + "flua" { + version = "${VERSION}" + }, } diff --git a/release/packages/ucl/flua-all.ucl b/release/packages/ucl/flua-all.ucl new file mode 100644 index 000000000000..7488e2e36839 --- /dev/null +++ b/release/packages/ucl/flua-all.ucl @@ -0,0 +1,32 @@ +/* + * SPDX-License-Identifier: ISC + * + * Copyright (c) 2025 Lexi Winter + * + * Permission to use, copy, modify, and distribute this software for any + * purpose with or without fee is hereby granted, provided that the above + * copyright notice and this permission notice appear in all copies. + * + * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES + * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF + * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR + * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES + * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN + * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF + * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. + */ + +comment = "Private Lua implementation" + +desc = < + * + * Permission to use, copy, modify, and distribute this software for any + * purpose with or without fee is hereby granted, provided that the above + * copyright notice and this permission notice appear in all copies. + * + * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES + * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF + * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR + * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES + * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN + * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF + * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. + */ + + +deps { + # Quite a few tests require flua. + "flua" { + version = "${VERSION}" + }, +} + +