Mon Oct 21 11:29:05 2013 UTC ()
Import lrzip-0.616 as archivers/lrzip.
Compression program optimised for large files. The larger the file and the
more memory you have, the better the compression advantage this will provide,
especially once the files are larger than 100MB. The advantage can be chosen
to be either size (much smaller than bzip2) or speed (much faster than bzip2).
(fhajny)
diff -r0 -r1.1 pkgsrc/archivers/lrzip/DESCR
diff -r0 -r1.1 pkgsrc/archivers/lrzip/Makefile
diff -r0 -r1.1 pkgsrc/archivers/lrzip/PLIST
diff -r0 -r1.1 pkgsrc/archivers/lrzip/distinfo
diff -r0 -r1.1 pkgsrc/archivers/lrzip/patches/patch-liblrzip.c
diff -r0 -r1.1 pkgsrc/archivers/lrzip/patches/patch-lrzip.h
Compression program optimised for large files. The larger the file and the
more memory you have, the better the compression advantage this will provide,
especially once the files are larger than 100MB. The advantage can be chosen
to be either size (much smaller than bzip2) or speed (much faster than bzip2).
# $NetBSD: Makefile,v 1.1 2013/10/21 11:29:05 fhajny Exp $
DISTNAME= lrzip-0.616
CATEGORIES= archivers
MASTER_SITES= http://ck.kolivas.org/apps/lrzip/
EXTRACT_SUFX= .tar.bz2
MAINTAINER= tm@core.io
HOMEPAGE= http://ck.kolivas.org/apps/lrzip/
COMMENT= Long Range ZIP or Lzma RZIP
LICENSE= gnu-gpl-v2
GNU_CONFIGURE= yes
USE_LIBTOOL= yes
USE_TOOLS+= bash:run pkg-config
USE_LANGUAGES= c c++
PKGCONFIG_OVERRIDE+= lrzip.pc.in
.include "../../archivers/lzo/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
@comment $NetBSD: PLIST,v 1.1 2013/10/21 11:29:05 fhajny Exp $
bin/lrunzip
bin/lrzcat
bin/lrzip
bin/lrztar
bin/lrzuntar
include/Lrzip.h
lib/liblrzip.la
lib/pkgconfig/lrzip.pc
man/man1/lrunzip.1
man/man1/lrzcat.1
man/man1/lrzip.1
man/man1/lrztar.1
man/man1/lrzuntar.1
man/man5/lrzip.conf.5
share/doc/lrzip/AUTHORS
share/doc/lrzip/BUGS
share/doc/lrzip/COPYING
share/doc/lrzip/ChangeLog
share/doc/lrzip/README
share/doc/lrzip/README-NOT-BACKWARD-COMPATIBLE
share/doc/lrzip/README.Assembler
share/doc/lrzip/README.benchmarks
share/doc/lrzip/README.lzo_compresses.test.txt
share/doc/lrzip/TODO
share/doc/lrzip/WHATS-NEW
share/doc/lrzip/lrzip.conf.example
share/doc/lrzip/lzma/7zC.txt
share/doc/lrzip/lzma/7zFormat.txt
share/doc/lrzip/lzma/Methods.txt
share/doc/lrzip/lzma/README
share/doc/lrzip/lzma/README-Alloc
share/doc/lrzip/lzma/history.txt
share/doc/lrzip/lzma/lzma.txt
share/doc/lrzip/magic.header.txt
$NetBSD: distinfo,v 1.1 2013/10/21 11:29:05 fhajny Exp $
SHA1 (lrzip-0.616.tar.bz2) = 374a021ff087ee93b2d5894fd16aa3aef26dfa8f
RMD160 (lrzip-0.616.tar.bz2) = 6cc2a3f6fd13bfbaba93ae61bf0597383e0d98cd
Size (lrzip-0.616.tar.bz2) = 493886 bytes
SHA1 (patch-liblrzip.c) = 64092c1b186ced54ba57aba21eb4c9180c82e3ed
SHA1 (patch-lrzip.h) = 42c3f7eccbd93e1bad5bb91941c1e69a2ff261cd
$NetBSD: patch-liblrzip.c,v 1.1 2013/10/21 11:29:05 fhajny Exp $
fmemopen is also not available on SunOS.
--- liblrzip.c.orig 2013-09-01 14:41:11.000000000 +0000
+++ liblrzip.c
@@ -36,7 +36,7 @@
#include "lrzip_core.h"
#include "rzip.h"
-#if defined(__APPLE__) || defined(__FreeBSD__)
+#if defined(__APPLE__) || defined(__FreeBSD__) || defined(__sun)
# define fmemopen(s, len, modes) fake_fmemopen((s), (len), (modes))
static FILE *fake_fmemopen(void *buf, size_t buflen, const char *mode)
{
$NetBSD: patch-lrzip.h,v 1.1 2013/10/21 11:29:05 fhajny Exp $
stdarg needed with modern GCC for va_list.
--- Lrzip.h.orig 2012-05-10 12:45:41.000000000 +0000
+++ Lrzip.h
@@ -28,6 +28,8 @@
# include <inttypes.h>
#endif
+#include <stdarg.h>
+
#ifdef __cplusplus
extern "C" {
#endif