Page MenuHomeFreeBSD

D53603.id165921.diff
No OneTemporary

D53603.id165921.diff

diff --git a/UPDATING b/UPDATING
--- a/UPDATING
+++ b/UPDATING
@@ -27,6 +27,12 @@
world, or to merely disable the most expensive debugging functionality
at runtime, run "ln -s 'abort:false,junk:false' /etc/malloc.conf".)
+20251105:
+ 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.
+
20251105:
pf(4) now supports nat64 via the af-to keyword.
diff --git a/lib/libzstd/Makefile b/lib/libzstd/Makefile
--- 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 @@
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
--- /dev/null
+++ b/release/packages/ucl/zstd-all.ucl
@@ -0,0 +1,30 @@
+/*
+ * SPDX-License-Identifier: ISC
+ *
+ * Copyright (c) 2025 Lexi Winter <ivy@FreeBSD.org>
+ *
+ * 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 = <<EOD
+Zstandard, also called zstd, is a fast data compression algorithm developed
+by Meta Platforms, Inc. and standardised by the IETF in RFC 8478. Zstd is
+designed to offer a compression ratio comparable to DEFLATE (zlib), but with
+performance suitable for real-time compression applications.
+EOD
+
+annotations {
+ set = "minimal,minimal-jail"
+}
diff --git a/usr.bin/zstd/Makefile b/usr.bin/zstd/Makefile
--- a/usr.bin/zstd/Makefile
+++ b/usr.bin/zstd/Makefile
@@ -1,3 +1,5 @@
+PACKAGE= zstd
+
PROG= zstd
SRCS= \
benchfn.c \

File Metadata

Mime Type
text/plain
Expires
Sun, Apr 12, 1:49 AM (10 h, 6 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
31321821
Default Alt Text
D53603.id165921.diff (2 KB)

Event Timeline