summaryrefslogtreecommitdiff
path: root/archivers/lrzip
diff options
context:
space:
mode:
authorfhajny <fhajny@pkgsrc.org>2013-10-21 11:29:05 +0000
committerfhajny <fhajny@pkgsrc.org>2013-10-21 11:29:05 +0000
commit9031a4d5966dd63df6848b0b94588d4c4ab5c17b (patch)
treed22fba8f200a5b0bea8e9332a0f3b1f0a208621f /archivers/lrzip
parent3ddb34237d723d765d0c2c89373af9ed271870ec (diff)
downloadpkgsrc-9031a4d5966dd63df6848b0b94588d4c4ab5c17b.tar.gz
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).
Diffstat (limited to 'archivers/lrzip')
-rw-r--r--archivers/lrzip/DESCR4
-rw-r--r--archivers/lrzip/Makefile21
-rw-r--r--archivers/lrzip/PLIST35
-rw-r--r--archivers/lrzip/distinfo7
-rw-r--r--archivers/lrzip/patches/patch-liblrzip.c14
-rw-r--r--archivers/lrzip/patches/patch-lrzip.h14
6 files changed, 95 insertions, 0 deletions
diff --git a/archivers/lrzip/DESCR b/archivers/lrzip/DESCR
new file mode 100644
index 00000000000..09f3f1e1f24
--- /dev/null
+++ b/archivers/lrzip/DESCR
@@ -0,0 +1,4 @@
+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).
diff --git a/archivers/lrzip/Makefile b/archivers/lrzip/Makefile
new file mode 100644
index 00000000000..ba2c199b320
--- /dev/null
+++ b/archivers/lrzip/Makefile
@@ -0,0 +1,21 @@
+# $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"
diff --git a/archivers/lrzip/PLIST b/archivers/lrzip/PLIST
new file mode 100644
index 00000000000..899b3aebf99
--- /dev/null
+++ b/archivers/lrzip/PLIST
@@ -0,0 +1,35 @@
+@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
diff --git a/archivers/lrzip/distinfo b/archivers/lrzip/distinfo
new file mode 100644
index 00000000000..f97aa569987
--- /dev/null
+++ b/archivers/lrzip/distinfo
@@ -0,0 +1,7 @@
+$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
diff --git a/archivers/lrzip/patches/patch-liblrzip.c b/archivers/lrzip/patches/patch-liblrzip.c
new file mode 100644
index 00000000000..7eb60e86382
--- /dev/null
+++ b/archivers/lrzip/patches/patch-liblrzip.c
@@ -0,0 +1,14 @@
+$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)
+ {
diff --git a/archivers/lrzip/patches/patch-lrzip.h b/archivers/lrzip/patches/patch-lrzip.h
new file mode 100644
index 00000000000..a45180104e5
--- /dev/null
+++ b/archivers/lrzip/patches/patch-lrzip.h
@@ -0,0 +1,14 @@
+$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