diff options
author | adam <adam@pkgsrc.org> | 2018-01-13 19:00:09 +0000 |
---|---|---|
committer | adam <adam@pkgsrc.org> | 2018-01-13 19:00:09 +0000 |
commit | 67da5a621ce547f9fcdf2aef590111cf968861af (patch) | |
tree | c48252d844d82e2156e5083ee1e7a56380bb081f /archivers/lz4 | |
parent | b7f00c1e9b35bda8e29f0b24838a1b3a1b3c2489 (diff) | |
download | pkgsrc-67da5a621ce547f9fcdf2aef590111cf968861af.tar.gz |
lz4: updated to 1.8.1
v1.8.1
perf : faster and stronger ultra modes (levels 10+)
perf : slightly faster compression and decompression speed
perf : fix bad degenerative case
fix : decompression failed when using a combination of extDict + low memory address
cli : support for dictionary compression (-D)
cli : fix : lz4 -d --rm preserves timestamp
cli : fix : do not modify /dev/null permission as root
api : _destSize() variant supported for all compression levels
build : make and make test compatible with -jX
build : can control LZ4LIB_VISIBILITY macro
install: fix man page directory
Diffstat (limited to 'archivers/lz4')
-rw-r--r-- | archivers/lz4/Makefile | 4 | ||||
-rw-r--r-- | archivers/lz4/distinfo | 15 | ||||
-rw-r--r-- | archivers/lz4/patches/patch-lib_Makefile | 4 | ||||
-rw-r--r-- | archivers/lz4/patches/patch-lib_lz4.h | 15 | ||||
-rw-r--r-- | archivers/lz4/patches/patch-programs_Makefile | 23 |
5 files changed, 38 insertions, 23 deletions
diff --git a/archivers/lz4/Makefile b/archivers/lz4/Makefile index 0bc33fe933f..80b8c2a15fe 100644 --- a/archivers/lz4/Makefile +++ b/archivers/lz4/Makefile @@ -1,6 +1,6 @@ -# $NetBSD: Makefile,v 1.10 2017/08/19 14:54:25 adam Exp $ +# $NetBSD: Makefile,v 1.11 2018/01/13 19:00:09 adam Exp $ -DISTNAME= lz4-1.8.0 +DISTNAME= lz4-1.8.1 CATEGORIES= archivers MASTER_SITES= ${MASTER_SITE_GITHUB:=lz4/} diff --git a/archivers/lz4/distinfo b/archivers/lz4/distinfo index cceb0034b9b..b21e6dd1715 100644 --- a/archivers/lz4/distinfo +++ b/archivers/lz4/distinfo @@ -1,9 +1,10 @@ -$NetBSD: distinfo,v 1.12 2017/08/19 14:54:25 adam Exp $ +$NetBSD: distinfo,v 1.13 2018/01/13 19:00:09 adam Exp $ -SHA1 (lz4-1.8.0.tar.gz) = 3ef95c78f14ac26a806518846e4a24a2b0d825b4 -RMD160 (lz4-1.8.0.tar.gz) = 7754463e2aa30c4f429087368931d297fd4e72ab -SHA512 (lz4-1.8.0.tar.gz) = aea46d4a900a3ede7dd7b498ee938ecd98397d3277c5b3a85b4236a44777cba85cd68a2f32c993b872afda96c5dafe0cb3dd391101fe8181e17c9f48884c1535 -Size (lz4-1.8.0.tar.gz) = 222840 bytes +SHA1 (lz4-1.8.1.tar.gz) = ea19d97704125bcef5028e37e0d381c6b4d5f375 +RMD160 (lz4-1.8.1.tar.gz) = 97b6e73862f69a4467d8fbb1d7ec2489c5aa3e73 +SHA512 (lz4-1.8.1.tar.gz) = 081d98af8be1e1cb7828607ae69fadfab8b1e55b754cc6531496edbd75c47e2879ef1676be9e2db9fb7bd361d2f27e7e4c028b08ee5ee783a0d51e171cadf734 +Size (lz4-1.8.1.tar.gz) = 228375 bytes SHA1 (patch-Makefile) = 5fe6f084b772e139469817b20187c99f4f64160d -SHA1 (patch-lib_Makefile) = e2d252feeeed177baf161d2929e5e0e58b1d10ce -SHA1 (patch-programs_Makefile) = dbae583a44aa788302ac9320208808ed55944119 +SHA1 (patch-lib_Makefile) = 34794c9c2f9f81bebe64a6518fad97d6f4514c54 +SHA1 (patch-lib_lz4.h) = 69fe3e24b34865c049c633d2f10b45706addeb5a +SHA1 (patch-programs_Makefile) = f53cb9beec84f363b05c62cf28b1bac608e2f5c0 diff --git a/archivers/lz4/patches/patch-lib_Makefile b/archivers/lz4/patches/patch-lib_Makefile index 2ad0311a159..9b7d4fb68eb 100644 --- a/archivers/lz4/patches/patch-lib_Makefile +++ b/archivers/lz4/patches/patch-lib_Makefile @@ -1,4 +1,4 @@ -$NetBSD: patch-lib_Makefile,v 1.6 2017/08/19 14:54:25 adam Exp $ +$NetBSD: patch-lib_Makefile,v 1.7 2018/01/13 19:00:09 adam Exp $ Make portable. Unlock install target. Use pkgsrc install scripts. @@ -24,7 +24,7 @@ Make portable. Unlock install target. Use pkgsrc install scripts. -ifneq (,$(filter $(shell uname),Linux Darwin GNU/kFreeBSD GNU OpenBSD FreeBSD NetBSD DragonFly SunOS)) DESTDIR ?= - # directory variables : GNU convention prefers lowercase + # directory variables : GNU conventions prefer lowercase @@ -126,11 +125,7 @@ LIBDIR ?= $(libdir) includedir ?= $(PREFIX)/include INCLUDEDIR ?= $(includedir) diff --git a/archivers/lz4/patches/patch-lib_lz4.h b/archivers/lz4/patches/patch-lib_lz4.h new file mode 100644 index 00000000000..3cdd9869f0a --- /dev/null +++ b/archivers/lz4/patches/patch-lib_lz4.h @@ -0,0 +1,15 @@ +$NetBSD: patch-lib_lz4.h,v 1.1 2018/01/13 19:00:09 adam Exp $ + +Set correct version number. + +--- lib/lz4.h.orig 2018-01-13 18:37:33.000000000 +0000 ++++ lib/lz4.h +@@ -93,7 +93,7 @@ extern "C" { + /*------ Version ------*/ + #define LZ4_VERSION_MAJOR 1 /* for breaking interface changes */ + #define LZ4_VERSION_MINOR 8 /* for new (non-breaking) interface capabilities */ +-#define LZ4_VERSION_RELEASE 0 /* for tweaks, bug-fixes, or development */ ++#define LZ4_VERSION_RELEASE 1 /* for tweaks, bug-fixes, or development */ + + #define LZ4_VERSION_NUMBER (LZ4_VERSION_MAJOR *100*100 + LZ4_VERSION_MINOR *100 + LZ4_VERSION_RELEASE) + diff --git a/archivers/lz4/patches/patch-programs_Makefile b/archivers/lz4/patches/patch-programs_Makefile index 40bf9168ed8..7f4a6049ff4 100644 --- a/archivers/lz4/patches/patch-programs_Makefile +++ b/archivers/lz4/patches/patch-programs_Makefile @@ -1,8 +1,8 @@ -$NetBSD: patch-programs_Makefile,v 1.8 2017/08/19 14:54:25 adam Exp $ +$NetBSD: patch-programs_Makefile,v 1.9 2018/01/13 19:00:09 adam Exp $ Unlock install target. Use pkgsrc install scripts. ---- programs/Makefile.orig 2017-08-17 17:55:30.000000000 +0000 +--- programs/Makefile.orig 2018-01-12 22:36:10.000000000 +0000 +++ programs/Makefile @@ -106,11 +106,6 @@ clean: @echo Cleaning completed @@ -16,38 +16,37 @@ Unlock install target. Use pkgsrc install scripts. unlz4: lz4 ln -s lz4 unlz4 -@@ -134,11 +129,7 @@ BINDIR ?= $(bindir) - datarootdir ?= $(PREFIX)/share +@@ -130,11 +125,7 @@ datarootdir ?= $(PREFIX)/share mandir ?= $(datarootdir)/man + man1dir ?= $(mandir)/man1 -ifneq (,$(filter $(shell uname),OpenBSD FreeBSD NetBSD DragonFly SunOS)) -MANDIR ?= $(PREFIX)/man/man1 -else --MANDIR ?= $(mandir) +-MANDIR ?= $(man1dir) -endif +MANDIR ?= $(PREFIX)/$(PKGMANDIR)/man1 - INSTALL_PROGRAM ?= $(INSTALL) -m 755 - INSTALL_DATA ?= $(INSTALL) -m 644 -@@ -146,13 +137,13 @@ INSTALL_DATA ?= $(INSTALL) -m 644 + ifneq (,$(filter $(shell uname),SunOS)) + INSTALL ?= ginstall +@@ -148,13 +139,13 @@ INSTALL_DATA ?= $(INSTALL) -m 644 - install: lz4$(EXT) lz4c$(EXT) + install: lz4 @echo Installing binaries - @$(INSTALL) -d -m 755 $(DESTDIR)$(BINDIR)/ $(DESTDIR)$(MANDIR)/ - @$(INSTALL_PROGRAM) lz4 $(DESTDIR)$(BINDIR)/lz4 + @$(BSD_INSTALL_PROGRAM_DIR) -d -m 755 $(DESTDIR)$(BINDIR)/ $(DESTDIR)$(MANDIR)/ + @$(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 -- @$(INSTALL_PROGRAM) lz4c$(EXT) $(DESTDIR)$(BINDIR)/lz4c -+ @$(BSD_INSTALL_PROGRAM) lz4c$(EXT) $(DESTDIR)$(BINDIR)/lz4c @echo Installing man pages - @$(INSTALL_DATA) lz4.1 $(DESTDIR)$(MANDIR)/lz4.1 + @$(BSD_INSTALL_MAN) lz4.1 $(DESTDIR)$(MANDIR)/lz4.1 @ln -sf lz4.1 $(DESTDIR)$(MANDIR)/lz4c.1 @ln -sf lz4.1 $(DESTDIR)$(MANDIR)/lz4cat.1 @ln -sf lz4.1 $(DESTDIR)$(MANDIR)/unlz4.1 -@@ -169,4 +160,3 @@ uninstall: +@@ -171,4 +162,3 @@ uninstall: @$(RM) $(DESTDIR)$(MANDIR)/unlz4.1 @echo lz4 programs successfully uninstalled |