pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/mk/extract Allow a minimum of 64MB when extract lz files.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/7b1975cf405b
branches:  trunk
changeset: 569564:7b1975cf405b
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Sat Jan 16 17:08:34 2010 +0000

description:
Allow a minimum of 64MB when extract lz files.

diffstat:

 mk/extract/extract |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (20 lines):

diff -r 94c900e792bc -r 7b1975cf405b mk/extract/extract
--- a/mk/extract/extract        Sat Jan 16 17:08:13 2010 +0000
+++ b/mk/extract/extract        Sat Jan 16 17:08:34 2010 +0000
@@ -1,6 +1,6 @@
 #!/bin/sh
 #
-# $NetBSD: extract,v 1.10 2009/08/25 11:56:35 wiz Exp $
+# $NetBSD: extract,v 1.11 2010/01/16 17:08:34 wiz Exp $
 #
 # Copyright (c) 2006 The NetBSD Foundation, Inc.
 # All rights reserved.
@@ -194,7 +194,7 @@
 case "$cformat" in
 gzip|compress) decompress_cat="${GZCAT}" ;;
 bzip)          decompress_cat="${BZCAT}" ;;
-lzma)          decompress_cat="${LZCAT}" ;;
+lzma)          decompress_cat="${LZCAT} --memory=64Mi" ;;
 xz)            decompress_cat="${XZCAT}" ;;
 none)          decompress_cat="${CAT}" ;;
 *)             decompress_cat="${CAT}" ;;



Home | Main Index | Thread Index | Old Index