openbsd-ports/misc/lfm/patches/patch-lfm_compress_py
sthen 9e5335b247 import misc/lfm, from Patrikas Kugrinas, ok landry@
Last File Manager is a powerful file manager for the UNIX console.
It has a curses interface and it's written in Python.

Some of the features you can find in lfm:

    console-based file manager for UNIX platforms
    1-pane or 2-pane view
    tabs
    bookmarks
    history
    vfs for compressed files
    dialogs with entry completion
    PowerCLI, a command line interface with advanced features
    fast access to the shell
    direct integration of find/grep, df and other tools
    color files by extension [Andrey Skvortsov]
    support for different file names encodings
    fast file viewer with text and binary modes
    ...and many others
2011-07-17 20:23:46 +00:00

16 lines
719 B
Plaintext

$OpenBSD: patch-lfm_compress_py,v 1.1.1.1 2011/07/17 20:23:46 sthen Exp $
Incompatible GNU tar option
--- lfm/compress.py.orig Thu Jul 14 12:19:36 2011
+++ lfm/compress.py Thu Jul 14 12:19:48 2011
@@ -111,7 +111,7 @@ class PackagerTGZ(PackagerBase):
exts = ('.tar.gz', '.tgz', '.tar.Z')
need_tar = True
uncompress_prog = compress_prog = sysprogs['gzip']
- uncompress_cmd = uncompress_prog + ' -d \"%s\" -c | ' + sysprogs['tar'] + ' xfi -'
+ uncompress_cmd = uncompress_prog + ' -d \"%s\" -c | ' + sysprogs['tar'] + ' xf -'
compress_cmd = sysprogs['tar'] + ' cf - \"%s\" | ' + compress_prog + ' > \"%s\"'
compressXXX_cmd = sysprogs['tar'] + ' cf - %s | ' + compress_prog + ' > \"%s\"'