version 0.630 * checksum.buf should only be changed after the semaphore wait * Update README * Add documentation for recursive mode * Implement gzip compatible -r recursive option * Add initial argument processing for recursive option * Tidy * Add one more verbose for compat mode * Add support for various combinations in compat mode * models is array of chars. char's signess is implementation specific. It's unsigned on ARMv7. Unsigned char cannot represent negative values. GCC 6 complains about it: * Fix decompression of multiple chunk encrypted archives * Tidy gotos * Show correct lengths during testing on big endian and compressed archives * Update copyright dates * Allow less than maxram to be malloced for checksum to fix Failed to malloc ckbuf in hash_search2 * Base temporary output buffer on maximum mallocable, not maxram * Enable subdir objects for future automake compatibility * Add support for -m option in lrztar * Big endian fix for Solaris Sparc courtesy of joelfredrikson. * Fixed typographical error, changed accomodate to accommodate in README. * A whitespace fix on lrztar. * Add sanity check to prevent trying to malloc more ram than a system/environment is capable of * Cosmetic help change for compat * Add rudimentary manpage for lrz * Fix lrz symbolic linkage * Do not fail if we are unable to write temporary files, giving a warning only that it might fail if we don't have enough ram * Try /tmp/ if none of the temporary environment directories or the current directory are writeable * Set STDOUT correctly in compat mode * Style police * Fix false warning on decompressing from stdin without keep files * Fix false warning on compressing from stdin without keep files * Don't show extra message in compat mode decompress * Show correct appname when called in compat mode * Add support for progress, fast and best flags in compat mode * Add compatibility mode with gzip when called as lrz * Correct adding slash to control->tmpdir. off-by-one error. * Update manpage for long optionsdiff -r1.5 -r1.6 pkgsrc/archivers/lrzip/Makefile
(adam)
@@ -1,25 +1,25 @@ | @@ -1,25 +1,25 @@ | |||
1 | # $NetBSD: Makefile,v 1.5 2015/06/08 14:58:09 wiedi Exp $ | 1 | # $NetBSD: Makefile,v 1.6 2017/04/05 17:34:38 adam Exp $ | |
2 | 2 | |||
3 | DISTNAME= lrzip-0.621 | 3 | DISTNAME= lrzip-0.631 | |
4 | CATEGORIES= archivers | 4 | CATEGORIES= archivers | |
5 | MASTER_SITES= http://ck.kolivas.org/apps/lrzip/ | 5 | MASTER_SITES= http://ck.kolivas.org/apps/lrzip/ | |
6 | EXTRACT_SUFX= .tar.bz2 | 6 | EXTRACT_SUFX= .tar.bz2 | |
7 | 7 | |||
8 | MAINTAINER= tm@core.io | 8 | MAINTAINER= tm@core.io | |
9 | HOMEPAGE= http://ck.kolivas.org/apps/lrzip/ | 9 | HOMEPAGE= http://ck.kolivas.org/apps/lrzip/ | |
10 | COMMENT= Long Range ZIP or Lzma RZIP | 10 | COMMENT= Long Range ZIP or Lzma RZIP | |
11 | LICENSE= gnu-gpl-v2 | 11 | LICENSE= gnu-gpl-v2 | |
12 | 12 | |||
13 | GNU_CONFIGURE= yes | 13 | USE_LANGUAGES= c c++ | |
14 | USE_LIBTOOL= yes | 14 | USE_LIBTOOL= yes | |
15 | USE_TOOLS+= bash:run pkg-config pod2man | 15 | USE_TOOLS+= bash:run pkg-config pod2man | |
16 | USE_LANGUAGES= c c++ | 16 | GNU_CONFIGURE= yes | |
17 | 17 | |||
18 | PKGCONFIG_OVERRIDE+= lrzip.pc.in | 18 | PKGCONFIG_OVERRIDE+= lrzip.pc.in | |
19 | 19 | |||
20 | REPLACE_BASH+= lrztar | 20 | REPLACE_BASH+= lrztar | |
21 | 21 | |||
22 | .include "../../archivers/bzip2/buildlink3.mk" | 22 | .include "../../archivers/bzip2/buildlink3.mk" | |
23 | .include "../../archivers/lzo/buildlink3.mk" | 23 | .include "../../archivers/lzo/buildlink3.mk" | |
24 | .include "../../devel/zlib/buildlink3.mk" | 24 | .include "../../devel/zlib/buildlink3.mk" | |
25 | .include "../../mk/bsd.pkg.mk" | 25 | .include "../../mk/bsd.pkg.mk" |
@@ -1,23 +1,25 @@ | @@ -1,23 +1,25 @@ | |||
1 | @comment $NetBSD: PLIST,v 1.2 2015/06/08 14:58:09 wiedi Exp $ | 1 | @comment $NetBSD: PLIST,v 1.3 2017/04/05 17:34:38 adam Exp $ | |
2 | bin/lrunzip | 2 | bin/lrunzip | |
3 | bin/lrz | |||
3 | bin/lrzcat | 4 | bin/lrzcat | |
4 | bin/lrzip | 5 | bin/lrzip | |
5 | bin/lrztar | 6 | bin/lrztar | |
6 | bin/lrzuntar | 7 | bin/lrzuntar | |
7 | include/Lrzip.h | 8 | include/Lrzip.h | |
8 | lib/liblrzip.la | 9 | lib/liblrzip.la | |
9 | lib/pkgconfig/lrzip.pc | 10 | lib/pkgconfig/lrzip.pc | |
10 | man/man1/lrunzip.1 | 11 | man/man1/lrunzip.1 | |
12 | man/man1/lrz.1 | |||
11 | man/man1/lrzcat.1 | 13 | man/man1/lrzcat.1 | |
12 | man/man1/lrzip.1 | 14 | man/man1/lrzip.1 | |
13 | man/man1/lrztar.1 | 15 | man/man1/lrztar.1 | |
14 | man/man1/lrzuntar.1 | 16 | man/man1/lrzuntar.1 | |
15 | man/man5/lrzip.conf.5 | 17 | man/man5/lrzip.conf.5 | |
16 | share/doc/lrzip/AUTHORS | 18 | share/doc/lrzip/AUTHORS | |
17 | share/doc/lrzip/BUGS | 19 | share/doc/lrzip/BUGS | |
18 | share/doc/lrzip/COPYING | 20 | share/doc/lrzip/COPYING | |
19 | share/doc/lrzip/ChangeLog | 21 | share/doc/lrzip/ChangeLog | |
20 | share/doc/lrzip/README-NOT-BACKWARD-COMPATIBLE | 22 | share/doc/lrzip/README-NOT-BACKWARD-COMPATIBLE | |
21 | share/doc/lrzip/README.Assembler | 23 | share/doc/lrzip/README.Assembler | |
22 | share/doc/lrzip/README.benchmarks | 24 | share/doc/lrzip/README.benchmarks | |
23 | share/doc/lrzip/README.lzo_compresses.test.txt | 25 | share/doc/lrzip/README.lzo_compresses.test.txt |
@@ -1,10 +1,9 @@ | @@ -1,10 +1,9 @@ | |||
1 | $NetBSD: distinfo,v 1.4 2015/11/03 00:56:22 agc Exp $ | 1 | $NetBSD: distinfo,v 1.5 2017/04/05 17:34:38 adam Exp $ | |
2 | 2 | |||
3 | SHA1 (lrzip-0.621.tar.bz2) = 9c33f6458d39443dbf71b5c66820d4d653daf3c0 | 3 | SHA1 (lrzip-0.631.tar.bz2) = 49143bf5433270133ac9adff429e5d6c248e9019 | |
4 | RMD160 (lrzip-0.621.tar.bz2) = 91e04e6969e661ceb5b1259e125722b0cc7fc913 | 4 | RMD160 (lrzip-0.631.tar.bz2) = c88cd1c48ecc390b0fe1a5892cdb0d87ab81f3a3 | |
5 | SHA512 (lrzip-0.621.tar.bz2) = be94f54c3d84c93e3c1ab7b08ca6d2a02bc343983785be4884f42521520d2babc31db3abbec4b77dc9f710d18648adcc3d24b203289d8d4728afb3ef0fb90c0a | 5 | SHA512 (lrzip-0.631.tar.bz2) = 6420cd465ccd4581066408482335a82089f84f0aca1b05249b9fc6039b7e67df94457a7c871859e363206df3a40e93cfde576388785113f6c99b31d34c00a307 | |
6 | Size (lrzip-0.621.tar.bz2) = 503286 bytes | 6 | Size (lrzip-0.631.tar.bz2) = 522158 bytes | |
7 | SHA1 (patch-liblrzip.c) = 64092c1b186ced54ba57aba21eb4c9180c82e3ed | 7 | SHA1 (patch-liblrzip.c) = 43ff44a9c1d93a68c878dd9e28c89c1a1775ec71 | |
8 | SHA1 (patch-lrzip.h) = 42c3f7eccbd93e1bad5bb91941c1e69a2ff261cd | 8 | SHA1 (patch-lrzip.h) = 23a05190835ae952626172108b624e83c00b574a | |
9 | SHA1 (patch-lrzip__private.h) = 17eb75f2a497a47d575cfbe075953311097024cc | 9 | SHA1 (patch-lrzip__private.h) = 17eb75f2a497a47d575cfbe075953311097024cc | |
10 | SHA1 (patch-rzip.c) = 787e891b25db11bd7f7a6ee52869224f646ecec8 |
@@ -1,14 +1,15 @@ | @@ -1,14 +1,15 @@ | |||
1 | $NetBSD: patch-liblrzip.c,v 1.1 2013/10/21 11:29:05 fhajny Exp $ | 1 | $NetBSD: patch-liblrzip.c,v 1.2 2017/04/05 17:34:39 adam Exp $ | |
2 | ||||
3 | fmemopen() is also not available on SunOS. | |||
2 | 4 | |||
3 | fmemopen is also not available on SunOS. | |||
4 | --- liblrzip.c.orig 2013-09-01 14:41:11.000000000 +0000 | 5 | --- liblrzip.c.orig 2013-09-01 14:41:11.000000000 +0000 | |
5 | +++ liblrzip.c | 6 | +++ liblrzip.c | |
6 | @@ -36,7 +36,7 @@ | 7 | @@ -36,7 +36,7 @@ | |
7 | #include "lrzip_core.h" | 8 | #include "lrzip_core.h" | |
8 | #include "rzip.h" | 9 | #include "rzip.h" | |
9 | 10 | |||
10 | -#if defined(__APPLE__) || defined(__FreeBSD__) | 11 | -#if defined(__APPLE__) || defined(__FreeBSD__) | |
11 | +#if defined(__APPLE__) || defined(__FreeBSD__) || defined(__sun) | 12 | +#if defined(__APPLE__) || defined(__FreeBSD__) || defined(__sun) | |
12 | # define fmemopen(s, len, modes) fake_fmemopen((s), (len), (modes)) | 13 | # define fmemopen(s, len, modes) fake_fmemopen((s), (len), (modes)) | |
13 | static FILE *fake_fmemopen(void *buf, size_t buflen, const char *mode) | 14 | static FILE *fake_fmemopen(void *buf, size_t buflen, const char *mode) | |
14 | { | 15 | { |
@@ -1,14 +1,15 @@ | @@ -1,14 +1,15 @@ | |||
1 | $NetBSD: patch-lrzip.h,v 1.1 2013/10/21 11:29:05 fhajny Exp $ | 1 | $NetBSD: patch-lrzip.h,v 1.2 2017/04/05 17:34:39 adam Exp $ | |
2 | 2 | |||
3 | stdarg needed with modern GCC for va_list. | 3 | stdarg needed with modern GCC for va_list. | |
4 | ||||
4 | --- Lrzip.h.orig 2012-05-10 12:45:41.000000000 +0000 | 5 | --- Lrzip.h.orig 2012-05-10 12:45:41.000000000 +0000 | |
5 | +++ Lrzip.h | 6 | +++ Lrzip.h | |
6 | @@ -28,6 +28,8 @@ | 7 | @@ -28,6 +28,8 @@ | |
7 | # include <inttypes.h> | 8 | # include <inttypes.h> | |
8 | #endif | 9 | #endif | |
9 | 10 | |||
10 | +#include <stdarg.h> | 11 | +#include <stdarg.h> | |
11 | + | 12 | + | |
12 | #ifdef __cplusplus | 13 | #ifdef __cplusplus | |
13 | extern "C" { | 14 | extern "C" { | |
14 | #endif | 15 | #endif |