From nobody Tue Apr 7 11:27:03 2026 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 4fqkS81BmQz6Y4LK for ; Tue, 07 Apr 2026 11:27: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" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4fqkS76vTpz4Mls for ; Tue, 07 Apr 2026 11:27:03 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1775561224; 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=lByzckKiqu9z0Pwz1TqvtmKtHZjhxkLOBL9FcI5HjW8=; b=gqHGQjDWXkBDYtsMl3ZCmw2216mz+7egehlIwAH+kX1584ecploevbCE8zcJNOatXrJl60 3wBbJlUAa8+Sb6kG9ID6a7MKycGm44sCQ4YLKC82yMfMTOCGlSwP6mID2j0LD5op83Di9U 8RiBUjRM9SrRRx1aycvtQmak1Gf2kSDao7mDeiNfw6pj+fqZ/n9QQOZP+iluxpXzSKQSIt tuuCga8B8uQnVplzQjWZKPoDdXknZckQbLML7Iioez//G0DuO/BdRk5kqRXp+wd4rvGaOz mbgct1EwdksEte8tlCfX71Ge5699NFfFzW1lwNqd4yNO23O0Dczg/stZPHGjug== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1775561224; a=rsa-sha256; cv=none; b=rKAESXWrdOVCS4R+BPgbPfyz8/XP3+uuztBogZA8yOzJefQAldO6cDdNjDorFd8mPANUj7 H+ov6+TEdvQl5VqDHj32y0Peb7iMsxiCml1FNxxPrnNrbICaGiWN96Ir+C87hzZjjJSjUn s3qCIA3hJZukQH4SYq/2upn1QyCzyHxnTC6edyBsuSoIZE4FxW0FAcRWpkZyKeQV1cGltG NSE6UIexujhc8fGyuCL/nP/NyAyJDRBmXdudLqCT50duJV3bH1tiB+IhnQUqTSWbKGfWq6 TiWmmThwR8691M5EVaK+DuQJigpzFyNPX8E7GAjK+p9WngGr36bebhdLvxb38A== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1775561224; 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=lByzckKiqu9z0Pwz1TqvtmKtHZjhxkLOBL9FcI5HjW8=; b=E+oNNPGNRzscRzZSSHa4lh32SRo+3MYLKBikT60ICtJLmr567j6An4Qm+Qz/dCv3EBhaXM I0yNjsZRywPzAzXJylLqLTPl9MsTGs9Y5PYRPu91q8njolw4QfnLzQdcaGtmtuiU1EGQS/ 8aqAEIBiLLkPksrDjkGBnWtrfy8/ipS+YUdaP8ii+WgQXrM4oIhq8RQETSPqwF9obW5vCs ykLEwA8Yvds9/L+UgeDmhRxa1wU09DTEOqEKJY/X8ixBtBwOS4yJ4oDxHxsoX7CE1m332C m2UJpNDwhgLuFwF4rXATaZPTv49BSEyvxI1/b+hKFo4fDc4fDSl2hrHyxAgViw== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) by mxrelay.nyi.freebsd.org (Postfix) with ESMTP id 4fqkS767ddzdx0 for ; Tue, 07 Apr 2026 11:27:03 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from git (uid 1279) (envelope-from git@FreeBSD.org) id 2230c by gitrepo.freebsd.org (DragonFly Mail Agent v0.13+ on gitrepo.freebsd.org); Tue, 07 Apr 2026 11:27:03 +0000 To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Lexi Winter Subject: git: 8c61751d078e - stable/15 - zstd: Move to a new zstd 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/stable/15 X-Git-Reftype: branch X-Git-Commit: 8c61751d078e433ceaee7161716a7e77eb38f14b Auto-Submitted: auto-generated Date: Tue, 07 Apr 2026 11:27:03 +0000 Message-Id: <69d4ea07.2230c.2a5c774e@gitrepo.freebsd.org> The branch stable/15 has been updated by ivy: URL: https://cgit.FreeBSD.org/src/commit/?id=8c61751d078e433ceaee7161716a7e77eb38f14b commit 8c61751d078e433ceaee7161716a7e77eb38f14b Author: Lexi Winter AuthorDate: 2026-01-06 04:23:22 +0000 Commit: Lexi Winter CommitDate: 2026-04-07 10:57:28 +0000 zstd: Move to a new zstd package Zstd is a discrete, self-contained system component. To match how we package zlib, bzip2 and xz, move it to its own package, with a separate lib package. Add the new package to the minimal set, since this is a core component that users expect to be installed. This change adds a new package to the system so, until we have a proper policy on how to handle this in release/stable branches, it should not be MFC'd. [stable/15: MFC under the re@ pkgbase policy for 15.1] MFC after: never Reviewed by: bapt Sponsored by: https://www.patreon.com/bsdivy Differential Revision: https://reviews.freebsd.org/D53603 (cherry picked from commit 9c401bf14854ef20e5e187395a686b0d1b7bcb5f) --- UPDATING | 6 ++++++ lib/libzstd/Makefile | 4 +++- release/packages/ucl/zstd-all.ucl | 30 ++++++++++++++++++++++++++++++ usr.bin/zstd/Makefile | 2 ++ 4 files changed, 41 insertions(+), 1 deletion(-) diff --git a/UPDATING b/UPDATING index ae28504cdfd3..749f59a30101 100644 --- a/UPDATING +++ b/UPDATING @@ -12,6 +12,12 @@ Items affecting the ports and packages system can be found in /usr/ports/UPDATING. Please read that file before updating system packages and/or ports. +20260407: + Zstd has moved to the new "zstd" package. If you have set-minimal + installed, this package will be installed automatically, otherwise + you might want to install it manually. This change only affects + pkgbase users. + 20251123: Commit f27afc476551 changed the internal KAPI between the NFS modules. As such. all must be recompiled from sources. diff --git a/lib/libzstd/Makefile b/lib/libzstd/Makefile index 0e25f01d4881..4a1557a14517 100644 --- a/lib/libzstd/Makefile +++ b/lib/libzstd/Makefile @@ -1,3 +1,6 @@ +PACKAGE= zstd +LIB_PACKAGE= + LIB= zstd SRCS= entropy_common.c \ error_private.c \ @@ -43,7 +46,6 @@ LIBADD= pthread CFLAGS+= -DZSTD_DISABLE_ASM PRIVATELIB= yes -PACKAGE= runtime ZSTDDIR= ${SRCTOP}/sys/contrib/zstd .PATH: ${ZSTDDIR}/lib/common ${ZSTDDIR}/lib/compress \ diff --git a/release/packages/ucl/zstd-all.ucl b/release/packages/ucl/zstd-all.ucl new file mode 100644 index 000000000000..ada125444b68 --- /dev/null +++ b/release/packages/ucl/zstd-all.ucl @@ -0,0 +1,30 @@ +/* + * 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 = "Fast, lossless compression algorithm" + +desc = <