pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/archivers/lz4 archivers/lz4: Update to 1.8.3.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/708f741383e1
branches:  trunk
changeset: 312792:708f741383e1
user:      fhajny <fhajny%pkgsrc.org@localhost>
date:      Fri Sep 14 09:48:56 2018 +0000

description:
archivers/lz4: Update to 1.8.3.

- perf: minor decompression speed improvement (~+2%) with gcc
- fix : corruption in v1.8.2 at level 9 for files > 64KB under rare
  conditions (#560)
- cli : new command --fast, by @jennifermliu
- api : LZ4_decompress_safe_partial() now decodes exactly the nb of
  bytes requested (feature request #566)
- build : added Haiku target, by @fbrosson, and MidnightBSD, by @laffer1
- doc : updated documentation regarding dictionary compression

diffstat:

 archivers/lz4/Makefile                        |   4 ++--
 archivers/lz4/distinfo                        |  16 ++++++++--------
 archivers/lz4/patches/patch-Makefile          |  10 +++++-----
 archivers/lz4/patches/patch-lib_Makefile      |  18 +++++++++---------
 archivers/lz4/patches/patch-programs_Makefile |  18 +++++++++---------
 5 files changed, 33 insertions(+), 33 deletions(-)

diffs (164 lines):

diff -r a4cbaba454a4 -r 708f741383e1 archivers/lz4/Makefile
--- a/archivers/lz4/Makefile    Fri Sep 14 09:26:18 2018 +0000
+++ b/archivers/lz4/Makefile    Fri Sep 14 09:48:56 2018 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.13 2018/05/10 13:16:27 adam Exp $
+# $NetBSD: Makefile,v 1.14 2018/09/14 09:48:56 fhajny Exp $
 
-DISTNAME=      lz4-1.8.2
+DISTNAME=      lz4-1.8.3
 CATEGORIES=    archivers
 MASTER_SITES=  ${MASTER_SITE_GITHUB:=lz4/}
 GITHUB_TAG=    v${PKGVERSION_NOREV}
diff -r a4cbaba454a4 -r 708f741383e1 archivers/lz4/distinfo
--- a/archivers/lz4/distinfo    Fri Sep 14 09:26:18 2018 +0000
+++ b/archivers/lz4/distinfo    Fri Sep 14 09:48:56 2018 +0000
@@ -1,9 +1,9 @@
-$NetBSD: distinfo,v 1.15 2018/05/10 13:16:27 adam Exp $
+$NetBSD: distinfo,v 1.16 2018/09/14 09:48:56 fhajny Exp $
 
-SHA1 (lz4-1.8.2.tar.gz) = dc24ee207db0b4481ff5e74b608c1af1c18c5a7c
-RMD160 (lz4-1.8.2.tar.gz) = 649f51b1951a5a41a4d2ee79af1dbcfc5b917c8a
-SHA512 (lz4-1.8.2.tar.gz) = 5fadc79334d37739c947d6dfc24f48ce82989fc5ee4f2bb8201ccf7ee3230b9e6e7c8488beb64050a035369f4247161d258bdb539578bec224ccebfef1b8a763
-Size (lz4-1.8.2.tar.gz) = 320742 bytes
-SHA1 (patch-Makefile) = 5fe6f084b772e139469817b20187c99f4f64160d
-SHA1 (patch-lib_Makefile) = 2c413d93a8cc66d0a61b701269a9cdc6da3a72c6
-SHA1 (patch-programs_Makefile) = e3260da1758999d1e7c20ff7e7bae92575d1fa1e
+SHA1 (lz4-1.8.3.tar.gz) = 070867abcd93a7245b80ec6fc2ced27c6b8e3e0c
+RMD160 (lz4-1.8.3.tar.gz) = b3c36093fe317942eb02b4a944e3bfe37598a2d1
+SHA512 (lz4-1.8.3.tar.gz) = 5d284f75a0c4ad11ebc4abb4394d98c863436da0718d62f648ef2e2cda8e5adf47617a4b43594375f7b0b673541a9ccfaf73880a55fd240986594558214dbf9f
+Size (lz4-1.8.3.tar.gz) = 327897 bytes
+SHA1 (patch-Makefile) = b244760f8fa20813b8c830819bd363de7d9d3159
+SHA1 (patch-lib_Makefile) = 798a624cd51b93b31a07d5afe538940d618db845
+SHA1 (patch-programs_Makefile) = 517ddd16056faefaddcbbced0aa00cad7530890a
diff -r a4cbaba454a4 -r 708f741383e1 archivers/lz4/patches/patch-Makefile
--- a/archivers/lz4/patches/patch-Makefile      Fri Sep 14 09:26:18 2018 +0000
+++ b/archivers/lz4/patches/patch-Makefile      Fri Sep 14 09:48:56 2018 +0000
@@ -1,18 +1,18 @@
-$NetBSD: patch-Makefile,v 1.7 2017/08/19 14:54:25 adam Exp $
+$NetBSD: patch-Makefile,v 1.8 2018/09/14 09:48:56 fhajny Exp $
 
 Unlock install target.
 
---- Makefile.orig      2017-08-17 17:55:30.000000000 +0000
+--- Makefile.orig      2018-09-11 19:52:06.000000000 +0000
 +++ Makefile
-@@ -90,7 +90,6 @@ clean:
+@@ -89,7 +89,6 @@ clean:
  #-----------------------------------------------------------------------------
  # make install is validated only for Linux, OSX, BSD, Hurd and Solaris targets
  #-----------------------------------------------------------------------------
--ifneq (,$(filter $(shell uname),Linux Darwin GNU/kFreeBSD GNU OpenBSD FreeBSD NetBSD DragonFly SunOS))
+-ifneq (,$(filter $(shell uname),Linux Darwin GNU/kFreeBSD GNU OpenBSD FreeBSD NetBSD DragonFly SunOS Haiku MidnightBSD))
  HOST_OS = POSIX
  
  .PHONY: install uninstall
-@@ -104,7 +103,6 @@ travis-install:
+@@ -103,7 +102,6 @@ travis-install:
  cmake:
        @cd contrib/cmake_unofficial; cmake $(CMAKE_PARAMS) CMakeLists.txt; $(MAKE)
  
diff -r a4cbaba454a4 -r 708f741383e1 archivers/lz4/patches/patch-lib_Makefile
--- a/archivers/lz4/patches/patch-lib_Makefile  Fri Sep 14 09:26:18 2018 +0000
+++ b/archivers/lz4/patches/patch-lib_Makefile  Fri Sep 14 09:48:56 2018 +0000
@@ -1,8 +1,8 @@
-$NetBSD: patch-lib_Makefile,v 1.8 2018/05/10 13:16:27 adam Exp $
+$NetBSD: patch-lib_Makefile,v 1.9 2018/09/14 09:48:56 fhajny Exp $
 
 Make portable. Unlock install target. Use pkgsrc install scripts.
 
---- lib/Makefile.orig  2018-05-07 21:38:45.000000000 +0000
+--- lib/Makefile.orig  2018-09-11 19:52:06.000000000 +0000
 +++ lib/Makefile
 @@ -33,9 +33,9 @@
  # ################################################################
@@ -17,19 +17,19 @@
  LIBVER_SCRIPT:= $(LIBVER_MAJOR_SCRIPT).$(LIBVER_MINOR_SCRIPT).$(LIBVER_PATCH_SCRIPT)
  LIBVER_MAJOR := $(shell echo $(LIBVER_MAJOR_SCRIPT))
  LIBVER_MINOR := $(shell echo $(LIBVER_MINOR_SCRIPT))
-@@ -123,7 +123,6 @@ clean:
+@@ -124,7 +124,6 @@ clean:
  #-----------------------------------------------------------------------------
  # make install is validated only for Linux, OSX, BSD, Hurd and Solaris targets
  #-----------------------------------------------------------------------------
--ifneq (,$(filter $(shell uname),Linux Darwin GNU/kFreeBSD GNU OpenBSD FreeBSD NetBSD DragonFly SunOS))
+-ifneq (,$(filter $(shell uname),Linux Darwin GNU/kFreeBSD GNU OpenBSD FreeBSD NetBSD DragonFly SunOS Haiku MidnightBSD))
  
  .PHONY: listL120
  listL120:  # extract lines >= 120 characters in *.{c,h}, by Takayuki Matsuoka (note : $$, for Makefile compatibility)
-@@ -142,12 +141,7 @@ libdir      ?= $(LIBDIR)
+@@ -143,12 +142,7 @@ libdir      ?= $(LIBDIR)
  INCLUDEDIR  ?= $(prefix)/include
  includedir  ?= $(INCLUDEDIR)
  
--ifneq (,$(filter $(shell uname),OpenBSD FreeBSD NetBSD DragonFly))
+-ifneq (,$(filter $(OS),OpenBSD FreeBSD NetBSD DragonFly))
 -PKGCONFIGDIR ?= $(prefix)/libdata/pkgconfig
 -else
 -PKGCONFIGDIR ?= $(libdir)/pkgconfig
@@ -37,9 +37,9 @@
 -pkgconfigdir ?= $(PKGCONFIGDIR)
 +pkgconfigdir ?= $(prefix)/lib/pkgconfig
  
- ifneq (,$(filter $(shell uname),SunOS))
+ ifneq (,$(filter $(OS),SunOS))
  INSTALL ?= ginstall
-@@ -160,29 +154,29 @@ INSTALL_DATA    ?= $(INSTALL) -m 644
+@@ -161,29 +155,29 @@ INSTALL_DATA    ?= $(INSTALL) -m 644
  
  liblz4.pc: liblz4.pc.in Makefile
        @echo creating pkgconfig
@@ -81,7 +81,7 @@
        @echo lz4 libraries installed
  
  uninstall:
-@@ -197,4 +191,3 @@ uninstall:
+@@ -198,4 +192,3 @@ uninstall:
        $(Q)$(RM) $(DESTDIR)$(includedir)/lz4frame_static.h
        @echo lz4 libraries successfully uninstalled
  
diff -r a4cbaba454a4 -r 708f741383e1 archivers/lz4/patches/patch-programs_Makefile
--- a/archivers/lz4/patches/patch-programs_Makefile     Fri Sep 14 09:26:18 2018 +0000
+++ b/archivers/lz4/patches/patch-programs_Makefile     Fri Sep 14 09:48:56 2018 +0000
@@ -1,8 +1,8 @@
-$NetBSD: patch-programs_Makefile,v 1.10 2018/05/10 13:16:27 adam Exp $
+$NetBSD: patch-programs_Makefile,v 1.11 2018/09/14 09:48:56 fhajny Exp $
 
 Unlock install target. Use pkgsrc install scripts.
 
---- programs/Makefile.orig     2018-05-07 21:38:45.000000000 +0000
+--- programs/Makefile.orig     2018-09-11 19:52:06.000000000 +0000
 +++ programs/Makefile
 @@ -106,11 +106,6 @@ clean:
        @echo Cleaning completed
@@ -11,10 +11,10 @@
 -#-----------------------------------------------------------------------------
 -# make install is validated only for Linux, OSX, BSD, Hurd and Solaris targets
 -#-----------------------------------------------------------------------------
--ifneq (,$(filter $(shell uname),Linux Darwin GNU/kFreeBSD GNU OpenBSD FreeBSD NetBSD DragonFly SunOS))
+-ifneq (,$(filter $(shell uname),Linux Darwin GNU/kFreeBSD GNU OpenBSD FreeBSD NetBSD DragonFly SunOS Haiku MidnightBSD))
 -
  unlz4: lz4
-       ln -s lz4 unlz4
+       ln -s lz4$(EXT) unlz4$(EXT)
  
 @@ -129,7 +124,7 @@ BINDIR      ?= $(exec_prefix)/bin
  bindir      ?= $(BINDIR)
@@ -30,12 +30,12 @@
  install: lz4
        @echo Installing binaries
 -      @$(INSTALL) -d -m 755 $(DESTDIR)$(bindir)/ $(DESTDIR)$(man1dir)/
--      @$(INSTALL_PROGRAM) lz4 $(DESTDIR)$(bindir)/lz4
+-      @$(INSTALL_PROGRAM) lz4$(EXT) $(DESTDIR)$(bindir)/lz4$(EXT)
 +      @$(BSD_INSTALL_PROGRAM_DIR) $(DESTDIR)$(bindir)/ $(DESTDIR)$(man1dir)/
-+      @$(BSD_INSTALL_PROGRAM) lz4 $(DESTDIR)$(bindir)/lz4
-       @ln -sf lz4 $(DESTDIR)$(bindir)/lz4c
-       @ln -sf lz4 $(DESTDIR)$(bindir)/lz4cat
-       @ln -sf lz4 $(DESTDIR)$(bindir)/unlz4
++      @$(BSD_INSTALL_PROGRAM) lz4$(EXT) $(DESTDIR)$(bindir)/lz4$(EXT)
+       @ln -sf lz4$(EXT) $(DESTDIR)$(bindir)/lz4c$(EXT)
+       @ln -sf lz4$(EXT) $(DESTDIR)$(bindir)/lz4cat$(EXT)
+       @ln -sf lz4$(EXT) $(DESTDIR)$(bindir)/unlz4$(EXT)
        @echo Installing man pages
 -      @$(INSTALL_DATA) lz4.1 $(DESTDIR)$(man1dir)/lz4.1
 +      @$(BSD_INSTALL_MAN) lz4.1 $(DESTDIR)$(man1dir)/lz4.1



Home | Main Index | Thread Index | Old Index