Thursday, March 29, 2018

UPDATE archivers/zstd

zstd received an update, which focuses on performance. Changelog can be
found at https://github.com/facebook/zstd/blob/dev/NEWS. The major
number of the shared lib has been bumped as a couple of symbols have
been removed, and new ones have been added.

I've been running with this update for a couple of days on AMD64 using
its only customer: borgbackup.

OK?


Index: Makefile
===================================================================
RCS file: /cvs/ports/archivers/zstd/Makefile,v
retrieving revision 1.15
diff -u -p -r1.15 Makefile
--- Makefile 14 Jan 2018 10:30:28 -0000 1.15
+++ Makefile 30 Mar 2018 03:19:01 -0000
@@ -4,9 +4,8 @@ COMMENT = zstandard fast real-time comp

GH_ACCOUNT = facebook
GH_PROJECT = zstd
-GH_TAGNAME = v1.3.3
-REVISION = 0
-SHARED_LIBS = zstd 0.0 #1.3.3
+GH_TAGNAME = v1.3.4
+SHARED_LIBS = zstd 1.0 # 1.3.4

CATEGORIES = archivers

@@ -17,7 +16,7 @@ MAINTAINER = Bjorn Ketelaars <bjorn.ket
# BSD 3 clauses + GPLv2
PERMIT_PACKAGE_CDROM = Yes

-WANTLIB = c lz4 lzma pthread z
+WANTLIB = c lz4 lzma pthread z

LIB_DEPENDS = archivers/lz4 \
archivers/xz
Index: distinfo
===================================================================
RCS file: /cvs/ports/archivers/zstd/distinfo,v
retrieving revision 1.9
diff -u -p -r1.9 distinfo
--- distinfo 4 Jan 2018 14:47:20 -0000 1.9
+++ distinfo 30 Mar 2018 03:19:01 -0000
@@ -1,2 +1,2 @@
-SHA256 (zstd-1.3.3.tar.gz) = p3xHFT7n3gJibFsqCXAFeGtxaIvmHp+4GAagEfkLKXs=
-SIZE (zstd-1.3.3.tar.gz) = 1857232
+SHA256 (zstd-1.3.4.tar.gz) = kuQbbo3Sa71GJI6KodhvFVG8Ihp5Yneuk2KVTybWBak=
+SIZE (zstd-1.3.4.tar.gz) = 2059958
Index: patches/patch-Makefile
===================================================================
RCS file: /cvs/ports/archivers/zstd/patches/patch-Makefile,v
retrieving revision 1.1
diff -u -p -r1.1 patch-Makefile
--- patches/patch-Makefile 4 Jan 2018 14:47:20 -0000 1.1
+++ patches/patch-Makefile 30 Mar 2018 03:19:01 -0000
@@ -3,7 +3,7 @@ $OpenBSD: patch-Makefile,v 1.1 2018/01/0
Index: Makefile
--- Makefile.orig
+++ Makefile
-@@ -107,7 +107,7 @@ clean:
+@@ -120,7 +120,7 @@ clean:
#------------------------------------------------------------------------------
# make install is validated only for Linux, OSX, Hurd and some BSD targets
#------------------------------------------------------------------------------
Index: patches/patch-examples_Makefile
===================================================================
RCS file: patches/patch-examples_Makefile
diff -N patches/patch-examples_Makefile
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ patches/patch-examples_Makefile 30 Mar 2018 03:19:01 -0000
@@ -0,0 +1,14 @@
+$OpenBSD$
+
+Index: examples/Makefile
+--- examples/Makefile.orig
++++ examples/Makefile
+@@ -22,7 +22,7 @@ all: simple_compression simple_decompression \
+ multiple_streaming_compression streaming_memory_usage
+
+ $(LIB) :
+- make -C ../lib libzstd.a
++ $(MAKE) -C ../lib libzstd.a
+
+ simple_compression : simple_compression.c $(LIB)
+ $(CC) $(CPPFLAGS) $(CFLAGS) $^ $(LDFLAGS) -o $@
Index: patches/patch-tests_playTests_sh
===================================================================
RCS file: /cvs/ports/archivers/zstd/patches/patch-tests_playTests_sh,v
retrieving revision 1.8
diff -u -p -r1.8 patch-tests_playTests_sh
--- patches/patch-tests_playTests_sh 4 Jan 2018 14:47:20 -0000 1.8
+++ patches/patch-tests_playTests_sh 30 Mar 2018 03:19:01 -0000
@@ -10,7 +10,7 @@ Index: tests/playTests.sh
*) MD5SUM="md5sum" ;;
esac

-@@ -237,7 +238,7 @@ rm ./*.tmp ./*.zstd
+@@ -258,7 +259,7 @@ rm ./*.tmp ./*.zstd
$ECHO "frame concatenation tests completed"

No comments:

Post a Comment