Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 17 Nov 2025 22:12:40 GMT
From:      Matthias Andree <mandree@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 4f313c8fd2f4 - main - archivers/zstd: remove lz4, fix manpages
Message-ID:  <202511172212.5AHMCe7J048636@gitrepo.freebsd.org>

index | next in thread | raw e-mail

The branch main has been updated by mandree:

URL: https://cgit.FreeBSD.org/ports/commit/?id=4f313c8fd2f40d0e16492613e593a40724102137

commit 4f313c8fd2f40d0e16492613e593a40724102137
Author:     Matthias Andree <mandree@FreeBSD.org>
AuthorDate: 2025-11-02 11:04:40 +0000
Commit:     Matthias Andree <mandree@FreeBSD.org>
CommitDate: 2025-11-17 22:10:34 +0000

    archivers/zstd: remove lz4, fix manpages
    
    This shortens the requisite path for lang/python314,
    and we have a separate archivers/lz4 port.
    
    This also updates the manual pages to v1.5.7, the
    release tarball missed updating them, see
    <https://github.com/facebook/zstd/releases/tag/v1.5.7>;
    
    PR:             290739
    Approved by:    maintainer timeout (sunpoet@, 15 days)
---
 archivers/zstd/Makefile | 11 +++++++++--
 archivers/zstd/distinfo |  4 +++-
 2 files changed, 12 insertions(+), 3 deletions(-)

diff --git a/archivers/zstd/Makefile b/archivers/zstd/Makefile
index 08c117e9fe55..b56e3290420d 100644
--- a/archivers/zstd/Makefile
+++ b/archivers/zstd/Makefile
@@ -1,8 +1,14 @@
 PORTNAME=	zstd
 PORTVERSION=	1.5.7
+PORTREVISION=	1
 CATEGORIES=	archivers
 MASTER_SITES=	https://github.com/facebook/zstd/releases/download/v${PORTVERSION}/
 
+# update manpages to v1.5.7, were missed in the release,
+# see https://github.com/facebook/zstd/releases/tag/v1.5.7
+PATCH_SITES=	https://github.com/facebook/zstd/commit/
+PATCHFILES=	6af3842118ea5325480b403213b2a9fbed3d3d74.diff:-p1 # v1.5.7 manpages
+
 MAINTAINER=	sunpoet@FreeBSD.org
 COMMENT=	Fast real-time compression algorithm
 WWW=		https://facebook.github.io/zstd/ \
@@ -13,8 +19,8 @@ LICENSE_COMB=	dual
 LICENSE_FILE_BSD3CLAUSE=${WRKSRC}/LICENSE
 LICENSE_FILE_GPLv2=	${WRKSRC}/COPYING
 
-LIB_DEPENDS=	liblz4.so:archivers/liblz4
-
+# Note this port is in the dependency chain of lang/python314
+# as a requisite, thus cannot use meson or python to build
 USES=		cpe gmake localbase:ldflags tar:zst
 
 ALL_TARGET=	default
@@ -25,6 +31,7 @@ MAKE_ENV=	INSTALL_DATA="${INSTALL_DATA}" \
 		INSTALL_PROGRAM="${INSTALL_PROGRAM}" \
 		INSTALL_SCRIPT="${INSTALL_SCRIPT}" \
 		V=1
+MAKE_ARGS+=	${_MAKE_JOBS} HAVE_LZ4=0
 TEST_TARGET=	check
 USE_LDCONFIG=	yes
 
diff --git a/archivers/zstd/distinfo b/archivers/zstd/distinfo
index 06fcc91f806d..53cddd81d61c 100644
--- a/archivers/zstd/distinfo
+++ b/archivers/zstd/distinfo
@@ -1,3 +1,5 @@
-TIMESTAMP = 1740022434
+TIMESTAMP = 1762084535
 SHA256 (zstd-1.5.7.tar.zst) = 5b331d961d6989dc21bb03397fc7a2a4d86bc65a14adc5ffbbce050354e30fd2
 SIZE (zstd-1.5.7.tar.zst) = 1862563
+SHA256 (6af3842118ea5325480b403213b2a9fbed3d3d74.diff) = 505a0dc5d6b9a3e6d5eba26a90dfc6b488908bbd8a616229aa4f4a04c357883b
+SIZE (6af3842118ea5325480b403213b2a9fbed3d3d74.diff) = 53062


home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202511172212.5AHMCe7J048636>